- Dołączył
- Grudzień 15, 2012
- Posty
- 1032
- Liczba reakcji
- 39
Siemano . Mam b??d przy kompilacji, bo chcia?em zrobi? takie co? jak "level" tylko, ?e "reborn". Zamiast dodawa? funkcje do skryptu chcia?em doda? to do xml jak jest to m.in zrobione z levelem i mglvl itp. W spells.cpp i spells.h doda?em wszystko na przyk?adzie "level", ale zauwa?y?em funkcje "getLevel", wi?c przeszed?em do luascript.cpp i luascript.h i te? doda?em funkjce "getReborn" na przyk?adzie "getLevel" i tutaj mam b??d :
[SQL]
/luascript.cpp: In static member function `static int32_t LuaScriptInterface::internalGetPlayerInfo(lua_State*, LuaScriptInterface:
layerInfo_t)':
../luascript.cpp:2479: error: `PlayerInfoReb' was not declared in this scope
../luascript.cpp:2480: error: 'const class Player' has no member named 'getReborn'
../luascript.cpp: In static member function `static int32_t LuaScriptInterface::luaGetPlayerReborn(lua_State*)':
../luascript.cpp:2628: error: `PlayerInfoReborn' was not declared in this scope
make.exe: *** [obj-console//luascript.o] Error 1
[/SQL]
I czy musz? gdzie? jeszcze doda? co??(tzn w innych plikach source opr?cz tych 4 co wymieni?em)
Dziekiiiiii
[SQL]
/luascript.cpp: In static member function `static int32_t LuaScriptInterface::internalGetPlayerInfo(lua_State*, LuaScriptInterface:
layerInfo_t)':../luascript.cpp:2479: error: `PlayerInfoReb' was not declared in this scope
../luascript.cpp:2480: error: 'const class Player' has no member named 'getReborn'
../luascript.cpp: In static member function `static int32_t LuaScriptInterface::luaGetPlayerReborn(lua_State*)':
../luascript.cpp:2628: error: `PlayerInfoReborn' was not declared in this scope
make.exe: *** [obj-console//luascript.o] Error 1
[/SQL]
I czy musz? gdzie? jeszcze doda? co??(tzn w innych plikach source opr?cz tych 4 co wymieni?em)
Dziekiiiiii
