Activing /gt*commnads + /jjang to ban command

Page 2 of 2 FirstFirst 12
Results 26 to 38 of 38
  1. #26
    Programming Addict Lambda is offline
    MemberRank
    Sep 2007 Join Date
    SpainLocation
    393Posts

    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

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

    Re: Activing /gt*commnads + /jjang to ban command

    so this is a matchserver edit? alrighty then :P

  3. #28
    RestyleGamerZ FTW Mambo is offline
    MemberRank
    Mar 2008 Join Date
    The NetherlandsLocation
    821Posts

    Re: Activing /gt*commnads + /jjang to ban command

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

  4. #29
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    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.

  5. #30
    Reverse Engineer ThievingSix is offline
    MemberRank
    Mar 2007 Join Date
    CaliforniaLocation
    901Posts

    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

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

    Re: Activing /gt*commnads + /jjang to ban command

    lol T6

  7. #32
    Proficient Member NIRVANAdylan is offline
    MemberRank
    Feb 2007 Join Date
    179Posts

    Re: Activing /gt*commnads + /jjang to ban command

    You guys should really know ASM for being server owners and whatnot. Since if some of you attract real attention you can easily patch anything you dislike. For my executable, my /jjang doesn't even set the UGradeID at all, i have to manually set it.

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

    Re: Activing /gt*commnads + /jjang to ban command

    Quote Originally Posted by NIRVANAdylan View Post
    You guys should really know ASM for being server owners and whatnot. Since if some of you attract real attention you can easily patch anything you dislike. For my executable, my /jjang doesn't even set the UGradeID at all, i have to manually set it.
    so you made the jjang command like typing in-game? like you made it so you can type /jjang player 253 and it would ban them?

  9. #34
    Proficient Member NIRVANAdylan is offline
    MemberRank
    Feb 2007 Join Date
    179Posts

    Re: Activing /gt*commnads + /jjang to ban command

    Yes, so i don't call it jjang, i can call it like permission changer, or something, since i can change the grade id's from where I am. Plus, i recommend people not to rip open Gunz and add their own stuff just 'at-the bottom'. Just code a DLL, and hook ZChatOutput, and look to see when the user types something in an array maybe, e.g. /ban stop the /ban from being outputted to the actual chat, and do what you want /ban to do. Then just use a little bit of Gunz's extra space to then make the DLL you made inject upon starting. Then when you want to go more advanced, after making edits put some real good packer onto your EXE + DLL for added security.

  10. #35
    Browser. Nova is offline
    MemberRank
    Nov 2008 Join Date
    --Location
    400Posts

    Re: Activing /gt*commnads + /jjang to ban command

    Quote Originally Posted by ThievingSix View Post
    This is on your client, not server -.-
    Lol, that shut the him up !

    Great TuT !

  11. #36
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: Activing /gt*commnads + /jjang to ban command

    Quote Originally Posted by ThievingSix View Post
    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
    FFS, forgot about that one. I was thinking about something different.

    Quote Originally Posted by NIRVANAdylan View Post
    Yes, so i don't call it jjang, i can call it like permission changer, or something, since i can change the grade id's from where I am. Plus, i recommend people not to rip open Gunz and add their own stuff just 'at-the bottom'. Just code a DLL, and hook ZChatOutput, and look to see when the user types something in an array maybe, e.g. /ban stop the /ban from being outputted to the actual chat, and do what you want /ban to do. Then just use a little bit of Gunz's extra space to then make the DLL you made inject upon starting. Then when you want to go more advanced, after making edits put some real good packer onto your EXE + DLL for added security.
    I don't know why, but I prefer working in the runnable and not via an external file.

  12. #37
    Proficient Member NIRVANAdylan is offline
    MemberRank
    Feb 2007 Join Date
    179Posts

    Re: Activing /gt*commnads + /jjang to ban command

    I'm working on /gtgod on the client again, i know how much work it is =/

    Better start now :P

    EDIT: Fuck it, too much work and updating address, don't got time for it:P
    EDIT2: Will do it in a DLL faster!
    EDIT3:

    I'm thinking this would do it: (not tested)

    MOV ECX, 00672FB8 ;address to pGame + 0x50
    MOV EAX, 00473750 ;address to SetHP
    PUSH 100 ;100 being the HP
    CALL EAX
    RETN

    make sure to change Arg3 to the address of where you put the above code, if you're going to test!
    Last edited by NIRVANAdylan; 30-12-08 at 11:12 PM.

  13. #38
    Apprentice x1130 is offline
    MemberRank
    Jan 2009 Join Date
    15Posts

    Re: Activing /gt*commnads + /jjang to ban command

    Where i will write this ?



Page 2 of 2 FirstFirst 12

Advertisement