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

Recent content by Dalkon

  1. Dalkon

    Complaint about whole staff.

    Cry is free.
  2. Dalkon

    TFS 1.0 | onStepIn tile vocation with possible payment restrictions

    This was hilarious, also it would be easier to read if you do if not player then return false end and please use constants for Position.sendMagicEffect and other functions.
  3. Dalkon

    [TFS 1.0] Way to make yourself full forever?

    condition:setTicks(-1)
  4. Dalkon

    Solved [C++ - TFS 1.0] Health/Mana Change

    There is no way to make '+' work, it's dumb to even try.
  5. Dalkon

    Solved [C++ - TFS 1.0] Health/Mana Change

    I lol'd, you cannot add '+' but you can add '-' if you just make the damage value a negative when sending it.
  6. Dalkon

    tfs1.0 copy backpack (+insides!)?

    Why do you do "Item(p:getSlotItem(3):getUniqueId())" it's the same as writing "p:getSlotItem(3)". If you want to clone your backpack into your backpack you would do this. local player = Player(cid) local backpack = player:getSlotItem(CONST_SLOT_BACKPACK) if backpack then...
  7. Dalkon

    tfs1.0 copy backpack (+insides!)?

    Update to the latest 1.0 and simply do this. local player = Player(cid) player:addItemEx(item:clone())
  8. Dalkon

    Lua Exp rate

    You can kind of do this but only increase right now, but what you would do is that you would have an onKill event and check the killed monsters experience and add a certain amount of it.
  9. Dalkon

    Solved get Party Members and GlobalStorage tfs 1.0

    function Class:function() Is equal to function Class.function(self) and "self" is the class object, so to get the members while the party is disbanding just use "self:getMembers()"
  10. Dalkon

    Lua New outfits tfs 1.0

    Untested code --[[ NOTE: You cannot actually store any strings with this, it just makes so you get the outfit. Also it's a pretty dumb way of doing this. local player = Player(cid) player:setStorageValue("additional outfits", true) player:setStorageValue("additional...
  11. Dalkon

    CreatureEvent Modal Window Teleporter [TFS 1.0]

    local teamPvpPosition = Position(135, 53, 5) local soloPvpPosition = Position(50, 80, 7) function onModalWindow(cid, modalWindowId, buttonId, choiceId) if modalWindowId ~= 0x0100 then -- Not our window return false elseif buttonId == 0x01 then -- Cancel return false end...
  12. Dalkon

    [SOLVE] [1.0] Players online loose X Hp per X min?

    @Ninja, Game.getPlayers() stores userdata directly, not player ids. local players = Game.getPlayer() for i = 1, #players do local player = players -- Do something end Edit: Please put the local player = players[i][I] outside the pairs loop.
  13. Dalkon

    Make it impossible to use the Tibia Client

    Just check when someone logs in if they use OTClient, if they don't just disconnect them, simple.
  14. Dalkon

    Solved TFS 1.0 npcsystem problem

    ItemType(itemId):getName()
  15. Dalkon

    Lua [TFS 1.0] Make an item unpickupable?

    There is a folder called "events", it's located there. If you don't have it then you're using outdated sources.
Back
Top