LUA-Scripting Help-Thread

Results 1 to 6 of 6
  1. #1
    Apprentice Bingo1337 is offline
    MemberRank
    Dec 2015 Join Date
    12Posts

    LUA-Scripting Help-Thread

    (deleted.)
    Last edited by Bingo1337; 07-01-18 at 07:59 AM.


  2. #2
    Enthusiast Jokey1987 is offline
    MemberRank
    Oct 2014 Join Date
    47Posts

    Re: LUA-Scripting Help-Thread

    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?

  3. #3
    Apprentice Bingo1337 is offline
    MemberRank
    Dec 2015 Join Date
    12Posts

    Re: LUA-Scripting Help-Thread

    (deleted.)
    Last edited by Bingo1337; 07-01-18 at 07:59 AM.

  4. #4
    Proficient Member Turmalin is offline
    MemberRank
    Jul 2014 Join Date
    168Posts

    Re: LUA-Scripting Help-Thread

    It's almost correctly, exclude that you can "edit" db's via WriteGameObjInfo_Double and another functions like this.

  5. #5
    Enthusiast Jokey1987 is offline
    MemberRank
    Oct 2014 Join Date
    47Posts

    Re: LUA-Scripting Help-Thread

    Thanks for the quick answers! I already tried via fdb editor but i'm stuck :(
    @Turmalin You mean ingame as GM/DEV?

  6. #6
    Proficient Member Turmalin is offline
    MemberRank
    Jul 2014 Join Date
    168Posts

    Re: LUA-Scripting Help-Thread

    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);

    - - - Updated - - -

    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.



Advertisement