04-21-2015, 07:30 AM
If we make the counter an unsigned char but keep it restricted to modulo 127, that should be a suitable hot-fix for now. We need to keep the modulo because of 1.7 protocol support. But there is the problem of what if we have more than 127 windows on a server? It could happen on a busy server, remember when Howener got 140 players on a server.
Also if we want to be truly portable what about architectures with non-octet bytes? My proposal will work on machines with >= 7 bits per bytes, but there are 4 bit per byte architectures out there.
Also if we want to be truly portable what about architectures with non-octet bytes? My proposal will work on machines with >= 7 bits per bytes, but there are 4 bit per byte architectures out there.