Re: Activing /gt*commnads + /jjang to ban command
Quote:
Originally Posted by
shortymant
im still quite nooby at asm. is the 0042BAE0 . ' 837C24 08 02 CMP DWORD PTR SS:[ESP+8],2'
calling a UGradeID change?
I'm also not really pro at asm, but that is an compare, it compares the UGradeID of the player with the number 2, if its equal it jumps to the end, else it will send an request to the server for an UgradeID change to number 2
I hope i'm right this time :D
Re: Activing /gt*commnads + /jjang to ban command
Re: Activing /gt*commnads + /jjang to ban command
Quote:
Originally Posted by
Rotana
I'm also not really pro at asm, but that is an compare, it compares the UGradeID of the player with the number 2, if its equal it jumps to the end, else it will send an request to the server for an UgradeID change to number 2
I hope i'm right this time :D
Well the remove jjang is exactly/almost the same in code. BUt i'll take a closer look..
Re: Activing /gt*commnads + /jjang to ban command
Maybe stupid question but in ollydbg how the hell do I search through comments where it writes stuff like: |Arg8 = 005EA3E4 ASCII "/jjang"
I searched everywhere just can't find it.
Re: Activing /gt*commnads + /jjang to ban command
hi
but if i need to make this comand for ban ,i need to change this 837C24 08 02 CMP DWORD PTR SS:[ESP+8],2 in
this 837C24 08 02 CMP DWORD PTR SS:[ESP+8],253?
Re: Activing /gt*commnads + /jjang to ban command
Quote:
Originally Posted by
4ndr34s
hi
but if i make this comand in ban i need to change this 837C24 08 02 CMP DWORD PTR SS:[ESP+8],2 in
this 837C24 08 02 CMP DWORD PTR SS:[ESP+8],253?
you need to put 253 in hex
Re: Activing /gt*commnads + /jjang to ban command
Re: Activing /gt*commnads + /jjang to ban command
i need to put 253 in hexadecimal????
Re: Activing /gt*commnads + /jjang to ban command
Uhh
editing the client won't change the ugradeid that gets changed..
Re: Activing /gt*commnads + /jjang to ban command
Re: Activing /gt*commnads + /jjang to ban command
You need to change the mov in the matchserver, there is a function named MMatchDBMgr::EventJjangUpdate you need to find where is the mov and change 2 to 253 in hex
Re: Activing /gt*commnads + /jjang to ban command
so this is a matchserver edit? alrighty then :P
Re: Activing /gt*commnads + /jjang to ban command
Quote:
Originally Posted by
wesman2232
so this is a matchserver edit? alrighty then :P
Probably Server and Client sided.. Because if the client requests a compare with 2. But it's changed to 253 in the server. it won't work.
If i'm wrong, don't flame just tell me
Re: Activing /gt*commnads + /jjang to ban command
The server has the UPDATE query. It's something like UPDATE Account SET UGradeID=%d WHERE AID=%d
Since 253 is bigger than 2, you'll need to use some free space at the bottom, most likely. I've never looked into it, but I think you'll need to JMP to the bottom, make it 253, JMP back.
Re: Activing /gt*commnads + /jjang to ban command
253 and 2 both occupy the same space.
0 - 255 = 1 byte
256 - 65535 = 2 bytes
65536 - 16777215 = 3 bytes
16777216 - 4294967295 = 4 bytes
=P