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

Compiling Error "was not declared in this scope"

Lares

Member
Joined
Feb 8, 2010
Messages
315
Reaction score
7
Hello i have small problem because when i compiled source i have some errors:

Code:
../luascript.cpp: In static member function `static int32_t LuaScriptInterface::luaDoPlayerSetExtraAttackSpeed(lua_State*)':
../luascript.cpp:4882: error: `getScriptEnv' was not declared in this scope

../luascript.cpp:4888: error: `getErrorDesc' was not declared in this scope
../luascript.cpp:4888: error: `reportErrorFunc' was not declared in this scope

../luascript.cpp: In static member function `static int32_t LuaScriptInterface::luaDoPlayerOpenChannel(lua_State*)':
../luascript.cpp:8526: error: `getScriptEnv' was not declared in this scope
../luascript.cpp:8532: error: `getErrorDesc' was not declared in this scope

../luascript.cpp:8532: error: `reportErrorFunc' was not declared in this scope

make.exe: *** [obj//luascript.o] Error 1

Wykonanie zakończone

I add some code

np:
http://otland.net/f35/onwritetochannel-cid-channelid-text-extra-doplayeropenchannel-cid-channelid-52826/?highlight=getErrorDesc

and

http://otland.net/f35/doplayersetextraattackspeed-cid-speed-58945/

how i can declared this functions or sometkhing?
 
Back
Top