the gunz ban command ?

Newbie Spellweaver
Joined
Dec 24, 2008
Messages
18
Reaction score
0
hello my friend have made a gunz private server and the ban command don't work he says that it only dc the person. he is tired of searching and i wanna help him ... but still im much more noob than him with making gunz >.> so does some1 know how to make the ban command working ? maybe it's a wrong code but i don't really understand that it will be really helpful if you guys give me the code or help me with the ban command =O thx a lot of the help hope this forum will help me cause no other forum want to answer me im begging you please =(
 
/admin_ban its just for KICK USERS not for BAN..... use Emisand Admin Panel for ban it.... or do it manually on the db changing the pgrade and ugrade for ban numer ... 253
 
Upvote 0
0042BAE0 is the address that points to the jjang command.
Looking at the 0042BAE0 block, the first line is what changes the UGradeID.
You see, it changes the UGradeID to 2, so edit it to 253. (253 in hex.)

THEN you will need to do it server side, by editing MatchServer with ollydbg or a similar tool.
 
Upvote 0
That Doesnt help much... how do i find the block... when i hit ctrl+f and paste it i get "command mnemonic expected" and nothing more than that... Srry fist time using ollydbg
 
Upvote 0
/sigh

Code:
0042BAE0   . 837C24 08 02   CMP DWORD PTR SS:[ESP+8],2
0042BAE5   . 7D 46             JGE SHORT theduel.0042BB2D
0042BAE7   . 8B4424 0C      MOV EAX,DWORD PTR SS:[ESP+C]
0042BAEB   . 56                 PUSH ESI
0042BAEC   . 8B30              MOV ESI,DWORD PTR DS:[EAX]
0042BAEE   . B0 FF          MOV AL,0FF
0042BAF0   . 68 ED030000    PUSH 3ED
0042BAF5   . 884424 13      MOV BYTE PTR SS:[ESP+13],AL
0042BAF9   . C64424 10 00   MOV BYTE PTR SS:[ESP+10],0
0042BAFE   . 884424 11      MOV BYTE PTR SS:[ESP+11],AL
0042BB02   . C64424 12 00   MOV BYTE PTR SS:[ESP+12],0
0042BB07   . E8 E4C90D00    CALL theduel.005084F0
0042BB0C   . 8BC8           MOV ECX,EAX
0042BB0E   . E8 5D3B0A00    CALL theduel.004CF670
0042BB13   . 8B4C24 0C      MOV ECX,DWORD PTR SS:[ESP+C]
0042BB17   . 51             PUSH ECX
0042BB18   . 6A 00          PUSH 0
0042BB1A   . 6A 00          PUSH 0
0042BB1C   . 50             PUSH EAX
0042BB1D   . E8 0EE7FFFF    CALL theduel.0042A230
0042BB22   . 56             PUSH ESI
0042BB23   . E8 A8F4FFFF    CALL theduel.0042AFD0
0042BB28   . 83C4 14        ADD ESP,14
0042BB2B   . 5E             POP ESI
0042BB2C   . C3             RETN
0042BB2D   > 8B5424 0C      MOV EDX,DWORD PTR SS:[ESP+C]
0042BB31   . 8B42 04        MOV EAX,DWORD PTR DS:[EDX+4]
0042BB34   . 50             PUSH EAX
0042BB35   . E8 D6F2FFFF    CALL theduel.0042AE10
0042BB3A   . 59             POP ECX
0042BB3B   . C3             RETN
 
Upvote 0
Hey Srry Bout what do i do with that... This is my first time using ollydbg

The "CMP DWORD PTR SS:[ESP+8],2" is what changing the UGradeID to "2".
Look at the last part of that line "[ESP+8],2" the very last number is what the UGradeID is changing, so how it is right now, it's changing the UGradeID to 2.
But, you can't simply just hit "Assemble" and type in "253", you must know some of hex.
0 = 0
1 = 1
2 = 2
3 = 3
4 = 4
5 = 5
6 = 6
7 = 7
8 = 8
9 = 9
10 = A
11 = B
12 = C
13 = D
14 = E
15 = F

So, use that brain you got(hopefully), add them up, and attempt.
Server side is a different story, I am looking into this now.
 
Last edited:
Upvote 0
The "CMP DWORD PTR SS:[ESP+8],2" is what changing the UGradeID to "2".
Look at the last part of that line "[ESP+8],2" the very last number is what the UGradeID is changing, so how it is right now, it's changing the UGradeID to 2.
But, you can't simply just hit "Assemble" and type in "253", you must know some of hex.


So, use that brain you got(hopefully), add them up, and attempt.
Server side is a different story, I am looking into this now.

so it would be "CMP DWORD PTR SS:[ESP+8],253"?? cuz i tried that and i crashed
 
Upvote 0
Back