the gunz ban command ?

Results 1 to 23 of 23
  1. #1
    Enthusiast bilal684 is offline
    MemberRank
    Dec 2008 Join Date
    45Posts

    the gunz ban command ?

    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 =(


  2. #2
    (。◕‿‿◕。) Nobody666 is offline
    MemberRank
    Oct 2008 Join Date
    1,773Posts

    Re: the gunz ban command ?

    1. Open matchserver in ollydbg
    2. search for the /jjang command
    3. make it so it changes the ugrade to 253 instead of 02
    4. save

    (optional)
    5.Open gunz.exe in Hex and edit /jjang to /ban

  3. #3
    Account Upgraded | Title Enabled! JuanMedina is offline
    MemberRank
    Feb 2009 Join Date
    VenezuelaLocation
    227Posts

    Re: the gunz ban command ?

    /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

  4. #4
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: the gunz ban command ?

    I think I would use hex editing to change /admin_ban to /admin_kik or something and /jjang to /ban :P

  5. #5
    Account Upgraded | Title Enabled! 4ndr34s is offline
    MemberRank
    Sep 2007 Join Date
    At My Home O_oLocation
    587Posts

    Re: the gunz ban command ?

    u need to do an asm edit to /admin_ban command.

  6. #6
    Account Upgraded | Title Enabled! Guy is offline
    MemberRank
    Apr 2009 Join Date
    919Posts

    Re: the gunz ban command ?

    Quote Originally Posted by 4ndr34s View Post
    u need to do an asm edit to /admin_ban command.
    A raw edit to the data stream would work fine (e.g.: Utilizing a hex editor).
    Last edited by Guy; 25-05-09 at 10:31 PM.

  7. #7
    Account Upgraded | Title Enabled! JuanMedina is offline
    MemberRank
    Feb 2009 Join Date
    VenezuelaLocation
    227Posts

    Re: the gunz ban command ?

    thats could be possible? with asm? any tut

  8. #8
    Enthusiast apandhi is offline
    MemberRank
    Oct 2008 Join Date
    29Posts

    Re: the gunz ban command ?

    I cant find the /jjang command in ollydbg

  9. #9
    Account Upgraded | Title Enabled! Tman151 is offline
    MemberRank
    May 2009 Join Date
    CaliforniaLocation
    306Posts

    Re: the gunz ban command ?

    0042BAE0

    Don't bump threads.

  10. #10
    Enthusiast apandhi is offline
    MemberRank
    Oct 2008 Join Date
    29Posts

    Re: the gunz ban command ?

    Can You Explain What to do Plz?!?

  11. #11
    Account Upgraded | Title Enabled! Tman151 is offline
    MemberRank
    May 2009 Join Date
    CaliforniaLocation
    306Posts

    Re: the gunz ban command ?

    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.

  12. #12
    Enthusiast apandhi is offline
    MemberRank
    Oct 2008 Join Date
    29Posts

    Re: the gunz ban command ?

    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

  13. #13
    2D > 3D Wucas is offline
    MemberRank
    Dec 2008 Join Date
    In your bed :3Location
    2,523Posts

    Re: the gunz ban command ?

    you could actually incorporate the ugrade change found in the jjang function and use it with the kick one, truely making an admin ban one.....

    Apadhi, its control g and dont bump threads

  14. #14
    Enthusiast apandhi is offline
    MemberRank
    Oct 2008 Join Date
    29Posts

    Re: the gunz ban command ?

    Quote Originally Posted by BetrayedAcheron View Post
    you could actually incorporate the ugrade change found in the jjang function and use it with the kick one, truely making an admin ban one.....

    Apadhi, its control g and dont bump threads
    Srry now i get "0042BAE0 50 PUSH EAX" what do i do with that?

  15. #15
    2D > 3D Wucas is offline
    MemberRank
    Dec 2008 Join Date
    In your bed :3Location
    2,523Posts

    Re: the gunz ban command ?

    you stop bumping an old topic and take some tuts on asm

  16. #16
    Account Upgraded | Title Enabled! Tman151 is offline
    MemberRank
    May 2009 Join Date
    CaliforniaLocation
    306Posts

    Re: the gunz ban command ?

    /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

  17. #17
    Enthusiast apandhi is offline
    MemberRank
    Oct 2008 Join Date
    29Posts

    Re: the gunz ban command ?

    Hey Srry Bout what do i do with that... This is my first time using ollydbg

  18. #18
    Account Upgraded | Title Enabled! Tman151 is offline
    MemberRank
    May 2009 Join Date
    CaliforniaLocation
    306Posts

    Re: the gunz ban command ?

    Quote Originally Posted by apandhi View Post
    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 by Tman151; 19-08-09 at 07:02 PM.

  19. #19
    Enthusiast apandhi is offline
    MemberRank
    Oct 2008 Join Date
    29Posts

    Re: the gunz ban command ?

    Quote Originally Posted by Tman151 View Post
    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

  20. #20
    2D > 3D Wucas is offline
    MemberRank
    Dec 2008 Join Date
    In your bed :3Location
    2,523Posts

    Re: the gunz ban command ?

    [ame="http://www.google.com/search?q=253+in+hex&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a"]403 Forbidden[/ame]

    ggnore

  21. #21
    Enthusiast apandhi is offline
    MemberRank
    Oct 2008 Join Date
    29Posts

    Re: the gunz ban command ?

    Now I sill crash... I change the 2 to 0xFD but i still crash when i type /jjang "chars name"

  22. #22
    Account Upgraded | Title Enabled! Tman151 is offline
    MemberRank
    May 2009 Join Date
    CaliforniaLocation
    306Posts

    Re: the gunz ban command ?

    Quote Originally Posted by Tman151 View Post
    But, you can't simply just hit "Assemble" and type in "253", you must know some of hex.
    Quote Originally Posted by apandhi View Post
    so it would be "CMP DWORD PTR SS:[ESP+8],253"?? cuz i tried that and i crashed
    Quote Originally Posted by BetrayedAcheron View Post
    Quote Originally Posted by apandhi View Post
    Now I sill crash... I change the 2 to 0xFD but i still crash when i type /jjang "chars name"
    ...You added "0x" with it.
    Just wait for a tutorial, I'll ask betrayed for some files cause I know he has 'em. ^^

    Edit: What exactly were you trying achieve to do it client-sided?
    Everything must be sent to the server for others to recognize it.
    The server being MatchServer, you must also do some edits on MatchServer.exe
    Last edited by Tman151; 19-08-09 at 08:03 PM.

  23. #23
    Enthusiast apandhi is offline
    MemberRank
    Oct 2008 Join Date
    29Posts

    Re: the gunz ban command ?

    Thats What I want! I Dont trust ppl with connection to mssql and i dont want to have to bother with going into it and manually banning ppl



Advertisement