[MOD] v41 SVN and GithubDesktop Bugs and Crashes Single player

Nope! Example: 1 at full health and other very low, attacking as stuck - first all moves uses the full health autogyro=he attacks several times a turn (4 moves, 4attacks per autogyro)
drache helicopter got same behaviour
lets say 6 in stuck
u attk as stack u can attk 6*number of helicopter move points (without blitz)
 
Screenshot_7.png

2 turns ago i had -40k gold per turn
turn ago +40k
now i got +353k
Screenshot_8.png

huh i think i broke colonial expenses (integer overflow?? or smth like that i think)
(194 cities, 17 on home continent, nightmare diff)
 
Yeah, colonial expenses got overflow, 210 000 is the limit (that is 2 100 000 000 divided by 100 twice)
Divisions and multiplications by 100 are done to reduce rounding errors.
@Toffer90 could check for things like that
 
I seem to be hanging a lot, likely some infinite loops, with SVN 11400. Space map pangaea with rescaled latitudes. Finding that it's not consistent, but it happens a lot.

Edit, uploading new save as it's happened 3 times on the next turn with this one.
Fix on the way to SVN now. Was caused by integer overflows in AI gold trading logic (too big numbers for game to store correctly).
 
drache helicopter got same behaviour
lets say 6 in stuck
u attk as stack u can attk 6*number of helicopter move points (without blitz)

I've noticed the same behavior at the beginning of v41 (or even v40, can't really say). It is about all "fast" (2+ moves) units, cavalry for example. It can be reproduced like: first 3t unit atacks, spent 1 move, then second unit atacks, the once again - first one, then second... do () while (!dead && can_move). No blitz, no special unit perks (at least haven't seen any info in wiki).
 
I've noticed the same behavior at the beginning of v41 (or even v40, can't really say). It is about all "fast" (2+ moves) units, cavalry for example. It can be reproduced like: first 3t unit atacks, spent 1 move, then second unit atacks, the once again - first one, then second... do () while (!dead && can_move). No blitz, no special unit perks (at least haven't seen any info in wiki).
As I mentioned on Discord to whoever ends up looking into this - I think this must have to do with a refactoring that wasn't taking full account of the need for Surprise Defenses to work like this, but ONLY Surprise Defenses.
 
Edit: I originally posted this in the wrong place so reposting here.

Wondering about the point of giving your transports the "Transport Troops" promotion if it doesn't let you transfer more troops? I gave my steam paddle x3 Transport Troops promotions (Transport Troops III, Cargo Space +3, -60% Str), and they can still only transport the same maximum of 2 regular (not sized-up) units they could normally.

Edit: Screenshot shows two steam paddle ships, one with Troop Transport III promotion, the second with no promotions. Both ships can hold a maximum of (2) Partisans (regular size, not sized-up). Both show Cargo Space: 200/200. Interestingly, if you open WB and look at them, the one with the promotions indicates that it has 2/11 Cargo Space vs the non-promoted vessel having 2/7. Neither units will accept more than 2.

Playing SVN 11403

Spoiler Screenshot :

25OkNPC.png

 
Yeah, colonial expenses got overflow, 210 000 is the limit (that is 2 100 000 000 divided by 100 twice)
Divisions and multiplications by 100 are done to reduce rounding errors.
@Toffer90 could check for things like that
funny thing if i do mass hurry production and civic maintenance goes higher then cities maintenance - inflation modifier flips back to positive and i start losing money
(so hurrying production increases maintenance for civics aswell, not only inflation line, its like% based)
 
funny thing if i do mass hurry production and civic maintenance goes higher then cities maintenance - inflation modifier flips back to positive and i start losing money
(so hurrying production increases maintenance for civics aswell, not only inflation line, its like% based)
Civic maintenance shouldn't go up from hurrying, only inflation
 
Back
Top Bottom