TSI overflow: Difference between revisions

From Hattrick
Jump to navigationJump to search
Jhattara (talk | contribs)
No edit summary
Para Para (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Interwiki/TSI overflow}}
'''TSI overflow''' is a [[bug]] that is related to limitations in the [[Hattrick]] [[database]].
After reaching divinity, a player can be trained even further because there is no cap at divine at all. And TSI can actually go to 2 million+, and then it restarts at 0.  
After reaching divinity, a player can be trained even further because there is no cap at divine at all. And TSI can actually go to 2 million+, and then it restarts at 0.  
TSI-data is stored in a 32 bit number, this means that you can reach up to 2^31 - 1 numbers. <br>
TSI-data is stored in a 32 bit number, this means that you can reach up to 2^31 - 1 numbers. <br>
Line 14: Line 17:


[[Category:Game Concepts]]
[[Category:Game Concepts]]
[[Category:Hattrick]]

Latest revision as of 22:54, 18 June 2012

INTERWIKI

· English · Magyar ·

TSI overflow is a bug that is related to limitations in the Hattrick database.

After reaching divinity, a player can be trained even further because there is no cap at divine at all. And TSI can actually go to 2 million+, and then it restarts at 0. TSI-data is stored in a 32 bit number, this means that you can reach up to 2^31 - 1 numbers.
This equals the astronomical amount of

"2.147.483.648"

Because TSI is always a multiplicant of 1.000(due to the old player value system), the highest number you can reach is "2.147.483" .

This number would be stored as:

"1111.1111.1111.1111.1111.1111.1111.1111" (binary),

if you add 1 to this number, the result is

"1.0000.0000.0000.0000.0000.0000.0000.0000" (binary)

Since TSI is stored in 32-bits, only the "0000.0000.0000.0000.0000.0000.0000.0000" part is stored, leaving "0" in decimal.


Obviously the developers never meant for this to happen. The first player, to get “TSI overflow” was Herman Vooijs.