Sid Meier's Civilization VI

Sid Meier's Civilization VI

Better visual Notifications
sdgabai 14 Mar, 2019 @ 4:23pm
Lua.log crash report
I am about 5-10 turns into a simple solo game [yeah about 34 mods active that are "compatible w/ GS" theoretically. I keep everything up-to-date [win 10 OS, drivers, Steam, Civ 6, mods, etc. etc.] I have spent decades learning as much as I can how to tweak everything to maximum performance and I KNOW I'm a dinosaur and have much to learn about everything. I don't presume to e cocky about that stuff. lol

I have a fairly high-end GTX 1060 16 GB laptop as well [2 years old, admittedly]

Here is the Lua Log segment from the portion right before it crashed:

Cannot cast from Unknown_Type to ControlBase. Using NULL instead.
Cannot cast from Unknown_Type to ControlBase. Using NULL instead.
Cannot cast from Unknown_Type to ControlBase. Using NULL instead.
NotificationSlide: OnCityPopulationChanged: 2 65536 6
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NEWPOP
NotificationSlide: PlayerID: 2
NotificationSlide: Target: nil
NotificationSlide: eNum: 65536
NotificationSlide: ToolTip: nil
NotificationSlide: Wrong player or start of the game: PlayerID: 2 localPlayerID: 0 m_DoNotifications: true
NotificationSlide: OnCityPopulationChanged: 6 65536 7
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NEWPOP
NotificationSlide: PlayerID: 6
NotificationSlide: Target: nil
NotificationSlide: eNum: 65536
NotificationSlide: ToolTip: nil
NotificationSlide: Wrong player or start of the game: PlayerID: 6 localPlayerID: 0 m_DoNotifications: true
NotificationSlide: OnCityPopulationChanged: 7 65536 7
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NEWPOP
NotificationSlide: PlayerID: 7
NotificationSlide: Target: nil
NotificationSlide: eNum: 65536
NotificationSlide: ToolTip: nil
NotificationSlide: Wrong player or start of the game: PlayerID: 7 localPlayerID: 0 m_DoNotifications: true
NotificationSlide: OnCityPopulationChanged: 7 65536 7
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NEWPOP
NotificationSlide: PlayerID: 7
NotificationSlide: Target: nil
NotificationSlide: eNum: 65536
NotificationSlide: ToolTip: nil
NotificationSlide: Wrong player or start of the game: PlayerID: 7 localPlayerID: 0 m_DoNotifications: true
NotificationSlide: OnCityPopulationChanged: 8 65536 6
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NEWPOP
NotificationSlide: PlayerID: 8
NotificationSlide: Target: nil
NotificationSlide: eNum: 65536
NotificationSlide: ToolTip: nil
NotificationSlide: Wrong player or start of the game: PlayerID: 8 localPlayerID: 0 m_DoNotifications: true
NotificationSlide: OnCityPopulationChanged: 13 65536 6
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NEWPOP
NotificationSlide: PlayerID: 13
NotificationSlide: Target: nil
NotificationSlide: eNum: 65536
NotificationSlide: ToolTip: nil
NotificationSlide: Wrong player or start of the game: PlayerID: 13 localPlayerID: 0 m_DoNotifications: true
NotificationSlide: OnCityPopulationChanged: 14 65536 5
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NEWPOP
NotificationSlide: PlayerID: 14
NotificationSlide: Target: nil
NotificationSlide: eNum: 65536
NotificationSlide: ToolTip: nil
NotificationSlide: Wrong player or start of the game: PlayerID: 14 localPlayerID: 0 m_DoNotifications: true
NotificationSlide: OnCityPopulationChanged: 16 65536 9
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NEWPOP
NotificationSlide: PlayerID: 16
NotificationSlide: Target: nil
NotificationSlide: eNum: 65536
NotificationSlide: ToolTip: nil
NotificationSlide: Wrong player or start of the game: PlayerID: 16 localPlayerID: 0 m_DoNotifications: true

It seems to occur right as I click the NEXT TURN button.
all the other civ's and city-states are taking their turns, racing around the board.
the game crashes
it asks if I want to send the entire logs to Firaxis, so, I did, twice. on a whim.

chances are, it is related to a status flag here:
File: UI\Panel\NotificationSide.lua
function OnAddNotification(NotifyType:string, PlayerID:number, eNum, strToolTip:string, x, y, target, pNotification)

I don't know which status flag it was in there

I would not presume to tell you how to do your coding work,
when I don't officially know SQL, LUA or XML or even suggestions of where to look

I would not even presume to suggest that this is what caused the game to crash.
it may imply be a pre-crash catch and debug system of someone else's bugs
those type of systems do exist from what I understand
I'm not good at that stuff; but, I understand they exist.

I simply don't know what to do here. I'm out of my league. I'm dinosaur out of my league.

< >
Showing 1-8 of 8 comments
sdgabai 14 Mar, 2019 @ 4:27pm 
i saved the entire database.log / lua.log files in case they are of use to you.
i have the save game files as well.
i will likely backup the save game files, and see if i can tweak the turns differently
if not, I'll start a new game
worst case scenario: disable this mod; but, my husband and I love this mod in our co-op game. it is spectacular!!!!!!!!!
sdgabai 14 Mar, 2019 @ 4:38pm 
Thank you for your creativity and your hard work. Can't thank you enough.
sdgabai 14 Mar, 2019 @ 7:56pm 
Update: the previous save game was 4 turns before that.
I have all the save games saved in a folder. [there are only a few]
plus the autosaves and quicksaves

I loaded the previous save game [from 4 turns ago, as stated]
I did very different moves for the most part.
I kept saving. [he term here is scumsaving lol]
rinse / repeat
I have a working save now... lol
I am several turns later
...
Profit!

I checked the Lua.log
the same debugging warnings are there... maybe slight variations.
no game crashing though... so far.
I will keep you posted.
sdgabai 14 Mar, 2019 @ 8:15pm 
NotificationSlide: OnCityPopulationChanged: 2 65536 6
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NEWPOP
NotificationSlide: PlayerID: 2
NotificationSlide: Target: nil
NotificationSlide: eNum: 65536
NotificationSlide: ToolTip: nil
NotificationSlide: Wrong player or start of the game: PlayerID: 2 localPlayerID: 0 m_DoNotifications: true
NotificationSlide: GoodyHutReward 2,196610,-2010932837,-2073396856
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NOTIFICATION_GOODYHUT
NotificationSlide: PlayerID: 2
NotificationSlide: Target: nil
NotificationSlide: eNum: GOODYHUT_GOLD
NotificationSlide: ToolTip: Tribal Village: + Medium[ICON_Gold]
NotificationSlide: Wrong player or start of the game: PlayerID: 2 localPlayerID: 0 m_DoNotifications: true
NotificationSlide: OnCityPopulationChanged: 6 65536 7
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NEWPOP
NotificationSlide: PlayerID: 6
NotificationSlide: Target: nil
NotificationSlide: eNum: 65536
NotificationSlide: ToolTip: nil
NotificationSlide: Wrong player or start of the game: PlayerID: 6 localPlayerID: 0 m_DoNotifications: true
NotificationSlide: OnCityPopulationChanged: 7 65536 7
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NEWPOP
NotificationSlide: PlayerID: 7
NotificationSlide: Target: nil
NotificationSlide: eNum: 65536
NotificationSlide: ToolTip: nil
NotificationSlide: Wrong player or start of the game: PlayerID: 7 localPlayerID: 0 m_DoNotifications: true
NotificationSlide: OnCityPopulationChanged: 8 65536 6
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NEWPOP
NotificationSlide: PlayerID: 8
NotificationSlide: Target: nil
NotificationSlide: eNum: 65536
NotificationSlide: ToolTip: nil
NotificationSlide: Wrong player or start of the game: PlayerID: 8 localPlayerID: 0 m_DoNotifications: true
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NOTIFICATION_BARB_CAMP
NotificationSlide: PlayerID: 0
NotificationSlide: Target: nil
NotificationSlide: eNum: -1
NotificationSlide: ToolTip: A new barbarian camp has been discovered!
NotificationSlide: LookAtPlot player 0
NotificationSlide: OnCityPopulationChanged: 13 65536 6
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NEWPOP
NotificationSlide: PlayerID: 13
NotificationSlide: Target: nil
NotificationSlide: eNum: 65536
NotificationSlide: ToolTip: nil
NotificationSlide: Wrong player or start of the game: PlayerID: 13 localPlayerID: 0 m_DoNotifications: true
NotificationSlide: OnCityPopulationChanged: 14 65536 5
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NEWPOP
NotificationSlide: PlayerID: 14
NotificationSlide: Target: nil
NotificationSlide: eNum: 65536
NotificationSlide: ToolTip: nil
NotificationSlide: Wrong player or start of the game: PlayerID: 14 localPlayerID: 0 m_DoNotifications: true
NotificationSlide: OnCityPopulationChanged: 16 65536 9
NotificationSlide: ------------------ Adding A Slide Notification --------------------
NotificationSlide: NotifyType: NEWPOP
NotificationSlide: PlayerID: 16
NotificationSlide: Target: nil
NotificationSlide: eNum: 65536
NotificationSlide: ToolTip: nil
NotificationSlide: Wrong player or start of the game: PlayerID: 16 localPlayerID: 0 m_DoNotifications: true
sdgabai 14 Mar, 2019 @ 8:17pm 
I can tell this is going to be a rough ride of a game trying to get the Selfie achievement. lol
Serp  [developer] 15 Mar, 2019 @ 3:01am 
Hi, thank you for the work trying to find out more useful information :)

Did you try to disable my mod and see if you can reproduce the crash? This way we could make sure that it is indeed my mod (or my mod+another mod) that is causing it.

The game you play is with GS ruleset, right? Since I do not own it, I can not test your savegame myself =/

From where do you have this line? "File: UI\Panel\NotificationSide.lua
function OnAddNotification(NotifyType:string, PlayerID:number, eNum, strToolTip:string, x, y, target, pNotification)" ? I do not see it in the lua.log you posted.
sdgabai 15 Mar, 2019 @ 5:09pm 
I'll check again...

1528566619\UI\Panels\NotificationSlide.lua
lines: 131-664
it's a long and complicated function.
lots of if then elseif elseif elseif elseif elseif elseif elseif ... clauses.



sdgabai 15 Mar, 2019 @ 5:16pm 
I use Gathering Storm. I checked the text of the debugging statements....
they seem to match some of the formatting statements in the clauses
since I am not fluent in tracing through thousands of lines of LUA code, XML code and SQL code simultaenously, I cannot say for sure if that is it for sure. it "feels right"; but, it's a hunch, not proof.

Later, I try try to test again without the mod and run some controlled experiments.

It may be a few days before I can report back due to some personal family things.

I will keep you posted, as I can.
< >
Showing 1-8 of 8 comments
Per page: 1530 50