- Joined
- Feb 22, 2008
- Messages
- 2,404
- Reaction score
- 724
Now i'll teach how to disable the delete button in-game, to prevent the user to delete his char in-game.Avoiding, bugging the .dat file for those who use the XPT Manager. I made this in EvoPT at least 5 months ago,now i will release.
There are two ways to do it:
1st way - "Nopping"
1st Step - Finding the string Bt_delet.tga:
2nd Step - Disabling it:
You can find this code:
3rd Step - Disabling the button
It should be like:
2nd Way - By JUMP
Do it like this:
Change
It should by like:
There are two ways to do it:
1st way - "Nopping"
1st Step - Finding the string Bt_delet.tga:
2nd Step - Disabling it:
You can find this code:
005139C8 |. 68 202E5E00 PUSH game_php.005E2E20 ; ASCII "StartImage\Login\CharSelect\Bt_exit.tga"
005139CD |. 8BCF MOV ECX,EDI
005139CF |. E8 9CD60700 CALL game_php.00591070
005139D4 |. 6A 20 PUSH 20
005139D6 |. 6A 6C PUSH 6C
005139D8 |. 6A 00 PUSH 0
005139DA |. 6A 0F PUSH 0F
005139DC |. 8BCF MOV ECX,EDI
005139DE |. E8 6DD60700 CALL game_php.00591050
005139E3 |. 6A 20 PUSH 20
005139E5 |. 68 80000000 PUSH 80
005139EA |. 8DBE 5C020000 LEA EDI,DWORD PTR DS:[ESI+25C]
005139F0 |. 68 F42D5E00 PUSH game_php.005E2DF4 ; ASCII "StartImage\Login\CharSelect\Bt_delet.tga"
005139F5 |. 8BCF MOV ECX,EDI
005139F7 |. E8 74D60700 CALL game_php.00591070
005139FC |. 6A 20 PUSH 20
005139FE |. 6A 6C PUSH 6C
00513A00 |. 6A 00 PUSH 0
00513A02 |. 6A 0A PUSH 0A
00513A04 |. 8BCF MOV ECX,EDI
00513A06 |. E8 45D60700 CALL game_php.00591050
00513A0B |. 6A 01 PUSH 1
00513A0D |. 6A 00 PUSH 0
00513A0F |. 6A 00 PUSH 0
00513A11 |. 6A 00 PUSH 0
00513A13 |. 6A 00 PUSH 0
00513A15 |. 68 CC2D5E00 PUSH game_php.005E2DCC ; ASCII "StartImage\Login\UserCharacterInfo.tga"
3rd Step - Disabling the button
It should be like:
Done, the button is disabled.005139C8 |. 68 202E5E00 PUSH game_php.005E2E20 ; ASCII "StartImage\Login\CharSelect\Bt_exit.tga"
005139CD |. 8BCF MOV ECX,EDI
005139CF |. E8 9CD60700 CALL game_php.00591070
005139D4 |. 90 NOP
005139D6 |. 90 NOP
005139D8 |. 90 NOP
005139DA |. 90 NOP
005139DC |. 90 NOP
005139DE |. 90 NOP
005139E3 |. 90 NOP
005139E5 |. 90 NOP
005139EA |. 90 NOP
005139F0 |. 90 NOP
005139F5 |. 90 NOP
005139F7 |. 90 NOP
005139FC |. 6A 20 PUSH 20
005139FE |. 6A 6C PUSH 6C
00513A00 |. 6A 00 PUSH 0
00513A02 |. 6A 0A PUSH 0A
00513A04 |. 8BCF MOV ECX,EDI
00513A06 |. E8 45D60700 CALL game_php.00591050
00513A0B |. 6A 01 PUSH 1
00513A0D |. 6A 00 PUSH 0
00513A0F |. 6A 00 PUSH 0
00513A11 |. 6A 00 PUSH 0
00513A13 |. 6A 00 PUSH 0
00513A15 |. 68 CC2D5E00 PUSH game_php.005E2DCC ; ASCII "StartImage\Login\UserCharacterInfo.tga"
2nd Way - By JUMP
Do it like this:
Fill with nops the code above.005139D4 |. 6A 20 PUSH 20
005139D6 |. 6A 6C PUSH 6C
005139D8 |. 6A 00 PUSH 0
005139DA |. 6A 0F PUSH 0F
Change
To005139DC |. 8BCF MOV ECX,EDI
005139DC |. 8BCF JMP 005139FC
It should by like:
005139D4 |. 90 NOP
005139D6 |. 90 NOP
005139D8 |. 90 NOP
005139DA |. 90 NOP
005139DC |. 8BCF JMP 005139FC
005139D4 |. 90 NOP
005139D6 |. 90 NOP
005139D8 |. 90 NOP
005139DA |. 90 NOP
Last edited by a moderator: