Page 1 of 1

Ceiling on esc cards

PostPosted: Fri Oct 30, 2020 3:48 am
by Chariot of Fire
Apologies if this has been covered elsewhere but I couldn't find a thread on it after searching.

Game 19616026

Although in Overview the value of trades has been increasing, the actual number of troops received when cashing has stopped at 32,767 for each of the remaining three players for a couple of weeks now.

Can anyone explain this anomaly? It's a really odd figure, 32,767, and I'm wondering how it was calculated and why trades aren't escalating any more (despite the Overview stating they are)?

Thanks

Re: Ceiling on esc cards

PostPosted: Fri Oct 30, 2020 4:58 am
by TeeGee
I think this can explain it better than me

https://stackoverflow.com/questions/18558271/why-the-range-of-int-is-32768-to-32767/18558317

or maybe it doesn't, needs someone with more programming knowledge than me

Re: Ceiling on esc cards

PostPosted: Fri Oct 30, 2020 7:40 am
by Maxleod
2020-10-29 23:19:46 - Darin44 ended the turn and got spoils
2020-10-29 23:26:49 - Chariot of Fire received 1 troops for holding H - Central American
2020-10-29 23:26:49 - Chariot of Fire received 5 troops for holding O - Colombian
2020-10-29 23:26:49 - Chariot of Fire received 1 troops for holding D - Ecuadorian
2020-10-29 23:26:49 - Chariot of Fire received 3 troops for holding P - Peruvian
2020-10-29 23:26:49 - Chariot of Fire received 4 troops for holding C - Chilean
2020-10-29 23:26:49 - Chariot of Fire received 2 troops for holding N - Santiago Line
2020-10-29 23:26:49 - Chariot of Fire received 2 troops for holding E - Bahia Line
2020-10-29 23:26:49 - Chariot of Fire received 2 troops for holding T - Cordoba Line
2020-10-29 23:26:49 - Chariot of Fire received 1 troops for holding SCI (Hat)
2020-10-29 23:26:49 - Chariot of Fire received 1 troops for holding UIO (Hat)
2020-10-29 23:26:49 - Chariot of Fire received 1 troops for holding IQT (Hat)
2020-10-29 23:26:49 - Chariot of Fire received 1 troops for holding ARI (Hat)
2020-10-29 23:26:49 - Chariot of Fire received 1 troops for holding SCB (Hat)
2020-10-29 23:26:49 - Chariot of Fire received 6 troops for holding BUA (Terminal)
2020-10-29 23:26:49 - Chariot of Fire received 10 troops for 51 regions
2020-10-29 23:27:12 - Chariot of Fire played a set of CGB Cuiabá L, MGA Managua H, and UIO Quito D worth 32767 troops
2020-10-29 23:27:12 - Chariot of Fire got bonus of 2 troops added to MGA Managua H
2020-10-29 23:27:12 - Chariot of Fire got bonus of 2 troops added to UIO Quito D
2020-10-29 23:28:06 - Chariot of Fire deployed 32767 troops on LET Leticia O
2020-10-29 23:28:13 - Chariot of Fire deployed 1266 troops on PCR Puerto Carreño U
2020-10-29 23:28:15 - Chariot of Fire assaulted CCS Caracas U from PCR Puerto Carreño U and conquered it from pete h
2020-10-29 23:28:26 - Chariot of Fire assaulted LET Leticia L from LET Leticia O and conquered it from Darin44
2020-10-29 23:28:44 - Chariot of Fire assaulted POA Porto Alegre G from MVD Montevideo G and conquered it from Darin44
2020-10-29 23:29:05 - Chariot of Fire assaulted RCQ Reconquita S from SFE Santa Fe S and conquered it from Darin44
2020-10-29 23:29:16 - Chariot of Fire assaulted UYU Uyuni V from UYU Uyuni T and conquered it from pete h
2020-10-29 23:29:52 - Chariot of Fire reinforced UYU Uyuni T with 2 troops from MGA Managua H
2020-10-29 23:30:06 - Chariot of Fire reinforced UYU Uyuni T with 2 troops from UIO Quito D
2020-10-29 23:30:41 - Chariot of Fire ended the turn and got spoils

You still got more than 32,767, where do those 1,266 extra troops come from? Seems like a glitch in the log but doesn't affect the actual number of armies you'll get when cashing.

Re: Ceiling on esc cards

PostPosted: Fri Oct 30, 2020 12:32 pm
by Chariot of Fire
Good point. And look at the player Darin who cashed before me. All he deployed according to the log were 32,767 troops.

Maybe I should just shut up! :D ;)

Re: Ceiling on esc cards

PostPosted: Fri Oct 30, 2020 4:59 pm
by Nut Shot Scott
it's trying to tell you all to quit boring each other to death with stacking and do something.

Re: Ceiling on esc cards

PostPosted: Fri Oct 30, 2020 5:20 pm
by Chariot of Fire
Nut Shot Scott wrote:it's trying to tell you all to quit boring each other to death with stacking and do something.


Trench :(

The board game equivalent of "Death By A Thousand Cuts"

Re: Ceiling on esc cards

PostPosted: Fri Oct 30, 2020 5:52 pm
by Dukasaur
Chariot of Fire wrote:Apologies if this has been covered elsewhere but I couldn't find a thread on it after searching.

Game 19616026

Although in Overview the value of trades has been increasing, the actual number of troops received when cashing has stopped at 32,767 for each of the remaining three players for a couple of weeks now.

Can anyone explain this anomaly? It's a really odd figure, 32,767, and I'm wondering how it was calculated and why trades aren't escalating any more (despite the Overview stating they are)?

Thanks


That's just the largest number the system can display.

In actual fact, you still get the number of troops you are entitled to. They just aren't displayed correctly.

32,767 is two bytes (Two bytes would actually carry 65,536 possible values, but one bit is sacrificed for the +/- sign).

That's the normal limit for Integer variables. To allow numbers larger than that, a programmer has to define a variable as Longint, which sucks up a hell of a lot more memory in the server! In a situation like CC, where one shouldn't encounter numbers of more than 3 digits very often, programmers generally just define regular integers. The game itself, however, has had its variables expanded to allow for larger numbers, but the module that reports to the log was never part of that expansion.

Re: Ceiling on esc cards

PostPosted: Sun Nov 01, 2020 11:53 am
by Jdsizzleslice

Re: Ceiling on esc cards

PostPosted: Tue Nov 03, 2020 10:42 am
by BoganGod
Chariot of Fire wrote:Apologies if this has been covered elsewhere but I couldn't find a thread on it after searching.

Game 19616026

Although in Overview the value of trades has been increasing, the actual number of troops received when cashing has stopped at 32,767 for each of the remaining three players for a couple of weeks now.

Can anyone explain this anomaly? It's a really odd figure, 32,767, and I'm wondering how it was calculated and why trades aren't escalating any more (despite the Overview stating they are)?

Thanks

Time for a name change? CoF sounds a bit too much like the dreaded not at all from china lab experiment gone rung.