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

    Lua Somebody can help me with house functions? (TFS1.2)

    Hello dear OT Landers! Someone know if exists a function to check a house town? I know that there are one function to see if a player got a house, or if a player's town. but I don't know if I can check if a house is from town. e.x. (in player case): Player:getTown():getId() but in house case, I...
  2. lokolokio

    TFS 1.X+ Cancel day light on tiles to make a dark zone

    You can try to use floors +8 to +15 on rme, if you need to have dungeons and roofs, may you can use the floor +12, and then start to create your map, once you start to create yout land, the city will be entire be in dark, because it was created underground, and there is no daylight.
  3. lokolokio

    TFS 1.X+ How to download compiled TFS1.3, 10.98?

    Hello dear OT Landers, I hope to somebody can help me, by telling me where can i download tfs 1.3 10.98 compiled version? I already tried to compile many SRC. I have installed VS15 Enterprise, VS15 Community, VS17 Enterprise, VS17 Community, and always VS mark a problem, V141, and windows...
  4. lokolokio

    How to put the text of magic in small and large letters

    And if you put emoteSpells = false Then, enter to each spell (yeah, one by one) and add a line before: return doCombat(cid, combat) doCreatureSay(cid, "EXORI GRAN", TALKTYPE_ORANGE_1) return doCombat(cid, combat) Maybe this can help you, but it is very boring.
  5. lokolokio

    C++ [LUA] Need help, info, orientation, runOnHealth flag

    Bump (Since 10 years ago LOL)
  6. lokolokio

    Lua Function to Remove Tile PZ.

    Hello Ninja, but this options can I use them something like this? local tile = Tile(x, y, z) if tile hasflag(TILESTATE_PROTECTIONZONE) then tile:resetFlag(TILESTATE_PROTECTIONZONE) else tile:setFlag(TILESTATE_PROTECTIONZONE) end
  7. lokolokio

    Lua Function to Remove Tile PZ.

    Hello dear OT Landers! I need help to find function to remove pz of a tile, understanding that pz means: Protection Zone, not Protection Zone Locked (as many ppl use it). In a pvp arena on Tibia RL, once you enter the arena, all the tiles in the room are PZ, and after few seconds the PZ where...
  8. lokolokio

    Djinns Scrolls

    I hope that this is what you want, try this: (Your first script) function onUse(cid, item, itemEx, toPosition) local pos = getCreaturePosition(cid) if (getTilePzInfo(getPlayerPosition(cid)) == TRUE) then if getPlayerStorageValue(cid, 101198) == 1 then...
  9. lokolokio

    TFS 1.X+ Condition not working

    Hello, you can use this, and tell me how it went... local conditionDist = Condition(CONDITION_ATTRIBUTES, CONDITIONID_DEFAULT) conditionDist:setParameter(CONDITION_PARAM_TICKS, 10000) conditionDist:setParameter(CONDITION_PARAM_SUBID, 11111)...
  10. lokolokio

    Remeres Extensions

    Hello, dear OtLanders, I have a question, is there anyone that have remeres extensions (or custom extensions) of tibia 10.98? Thanks
  11. lokolokio

    Is it possible to add chance on stepin function?

    Something like this? local config = { [9238] = Position(33456, 31346, 8), [9239] = Position(33199, 31978, 8) } function onStepIn(creature, item, position, fromPosition) local player = creature:getPlayer() if not player then return true end local targetPosition =...
  12. lokolokio

    more runes same time!

    Maybe your manarune are set in "actions.xml", and not on "spells.xml", you may need to change it
  13. lokolokio

    NPC Request

    TFS 1.2... Create a 'NPC.xml' on 'data/npc' and paste this inside: <?xml version="1.0" encoding="UTF-8"?> <npc name="NPC Name" script="NPC.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100" /> <look type="153" head="39" body="39" legs="39" feet="76" addons="0" /> </npc> And...
  14. lokolokio

    Lua Identification Bosses Warzone!

    @Limos I have a question, the function gives the damageMap of the monster that dies, no? My question is, the function gives the 'Killers-List' of the monster in order of the most damage dealer? example: local mon = monster:getDamageMap() then 'mon' will return a list but lets say that returns...
  15. lokolokio

    [Question] /s

    If you want to use it on all players, you can remove this línes if not player:getGroup():getAccess() then return true end if player:getAccountType() < ACCOUNT_TYPE_GOD then return false end (This on tfs 1.2) Regards!
  16. lokolokio

    Requesting !broadcast message for players tfs 1.2

    @Thorn Now try it again please, I've edited the original and improved it.
  17. lokolokio

    Requesting !broadcast message for players tfs 1.2

    Hope this work for you: --Functions by Printer function Player.setExhaustion(self, value, time) self:setStorageValue(value, time + os.time()) end function Player.getExhaustion(self, value) local storage = self:getStorageValue(value) if not storage or storage <= os.time() then...
  18. lokolokio

    OtLand Merry Christmas & Happy New Staff!

    Happy New year for everyone! Congratulations! To all new Staff Members. :)
  19. lokolokio

    C++ monster spawn

    or if try a creaturescript? function onDeath(creature, corpse, killer, mostDamageKiller, unjustified, mostDamageUnjustified) local targetMonster = creature:getMonster() if not targetMonster or targetMonster:getMaster() then return true end addEvent(Game.createMonster...
  20. lokolokio

    LUA script Translation from 1.0 to 0.3

    Hope this work for you! regards :D local monsterName, monsterCount = "demon", 4 -- time is in seconds local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA) local area =...
Back
Top