I updated the gameserver to c++20 and the latest buildtools. I changed a ton to get it working and except some minor things i got it compiling.
Now im currently stuck at some LUA errors. Anyone familiar with this:
NPC_CreatureEnchanter.lua and NPC_Creature_farm.lua use
Code:
math.randomseed(get_os_time())
to randomise but when compiling the gameserver throws "attempt to call a nil value (global 'math') so i tried to include it with
. It now says "attempt to call a nil value (global 'require')"
An idea how to fix this?
Lua version 5.4.4