Wyrmgus icon indicating copy to clipboard operation
Wyrmgus copied to clipboard

[string "../Wyrmsun-3.5.1/scripts/stratagus.lua"]:50: attempt to index a nil value (global 'table')

Open marioxcc opened this issue 6 years ago • 2 comments

With Wyrmgus 3.5.1 and Wyrmsun 3.5.1, from the directory where Wyrmgus was built, it refuses to run the game, failing with this error message:

[mario@irina wyrmgus]$ ./stratagus -d ../Wyrmsun-3.5.1
[string "../Wyrmsun-3.5.1/scripts/stratagus.lua"]:50: attempt to index a nil value (global 'table')

marioxcc avatar Dec 30 '18 01:12 marioxcc

It looks like you are using another version of Lua to compile Wyrmgus; the required one is 5.1.

A similar issue was logged for Stratagus: https://github.com/Wargus/stratagus/issues/239

Andrettin avatar Dec 30 '18 08:12 Andrettin

Note that the fixes to run with Lua 5.3 as well as 5.1 are now in Stratagus

timfel avatar Apr 06 '19 15:04 timfel