• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved Error 0.4 tfs to dedicated linux

gremlee

Qumora.com
Joined
Jul 15, 2008
Messages
511
Reaction score
16
luascript.cpp: In static member function ‘static int32_t LuaScriptInterface::handleFunction(lua_State*)’:
luascript.cpp:904:23: error: ‘lua_pushglobaltable’ was not declared in this scope
 
Use 0.3.6, it's not hard to switch from 0.4 to 0.3.6 just change npc/lib/ files :p

If you deny try doing this,
in luascript.cpp find:
Code:
std::string s = it->leaf();

replace with:
Code:
boost::filesystem::path p = it->path();
std::string s = p.filename().string();

then in otserv.cpp, just add along with other /#include/s
Code:
#include <sys/signal.h>
#include <sys/socket.h>

:D:eek:
 
Back
Top