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

Lua Function Create custom monster by lua script (custow name,hp,exp,outfit,spells)

Hey, this do not works on TFS 0.3.6
My compiler get this error:
../luascript.cpp:9298: error: `LuaInterface' has not been declared

../luascript.cpp: In function `int32_t luaDoCreateCustomMonster(lua_State*)':
../luascript.cpp:9310: error: `popNumber' was not declared in this scope

../luascript.cpp:9313: error: `popString' was not declared in this scope

../luascript.cpp:9315: error: `popOutfit' was not declared in this scope

../luascript.cpp:9316: error: `popPosition' was not declared in this scope

../luascript.cpp:9376: error: `getEnv' was not declared in this scope

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

Ejecución Terminada
 
you must adapt it to 0.3.6
instead of 'LuaInterface' put 'LuaScriptInterface'
see other code u have to make an idea how to adapt it...
 
It doesn't work:
PHP:
[28/02/2011 20:26:02] [Error - TalkAction Interface]
[28/02/2011 20:26:02] data/talkactions/scripts/moje/test.lua:onSay
[28/02/2011 20:26:02] Description:
[28/02/2011 20:26:02] data/talkactions/scripts/moje/test.lua:61: attempt to call global 'doCreateCustomMonster' (a nil value)
[28/02/2011 20:26:02] stack traceback:
[28/02/2011 20:26:02]     data/talkactions/scripts/moje/test.lua:61: in function <data/talkactions/scripts/moje/test.lua:36>
I think that this function not loaded attacks.

i need help
 
sorry for the bump but I see something interesting with this script, to tfs 1.x is possible?
 
Back
Top