dervin13
Active Member
- Joined
- Apr 26, 2008
- Messages
- 459
- Solutions
- 1
- Reaction score
- 28
Hi, when i try to change character and open the window to change the premium days isn't appear the real...
independent of your quantity of days it appears 32796
It's problem something here... When i change the is Premium and put 0x00 it appears always like free account... someone know how to fix it and appear the real days?
independent of your quantity of days it appears 32796
It's problem something here... When i change the is Premium and put 0x00 it appears always like free account... someone know how to fix it and appear the real days?
Code:
void ProtocolGameBase::sendBasicData()
{
NetworkMessage msg;
msg.addByte(0x9F);
msg.addByte(player->isPremium() ? 0x01 : 0x00);
msg.add<uint32_t>(std::numeric_limits<uint32_t>::max());
msg.addByte(player->getVocation()->getClientId());
msg.add<uint16_t>(0x00);
writeToOutputBuffer(msg);
}