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

Search results

  1. dawnking

    Compiling Help to compile 0.4

    I'm not using gesior or a page to show cast list, but ty to share, you could help someone else :) Any another guy can help me to compile with that ping functions?
  2. dawnking

    Compiling Help to compile 0.4

    I'll be waiting for someone who know more then us, anyways ty for try ;)
  3. dawnking

    Compiling Help to compile 0.4

    In file included from player.h:33:0, from luascript.cpp:26: protocolgame.h: In static member function ‘static int32_t LuaInterface::luaPlayerSendPing(lua_State*)’: protocolgame.h:205:8: error: ‘void ProtocolGame::sendPing()’ is private void sendPing(); ^...
  4. dawnking

    Compiling Help to compile 0.4

    I did, i saw this error, but its make no sense, its showing only when i add that parts about checkping... Anyways, the way i got to fix it was: // getOtsysTime() + getPlayerPing(cid) + doPlayerSendPing(cid) [CREDITS: Shyzoul and Nothxbye] int32_t...
  5. dawnking

    Compiling Help to compile 0.4

    There is a lot of this Could you edit here? luascript.cpp https://anotepad.com/notes/qqc5e2
  6. dawnking

    Compiling Help to compile 0.4

    What? I'm sorry Is this? http://hastebin.com/oyunumajak.go Still same error: luascript.cpp: In static member function ‘static int32_t LuaInterface::luaGetTownTemplePosition(lua_State*)’: luascript.cpp:9600:3: error: ‘displayError’ was not declared in this scope displayError = popNumber(L)...
  7. dawnking

    Compiling Help to compile 0.4

    Oh i forgotten to post it: I got this error: luascript.cpp: In static member function ‘static int32_t LuaInterface::luaGetTownTemplePosition(lua_State*)’: luascript.cpp:9598:7: warning: variable ‘displayError’ set but not used [-Wunused-but-set-variable] bool displayError = true; ^ In...
  8. dawnking

    Compiling Help to compile 0.4

    You mean in luascript.h Change from protected: To public: List? Because i did it and take new errors, trought was doing some wrong...
  9. dawnking

    Compiling Help to compile 0.4

    Why show me this error when compile trying to add ping functions? My changes: ctrl+f: // getOtsysTime() + getPlayerPing(cid) + doPlayerSendPing(cid) [CREDITS: Shyzoul and Nothxbye] luascript.h 1 time http://hastebin.com/xakoculihu.cpp luascript.cpp 2 times http://hastebin.com/exujasukeh.go...
  10. dawnking

    Check items on player DP

    Thank you, thank you, thank you!!!
  11. dawnking

    Check items on player DP

    I'm making a server 0.4 with dawnport, i saw a lot things to delete items here in forum, but all have some problems... So i got this idea... There is a way to NPC check if player have more when 0 items on DP to townid 10 ? For example: if(itemsDP(townid 10) > 0) NPCSAY: You can not go to main...
  12. dawnking

    data/lib/004-database.lua:76: [Result:getDataString] Result not set!

    [18:31:03.772] [Error - CreatureScript Interface] [18:31:03.772] data/creaturescripts/scripts/GOT/placas.lua:onLook [18:31:03.772] Description: [18:31:03.772] data/lib/guildlib.lua:96: attempt to call method 'GetString' (a nil value) [18:31:03.772] stack traceback: [18:31:03.772]...
  13. dawnking

    data/lib/004-database.lua:76: [Result:getDataString] Result not set!

    [18:3:21.011] [Error - CreatureScript Interface] [18:3:21.011] data/creaturescripts/scripts/GOT/placas.lua:onLook [18:3:21.011] Description: [18:3:21.011] data/lib/004-database.lua:76: [Result:getDataString] Result not set! [18:3:21.011] stack traceback: [18:3:21.011] [C]: in function 'error'...
  14. dawnking

    data/lib/004-database.lua:76: [Result:getDataString] Result not set!

    Thank you But it's not work bro I think i got this error because my guildlib.lua Error [13:18:12.376] [Error - CreatureScript Interface] [13:18:12.376] data/creaturescripts/scripts/GOT/placas.lua:onLook [13:18:12.376] Description: [13:18:12.376] data/lib/004-database.lua:76...
  15. dawnking

    data/lib/004-database.lua:76: [Result:getDataString] Result not set!

    I trying to use this system: https://otland.net/threads/got-help-me-to-make-2-things.243854/page-3 But it's not work here... When i look the flag to see wichs guild own the throne... Show me this: [22:2:11.244] [Error - CreatureScript Interface] [22:2:11.244]...
  16. dawnking

    Compiling Help to add this func on my sources

    I'm sorry, i'm not tryng to say something u didn't say, i just try to understand, i'm the noob here... So you mean this 2 function: int32_t LuaInterface::luaPlayerGetLastPing(lua_State* L) { ScriptEnviroment* env = getEnv(); Player* player = env->getPlayerByUID(popNumber(L)); if (player)...
  17. dawnking

    Compiling Help to add this func on my sources

    You have sure it's not a player info? int32_t LuaInterface::luaPlayerGetLastPing(lua_State* L) { ScriptEnviroment* env = getEnv(); Player* player = env->getPlayerByUID(popNumber(L)); if (player) { lua_pushnumber(L, player->lastPing); } else { errorEx(getError(LUA_ERROR_PLAYER_NOT_FOUND))...
  18. dawnking

    Compiling Help to add this func on my sources

    what is OS time?
Back
Top