• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

NetworkMessage

Colex

print("LUA Scripter")
Joined
Jun 14, 2007
Messages
7
Reaction score
0
I'm having a little problem in the networkmessage.h,
Everytime I add a variable to the NetworkMessage's class, It compiles but when trying to log into a character, It just doesn't let me connect.
Here's the only change I did in it:

protected:
inline bool canAdd(int size)
{
return (size + m_ReadPos < NETWORKMESSAGE_MAXSIZE - 16);
};

int32_t m_MsgSize;
int32_t m_ReadPos;
int32_t GarbageBytes;
uint8_t m_MsgBuf[NETWORKMESSAGE_MAXSIZE];


Thank You,
Colex
 
Then, moving thread to the correct section.
 
Back
Top