Finding Recieve Packets

Results 1 to 8 of 8
  1. #1
    Valued Member pansy is offline
    MemberRank
    Sep 2013 Join Date
    DetroitLocation
    104Posts

    Finding Recieve Packets

    So I've been stuck on trying to find recieve opcodes for my v28 odin-based server. Can anyone tell me how to find them?

    I've already gotten all of send opcodes from digging through the client using IDA.


  2. #2
    I'm overrated. Fraysa is offline
    MemberRank
    Apr 2008 Join Date
    4,891Posts

    Re: Finding Recieve Packets

    You'd have to find the Encode functions that are used for encoding out packets. That's a bit hard, because you don't know what belongs to what as it's not named. Your best shot is to log all the received unhandled packets from the client so you know what belongs to what.

  3. #3
    Omega sunnyboy is offline
    MemberRank
    Mar 2010 Join Date
    6,108Posts

    Re: Finding Recieve Packets

    Quote Originally Posted by pansy View Post
    So I've been stuck on trying to find recieve opcodes for my v28 odin-based server. Can anyone tell me how to find them?

    I've already gotten all of send opcodes from digging through the client using IDA.
    you're welcome for the .idb

    print the recv in your batch and do the action to receive the opcode - fastest way

  4. #4
    Valued Member pansy is offline
    MemberRank
    Sep 2013 Join Date
    DetroitLocation
    104Posts

    Re: Finding Recieve Packets

    Quote Originally Posted by sunnyboy View Post
    you're welcome for the .idb

    print the recv in your batch and do the action to receive the opcode - fastest way
    To print it in my batch, what do I have to do? Is there a specific code I should put in a specific place?
    Thanks for the .idb btw, very useful.

  5. #5
    I'm overrated. Fraysa is offline
    MemberRank
    Apr 2008 Join Date
    4,891Posts

    Re: Finding Recieve Packets

    Quote Originally Posted by pansy View Post
    To print it in my batch, what do I have to do? Is there a specific code I should put in a specific place?
    Thanks for the .idb btw, very useful.
    There should be MapleServerHandler, or whatever, that handles the packet. Add a default case (depending on your code) which is the unhandled case. Print the mplew content to the output window. Anyways, it should be automatically done. Try to look for a property that logs packet in the server configuration.

  6. #6
    desk.getCoffee().drink(); AngelSpirit is offline
    MemberRank
    Jul 2010 Join Date
    CanadaLocation
    318Posts

    Re: Finding Recieve Packets

    You'll probably want to log the known opcodes as well, actually, in case they're incorrect and you need to change them.

  7. #7
    Valued Member pansy is offline
    MemberRank
    Sep 2013 Join Date
    DetroitLocation
    104Posts

    Re: Finding Recieve Packets

    Quote Originally Posted by AngelSpirit View Post
    You'll probably want to log the known opcodes as well, actually, in case they're incorrect and you need to change them.
    If you're referring to the recv opcodes, there are none yet.
    But if you're referring to the send opcodes I'm already a step ahead for that.

  8. #8
    Account Upgraded | Title Enabled! AristoCat is offline
    MemberRank
    Apr 2012 Join Date
    947Posts

    Re: Finding Recieve Packets

    recv opcodes are what you receive you can log them and see if you handle them or not.



Advertisement