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

    Lua return nill function self:getId()

    function Player.getVipDays(self) return VipData[self:getId()].days end function Player.getVipDays(self) return VipData[self:getId()] ~= nil and VipData[self:getId()].days or 0 end
  2. kubernik

    AAC New DDos in tibia`s site and Extortion

    Close ports =\= delete them xd
  3. kubernik

    TFS 1.X+ Crash on logout when spell is casting(addEvent)

    @nugy hard? Are you kidding? xD You can just set on addEvent 2000ms interval. Cast spell, logout and wait 2 sec for crash.. really hard xD About code.. Just check isCreature in function and dont use this braindead local with param. local function onCastSpell5(cid, combat, var) if not...
  4. kubernik

    TFS 1.X+ get table size?! for put , and . in message

    #config["rat"] print you size of rat.
  5. kubernik

    TFS 1.X+ ChestsSystem problem with the weight*

    i solved your problem in my last answer xd This: local itemType = ItemType(item.itemid) local itemWeight = itemType:getWeight() check chest, because you type "item" ... item that's what you click for... You want weight rewards from config... so.. you have to check id from rewards...
  6. kubernik

    TFS 1.X+ ChestsSystem problem with the weight*

    local itemType = ItemType(item.itemid) You just check chest xd function onUse(player, item, fromPosition, target, toPosition, isHotkey) local chests = config[item.uid] local playerCap = player:getFreeCapacity() if player:getStorageValue(chests.storage) < 1 then local itemType =...
  7. kubernik

    TFS 0.X exp = level, level = level in thousands

    @topic maybe: protocolgame.cpp sendCreatureSay speaker->getLevel()
  8. kubernik

    TFS 1.X+ First items

    Check sample im your database
  9. kubernik

    Stable Server 8.40/8.42?

    @Topic Elfbot work on 8.42 so.. xd Antibot client should be better.
  10. kubernik

    need help to extend client 8.6

    https://github.com/SaiyansKing/Tibia-Extended-Client-Library/releases/tag/1.0 Download 1.0.rar, put ddraw.dll and config.ini to folder with your client and select true extended in config, done.
  11. kubernik

    TFS 0.X varied damage depending on the direction the target is facing the attacker

    local targetDir = getCreatureLookDirection(getCreatureTarget(cid)) local cidDir = getCreatureLookDirection(cid) if targetDir == cidDir then damage = damage * 2 elseif (targetDir =~ cidDir) and not(lookFaceToFace) then damage = damage * 1.5 end I am already little bussy, so i can't check when...
  12. kubernik

    TFS 0.X cut/get a part of item name

    You use it wrong xd getPlayerSlotItem(cid, CONST_SLOT_AMMO).itemid local Item_Name = getItemNameById(item) Try use local item = getPlayerSlotItem(cid, CONST_SLOT_AMMO).itemid (with itemid and without if not work) print(getItemAttribute(item.uid, "name"))
  13. kubernik

    TFS 0.X cut/get a part of item name

    @samandriel ym.. it is talkaction function.. so.. can you post how you use that? i see that "/market add, ItemName, ItemPrice, ItemCount", but show exactly what you write. Okay, i don't have more time, so... Good options for check Item will be.. check from slot: Right/left hand, ammo.
  14. kubernik

    C++ onSpawn (bug?!?!)

    @Liften He can just storage when this boss is appear and return false when it's true with spawn orshaball, on kill boss change storage and this is all. Or check the tiles around the spawn(if boss is around then return false).
  15. kubernik

    TFS 0.X cut/get a part of item name

    function getRarity(str) --[['str' param(not used!)]] local value = 0 local n = split(itemname, " ") --[[itemname change to str]] if n[1] == "[RARE]" then value = 1 elseif n[1] == "[EPIC]" then value = 2 elseif n[1] == "[EPIC]" then --[[double, but this is not...
  16. kubernik

    TFS 1.X+ Crash on /reload spell when spell is casting(addEvent)

    @Nekiro 1. You are passing object (combat variable) which is getting reinitialized so the old one is discarded which leads to the crash. -I don't know how to do it differently. :/ 2. Also your code does not look like 1.x, you are using 0.x methods. Try using Combat.execute(creature, combat...
  17. kubernik

    TFS 1.X+ Crash on /reload spell when spell is casting(addEvent)

    Ym.. and this is a solution? XD in older version i can reload in live, but here i can't, because i get crash, lol. Whatever.. I will run the server live and it turns out that some spell does not work properly, then I will have to turn off the server by such a small thing, it makes no sense...
  18. kubernik

    TFS 1.X+ Crash on /reload spell when spell is casting(addEvent)

    @Nekiro Yea, im using old code, because i like it xd i have in lib compat.lua something like this: function doCombat(cid, combat, var) return combat:execute(cid, var) end for all function soo.. it work fine. im trying with tfs 1.x code: local combat = Combat()...
  19. kubernik

    TFS 1.X+ Crash on /reload spell when spell is casting(addEvent)

    Hello, i have "little" problem.. Well... When i'm casting spell who have addEvent for example: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, 15) setCombatArea(combat, createCombatArea({ {1, 2} }))...
  20. kubernik

    TFS 0.X v8.60 Debug to Open Skills Up-Level 717217

    client debug after 2,147,483,647 exp Check your protocolgame.cpp, you probalby don't have limit.
Back
Top