[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4712: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3842)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4714: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3842)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4715: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3842)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4716: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3842)
JoinUO Forums • View topic - Demo scripts
Page 2 of 2

Re: Demo scripts

PostPosted: Sun Aug 04, 2013 10:18 pm
by El Cabrah
Aye, there are several versions, one has dropdown and another one does not.

I copied sdb.txt to other directories and still it does nothing :/

Re: Demo scripts

PostPosted: Sun Aug 04, 2013 10:37 pm
by Garret
It requires both .m files and sdb.txt, last one contains string for decompilation.
Otherwise, I have no idea why it's not working.
If you need only to read scripts, just open uosl files with any text editor, they are equal.

Re: Demo scripts

PostPosted: Sun Aug 04, 2013 10:56 pm
by El Cabrah
Thanks Garret,


I made it work by copying sdb.txt into the demo.dat files but yes, I could read the uosl files already.. do all these files represent all aspects of in-game mechanics or there is some other place to look at?

Re: Demo scripts

PostPosted: Sun Aug 04, 2013 11:09 pm
by Garret
All that is accessible without decompilation of exe itself.
You might also want to check all the content of following folders:
"bank" - contains something about items, mobs, stats etc.
"Conto" - folder contains conversations.
"books" - well, books content =)
"classifier" - not sure about all content, "effects.cls" contains definitions of magic items, usable items (like teleportation earrings), weapon effects or magic scrolls =)

Re: Demo scripts

PostPosted: Sun Aug 04, 2013 11:19 pm
by El Cabrah

Re: Demo scripts

PostPosted: Sun Aug 04, 2013 11:48 pm
by Garret
As for flying, it might be in exe itself.
"bank/templatestable.dat" contains definitions for mobiles, look up for dragon, there should be "script" section.
In "dragonai" script that's referenced in there, there's some calles of "enableBehaviors" and "disableBehaviors", it might be what you are looking for.