Bug Reports and Technical Issues

Python bug during a world congress. England collapsed during this turn due to losing London, and my guess is this bug is caused by civs trying to claim newly independent Speightstown. Save provided, all I did after hitting end turn is attempt to claim San Juan.

I haven't updated to the new civics version, but I doubt this issue was affected by those changes.
 

Attachments

  • image_2024-06-15_121341547.png
    image_2024-06-15_121341547.png
    2.2 MB · Views: 2,765
  • Roosevelt AD-1904 Turn 464 b.CivBeyondSwordSave
    Roosevelt AD-1904 Turn 464 b.CivBeyondSwordSave
    2.1 MB · Views: 37
I think this was reporting in another thread, but the national college icon is a pink square and selecting it to build hard crashes the game to desktop. End the turn to see for yourself.

Edit: I am now getting hard crashes when I open world builder after playing until the 1400s on AD 600 scenarios. I believe this is likely due to the AI building national colleges, and then world builder making this bugged model visible to the player, crashing the game instantly.
 

Attachments

Last edited:
No advanced start as France in the 3000 BC scenario.
 
Python bug during a world congress. England collapsed during this turn due to losing London, and my guess is this bug is caused by civs trying to claim newly independent Speightstown. Save provided, all I did after hitting end turn is attempt to claim San Juan.

I haven't updated to the new civics version, but I doubt this issue was affected by those changes.
I can't reproduce this unfortunately. After three attempts, I never ended up getting San Juan. Speightstown was assigned multiple times without any issues. I also took a look at the code and it should work even if the owner changes during the process. So I don't know the circumstances that caused the error for you.
 
I think this was reporting in another thread, but the national college icon is a pink square and selecting it to build hard crashes the game to desktop. End the turn to see for yourself.

Edit: I am now getting hard crashes when I open world builder after playing until the 1400s on AD 600 scenarios. I believe this is likely due to the AI building national colleges, and then world builder making this bugged model visible to the player, crashing the game instantly.
Did you change anything in your copy of the mod? Maybe relating to player colours? I am unable to open your saves.

Edit: I am also able to freely put the building into cities. Icon shows fine both in the city screen and tooltip. Building model looks fine too.
 
Last edited:
Anything that can be built in cities with magenta buttons crash to desktop whenever it is being built (i.e., it crashes during the attempt to show it on the city bar). So if you want your games to progress, you will have to fix it yourself by supplying the missing button for that item or correcting the button path in the XML.
 
Did you change anything in your copy of the mod? Maybe relating to player colours? I am unable to open your saves.

Edit: I am also able to freely put the building into cities. Icon shows fine both in the city screen and tooltip. Building model looks fine too.
Yes, I am running a few custom
colors. I’ll disable that and see if things work.
 
Did you change anything in your copy of the mod? Maybe relating to player colours? I am unable to open your saves.

Edit: I am also able to freely put the building into cities. Icon shows fine both in the city screen and tooltip. Building model looks fine too.
I undid my XML changes and the main menu buttons disappeared... I downloaded a fresh copy of the mod and everything is working now. I don't know how any of that happened, all I did was add two new player colors. Whatever, I'll just play without any modifications at all until the official release is out.
 
I can't reproduce this unfortunately. After three attempts, I never ended up getting San Juan. Speightstown was assigned multiple times without any issues. I also took a look at the code and it should work even if the owner changes during the process. So I don't know the circumstances that caused the error for you.
That's odd, it seems to not happen every time. Try this save, I tried it 3 times and it happened twice. It's only when both Spain and Netherlands claim Speightstown. I end turn, accept open borders from Indonesia, and then choose San Juan in the congress (which, as you said, won't be given to me). I also say no to everything except Russia into Konigsberg if that matters.

EDIT: You know what, actually now that I think about it, you being on a different version then I am seems like maybe it could affect the RNG as far as what cities get claimed by each civ. So maybe you won't be able to reproduce this...
 

Attachments

Last edited:
Anything that can be built in cities with magenta buttons crash to desktop whenever it is being built (i.e., it crashes during the attempt to show it on the city bar). So if you want your games to progress, you will have to fix it yourself by supplying the missing button for that item or correcting the button path in the XML.
But do you experience a magenta button?

Yes, I am running a few custom
colors. I’ll disable that and see if things work.
I undid my XML changes and the main menu buttons disappeared... I downloaded a fresh copy of the mod and everything is working now. I don't know how any of that happened, all I did was add two new player colors. Whatever, I'll just play without any modifications at all until the official release is out.
Yeah, normally I don't mind adjustments but for this bugfixing phase it would be helpful to keep the versions compatible. If you want to modify the appearance of some colours I think what would work better is to change the colour values of existing colours rather than adding new colours.

That's odd, it seems to not happen every time. Try this save, I tried it 3 times and it happened twice. It's only when both Spain and Netherlands claim Speightstown. I end turn, accept open borders from Indonesia, and then choose San Juan in the congress (which, as you said, won't be given to me). I also say no to everything except Russia into Konigsberg if that matters.

EDIT: You know what, actually now that I think about it, you being on a different version then I am seems like maybe it could affect the RNG as far as what cities get claimed by each civ. So maybe you won't be able to reproduce this...
Alright, I will try again.
 
Ah no, I was not trying to report. I just shared that based on past experience while modding my own local copy. I currently have no magenta buttons; all should be fine.
 
Glad you're enjoying it. Do you have a save with the spy in place but unable to bribe the barbarian unit?
This is a current game with the most recent commit, and the mercenary hire feature is not activating.
 

Attachments

The save crashes when you click next turn. I've finished the game so its just so you can fix it for other people :). I have disabled stability for the human player but that shouldn't cause the crash. But you may not want to bother looking at it.
I just looked into this. I can fix the immediate cause of the crash, but the ultimate cause of the crash is that for whatever reason your great people rate modifier is -170% (which triggered a division by zero error down the line). You might have noticed that none of your cities generate any great people points. Any recollection when that started to happen? The actual cause of this might be an error that occurred earlier in the game.
 
I just looked into this. I can fix the immediate cause of the crash, but the ultimate cause of the crash is that for whatever reason your great people rate modifier is -170% (which triggered a division by zero error down the line). You might have noticed that none of your cities generate any great people points. Any recollection when that started to happen? The actual cause of this might be an error that occurred earlier in the game.
I have no idea sorry. I didn't even notice my cities weren't producing great people lol.
 
Yeah, I figured. If you (or anyone else) ever notice that occurring again, please let me know.
 
Back
Top Bottom