[Guide] How to change TpRate (Quests) and MoneyRate (Quests)

Page 1 of 2 12 LastLast
Results 1 to 15 of 21
  1. #1
    Enthusiast Coenx is offline
    MemberRank
    May 2005 Join Date
    Poland, CracowLocation
    29Posts

    idea [Guide] How to change TpRate (Quests) and MoneyRate (Quests)

    As you know you can change ExpRate (Quests & Combat) and TpRate (Combat only) in [ROM_World].[dbo].[WorldConfigTable]
    Unfortunately TpRate (Quests) and MoneyRate (Quests) are not working correctly.
    Without a source code of 6.x server files it is not so easy.

    Fortunately you can change them inside "Zone.exe" binary file.
    I will show you a trick.

    TpRate (Quest)
    C++ source code:
    int iTP = (int)( iExp * ((float)pQuest->iReward_TP / 100) );
    assembler (division by 100.0 (float)):
    FDIV QWORD PTR DS:[8B3020]
    binary:
    DC 35 20 30 8B 00
    Open "Zone.exe" file in a hex editor, go to offset 0x3195B1, change:
    DC 35 20 30 8B 00 -> DC 35 XX XX XX 00
    MoneyRate (Quest)
    C++ source code:
    int Money = (int)( (float) PlotMoneyTable[ ( PlotLv - 1) ] * ( (float) MoneyRate / 100 ) );
    assembler (division by 100.0 (float)):
    FDIV QWORD PTR DS:[8B3020]
    binary:
    DC 35 20 30 8B 00
    Open "Zone.exe" file in a hex editor, go to offset 0x26E9F0, change:
    DC 35 20 30 8B 00 -> DC 35 XX XX XX 00
    In place of DC 35 XX XX XX 00 you can write:
    DC 35 20 30 8B 00 (division by 100.0, rate x1)
    DC 35 40 30 8B 00 (division by 50.0, rate x2)
    DC 35 70 3C 8F 00 (division by 20.0, rate x5)
    DC 35 48 3A 8F 00 (division by 10.0, rate x10)
    DC 35 00 3C 8F 00 (division by 5.0, rate x20)
    DC 35 78 3A 8F 00 (division by 2.0, rate x50)
    DC 35 18 30 8B 00 (division by 1.0, rate x100)

    Link to modified "Zone.exe" file with TpRate & MoneyRate (Quests x10):
    https://mega.co.nz/#!BAIA3JJR!7X0IEv...K_q0-1DK6ei0WE

    Good luck!


  2. #2
    Banned bRUZZ is offline
    BannedRank
    Jul 2014 Join Date
    62Posts

    Re: [Guide] How to change TpRate (Quests) and MoneyRate (Quests)

    Damn that's something I haven't thought of yet. Good job.

  3. #3
    Valued Member kalle101 is offline
    MemberRank
    Jun 2014 Join Date
    133Posts

    Re: [Guide] How to change TpRate (Quests) and MoneyRate (Quests)

    Wow Great Work man!!

    Another Question, is there any way to change the Drop-Rate also?

    Thanks :)

  4. #4
    Member starwars1 is offline
    MemberRank
    May 2014 Join Date
    BelarusLocation
    78Posts

    Re: [Guide] How to change TpRate (Quests) and MoneyRate (Quests)

    Hello! How to change crafting rates?

  5. #5
    Member happyhorror is offline
    MemberRank
    Jul 2014 Join Date
    59Posts

    Re: [Guide] How to change TpRate (Quests) and MoneyRate (Quests)

    most simple way - with buff from potion

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

    Re: [Guide] How to change TpRate (Quests) and MoneyRate (Quests)

    There are no enum value, which used for craft rate.
    Instead of this, there are script, which check buff presence on you and depends on it increase craft rate.
    So, just find guid of needed buff and check script.

    As for tp/money rate - nice trick and good job!
    This thing also can be achieved by questdetails.db modification(for ex., in sql-variant it would be smth like "update questdetails set TPRate = TPRate*10; for x10 tp rates.

  7. #7
    Apprentice Siska is offline
    MemberRank
    Apr 2015 Join Date
    6Posts

    Re: [Guide] How to change TpRate (Quests) and MoneyRate (Quests)

    Also how about drop rate?

    Thank you :D

  8. #8
    Novice QAune1992 is offline
    MemberRank
    Oct 2014 Join Date
    3Posts

    Re: [Guide] How to change TpRate (Quests) and MoneyRate (Quests)

    Quote Originally Posted by Coenx View Post
    DC 35 20 30 8B 00 (division by 100.0, rate x1)
    DC 35 40 30 8B 00 (division by 50.0, rate x2)
    DC 35 70 3C 8F 00 (division by 20.0, rate x5)
    DC 35 48 3A 8F 00 (division by 10.0, rate x10)
    DC 35 00 3C 8F 00 (division by 5.0, rate x20)
    DC 35 78 3A 8F 00 (division by 2.0, rate x50)
    DC 35 18 30 8B 00 (division by 1.0, rate x100)

    Someone can explain how values in left side are calculated?
    I want to modify other .exe files and in source code they have also defined static numbers.

  9. #9
    Apprentice CyaBB is offline
    MemberRank
    Mar 2017 Join Date
    7Posts

    Re: [Guide] How to change TpRate (Quests) and MoneyRate (Quests)

    Droprate (Drop TreasureRate) that would be awesome.
    Last edited by CyaBB; 21-03-17 at 02:39 PM.

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

    Re: [Guide] How to change TpRate (Quests) and MoneyRate (Quests)

    Look for in worldconfig table in SQL ;)

  11. #11
    Member gaspadin is offline
    MemberRank
    Apr 2018 Join Date
    64Posts

    Re: [Guide] How to change TpRate (Quests) and MoneyRate (Quests)

    I have tried for part 3. but I'm searching for the offset '0x3195B1'. but no DC 35. Instead, it writes another value.The values you give cause zone.exe to fail. Can you help ?

  12. #12
    Valued Member mollo is offline
    MemberRank
    Sep 2014 Join Date
    coming soon!Location
    108Posts

    Re: [Guide] How to change TpRate (Quests) and MoneyRate (Quests)

    then you just dont know how to use a hexeditor

  13. #13
    Member gaspadin is offline
    MemberRank
    Apr 2018 Join Date
    64Posts

    Re: [Guide] How to change TpRate (Quests) and MoneyRate (Quests)

    I opened your ready file and created the values ​​inside the zone.exe. but it gives me an error when I write to the file in my zone.exe.
    I know how to use it, man.

    this picture as evidence. Can you see the dc35 value?

    Last edited by gaspadin; 30-09-18 at 10:25 AM.

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

    Re: [Guide] How to change TpRate (Quests) and MoneyRate (Quests)

    I did it just like the tutorial says and it worked perfectly

  15. #15
    Member gaspadin is offline
    MemberRank
    Apr 2018 Join Date
    64Posts

    Re: [Guide] How to change TpRate (Quests) and MoneyRate (Quests)

    which chapter did you try for?



Page 1 of 2 12 LastLast

Advertisement