At the beginning of CPIFirstLogin::Handle (in CPacketReceive.cpp), there is a declaration of a local ACCOUNTSBLOCK structure:
Code: Select all
ACCOUNTSBLOCK actbTemp;
Later on, the wFlags member of this structure is modified. However, after that, it appears that the contents of the structure are never written back anywhere:
Code: Select all
...
actbTemp.wFlags |= AB_FLAGS_ONLINE;
UI16 servcount = cwmWorldState->ServerData()->ServerCount();
CPGameServerList toSend( servcount );
for( UI16 i = 0; i < servcount; ++i )
{
physicalServer *sData = cwmWorldState->ServerData()->ServerEntry( i );
toSend.AddServer( i, sData );
}
tSock->Send( &toSend );
}
CPEnableClientFeatures ii;
tSock->Send( &ii );
return true;
Thanks for the help!
...Artomegus