LoneGazebo / Community-Patch-DLL

Community Patch for Civilization V - Brave New World
Other
285 stars 157 forks source link

Strategic Resource Top Panel #10894

Open Flamingcheesepie opened 3 months ago

Flamingcheesepie commented 3 months ago

Recently updated to 4.7.3. Deleted all other mods, cleared cache. For some reason top panel on right is only showing horse strats, no others, even when teching to it. This happens when teching to horses first or to iron first and then horses.

Steps to reproduce: Open game, tech to horse (shows up on top panel), tech to iron (does not show up on top panel)

Note: Error only happens using EUI - non EUI iron does show up

can confirm this same issue on 4.4.2 (the original patch that added StrategicPriority), but 4.2.7 has no problem

Database.log Lua.log

Sejong_0031 BC-2760.zip auto.zip

azum4roll commented 3 months ago

You can zip the save and upload here.

Flamingcheesepie commented 3 months ago

I've attached a few save files.

axolotul commented 3 months ago

Are you using a lua compiler other than the default one by any chance? This bug also happened to me when I replaced the default compiler with one from luajit. After reverting it to the default it was fixed.

Flamingcheesepie commented 3 months ago

Oh, now that you mention it I am using the "faster lua" from Lash, I had completely forgotten about that. I will try with base lua51_Win32.dll

https://steamcommunity.com/sharedfiles/filedetails/?id=2625109123&searchtext=lua

TacoPhiling commented 3 months ago

I have the same issue but I think I'm using the default one, as I don't know what is lua lol

n-core commented 3 months ago

This cosmetic change needs to be reverted since it caused so many bug reports on this. It's unnecessary in the first place, to be honest. Sorry, Adan.

azum4roll commented 3 months ago

Isn't LuaJIT supposed to be backward compatible with Lua 5.1?

TacoPhiling commented 1 month ago

Is this fixed in the new version? The bug definetly happened when the order of strategics were changed, did someone end up finding a fix?

JimPix1 commented 1 week ago

I have this issue as well, only horses are shown even though I have multiple other strategic resources image image

RickUni commented 1 day ago

One quick fix is to edit "\MODS(2) Vox Populi\Database Changes\WorldMap\Resources\ResourceChanges.sql" at the bottom lines from:

INSERT INTO Helper
VALUES
    (1, 'RESOURCE_HORSE'),
    (2, 'RESOURCE_IRON'),
    (3, 'RESOURCE_COAL'),
     ...

To

INSERT INTO Helper
VALUES
    (1,  'RESOURCE_IRON'),
    (2,'RESOURCE_HORSE'),
    (3, 'RESOURCE_COAL'),
     ...

(Swapping Horses and Iron) The order will not be as intended, but at least the resources will show.