Bug Reports and Technical Issues

From commit 697034b7df5b5a85210331c74c8ef359b37fcf22 I noticed that Moors changes to Morocco but Vikings still doesn't seem to change correctly and Phoenicia doesn't change to Carthage.

E: Sorry, scratch that. Phoenicia did change to Carthage when I rebuilt the palace manually, it didn't change when I founded Carthage first in a game. Vikings I'm still having issues with, both in 1700AD and from 600AD. Researching a Renaissance/Industrial tech with Oslo as the capital did not change nor did it change when I moved the capital to Copenhagen/Roskilde while in the Industrial era.
 

Attachments

  • vikings0000.JPG
    vikings0000.JPG
    292 KB · Views: 63
Last edited:
Okay, will check. Phoenicia is only supposed to change to Carthage when the palace moves to Africa or Europe. However I only tested this for human Phoenicia, maybe the free palace AI Phoenicia receives doesn't trigger it?
 
Rome's victory screen?
 
As it's also happening with 600 AD Arabia I'd wager it's something to do with autoplay.
What are we talking about now? The dawn of man screen? What does autoplay have to do with it?
 
Rome's victory screen?

Yes. The cause of the error is that "tCarthage" is defined twice in locations.py. Once as a TL-BR tuple for the UHV (line 46) and once as the coordinate for the city itself (line 156). Renaming one of them should fix it.


EDIT:
What are we talking about now? The dawn of man screen? What does autoplay have to do with it?

This also explains Arabia and the autoplay. Arabia also uses tCarthage for one of its UHV. And the error also appears during autoplay because getUHVTileInfo() uses tCarthage as well and it is triggered during autoplay.

(So autoplay isn't the error, but the error is triggered also during autoplay)

Spoiler :
Code:
Traceback (most recent call last):

  File "CvScreensInterface", line 946, in getUHVTileInfo

  File "Core", line 878, in rectangle

  File "Core", line 869, in start

  File "Core", line 518, in _parse_tile

TypeError: Only accepts two coordinates or a tuple of two coordinates, received: (58,) <type 'int'>
ERR: Python function getUHVTileInfo failed, module CvScreensInterface
 
Last edited:
Hello when I do this final turn to victory my game just sits there. It does NOT actually "crash" in a traditional sense (shut itself off/be labeled "not responding in control center) It just goes as "running" but makes no other actions. I usually would not care but I kinda want to continue the game after winning since I am having a lot of fun.

I am still on this update:

https://forums.civfanatics.com/threads/doc-1-16-2-released.655356/

but I will try updating and see if it fixes. Hope I don't screw up updating and break my game lol

edit:

actually, how do i get the newest updates in the git thread thing? or is it advised to wait until another "patch" thread is made?

EDIT SOLUTION:

I found the solution to temporarily fix this bug was to turn off combat animation for the final victory turn
 

Attachments

Last edited:
There are instructions on how to get access to the git repository in the Welcome to DoC thread. I don't think your save will be compatible though. Noted your issue.

Edit: actually, if you have sound enabled (in the game settings), try if it helps turning off game sound completely.
 
Last edited:
There are instructions on how to get access to the git repository in the Welcome to DoC thread. I don't think your save will be compatible though. Noted your issue.

Edit: actually, if you have sound enabled (in the game settings), try if it helps turning off game sound completely.

Ok I tried checking all the buttons muting sound in-game and still didnt work.

Just does a combat sequence,, then gets stuck at "Waiting for other civilizations", and the computer ramps up its fan lol.
 
Okay, it was worth a check, there has been a bug that stopped you from winning because of the victory music, I thought there might be some leftover issues. Sounds like your game is stuck in a loop somehow.
 
Okay, it was worth a check, there has been a bug that stopped you from winning because of the victory music, I thought there might be some leftover issues. Sounds like your game is stuck in a loop somehow.

I tried this:

FIRST SOLUTION BAD
I deleted all of my ships, and made it so no building was completed on the next turn. This fixed the problem.

I will try loading again, and see if I just delete the ships that got in combat on the final turn, to see if that works.

edit:

I tried moving my ships away, but it was not far enough. After a combat occured, it just gets in that "loop" of thinking as you say. ESC does not work BUT clicking the menu button on the upper right still works so can reload from there.

A curious thing: I noticed that at the end of the combat sequence when I moved the ships, the enemy ship that was sunk never had it's model disappear.

SECOND SOLUTION BAD:
I tried just deleteing all my ships near england, so that no combat occured. This "fixed" the problem.

THIRD FINAL SOLUTION GOOD:
Instead of deleting ships, I turned off combat animations. This fixed the problem completely, and did not require any changes in the gameplay. Very curious!

I turned on the animations for the turn AFTER the victory and all is well. It must be some bug relating to showing animations and victory turn.

Perhaps the new advice for when people have problems on victory screen will be turn off sound and combat animations lol (and to try restarting the game, that sometimes would fix it just by itself for me in other instances of this happening in the past)
 
Last edited:
Thanks for your detailed investigation. I am surprised that it is related to combat animation, my bet was on some unit movement rules getting in the way of each other. I'll try to reproduce your steps when I get to looking at this bug.
 
There's a city renaming bug: click on the name, no window appears, error on screen.
 

Attachments

  • Civ4ScreenShot0000.JPG
    Civ4ScreenShot0000.JPG
    213 KB · Views: 150
Can you upload a save from the previous turn?
 
My game really doesn't like the last update
Lots of error alerts when I attempt to load the mod, even more when I attempt to load a scenario
On loading the mod:
Code:
File "< string >", line 1, in ?
File "< string >", line 52, in load_module
File "CvEventInterface", line 18, in ?
File "< string>", line 52, in load_module
File "Handlers", line 12, in ?
ImportError
:
No module named Scenarios
Failed to load python module CvEventInterface

On loading a scenario there's too much stuff to post

Tried clearing the folder and cloning a new repo, no luck
 

Attachments

  • aaaaaa0000.JPG
    aaaaaa0000.JPG
    124.6 KB · Views: 90
My game really doesn't like the last update
Lots of error alerts when I attempt to load the mod, even more when I attempt to load a scenario
On loading the mod:
Code:
File "< string >", line 1, in ?
File "< string >", line 52, in load_module
File "CvEventInterface", line 18, in ?
File "< string>", line 52, in load_module
File "Handlers", line 12, in ?
ImportError
:
No module named Scenarios
Failed to load python module CvEventInterface

On loading a scenario there's too much stuff to post

Tried clearing the folder and cloning a new repo, no luck
Sorry, forgot to add a few files, try another pull now.
 
I did another fresh install & new start; both with the earlier bug as well as new ones with placing an improvement & moving a city via WB.
How do you move a city via WB?
 
Back
Top Bottom