Page 1 of 1

More In-depth information about functions and XML files used

Posted: Tue Jan 20, 2009 5:25 am
by Mesosmagnet
Although I dont play Runes of Magic or Shaiya anymore I downloaded both of the files just to see how an advance bot works. And I am getting increasingly confused. I saw that in both RoM and Shaiya the use of XML files and various functions that I have never seen before. I have browsed the Manual/Wiki and there are still alot of things not included in the WiKi that have been included in your scripts. So could you please point me in the right direction to where I can find more indepth information please?

Re: More In-depth information about functions and XML files used

Posted: Tue Jan 20, 2009 7:30 am
by zer0
You'll find most native Lua functions covered here:
http://www.lua.org/manual/5.1/

About the XML side of things, I don't think elverion has created any docs yet about his wrapper library it's only a few months old, but some general info can be found here towards the bottom:
http://solarimpact.servegame.com/phpBB3 ... ?f=2&t=138

If you looking at the ZS Shaiya script it's worth reading up on Simple Classes, as most of it uses an Object-oriented approach.
http://lua-users.org/wiki/SimpleLuaClasses

Re: More In-depth information about functions and XML files used

Posted: Wed Jan 21, 2009 1:10 am
by Administrator
The XML module is explained here. Just look at the example to figure it out.

Re: More In-depth information about functions and XML files used

Posted: Wed Jan 21, 2009 4:37 am
by Mesosmagnet
Thank you! zer0 and Administrator.