[CivUp 2.5.1 (GK) v1] Incompatibility with LuaJIT

DonQuiche

Emperor
Joined
May 23, 2011
Messages
1,122
Hello :)

Crimson13 reported an error on the "Reseed" thread that appears to be caused by the LuaLogger in CivUp when used with LuaJIT.

In MT_LuaLogger.lua and MT_LoadSave.lua you still use the "arg" keyword for functions with variable parameters. As you probably know, this has been deprecated in Lua 5.1 in favor of the "..." form you now use everywhere else. While the standard Lua itnerpreter supports both forms, LuaJIT only supports the 5.1+ one.

Fortunately those both files are small and fixing it should be fast and straightforward. ;)
 
Ah this would explain the weird issues i've been having. Installed the .dll yesterday. Good thing I followed the instructions and made a backup until this is fixed. :)
 
Top Bottom