|
||
|
|
#1 (permalink) |
|
Join Date: May 2004
Age: 29
Posts: 148
|
WARNING !
Starting from version 0.6 you need to download ijl15.dll (Intel jpg library). I cant include the dll here because of file size limit, but you can download it here: http://www.dll-files.com/dllindex/dll-files.shtml?ijl15 Put this dll in the same folder with mulext.exe Summary: This perl script parse *.cs scripts with mob classes, extract properties of the creature and produce html pages (with pictures if you want - you need uo client installed for this feature). One sample of this script work you can see at the http://alterra.twigsjoint.com/ Click "Inhabitants" then click "Critters" History: 0.7 + Hues support (from *.cs or from body.cfg) ! * Body.cfg updated 0.6 * Output images now produced in jpg format * Fixed template parser function (Thanks to twig !) * Small additions to config reader 0.56 * Again fixed some bug with mulext call from the script * Added AOS monsters picture extraction support * Fixed small bug in mulext 0.55 * Fixed bug with the embedded spaces in the path parameters to mulext (Thanks to zardoz !) * Fixed error with name caching of already extracted images * Now csmob2html correctly (i hope extract several pics if several mobs classdefined in source .cs script 0.5 + Picture extraction ! * Now only *.cs files are parsed 0.3 * Now the script correctly extract several mobs from one *.cs source file * Several small fixes + Now you can set base classes, so the csmob2html produce pages only for them. baseclasses variable in configuration file 0.2 + All output pages now can be edited via templates located in ./tpl folder * Fixed small bugs 0.1 + First version Installation: Installation notes is in the readme.txt of the archive. |
|
|
|
|
|
#3 (permalink) |
|
*flop*
|
Great job! I really like how I can see my own shard monster stats, because my monster stats just may not be the same as uo.stratics.com
Keep up this great work ![]() Edit: 6/9/04 at 09:07 PM. I just ran the script and dropped the css in the out directory and was looking at the index.html when I noticed that the last item on the list wasn't sorted properly hehe:
Edit: 6/9/04 at 10:38 PM I just uploaded it to my website in case you or anyone else wants to see the output. The above error is there too in case you want to see it ^_^. Good job and Good luck, Avangelon
__________________
boo! AHHH :confused: |
|
|
|
|
|
#4 (permalink) | ||
|
Join Date: May 2004
Age: 29
Posts: 148
|
Quote:
http://www.activestate.com/Products/ActivePerl/ just click on "download now" ![]() after installing configure script and run it by typing: perl csmob2html.pl Quote:
Looks like perl separate capital letters thats why 'Z' > 'v'. I fix it if i have a free time ![]() |
||
|
|
|
|
|
#6 (permalink) | |
|
Join Date: May 2004
Age: 29
Posts: 148
|
Quote:
I just have not much expirence with perl coding ![]() |
|
|
|
|
|
|
#8 (permalink) | |
|
Forum Expert
Join Date: Nov 2003
Location: The Internet
Age: 28
Posts: 3,510
|
Quote:
Perl is a general-purpose programming language invented in 1987 by Larry Wall. With over one million users worldwide, it has become the language of choice for World Wide Web development, text processing, Internet services, mail filtering, graphical programming, systems administration, and every other task requiring portable and easily-developed solutions. |
|
|
|
|
|
|
#9 (permalink) | |
|
Forum Expert
Join Date: Jun 2003
Location: The Netherlands
Posts: 647
|
Quote:
x-ray any chance you can bake this into a simple executable of some sort? I am too lazy to install another compiler, let alone wait for the 9mb download hehe *edit* and then I did anyway hehe interesting script very useful
__________________
Captain The First _________________ Undisclosed shard (status: building since Feb. 2003) |
|
|
|
|
|
|
#11 (permalink) |
|
Join Date: Jan 2003
Age: 29
Posts: 34
|
I know nothing about Perl language..
is there a way to add multiple root path for the monster list? as my folders are organised like this: Script/modified/Mobiles/Monsters Script/Mobiles/Monsters by the way, Tanks for this awesome script ![]() |
|
|
|
|
|
#13 (permalink) | |
|
Forum Expert
Join Date: Nov 2003
Location: The Internet
Age: 28
Posts: 3,510
|
Quote:
|
|
|
|
|
|
|
#14 (permalink) | |||
|
Join Date: May 2004
Age: 29
Posts: 148
|
Quote:
). As i know, this kind of proggy exist. Quote:
If you want the script that parsing the accounts.xml, sure, but what for ? I think there are not so many useful information in accounts.xml.Or you want to see all PlayerMobile Chars stats ? If so, its better way to modify your WebStatus.cs because of: 1. Player mobile statistics changed in a short period of time. You need to renew this quickly 2. I dont know worlds file structures, so its better way to this from the core of engine. 3. I dont think the player will be happy to know what all his stats publicly accessed ![]() Quote:
@dir = ("c:/path1/","c:/path2/"); I change such kind of arguments for program in the next release ![]() |
|||
|
|
|
|
|
#16 (permalink) | |
|
*flop*
|
Quote:
|
|
|
|
|
|
|
#17 (permalink) | |
|
Join Date: May 2004
Age: 29
Posts: 148
|
Quote:
if you drop me a link to it, i can think about this ![]() |
|
|
|
|
|
|
#18 (permalink) |
|
Forum Expert
Join Date: Nov 2003
Location: The Internet
Age: 28
Posts: 3,510
|
Myrunuo is the runuo version of myuo from osi/eagames. Currently the code for it is in the distro. It takes player skills and paperdoll info and outputs it into a mysql database.
Zulu made some asp pages available, but most people seem to think it would be nice to have a php or html version of these pages. Stuffed or Starving? |
|
|
|
|
|
#21 (permalink) |
|
Forum Novice
Join Date: Dec 2003
Location: South-Africa
Age: 19
Posts: 165
|
Im a noob with perl, and im not sure what caused this but, when I first ran the script I made some HTML files, but I wasnt happy, so I Did it again (Of course I delete the old files) but when I finished Generating the files it had double the fields, 2 str fields and so on .... Now when I tried it it has like 18 str fields
How do I fix this ? I Have deleted all the files, including the script! Any Idea's ?
__________________
|
|
|
|
|
|
#22 (permalink) |
|
God of Pandora
Join Date: Jun 2003
Location: Gainesville GA
Age: 31
Posts: 2,000
|
This is indeed awsome, well done and thank you.
I do have a bug to report, tho it might not be a bug, it might be a fluke I have a creature called a Rainbow Wyrm which is tamable at 115 skill and uses 15 pet slots, yet the page generated shows a - for the min taming skill (required slots show up fine). So far this is the only creature I've seen like this. Also, is there a way to make this so it looks for only Mobile scripts? like BaseCreature? I have the default creatures in the normal places, and a huge number of customs in another area and quite a few mobiles that go with systems on the shard, and they are located in the respective system folder, thus I had to spend about an hour moving all the mobile scripts to use this, and even then I think I missed some. Granted, it would likely have taken 6 months to code this all by hand, but if this can detect only the BaseCreature scripts, I can just use the root RunUO folder and it would get them all, and it would still leave out the vendors with no need to move files ... if this is not possible, I still say this is a damn good system
__________________
The Den of KillerBeeZ...Kender's Komments, uncensored commentary from the Kender. Plus anything else the Kender might have in his pouches.
|
|
|
|
|
|
#23 (permalink) | |||
|
Join Date: May 2004
Age: 29
Posts: 148
|
Quote:
Dont know what to say... Is anybody get the same problem ? Quote:
I add only few patterns in it, so it produced about 80%-95% correct ouput pages depends on the syntax style and complexity of the sources. Just send me (or post) wyrm script here, and i will add/fix the pattern.Quote:
I will add option in config file, where you can specifing the parent classes and scripts will generate outpur pages only for the sources with this parents. |
|||
|
|
|
|
|
#24 (permalink) |
|
God of Pandora
Join Date: Jun 2003
Location: Gainesville GA
Age: 31
Posts: 2,000
|
I'm not sure whats different about the Rainbow wyrm that would cause this, but here is is
Code:
using System;
using Server;
using Server.Items;
namespace Server.Mobiles
{
[CorpseName( "a Rainbow Wyrm corpse" )]
public class RainbowWyrm : BaseCreature
{
[Constructable]
public RainbowWyrm () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
{
Body = 49;
Name = "a Rainbow Wyrm";
BaseSoundID = 362;
Hue = 1381;
SetStr( 921, 960 );
SetDex( 121, 160 );
SetInt( 386, 425 );
SetHits( 1933, 2456 );
SetDamage( 27, 65 );
SetDamageType( ResistanceType.Physical, 50 );
SetDamageType( ResistanceType.Cold, 50 );
SetResistance( ResistanceType.Physical, 55, 70 );
SetResistance( ResistanceType.Fire, 15, 35 );
SetResistance( ResistanceType.Cold, 80, 99 );
SetResistance( ResistanceType.Poison, 40, 50 );
SetResistance( ResistanceType.Energy, 40, 50 );
SetSkill( SkillName.EvalInt, 99.1, 100.0 );
SetSkill( SkillName.Magery, 99.1, 100.0 );
SetSkill( SkillName.MagicResist, 99.1, 100.0 );
SetSkill( SkillName.Tactics, 97.6, 100.0 );
SetSkill( SkillName.Wrestling, 90.1, 100.0 );
Fame = 35000;
Karma = -35000;
VirtualArmor = 84;
Tamable = true;
ControlSlots = 15;
MinTameSkill = 115;
int gems = Utility.RandomMinMax( 3, 15 );
for ( int i = 0; i < gems; ++i )
PackGem();
AddItem( new Gold( 1000, 5000 ) );
PackWeapon( 5, 9 );
PackMagicItems( 5, 9 );
}
public override int TreasureMapLevel{ get{ return 5; } }
public override int Meat{ get{ return 25; } }
public override int Hides{ get{ return 50; } }
public override HideType HideType{ get{ return HideType.Barbed; } }
public override int Scales{ get{ return 10; } }
public override ScaleType ScaleType{ get{ return ScaleType.All; } }
public override FoodType FavoriteFood{ get{ return FoodType.Meat | FoodType.Gold; } }
public RainbowWyrm( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 );
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}
__________________
The Den of KillerBeeZ...Kender's Komments, uncensored commentary from the Kender. Plus anything else the Kender might have in his pouches.
|
|
|
|
![]() |
|