My matchserver closes?

Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: My matchserver closes?

    You need to disable the chatmake command!

  2. #17
    Account Upgraded | Title Enabled! jewness12 is offline
    MemberRank
    Aug 2009 Join Date
    213Posts

    Re: My matchserver closes?

    Sigh, if you dont know what the problem is, don't post.
    The problem happens when you enter format strings in the chatroom's name.
    for example: %s
    The server will attempt to log the name of the chatroom you created, something like this:
    (or, lets take it straight from the source, exactly like this:)
    Code:
    LOG(LOG_PROG, "ChatRoom Created : '%s' ", pszChatRoomName);
    Typing /chatmake %s%s will probably crash your server if this exploit wasnt patched.
    How MAIET fixed the exploit:
    Code:
    //		LOG(LOG_PROG, "ChatRoom Created : '%s' ", pszChatRoomName);
    Yes, they made the line a comment, removing it from the actual code.
    And that's what we're gonna do, we're gonna skip this specific call to the log function.

    TL;DR:

    Open Matchserver.exe in Ollydbg.

    2008:
    Code:
    Press Ctrl+G go to 421B24.
    Double click 421B24 and type "JMP 00421B35", hit assemble.
    2007:
    Code:
    Press Ctrl+G go to 4126F4.
    Double click 4126F4 and type "JMP 00412705", hit assemble.
    Right click anywhere in the CPU window, select Copy to executeable > All modifications, then hit "Copy all".
    A smaller window will appear.
    Right click that window and hit "Save file", change the file name and you're good to go.

    Note: I haven't tested this, so if anyone tests it and it works feel free to say so.
    Should work though.

  3. #18
    Account Upgraded | Title Enabled! flyffhelper is offline
    MemberRank
    Dec 2010 Join Date
    419Posts

    Re: My matchserver closes?

    Quote Originally Posted by jewness12 View Post
    Sigh, if you dont know what the problem is, don't post.
    The problem happens when you enter format strings in the chatroom's name.
    for example: %s
    The server will attempt to log the name of the chatroom you created, something like this:
    (or, lets take it straight from the source, exactly like this:)
    Code:
    LOG(LOG_PROG, "ChatRoom Created : '%s' ", pszChatRoomName);
    Typing /chatmake %s%s will probably crash your server if this exploit wasnt patched.
    How MAIET fixed the exploit:
    Code:
    //		LOG(LOG_PROG, "ChatRoom Created : '%s' ", pszChatRoomName);
    Yes, they made the line a comment, removing it from the actual code.
    And that's what we're gonna do, we're gonna skip this specific call to the log function.

    TL;DR:

    Open Matchserver.exe in Ollydbg.

    2008:
    Code:
    Press Ctrl+G go to 421B24.
    Double click 421B24 and type "JMP 00421B35", hit assemble.
    2007:
    Code:
    Press Ctrl+G go to 4126F4.
    Double click 4126F4 and type "JMP 00412705", hit assemble.
    Right click anywhere in the CPU window, select Copy to executeable > All modifications, then hit "Copy all".
    A smaller window will appear.
    Right click that window and hit "Save file", change the file name and you're good to go.

    Note: I haven't tested this, so if anyone tests it and it works feel free to say so.
    Should work though.
    thanks u save my life!

  4. #19
    Account Upgraded | Title Enabled! flyffhelper is offline
    MemberRank
    Dec 2010 Join Date
    419Posts

    Re: My matchserver closes?

    i add % still chatmake crash how?

  5. #20
    Fuck Army. sahar042 is offline
    MemberRank
    Jul 2009 Join Date
    833Posts

    Re: My matchserver closes?

    Quote Originally Posted by flyffhelper View Post
    i add % still chatmake crash how?
    ollydbg :



    2008:
    Code:

    Press Ctrl+G go to 421B24.
    Double click 421B24 and type "JMP 00421B35", hit assemble.

    2007:
    Code:

    Press Ctrl+G go to 4126F4.
    Double click 4126F4 and type "JMP 00412705", hit assemble.
    Last edited by sahar042; 05-01-12 at 04:11 PM.



Page 2 of 2 FirstFirst 12

Advertisement