Modded dll not loading for some players

Pazyryk

Deity
Joined
Jun 13, 2008
Messages
3,584
I periodically get bug reports from new players that, on inspection of Lua.log, are clearly caused by the mod's dll not loading. That's evident from missing defines and object methods added by my dll. In general, these players report that they are not playing a Mac and have fully patched Civ5 with G&K and BNW installed. It's a small minority of players, but comes up often enough.

The mod adds a renamed "CvGameCore_Ea.dll" using OnGetDLLPath.

Is there some other reason why this might occur besides Mac and old unpatched Civ5?

Also, does anyone know a way to have the player's Civ5 version printed to Lua.log so I can verify that myself when this comes up again?
 

whoward69

DLL Minion
Joined
May 30, 2011
Messages
8,641
Location
Near Portsmouth, UK
Also, does anyone know a way to have the player's Civ5 version printed to Lua.log so I can verify that myself when this comes up again?

From MainMenu.lua

Code:
local i1, i2 = string.find( UI.GetVersionInfo(), " " );
versionNumber = string.sub(UI.GetVersionInfo(), 1, i2-1);

Edit: Are they trying to use TWO mods with a replacement DLL
 

Pazyryk

Deity
Joined
Jun 13, 2008
Messages
3,584
Edit: Are they trying to use TWO mods with a replacement DLL
No, I actually have Lua.log printing enabled mods, so I can see that they are not doing that. Unless it is DLC-type addition - is that possible from one of the multiplayer solutions that are out?

Thanks for the version number tip!
 
Top Bottom