Jump to content

Thanatos

Inactive Member
  • Posts

    145
  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    0%

Community Answers

  1. Thanatos's post in How to fix / inspect these Unknown packet header errors? was marked as the answer   
    so first time if you have a unknow header:97 last 75,75(per exemple) you have 3.4 five filles to verify:
    -packet.h from client.Just ctrl+f and search 97 value..if dont aprea its not a problem
    -search in game source in common/tables.h and again search value 97  here you have more change to find this value and see where you have an mistake.In my case 97 is:
    HEADER_DG_GUILD_WAR = 97, so till now i have an clue named guid_war...ok lets find the problem and i search in same fille:
    typedef struct SPacketGuildWar and we will see that:
    typedef struct SPacketGuildWar { BYTE bType; BYTE bWar; DWORD dwGuildFrom; DWORD dwGuildTo; long lWarPrice; long lInitialScore; } TPacketGuildWar; now we have to pay atention on entire insctruction!Must be the same with that from client source!
    But you can fint that in packet.h from client source.
    and if  i search i find this:
    typedef struct packet_guild_war { DWORD dwGuildSelf; DWORD dwGuildOpp; BYTE bType; BYTE bWarState; } TPacketGCGuildWar; typedef struct packet_guild_war { DWORD dwGuildSelf; DWORD dwGuildOpp; BYTE bType; BYTE bWarState; } TPacketGCGuildWar; typedef struct SPacketGuildWarPoint { DWORD dwGainGuildID; DWORD dwOpponentGuildID; long lPoint; } TPacketGuildWarPoint; we must compare all the types of function from each fille to be the same.I see that BYTE bType is the same that i will not have an error with header...But where i can find other function like 
    DWORD dwGuildOpp; to identify them?
    Now search in client source in userinterface/pythonguild to verify if the function are the same.
     
     
    Another trick to find where you have the error and where you have modified use winmerge(this if you have a unmodifier source of your client)
     
    I hope it will help you!And sorry for my english.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.