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

Search results

  1. D

    1.3 8.6 Spawn boss

    Hello, i found this code here on otland made by: Snavy --[[ [+] = done [-] = not done [+] random spawn location [+] lost hp% mob/item spawn [+] spawn items + monsters on death & start next spawn countdown [-] DPS ]] local config = { SPAWN_AREAS = { {...
  2. D

    RevScripts Enviroment spell 1.3

    Hello, i would want to make this script work like this instead: *Config to use only one or more effects, for example 3, 5, 10 and 20. *Config to use specific different locations not only from pos topos, for example Position(116, 423, 7), and Position(126, 443, 7), and Position(135, 436, 7)...
  3. D

    Mana rune problem 1.x

    Hello, i have run in to a problem where i cant get this script: local runes = { [2298] = { voc = {1, 2, 3, 4, 5, 6, 7, 8}, min = {level = 1, maglv = 6}, max = {level = 1, maglv = 8}, } } local likePotions = true function onUse(cid, item, fromPosition...
  4. D

    Mana rune tfs 1.x+

    Hi, i have just started trying to learn a bit more about the basic scripting but i have run into a problem Not made for TFS 1.x at the begining but have tryed to translate The basic thing is that i want it to work one way if you are knight and one way if you are not code: local runes = {...
  5. D


    Soo i would like some help with two runes. Tfs 0.4 3887 The first one i need it to work in 2 ways so ek and mage dont act from the same min/max to make it easyer to tweek. local array_knight = {1, 2, 4, 5, 6, 8, 9, 10, 12} function onUse(cid, item, fromPosition, itemEx, toPosition) local...
  6. D

    Paladin rune

    So i got my paladin rune to work but it only show +xxx mana and i want it to show hp to (like spirit rune) but i cant get it to do so tfs 0.4 3887 local vocations = {3, 7} function onUse(cid, item, frompos, item2, topos) if isInArray(vocations,getPlayerVocation(cid)) then...
  7. D

    Rune error

    Trying to make all the runes to only work for the right voc but keep getting a error Script. local exhausted = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhausted, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition...
  8. D

    Items on level

    Okay so got help with this earlier but got a new problem with this. Im using this script to give a reward at a specifik lvl. local items = { {itemid = 7458, count = 1}, {itemid = xxxx, count = yyyy} } local bagId = 2000 function onAdvance(cid, skill, oldlevel, newlevel) if...
  9. D

    Reward at level (Need help)

    So need some help with this... function onAdvance(cid, skill, oldlevel, newlevel) if newlevel >= 150 and getCreatureStorage(cid, 44923) == -1 then doCreatureSetStorage(cid, 44923, 1) doPlayerAddItem(cid, 7458, 1) doPlayerSendTextMessage(cid...
  10. D


    Okay so i dont know what im doing because this is new for me soo look here. Tfs 1.2 10.77 This spell is done with an old spellcreator that i found on otland and it do not work (didnt think it would work either) but what do i need to change to make it work? Dont know how to make spells at all...
  11. D

    Pvp no/off

    Tfs 1.2 10.77 Can someone make an npc who can change between no-pvp and pvp but when you have no-pvp you gain 25% less exp? And some sort of payment for this service? Thanks!
  12. D

    Pvp no/off

    Tfs 1.2 10.77 Can someone make an npc who can change between no-pvp and pvp but when you have no-pvp you gain 25% less exp? And some sort of payment for this service? Thanks!
  13. D

    Info AbsorbPercentAll

    How should this look if i want it to show protection to all? For example. Protection 20% player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, 'Magic Level: ' .. target:getMagicLevel()) Thats apart of a script im using atm. And another thing how do i get this to show its ml and...
  14. D

    Solved Lottery Ticket

    Would like some help here to make this script so when i use this item (id 5957). Then i get a 25% chance to get one item and/or 10% chance to get another. TFS 1.2 function onUse(player, item, fromPosition, target, toPosition, isHotkey) if math.random(50) == 1 then...
  15. D


    On an high exp server whould you rather have the same Aol system like tibia or would it be better to skip aol and dont have any item loss?