Original War

Original War

Multiplayer Addition
Eroise 15 Jun, 2024 @ 9:32am
LUA Error when start
Hey !
I would like test this mod for maps vs AI, but when i select the mod and launch, i got an LUA error :

LUAError (0): [String]:325: attempt to index local 'element' (a nil value) stack traceback: [String]:325: in function 'setVisible' [String]:272: in function 'showMenuButton' [String]:13: in function 'showMods' [String]:555: in function 'selectMod' [String]:1: in main chunk Task: <selectMod();> LUAError (0): [String]:232: attempt to compare nil with number stack traceback: [String]:232: in function 'compareVersions' [String]:3: in main chunk [APP]: in function 'include' [String]:33: in main chunk [APP]: in function 'include' [String]:21: in main chunk [APP]: in function 'include' [String]:170: in main chunk Task: <lua\classicMenu\classic_menu.lua> LUAError (0): [String]:49: attempt to index field 'window' (a nil value) stack traceback: [String]:49: in function 'Init' [String]:1: in function 'FROMSGUI_INITEND' [String]:1: in main chunk Task: <FROMSGUI_INITEND();> LUAError (0): [String]:42: attempt to index field 'window' (a nil value) stack traceback: [String]:42: in function 'FROMOW_SWITCHPROFILE' [String]:1: in main chunk Task: <FROMOW_SWITCHPROFILE({DIR=[]=====],NAME=[]=====],DATA={NAME=[]=>

If you have any idea to fix it :)
OW lastest version, french language
< >
Showing 1-1 of 1 comments
VoidKaz  [developer] 1 Jul, 2024 @ 4:03pm 
Originally posted by Eroise:
Hey !
I would like test this mod for maps vs AI, but when i select the mod and launch, i got an LUA error
If you have any idea to fix it :)
OW lastest version, french language

Hi,
Sorry for the late reply.
I figured out the possible reason and fix to this. It seems that you are trying to launch the mod while you are still in the classic (older) menu.

As the mod requires the up to date state of the menu, it displays LUA error.

Edit: It seems that my explanation might not be entirely correct. After conducting much throughout investigation, there is a possibility of older menu being incompatible with some mods completely. (As of 3.0.11.337)

The fix is relatively trivial. Before switching to MPA, press "Switch Interface" button in the options.

If the problem still persists somehow, I will take a deeper look into it.


~VK
Last edited by VoidKaz; 1 Jul, 2024 @ 4:33pm
< >
Showing 1-1 of 1 comments
Per page: 1530 50