• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Action [Tfs 1.x+] auto loot using modal windows

Hiho.. having a problem here

C:
[ 41%] Building CXX object CMakeFiles/tfs.dir/src/mailbox.cpp.o
/otserv/src/luascript.cpp: In static member function ‘static int LuaScriptInterface::luaMonsterTypeAddLoot(lua_State*)’:
/otserv/src/luascript.cpp:14172:26: error: ‘class MonsterType’ has no member named ‘loadLoot’
14172 |             monsterType->loadLoot(monsterType, loot->lootBlock);
      |                          ^~~~~~~~
make[2]: *** [CMakeFiles/tfs.dir/build.make:595: CMakeFiles/tfs.dir/src/luascript.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:180: CMakeFiles/tfs.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
 
Last edited:
Back
Top