User Pass
Home Sign Up Contact Log In
a1tele
offline
Link
 
Sorry if this was mentioned before I went back 10 pages and looked through known bugs.

http://goallineblitz.com/game/game.pl?game_id=180638

42 TD's scored 39/42 on XP's equal 291 points yet the final score says 255. If you add up the 4 quarters it equals 291 as well.

Is 255 the max score this game will show?


Last edited Oct 14, 2008 15:48:31
 
Serenity
offline
Link
 
Originally posted by a1tele
Is 255 the max score this game will show?




Yes it is.
 
lcplcombat
offline
Link
 
Its all about how computers store binary numbers.

There is only 1 byte allocated to store the total score. A byte consists of 8 bits which can hold a value of 1 or 0, think of a bit as a switch in either the on or off position and a byte is a series of 8 bits.

128 64 32 16 8 4 2 1

Binary Decimal
Byte Value
00000000 = 0
00000001 = 1
00000010 = 2
00000011 = 3
11111110 = 254
11111111 = 255

When Bort designed the game he probably never envisioned teams scoring that many points an a single game and to save memory and database size only allocated 1 byte to hold the value.

 
a1tele
offline
Link
 
makes perfect sense
 
ronmexico7
offline
Link
 
Originally posted by lcplcombat
Its all about how computers store binary numbers.

There is only 1 byte allocated to store the total score. A byte consists of 8 bits which can hold a value of 1 or 0, think of a bit as a switch in either the on or off position and a byte is a series of 8 bits.

128 64 32 16 8 4 2 1

Binary Decimal
Byte Value
00000000 = 0
00000001 = 1
00000010 = 2
00000011 = 3
11111110 = 254
11111111 = 255

When Bort designed the game he probably never envisioned teams scoring that many points an a single game and to save memory and database size only allocated 1 byte to hold the value.




very well explained.
 
RMiller517
offline
Link
 
Thread locked by moderator.
 


You are not logged in. Please log in if you want to post a reply.