AND2 and SVN Bug Reports - A New Dawn 2 ONLY

That's not the problem. The float is not the variable that is overflowing. The long long is overflowing.*

It's a complex issue and I have to rewrite a portion of the maintenance code. Ideally I'd just make maintenance use a unsigned long long, but a lot of the python code expects an integer. So I can not change the base underlying representation of maintenance.

Edit:

*To add more detail, the long long does not overflow immediately. The float is small enough to fit into the long long. But after the first modifier multiplies the long long value by 100, it overflows into the negatives.

Edit2:

I have a fix locally, and I see a correct income of 80824 gold per turn.
Yeah, sorry I have written float but I was thinking long long. As you've fixed this, it's fine! Good job for fixing all those bugs so quickly!
 
@BadParadise: Do you have a savegame for this ?
 
I've noticed a lot of variability in gold/turn now.

I'm in medieval era and one turn I'll be +180 and next turn +22, some turns I'm in the negative.

Edit:
I have figured out it is from 'tribute' payments to me, even though I'm not the most powerful Civ.
https://i.imgur.com/lU6wxp2.jpg

Maybe coding it so it gives lump sum payments, rather than per turn payments would be better.
 
I've noticed a lot of variability in gold/turn now.

I'm in medieval era and one turn I'll be +180 and next turn +22, some turns I'm in the negative.
It could depend on a lot of factors. Flexible difficulty, something becoming obsolete, your position on the scoreboard and hence tribute paid to you or that you pay due to civics...
 
45°38'N-13°47'E;13731794 said:
Me too in Pedia or tech tree. It's missing only when I have to choose a tech as in the screenshot. Have you checked that?

The one that's missing isn't the Athletics icon, it's the Athletics + Hellenism not yet founded icon (the Athletics icon itself is part of an atlas, so we can't lose it). Bad path in the ReligionInfos file.

How does this look for a replacement? I can add it to my FPK.

View attachment 391600
 
The one that's missing isn't the Athletics icon, it's the Athletics + Hellenism not yet founded icon (the Athletics icon itself is part of an atlas, so we can't lose it). Bad path in the ReligionInfos file.

How does this look for a replacement? I can add it to my FPK.

View attachment 391600
Looks perfect to me, but I thought that it was fixed in Rev 930 by afforess
 
Yes, it's fine!
 
The infinite loop bug I reported is fixed! Thanks Afforess!

Plus I'm thrilled with Ai war performance now! I just watched an enemy landing a stack on my continent and watched as my National Defending units throw themselves at the stack! Terrible casualties but killed the stack! Awesome sight!
 
Plus I'm thrilled with Ai war performance now! I just watched an enemy landing a stack on my continent and watched as my National Defending units throw themselves at the stack! Terrible casualties but killed the stack! Awesome sight!
:) Glad you like it! Next time, it will also build wonders before you!
 
45°38'N-13°47'E;13743957 said:
Looks perfect to me, but I thought that it was fixed in Rev 930 by afforess

I just updated to 931 and the pink square is still there. Try starting a game in the Classical Era and you should see it. You will only see it if you can research Athletics and Hellenism has not been founded.

If the Athletics button was really missing, you would see pink everywhere; in the Civilopedia, in the F6 screen, and in the tech chooser after Hellenism was founded. Since that isn't happening, and I was actually able to remove the backup Athletics button without seeing any new pink squares, adding the extra Athletics button didn't really fix the problem.

View attachment 391601
 
I'll release a revision soon. I will look into that problem!

EDIT: Finally, I will delay my release a little. If someone wants to fix this before tomorrow morning, you're welcome!
 
I had my first volcano dark age and when it ended nothing went back to the correct food values. I have to do a ctrl+shift+t and recalculate to get the right tile values back.
 
I just noticed how expansive the wars are in this mod, and wondering if this is by design or if it is just a bug. I am playing on a standard-sized map and emperor difficulty (see the save file for my following questions).

1. I need to let the entire empire (about 27 cities) build wealth to break even and finance an army ~ 30 units.

2. I am making 29 gpt in this save. Once i take that city Tabriz (you can try based on the save), the gold becomes -149 gpt. So taking one city cost about 180 gpt?!

Could you check if this is a bug or i am missing something. If this is by design, any advice on waging a war?

PS: the AI declared on me twice. Both times, they sent in like 1 or 2 units to attack me....
 

Attachments

I'll release a revision soon. I will look into that problem!

EDIT: Finally, I will delay my release a little. If someone wants to fix this before tomorrow morning, you're welcome!

It's fixed. I wanted to release my improvement balancing and it was a minor change.
 
hello AND2 modders:

A few more bugs to report (which you can all see from the save file attached):
1. It seems that once I switched into the Conscription civic (which adds 50% more unhappiness into overpopulation), this unhappiness penalty never goes away even after i switched out of it.

2. the "red fist" feature from BUG seems no working any more. For example, in the save file, Arab shows no red fist, but if you click the next turn, he will declare on me (again, with like 2 units sent in).

3. Also, this mod also seems to have a minor issue with the "add sign" feature (activated with ALT + S). it seems that once a sign is added, it cannot be removed anymore. For example, i cannot remove those "x" signs that i've added. I tried a few times, but when the next turn starts, they are back!
 
Thanks for the bug report!

1.) I will investigate.

2.) That's not a bug, with Ruthless AI enabled, the AI will not always reveal it's war plans. This is intentional.

3.) This may be a result of recent changes trying to make signs save after a save/load of the game. I will take a look.
 
Back
Top Bottom