• 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 add this func on my sources

    I'm sorry, i don't understand int32_t LuaInterface::luaPlayerGetLastPing(lua_State* L) { ScriptEnviroment* env = getEnv(); Player* player = env->getPlayerByUID(popNumber(L)); if (player) { lua_pushnumber(L, player->lastPing); } else {...
  2. dawnking

    Compiling Help to add this func on my sources

    Thats what @Nothxbye made... Just have some bugs, he make to 0.4 Using this /\ I tried: <globalevent name="ddosprotect" interval="1000" event="script" value="antiddos.lua"/> function onThink(interval, lastExecution) local averageServerPing = 0 local playerCount = 0 for _, cid...
  3. dawnking

    Lua Offer expires tradeoff (Auction System).

    bump bump
  4. dawnking

    Compiling Help to add this func on my sources

    Now the compiler finished the job, but show me 3 warnings, and one by sendPing... You know to fix? I scare to let it here... Warning 1: monster.Tpo -c -o monster.o monster.cpp luascript.cpp: In static member function ‘static int32_t LuaInterface::luaPlayerSendPing(lua_State*)’...
  5. dawnking

    Compiling Help to add this func on my sources

    protocolgame.h http://hastebin.com/qujulicayo.coffee
  6. dawnking

    Compiling Help to add this func on my sources

    Ty you guys! Ty so much! You mean it? Move: luascript.cpp http://hastebin.com/ugeloruqey.cpp luascript.h http://hastebin.com/rifayifano.cpp player.h http://hastebin.com/urevajepon.coffee Cause i got some errors: s/luascript.Tpo -c -o luascript.o luascript.cpp In file included from...
  7. dawnking

    Compiling Help to add this func on my sources

    player.cpp http://hastebin.com/fakadoqiqe.cpp player.h http://hastebin.com/yivebudoki.coffee
  8. dawnking

    Compiling Help to add this func on my sources

    Ty to this base man!!! I wait cause idk how to make and the way to try. Edits LUA scripts is hard to me imagine edit sources. I tried to convert your code looking to my sources codes, but o got some problems luascript.cpp:10183:9: error: ‘LuaScriptInterface’ has not been declared int32_t...
  9. dawnking

    Compiling Help to add this func on my sources

    about C++ ***
Back
Top