Originally Posted by
Arrol
What happened?
They decided that 2000L was a good value to put in a 64 bit integer. Also, I learned more about how Nexon codes data.
There is a specific block type called 0x14 which, until today, I did not know it was coded like this.
Code:
int64_t readPacked64(FILE* wzFile)
{
int64_t returnedValue = 0;
fread(&returnedValue, sizeof(int8_t), 1, wzFile);
if(returnedValue == 0x80)
{
fread(&returnedValue, sizeof(returnedValue), 1, wzFile);
}
return returnedValue;
}
So yeah, they coded the value 2000L to be in a 64 bit integer. What the hell. Maybe it's because they're changing how mesos work? Since mesos are a 64 bit integer now, right? This was a property specifically related to mesos.
Bookmarks