Build 154: 'Network variable 'maxEnergy' has value 300 which is outside the range that c
Plasma
Join Date: 2003-04-26 Member: 15855Members, Constellation, Squad Five Blue
Just an FYI I see these events in the server console; and I notice the server begins to lag a bit around this time too.
Network variable 'maxEnergy' has value 300 which is outside the range that can be sent using 8 bits
Network variable 'maxEnergy' has value 300 which is outside the range that can be sent using 8 bits
Network variable 'energy' has value 300 which is outside the range that can be sent using 8 bits
Network variable 'maxEnergy' has value 300 which is outside the range that can be sent using 8 bits
Network variable 'energy' has value 300 which is outside the range that can be sent using 8 bits
... etc
Network variable 'maxEnergy' has value 300 which is outside the range that can be sent using 8 bits
Network variable 'maxEnergy' has value 300 which is outside the range that can be sent using 8 bits
Network variable 'energy' has value 300 which is outside the range that can be sent using 8 bits
Network variable 'maxEnergy' has value 300 which is outside the range that can be sent using 8 bits
Network variable 'energy' has value 300 which is outside the range that can be sent using 8 bits
... etc
Comments
Anyone which Energy Value those messages are referring to?
Is it player energy as in adrenalin or something else?
Just fyi: 8 bit = 2^8 possible values which gives a range of 0 to 255 or -128 to 127 if you need negative values.
But the solution should be easy: reserve additional bits in your code packages for sending the energy value :P