• 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!

Linux Compiling error

Brooke

Member
Joined
Mar 7, 2011
Messages
70
Reaction score
8
Linux ubuntu, tfs 0.3.6 war system

This error comes up after a while when I compile "make"

Code:
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

Do you want me to post luascript.cpp?

@Ninja
 
Last edited:
How do I fix that? install lua 5.2?

I did apt-get install liblua5.2-0

liblua5.2-0 is already the newest version.

still same error.
 
Last edited:
I found that on stackoverflow: "You can also define lua_pushglobaltable for Lua 5.1 as lua_pushvalue(L, LUA_GLOBALSINDEX)"
Don't know if that helps.
 
Thanks Summ!


Code:
mysql_real_query(): SELECT `id`, `name`, `password`, `premdays`, `lastday`, `key`, `warnings`, `safe` FROM `accounts` WHERE `id` = 464 LIMIT 1 - MYSQL ERROR: Unknown column 'safe' in 'field list' (1054)

what query to add?
 
Back
Top