Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

LUA-Scripting Help-Thread

Newbie Spellweaver
Joined
Oct 18, 2014
Messages
47
Reaction score
7
Hey thanks for the opportunity!

Indeed i have a question. I'd like to change the items that these sellers are offering? Can you help me please?
Bingo1337 - LUA-Scripting Help-Thread - RaGEZONE Forums
 
Junior Spellweaver
Joined
Jul 9, 2014
Messages
168
Reaction score
53
It's almost correctly, exclude that you can "edit" db's via WriteGameObjInfo_Double and another functions like this.
 
Newbie Spellweaver
Joined
Oct 18, 2014
Messages
47
Reaction score
7
Thanks for the quick answers! I already tried via fdb editor but i'm stuck :(
Turmalin You mean ingame as GM/DEV?
 
Junior Spellweaver
Joined
Jul 9, 2014
Messages
168
Reaction score
53
Nope, I mean lua scripts. Search "WriteGameObjInfo_" in your lua files.
And just to clarify - you would need to know *.db field name to edit it(also there are no function for string fields, as I remember).

Format:
WriteGameObjInfo_Double('itemid', 'fieldname', 'value');

Example for buff:

WriteGameObjInfo_Double(622943, "EffectTime", -1);



Also, if you have some knowledges in C# or js, you can try to use http://forum.ragezone.com/f885/nw-rom-1085535/, but it's a bit tricky.
 
Back
Top