Inventory issues
#9
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? Smile My proposal will work on machines with >= 7 bits per bytes, but there are 4 bit per byte architectures out there.
Reply
Thanks given by: Jammet


Messages In This Thread
Inventory issues - by Jammet - 04-17-2015, 03:47 AM
RE: Inventory issues - by fichdlmaa - 04-19-2015, 05:39 AM
RE: Inventory issues - by Jammet - 04-19-2015, 05:48 AM
RE: Inventory issues - by Jammet - 04-20-2015, 07:20 AM
RE: Inventory issues - by xoft - 04-20-2015, 07:34 AM
RE: Inventory issues - by Jammet - 04-20-2015, 04:30 PM
RE: Inventory issues - by Jammet - 04-21-2015, 01:04 AM
RE: Inventory issues - by tigerw - 04-21-2015, 03:48 AM
RE: Inventory issues - by worktycho - 04-21-2015, 07:30 AM
RE: Inventory issues - by xoft - 04-21-2015, 07:35 AM
RE: Inventory issues - by worktycho - 04-21-2015, 08:36 AM
RE: Inventory issues - by xoft - 04-21-2015, 04:02 PM
RE: Inventory issues - by Jammet - 04-22-2015, 01:54 AM
RE: Inventory issues - by xoft - 04-22-2015, 07:15 AM
RE: Inventory issues - by xoft - 04-22-2015, 07:21 AM
RE: Inventory issues - by xoft - 04-22-2015, 07:30 AM
RE: Inventory issues - by Jammet - 04-22-2015, 04:05 PM
RE: Inventory issues - by xoft - 04-25-2015, 09:50 PM
RE: Inventory issues - by fichdlmaa - 04-25-2015, 10:14 PM
RE: Inventory issues - by fichdlmaa - 04-25-2015, 10:56 PM



Users browsing this thread: 4 Guest(s)