CQUI-Org / cqui

Civilization 6 - Chao's Quick UI. Reduce clicks and manage your empire faster!
MIT License
318 stars 64 forks source link

City Production Panel Crashed #446

Closed bentgarden closed 7 years ago

bentgarden commented 7 years ago

I had Rio build the Eiffel Tower, then queued construction of a neighborhood. Production panel won't come up for Rio anymore. Production Panel Doesnt Load.zip civvicrash

bentgarden commented 7 years ago

I reloaded to an autosave and recreated the problem. Step 1) Build Eiffel Tower (replaces farm immediately left of City Center). Step 2) Build Neighborhood on plains next to Oxford University. The neighborhood doesn't queue, and the production panel will not open anymore on Rio, but it does open on my other cities. If I use the arrows to navigate between cities from the bottom panel, when I get to Rio, it just displays the info for whatever city I'm clicking away from prior to cycling through to Rio. before ETower.zip I'm attaching the save file from immediately before the crash happens. Edit: Building the neighborhood first instead of the Eiffel Tower here results in the same bug.

papaguss commented 7 years ago

Same problem .Can't do anything when trying to make a 'DEAL' with another player(nothing to choose).either

bentgarden commented 7 years ago

I don't think that's a related issue @Papaguss.

On Thu, Mar 30, 2017 at 10:15 AM, papaguss notifications@github.com wrote:

Same problem .Can't do anything when trying to make a 'DEAL' with another player(nothing to choose).either

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CQUI-Org/cqui/issues/446#issuecomment-290423951, or mute the thread https://github.com/notifications/unsubscribe-auth/AZjT60Z91-gOqOkA5XB6gIdmyUVHV8mMks5rq7j8gaJpZM4MuRSL .

JHCD commented 7 years ago

I can confirm that topic, here too.

Work-around: in "crashed city production panel" you have to click on another city without leaving it and then you can come back to the original city...

papaguss commented 7 years ago

Not it is not a related issue..BUT you should check on this also.

ericbond007 commented 7 years ago

I have experienced this same bug, though I can't remember what I was building. I don't think it was the Effeil Tower.

I had a number (>6) cities that had queues that crashed. I attempted the workaround suggested by @JHCD with mixed success. After returning to the original city, the build queue is reduced to units only.

chaorace commented 7 years ago

I've opened the save and reproduced the issue. Here's a captured stack trace:

Runtime Error: bad argument #2 to 'lLookup' (Argument must be [boolean, number, or string].) stack traceback: [C]: in function 'lLookup' C:\Users\chaor\Documents\My Games\Sid Meier's Civilization VI\Mods\cqui\Assets\UI\Panels\ProductionPanel.lua:1114: in function 'PopulateList' C:\Users\chaor\Documents\My Games\Sid Meier's Civilization VI\Mods\cqui\Assets\UI\Panels\ProductionPanel.lua:482: in function 'View' C:\Users\chaor\Documents\My Games\Sid Meier's Civilization VI\Mods\cqui\Assets\UI\Panels\ProductionPanel.lua:2375: in function 'Refresh' [C]: in function 'func' [C]: in function '(anonymous)'

chaorace commented 7 years ago

I've determined the root cause and am working on a fix now

bentgarden commented 7 years ago

Thanks for the quick fix. Can confirm that items are queuing properly again.

On Thu, Mar 30, 2017 at 10:37 PM, Chris notifications@github.com wrote:

Closed #446 https://github.com/CQUI-Org/cqui/issues/446 via ffaa685 https://github.com/CQUI-Org/cqui/commit/ffaa685f49c67cc265e1bd60d812b6797efa3685 .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CQUI-Org/cqui/issues/446#event-1023401465, or mute the thread https://github.com/notifications/unsubscribe-auth/AZjT659tyStxHWAYUNuug4fVvv-P3vt5ks5rrGbwgaJpZM4MuRSL .