Solved Changing Client Packets

Discussion in 'Support' started by qndel, May 21, 2016.

  1. qndel

    qndel Member

    Joined:
    Dec 26, 2009
    Messages:
    38
    Likes Received:
    3
    Best Answers:
    0
    There are people botting on my server, so I had that idea - what would happen, if I swapped the move item and logout packets :D
    So if a bot would try to autoloot, it would log out instead.
    However there is one problem: I have no idea how to achieve that - been messing a bit with hex editor and ollydbg, could somebody point me in the right direction?
    Can I do it with ollydbg?

    I'm talking about this stuff

    "
    switch(recvbyte){
    case 0x14: // logout
    parseLogout(msg);
    break;"

    - this is from my server, so apparently 0x14 means logout , where can I find it in the client?
     
  2. Danger II

    Danger II FluppiX.com

    Joined:
    Nov 21, 2012
    Messages:
    1,360
    Likes Received:
    355
    Best Answers:
    0
    If a Player would use logout instead of Auto loot he probably got pz and cant logout anyway..
    Wondering if that makes sense, now what would be if you change the client packets to a unkown packet?
    For example:
    0x1D is move item
    0x2A is a empty packet
    Now use 0x2A instead of 0x1D and if a Player uses 0x1D he should get banned because the only way to use that packet would be used by a external program.
    This will afford a custom Client..
    Use ollyDBG to edit your client.
     
  3. qndel

    qndel Member

    Joined:
    Dec 26, 2009
    Messages:
    38
    Likes Received:
    3
    Best Answers:
    0
    Nice idea! But any tips how to actually edit these values with ollyDBG? :)
     
  4. qndel

    qndel Member

    Joined:
    Dec 26, 2009
    Messages:
    38
    Likes Received:
    3
    Best Answers:
    0
    Problem solved, managed to do everything myself (as always -.-)
     
    53701688 and Raggaer like this.
  5. Lelodro

    Lelodro OTX Collaborator

    Joined:
    Sep 15, 2008
    Messages:
    288
    Likes Received:
    149
    Best Answers:
    1
    Any help with changing the packets in ollydbg? x)
     
  6. Znote

    Znote <?php echo $title; ?> Staff Member Global Moderator Premium User

    Joined:
    Feb 14, 2008
    Messages:
    6,040
    Likes Received:
    849
    Best Answers:
    80
    @qndel How did you do it, and is it an effective solution?
     
  7. Lelodro

    Lelodro OTX Collaborator

    Joined:
    Sep 15, 2008
    Messages:
    288
    Likes Received:
    149
    Best Answers:
    1
    If it is effective againts bots (crash & ban with ban unknown packets), I managed to adapt several clients like tibianic but I lack the packets to be able to finish and I still can not find the way
     

Share This Page

Loading...