Verified:

Gerdler Game profile

Forum Moderator
5077

Mar 22nd 2017, 19:02:24

I just got this:

Turns: 79 Money: $205,385,735.66667 Food: 284,033 Bushels Networth: $X

First time I have seen it. It seems harmless. I attacked and in one of the turns I got my people demand tax rebate. When I moved on to another menu it was rounded up to *736.

It is still a bug tho I guess.

Primeval Game profile

Game Moderator
Mod Boss
3048

Mar 22nd 2017, 20:09:42

I remember either seeing this or seeing someone mention it previously in B&S, maybe both - its probably one of the threads buried away on here. I can't remember if it was specifically addressed by an admin.

Do you recall if the cash production/reduction for that turn was a whole number? That may help facilitate anyone that looks at this.

Gerdler Game profile

Forum Moderator
5077

Mar 23rd 2017, 0:02:49

I didn't see anything that stood out in the turn 'report'. I did look but I did not focus on it for very long. But let's say I'm 80% sure that the turn 'report' was all integers.

Maybe it has something to do with the tax rebate happening during an attack or perhaps the first turn of an attack, as it was for me? If it can only occur 2/3rd of the first turns of attacks it is pretty rare since the tax rebate is quite rare in itself.

Govt: F

Celphi Game profile

Member
EE Patron
6302

Mar 23rd 2017, 21:26:22

It's a simple fix.

echo round($c->money, 2);
Resistance is futile. You will be assimilated.

Gerdler Game profile

Forum Moderator
5077

Mar 27th 2017, 1:24:27

But it works every other time than during attacks. I just got another one. I made sure to check the turn report this time. It was integer everywhere. This also happened on the first turn of the attack, as it did last time.

Gerdler Game profile

Forum Moderator
5077

Mar 29th 2017, 13:05:19

Third time in a week now. Afaik only happens on first turn of the attack.

Turns: Near max Money: $114,941,982.33333 Food: 146,269 Bushels Networth: $The most
Advisor!
A brigade is out!
Our generals inform us that we launched at least one planned strike recently. Remember if we launch five planned stirkes at once we will not be able to do any additional attacks until at least one of them returns.
Your forces invaded Some poor lands(#X)!
They broke through the defender's defences!

They took:
A lot of Acres(Very many Gained)
The best Buildings(The worst Destroyed)
Some Bushels
A few $ too little
Almost no Technology Points

Your military lost:
No Jets, because I'm awesome

Your enemy lost:
Some Troops
All Turrets
A few Tanks
Tax Revenue:
Expenses:
Net Change: $691,399
$1,415,009
$-723,610 Food Produced:
Food Consumed:
Net Change: 849 bushels
15,155 bushels
-14,306 bushels
Your people demand a tax rebate, lowering tax revenues this turn!
Population gain: 1042 people.
You Produced: T Turrets and B Oil Barrels.

NewEarth26 Game profile

New Member
4

Jun 5th 2017, 14:22:52

kl

Pang Game profile

Administrator
Game Development
5731

Jun 19th 2017, 0:48:42

Probably something we overlooked somewhere. Everything should be floored into integers, IIRC. Must have missed one or more :)

Will try to fix as I'm redesigning stuff -- thanks!
-=Pang=-
Earth Empires Staff
pangaea [at] earthempires [dot] com

Boxcar - Earth Empires Clan & Alliance Hosting
http://www.boxcarhosting.com