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!

Prevent Character Creation Stat Hack

Status
Not open for further replies.
Junior Spellweaver
Joined
Apr 15, 2007
Messages
154
Reaction score
0
This is the hack that allows user to get 255 stats on all area's apon character creation.

Go into;

Code:
Characters.cpp

Find;

Code:
    createEquip(getInt(packet+pos), 0x0b, id);
    pos+=4;

And beneath it add;

Code:
    int str = packet[pos+1];
     if(str > 10){
      str = 4;
     }
     int dex = packet[pos+2];
     if(dex > 10){
      dex = 4;
     }
     int intt = packet[pos+3];
     if(intt > 10){
      intt = 4;
     }
     int luk = packet[pos+4];
     if(luk > 10){
      luk = 4;
     }

Then find;

Code:
 packet[pos+1],packet[pos+2], packet[pos+3], packet[pos+4]
And replace with;
Code:
 str, dex, intt, luk

This disables random stats, and it will prevent packet editors to packet edit new characters stats
 
Elite Diviner
Joined
Feb 28, 2007
Messages
446
Reaction score
4
Re: [Release] Prevent Character Creation Stat Hack

Code:
packet[pos+1];, packet[pos+2];, packet[pos+3];, packet[pos+4];

Those arent in characters.cpp.
 
Junior Spellweaver
Joined
Apr 15, 2007
Messages
154
Reaction score
0
Re: [Release] Prevent Character Creation Stat Hack

Code:
packet[pos+1];, packet[pos+2];, packet[pos+3];, packet[pos+4];
Those arent in characters.cpp.

o-o
yes in the character creation function o-o
 
Elite Diviner
Joined
Feb 28, 2007
Messages
446
Reaction score
4
Re: [Release] Prevent Character Creation Stat Hack

I Don't see that anywhere in Characters.cpp :)
 
Junior Spellweaver
Joined
Apr 4, 2008
Messages
109
Reaction score
0
Re: [Release] Prevent Character Creation Stat Hack

I don't get this.. What does this do?
Please give more detail
 
Elite Diviner
Joined
Feb 28, 2007
Messages
446
Reaction score
4
Re: [Release] Prevent Character Creation Stat Hack

It stops hackers from disabling the " Random " stat;s when creating a character.
 
Newbie Spellweaver
Joined
Apr 12, 2008
Messages
7
Reaction score
0
Re: [Release] Prevent Character Creation Stat Hack

so, where's "packet[pos+1];, packet[pos+2];, packet[pos+3];, packet[pos+4];" ?
 
Elite Diviner
Joined
Feb 28, 2007
Messages
446
Reaction score
4
Re: [Release] Prevent Character Creation Stat Hack

so, where's "packet[pos+1];, packet[pos+2];, packet[pos+3];, packet[pos+4];" ?
I'm just as clueless as you.
 
Junior Spellweaver
Joined
Jul 30, 2005
Messages
100
Reaction score
4
Re: [Release] Prevent Character Creation Stat Hack

Just wondering.. it sets the values to 4 if they're bigger than 10, no? I believe it is very possible to get more than 10 while using the little randomizer in MS. I thought the max you could get was 13?

Or am I just saying something stupid again? ;o
 
Junior Spellweaver
Joined
Nov 15, 2005
Messages
119
Reaction score
0
Re: [Release] Prevent Character Creation Stat Hack

lol..u cant see becuase it is split into 4 parts sheesh
 
Junior Spellweaver
Joined
Feb 24, 2008
Messages
175
Reaction score
3
Re: [Release] Prevent Character Creation Stat Hack

Just wondering.. it sets the values to 4 if they're bigger than 10, no? I believe it is very possible to get more than 10 while using the little randomizer in MS. I thought the max you could get was 13?

Or am I just saying something stupid again? ;o


It's 13 in normal ms.
 
Junior Spellweaver
Joined
Jul 30, 2005
Messages
100
Reaction score
4
Re: [Release] Prevent Character Creation Stat Hack

yes buts it is impossible to ever roll more than 10 in one stat >.~
Oh you're right, my bad. The max would indeed be 13, but that would require 4 in all others XD Was thinking different.. =P

EDIT: Wouldn't it be better to check if int + luk + str + dex all together are more than 13 + 4 + 4 + 4 (25)? Now a hacker can still simply add 10 in all of them, which is still 15 too much ;o Why am I even asking this? Not like I can't change it myself ;P
 
Junior Spellweaver
Joined
Apr 15, 2007
Messages
154
Reaction score
0
Re: [Release] Prevent Character Creation Stat Hack

Oh you're right, my bad. The max would indeed be 13, but that would require 4 in all others XD Was thinking different.. =P

EDIT: Wouldn't it be better to check if int + luk + str + dex all together are more than 13 + 4 + 4 + 4 (25)? Now a hacker can still simply add 10 in all of them, which is still 15 too much ;o Why am I even asking this? Not like I can't change it myself ;P

ya i was thinking that but then i decided to just duck it and leave it like that >.~
 
Banned
Banned
Joined
Apr 17, 2008
Messages
125
Reaction score
0
Re: [Release] Prevent Character Creation Stat Hack

Wrong cpp files
 
Status
Not open for further replies.
Back
Top