- Joined
- May 28, 2006
- Messages
- 247
- Reaction score
- 32
As you may or may not know, there has been an exploit where first bypassing game guard (and we all know thats pretty easy by now) and setting your character class to 0 on newly created character you would crash the game server. Also its possible to set the face of your character to 0 resulting in a character without a head in game, as well as the famous creating mk chars on kr account and vice versa.
Have no fear, the solution is here.
I made a bit of modification to the stored procedure that is executed before data is inserted into database that will check such things and make them impossible.
I have attached the .sql file to this post, just run it in your db and it will patch up the stored procedure.
Note: This is made for 2240DB might need slight modification to work with older DB's and RYL1 but should be fairly simple to adjust.
Note2: At the moment it will just auto correct hacked values, but I'm planning on having it delete the entire account for the user trying to do this, cause we know that he have been hacking if this occurs and we really should punish him by deleting his entire account instead of just fixing his hacked values. But for now it will just auto correct.
Enjoy.
Have no fear, the solution is here.
I made a bit of modification to the stored procedure that is executed before data is inserted into database that will check such things and make them impossible.
I have attached the .sql file to this post, just run it in your db and it will patch up the stored procedure.
Note: This is made for 2240DB might need slight modification to work with older DB's and RYL1 but should be fairly simple to adjust.
Note2: At the moment it will just auto correct hacked values, but I'm planning on having it delete the entire account for the user trying to do this, cause we know that he have been hacking if this occurs and we really should punish him by deleting his entire account instead of just fixing his hacked values. But for now it will just auto correct.
Enjoy.

