• 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. Bogart

    Fury

    You know I'm just kidding <3. OTLand is kinda addicting, I keep coming back lol.
  2. Bogart

    C++ Players can't connect in the server 1k+

    Add *User executing TFS* hard nofile 3000 Sample (if linux username is otsmanager) otsmanager hard nofile 3000
  3. Bogart

    magic level up full mana

    function onAdvance(cid, skill, oldlevel, newlevel) local pos = getCreaturePosition(cid) if skill == SKILL__LEVEL then doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) doCreatureAddMana(cid, getCreatureMaxMana(cid)) doSendAnimatedText(pos, "Level Up!", 18)...
  4. Bogart

    magic level up full mana

    If you want to remove the mana refill after advancing on magic level (this is what I understood): function onAdvance(cid, skill, oldlevel, newlevel) local pos = getCreaturePosition(cid) if skill == SKILL__LEVEL then doCreatureAddHealth(cid, getCreatureMaxHealth(cid))...
  5. Bogart

    magic level up full mana

    Post the script.
  6. Bogart

    [SQL][Lua] Check information in table sql players

    Your're searching for players with account_id but comparing with player id, your database structure is kinda bad if you assign a different language for each player instead of each account.
  7. Bogart

    [SQL][Lua] Check information in table sql players

    Post whole code
  8. Bogart

    C++ Mission script wont count monster storage

    Line 180
  9. Bogart

    [SQL][Lua] Check information in table sql players

    print(lang) and check the result on the console.
  10. Bogart

    [SQL][Lua] Check information in table sql players

    local lang = data.getDataInt(data, "lang") should be local lang = result.getNumber(data, "lang")
  11. Bogart

    Fury

    who r u?
  12. Bogart

    Lua Lottery globalevent for tfs 1.2 error

    local rewards = { {itemid = 28783, count = 1} } function onThink(interval, lastExecution) local players = Game.getPlayers() if #players > 0 then while true do local player = players[math.random(#players)] if not player:hasAccess() and...
  13. Bogart

    Lua KD count unjustified

    function onKill(creature, target) if creature:isPlayer() and target:isPlayer() and not Tile(creature:getPosition()):hasFlag(TILESTATE_PVPZONE) then creature:say("+1 Kill", TALKTYPE_ORANGE_1) creature:setStorageValue(167912, math.max(0, creature:getStorageValue(167912)) +...
  14. Bogart

    promotion talkaction script

    change return true to return false
  15. Bogart

    !somecommand

    woops, should be param == "1"
  16. Bogart

    Linux What do you recommend?

    TFS 1.2 and most people use Ubuntu AFAIK.
  17. Bogart

    !somecommand

    function onSay(player, words, param) if param == "1" then print("one") end if param == "2" then print("two") end return false end
  18. Bogart

    Lua [OTHire 7.72] Show player equipments on map

    local t = { [hi] = 3 } print(t[hi]) = error local t = { ["hi"] = 3 } print(t["hi"]) = 3
  19. Bogart

    HELP with Ot SERVER AND ZNOTE AAC

    In your config.lua, is your password encryption sha1?
  20. Bogart

    C++ monster spawn

    At least you drew me as a panda lol. Anyway, asking again to make sure. Everyime you use /m a spawn is created permanently on the game? If that's the case, you could easily handle the death of the monster with creaturescripts and add the monster to spawn.xml (so it spawn on restart), all with lua.
Back
Top