Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?
You are not logged in.
Pages: 1
I'm using an outdated desirialiser and i need help fixing it, could someone assist me in this endeavor.
public static void Read(PlayerIOClient.Message m, uint c)
{
while (c < m.Count && !(m[c].ToString().StartsWith("PW") || m[c].ToString().StartsWith("BW")))
{
if (m[c].ToString() != "we")
{
int bid = m.GetInt(c);
for (int n = 0; n < m.GetByteArray(c + 2).Length; n += 2)
{
int x = m.GetByteArray(c + 2)[n] << 8 | m.GetByteArray(c + 2)[n + 1];
int y = m.GetByteArray(c + 3)[n] << 8 | m.GetByteArray(c + 3)[n + 1];
block[x, y].BlockID = bid;
}
c += 4;
}
else
{
break;
}
}
}
Offline
Since this is a total duplicate of http://forums.everybodyedits.com/viewtopic.php?id=26529, i recommend you to go there.
Offline
I actually didn't notice they were similar... Thanks.
Offline
Pages: 1
[ Started around 1732499670.1569 - Generated in 0.040 seconds, 12 queries executed - Memory usage: 1.38 MiB (Peak: 1.48 MiB) ]