[3.5] Popups defunct after Natural Wonder?

mitsho

Deity
Joined
Nov 3, 2003
Messages
8,310
Location
Europe, more or less
So, while trying the new version 3.5, played a few turns and noticed that after finding the Old Faithful popups didn't come up for f.e. searching a ruin or clearing a camp. Looking at the lua file, I find this error:

[37539.518] Runtime Error: Assets\DLC\Expansion2\UI\InGame\Popups\NaturalWonderPopup.lua:37: attempt to index field '?' (a nil value)

Do I need to post the whole lua file (just found that they include your whole name from the folders, I don't like that...)

Also, if I search for later on, I get a bunch of those errors:

[39335.449] Runtime Error: C:\Users\My Name\Documents\My Games\Sid Meier's Civilization 5\MODS\Communitas AI and Tools (v 3)\AI/CEAI_Events.lua:297: attempt to perform arithmetic on field 'Mult' (a nil value)

Not sure what's that about?

Active Mods and Game Details
Spoiler :
  • Info Addict (v22)
  • Really Advanced Setup v6
  • More Mercantile Mod
  • Randomize City Names
  • Colored Religions

Small Map, Quick Speed, Emperor, Low Seas and +3 CS +1 civs, what more do you need? :D
 
I know this doesn't solve the problem, but I have run into this before and if you save and reload the pop-ups return.
 
The missing popups sounds like the old technology-window/auto-annex/missing-popups bug that was solved in the last patch. I assume that you've updated to the latest patch?

If you're worried about your name in the logs file then just use the "Replace All" (control+H) function in notepad. Please do so and post your complete log files.
 
Yeah, it was quite late last night, didn't think of doing that. It's attached.

I have auto-update on for the main game, so it's the newest version I assume. It's also not a critical error or anything, just thought I post it :)
 

Attachments

If the no pop-ups bug leads to the auto-annexing bug then it could be quite a problem.

Looking at your log files, it looks like you're also having errors loading the Communitas mapscript and the Really Advanced Setup mod. Have you modified the Communitas script in any way? The error given suggests that there's some sort of syntax error in the code while I can't see any myself:

Spoiler :
Error:
Code:
[35505.265] Syntax Error: C:\Users\username\Documents\My Games\Sid Meier's Civilization 5\Maps\Communitas.lua:212: unfinished long comment near '<eof>'

Code block, line 212 in bold italics:
Code:
	local oTemp = Map.GetCustomOption(2)
	if oTemp == 4 then oTemp = 1 + Map.Rand(3, "Communitas random temperature - Lua") end
	if oTemp == 1 then
		print("Map Temp: Cool")
		mglobal.tropicLatitudes			= mglobal.tropicLatitudes		/ 1.5
		mglobal.horseLatitudes			= mglobal.horseLatitudes		/ 1.5
		mglobal.iceLatitude				= mglobal.iceLatitude			/ 3
		mglobal.polarFrontLatitude		= mglobal.polarFrontLatitude	/ 1.5
[I][B]		mglobal.tundraTemperature		= mglobal.tundraTemperature		* 1.25[/B][/I]
		--mglobal.snowTemperature		= mglobal.snowTemperature		* 1.25 -- snow is just horrible
	elseif oTemp == 3 then
		print("Map Temp: Hot")
		mglobal.tropicLatitudes			= mglobal.tropicLatitudes		* 1.5
		mglobal.horseLatitudes			= mglobal.horseLatitudes		* 1.5
		mglobal.iceLatitude				= 60
		mglobal.polarFrontLatitude		= 65
		mglobal.tundraTemperature		= mglobal.tundraTemperature		/ 1.25
		mglobal.snowTemperature			= mglobal.snowTemperature		/ 1.25
	else
		print("Map Temp: Normal")
	end
 
Sorry, I've been away for a few days, but no, I didn't modify any part of the communitas script. The Really Advanced Setup mod however does provide the ability to mess with the map via adding or subtracting ressources around your starting plot. I don't use that (since I only use the mod for advanced starts to set gold amounts and extra units for all civs to get the game going faster).

As I couldn't play anymore since I will look out if the error stays ;) thanks anyway
 
That natural wonder error code was related to something else I fixed recently, but I managed to locate one way to get stuck popups:

1) Need a new technology to research
2) Click the "Choose Research" button
3) Open the tech tree by clicking on the beakers in the top bar
4) Choose your technology
5) Exit out of the tech tree
6) Exit out of the tech sidebar without using escape

Do you usually go through these steps when picking a new technology?

EDIT: Nevermind the above is a bug in vanilla too.

EDIT2: I was able to confirm that mitsho was right, the bug with the natural wonder was causing the auto-annex bug. This should be fixed in 3.7.
 
Back
Top Bottom