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!

[TUT] ptemplate "fix"

Joined
Oct 14, 2009
Messages
5,493
Reaction score
2,299
First open gs in IDA free/pro:

Locate the function (search for) "adjustglobalexp"... It should look like this:

343 - [TUT] ptemplate "fix" - RaGEZONE Forums


Change this to "call" ~ "conf::dump" / "_ZN4ONET4Conf4dumpEP8_IO_FILE" instead...:

343 - [TUT] ptemplate "fix" - RaGEZONE Forums


next go to the HEX view for the very start of this function:

343 - [TUT] ptemplate "fix" - RaGEZONE Forums


manually (F2) edit the data from whatever it is, to:

55 89 E5 83 EC 08 B8 40 04 4C 09 89 45 FC 8B 55
08 8B 45 08 DB 00 8B 45 FC D9 80 1C 1C 00 00 D9
E8 DE C1 DE C9 D9 7D FA 66 8B 45 FA B4 0C 66 89
45 F8 D9 6D F8 DB 1A D9 6D FA 8B 55 0C 8B 45 0C
DB 00 8B 45 FC D9 80 20 1C 00 00 D9 E8 DE C1 DE
C9 D9 6D F8 DB 1A D9 6D FA C9 C3 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 89 F6

343 - [TUT] ptemplate "fix" - RaGEZONE Forums


Then follow/locate the "player_template::_instance" structure (from conf::dump)

343 - [TUT] ptemplate "fix" - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Joined
Oct 14, 2009
Messages
5,493
Reaction score
2,299
We are going to retrieve some "addressing" info from the structure here! First you want to note the "exp_bonus" 'address' as shown here:

343 - [TUT] ptemplate "fix" - RaGEZONE Forums


So that we can enter that info here (first "fld dword ptr [eax+<address>h]") :

343 - [TUT] ptemplate "fix" - RaGEZONE Forums


Go back to the structure and get the 'address' for the "sp_bonus" as shown here:

343 - [TUT] ptemplate "fix" - RaGEZONE Forums


Edit that info into here (the second "fld dword ptr [eax+<address>h]"):

343 - [TUT] ptemplate "fix" - RaGEZONE Forums




*presto* your gs will now (once again) "read" ptemplate :):
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Jan 3, 2017
Messages
70
Reaction score
12
Thank you for your release, very help me on my project:dancemental:
 
Back
Top