#6 LoginServer dumps large packets (32k+)

Closed
opened 4 years ago by image · 1 comments
image commented 4 years ago

Unknown LoginSOPcode: 0x201e size:32088 from ...

Unknown LoginSOPcode: 0x201e size:32088 from ...
image commented 4 years ago
Collaborator

This was fixed in the base commit LoginServer/client.cpp

        default: {
            char* name = (char*)app->GetOpcodeName();
            if(name)
                cout << name;
            else
                cout << "Unknown";
            cout << " Packet: OPCode: 0x" << hex << setw(2) << setfill('0') << app->GetOpcode() << dec << ", size: " << setw(5) << setfill(' ') << app->Size() << " from " << GetAccountName() << endl;
            if (app->Size() < 128)
                DumpPacket(app);

app->Size() < 128 .. check

This was fixed in the base commit LoginServer/client.cpp default: { char* name = (char*)app->GetOpcodeName(); if(name) cout << name; else cout << "Unknown"; cout << " Packet: OPCode: 0x" << hex << setw(2) << setfill('0') << app->GetOpcode() << dec << ", size: " << setw(5) << setfill(' ') << app->Size() << " from " << GetAccountName() << endl; if (app->Size() < 128) DumpPacket(app); app->Size() < 128 .. check
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.