Original War

Original War

Multiplayer Addition
Eroise 15. juni 2024 kl. 9:32
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
< >
Viser 1-1 af 1 kommentarer
VoidKaz  [udvikler] 1. juli 2024 kl. 16:03 
Oprindeligt skrevet af 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
Sidst redigeret af VoidKaz; 1. juli 2024 kl. 16:33
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50