Why does Gold Grab & Elixir escapade stop at 2 billion? Why doesn't it go to 5 Billion +? It wouldn't affect anyone to put the limit up, It's like having a cap on war stars "1000! Stars max! So Stupid
Printable View
Why does Gold Grab & Elixir escapade stop at 2 billion? Why doesn't it go to 5 Billion +? It wouldn't affect anyone to put the limit up, It's like having a cap on war stars "1000! Stars max! So Stupid
The type used to store GG/EE in is called int. Int holds a max of 2 billion & a little more. So to round it up they used the 2 billions as a the max. Now to change it a multilayer change is needed. This change with the problems that could happen after it might not be a priority for SC currently. The good thing is that we can be "maxed" in this achievement! There are some who would like it to change while others won't. Anyway send supporr a message asking them for that ;)
The point in where I'm at in terms of how far i am into the game and close to the top, is nowhere near you man. I really dont care how much loot I've stolen since I got this game. Once I have completed that achievement, Im done with it and I wont look back.
You expect too much from clash dev team. they have troubles with far more simpler tasks.
Anyway IMO only de can show a good farmer because barching for gold/lix is easier.
Read once that it was because of server storage capacity (the higher the number the more storage space is needed). You would think that since the number of players has declined and the technology has evolved they would change it. But alas.
The actual changing/coding of it won't be the problem, it will just be the extra memory that would have to be allocated, multiplied by 100 million or however many accounts in game there are., that would be the problem.
It was just the easiest thing to do when coding the game, and I doubt it will be changed.
Current player numbers has nothing to do with it. They need to store the data for every single player that played, even the ones that downloaded in 2012 and didn't go past TH3.
It's too much messing about for something extremely trivial.
They could make it unsigned int. That is still 32bit like int, but it goes to 4 billion. One liner code change.
This isn't the only problem. Actually changing the variable type in a database is nothing like just going into a program and changing the variable from Int to longint. Typically, in most if not all database structures you have follow this procedure:
1) make a new table with the changed columns
2) copy all the data from the old table to the new table
3) delete the old table
This is just the way it's done in most enterprise databases. My company has done this using SQL server. Not sure what SC uses but it wouldn't surprise me if they'd have to do the same thing.
this takes a long time, and with millions of rows (one row for each account in the Deb) this could take a helluva long time and require lots of space just to get it done. Also now you have to test the application to make sure the application accepts the new data type and there aren't other bugs due to the change.
as someone said, it's easy to set this in the beginning. It gets harder and harder to change as more data builds up and it's not a priority. This happens in businesses all the time and you just live with these little issues after a while.
The explanation:
The number 2,147,483,647 (or hexadecimal 7FFF,FFFF16) is the maximum positive value for a 32-bit signed binary integer in computing. It is therefore the maximum value for variables declared as integers (e.g., as int) in many programming languages, and the maximum possible score, money, etc. for many video games. The appearance of the number often reflects an error, overflow condition, or missing value.[8] In December 2014, Google initially claimed that PSY's music video "Gangnam Style" exceeded the 32-bit integer limit for YouTube view count, necessitating YouTube to upgrade the variable to a 64-bit integer.[9][10] Google later admitted that this was a joke.[11]
The data type time_t, used on operating systems such as Unix, is a signed integer counting the number of seconds since the start of the Unix epoch (midnight UTC of 1 January 1970), and is often implemented as a 32-bit integer.[12] The latest time that can be represented in this form is 03:14:07 UTC on Tuesday, 19 January 2038 (corresponding to 2,147,483,647 seconds since the start of the epoch). This means that systems using a 32-bit time_t type are susceptible to the Year 2038 problem.[13] (Systems employing a wider 64-bit time_t type do not suffer from this limitation.)
Also, this number is in most browsers the highest to accept positive or negative z-index in Cascasing Style Sheets
Source: Wikipedia
I think I submitted an Idea request a year ago to up the limit. And our family of 500 players started a petition as well, since we track farming stats and a lot of players don't get credit for farming gold or elixir.
Since lot of us using 32bit devices, its never gonna happen....so in a nearly future dont wait for any changes even if you get 2 billion petition :)
As I linked its not the developers mistake/bug/settings ....
Ps.: In our clan we had an idea long time ago for the second or/and more counters in each profiles so for example after reaching that number each profile will get a "star" or anything to shows you reached once, second, third....and go on...
Probably not a one line code change.. The game runs on Android (and java doesn't have unsigned datatypes) and iOS (where unsigned int do exist) so .. to keep things simple the use a common datatype and cut it over at 2 billion (to avoid having to explain the extra 147,483,647 )
/Affront
The problem is that you may lose some precision when doing arithmetic with floating point numbers, e.g. by adding a small number to a floating point number already representing a very large number.
Some extra memory would undoubted be needed but we can only speculate if that was the reason they capped the number at 2 billion. After all, do you have any idea how much memory storing all that other stuff such as multiple base layouts, statistics, etc. takes?
Well, te limit is 2 billion exactly, not 2,147,483,647, which suggests that this is an arbitrarily set value and due to technical reasons. I did not decompile the game binaries to take a look so I can only speculate as to which data types they use but evidently it was capped on purpose at 2 billion and if they wanted to support larger numbers they most certainly could have done so even with the technologies available back in 2012.
Let me offer a less scientific explanation...once you hit 2 billion gold/elixir, you have essentially farmed a max base, and your loot grab doesn't really matter anymore :p
Honestly, its kind of a relief that it caps out.
Because once you hit 2 billion. You are certified a professional loser with no real life. Nothing more needs to be said or earned. :D