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

    Help to use slotPosition

    armor is working but slot not... what do i doing wrong? console 10 [2:1:22.375] [Error - Action Interface] [2:1:22.375] data/actions/scripts/upgrade.lua:onUse [2:1:22.375] Description: [2:1:22.376] data/lib/upgradesystem.lua:111: attempt to index a boolean value [2:1:22.376] stack...
  2. fyalhed

    TFS 0.X Poison arrow poisoning 0.5~2.0 * skill

    What do i doing wrong? I'm trying to make poison from poison arrow, do the poison based on skills poison = skills * 0.5~2.0 -- Poison local combat2 = {} local poison = {} function DoPoison(cid) combat2 = createCombatObject() poison = createConditionObject(CONDITION_POISON)...
  3. fyalhed

    TFS 0.X Sell items on trade but with charges

    I have this NPC seller <parameter key="shop_buyable" value="train sword,2446,250000;train axe,2443,250000;train club,2444,250000;train rune,2348,1000"/> I want to train sword, club and axe comes with 1500 charges when u buy it on trade And train rune with only one charge How to do it?
  4. fyalhed

    TFS 0.X Remove all items from depot

    I wanna make a server with stages lvl citys, but when u talk to oracle and go to the next city (city lvl 2,3) I want to remove all your items from depot and send to the new city Is it possible to do by scripts? For now i'm doing this bad short solution :( if getPlayerDepotItems(cid...
  5. fyalhed

    TFS 0.X Check CAP + free space slots in backpack

    I can check if player got cap to get the items by just check getPlayerFreeCap -- dont have cap if getPlayerFreeCap(cid) < TILE.needcap then doTeleportThing(cid, fromPosition, false) doSendMagicEffect(position, CONST_ME_MAGIC_BLUE)...
  6. fyalhed

    TFS 0.X spell remove atk mode to everybody who is attacking me

    Is it possible to create a spell, to when player cast remove atk mode to everyone who is targetting the caster 0.4 (https://github.com/Fir3element/3777/blob/master/src/luascript.cpp)
  7. fyalhed

    Linux [LINUX] Tibia 8.6 using too much CPU

    I miss to play OTs, so i download from my backups all my files 8.6 (tibia+mc, elfbot with a lot of scripts since global, ipchanger)... Yes 8.6, i have no time to play on hands and this is the best version to play with bots (i love elfbot), i know a lot ppl here don't like this version, but i do...
  8. fyalhed

    TFS 0.X bug npc sell itens with storage

    i tried to make this npc to sell assassin star to who have the storage for assassins local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid)...
  9. fyalhed

    TFS 0.X area spell instead of a itself spell

    I'm trying to make this spell works on area instead of work in the player who cast local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) local area = createCombatArea(AREA_SQUARE1X1)...
  10. fyalhed

    TFS 0.X utori 0.4

    how to make a DPS healing spell to 0.4? i mean, when player call this spell it heal +3 hp per second but it for 300 seconds (5 min) [900 after all] and if player call the spell again, just reset
  11. fyalhed

    TFS 0.X escape remove all targets

    Is it possible to make a spell to when player call this everyone who have he as target lose the target? something using getCreatureTarget(cid) https://github.com/Fir3element/3777/blob/master/src/luascript.cpp
  12. fyalhed

    TFS 0.X Players with expboost cant login

    [0:45:22.069] Axe has logged in. [0:45:22.070] [Error - CreatureScript Interface] [0:45:22.070] data/creaturescripts/scripts/expvouncher.lua:onLogin [0:45:22.070] Description: [0:45:22.070] data/creaturescripts/scripts/expvouncher.lua:2: attempt to compare number with string [0:45:22.070] stack...
  13. fyalhed

    Lua Auto recharge assassin star on LUA SCRIPT

    I wanna make fair to paladins play without bots in my server.. Wanna use a script to when assassin star go to 0, auto it auto recharge But idk how to do and dont find in anywhere here... Is anybody here could help me to finish it? local function autoRecharge(cid) -- CHECK IF HAVE 1 GOING...
  14. fyalhed

    TFS 0.X Auto recharge assassin stars on hands

    Why this script is not recharging assassin star on hands? This script should work like this, when you shot the last assassin star u hand on hands, it recharge with how many u have in your backpack I've changed doPlayerAddItem(cid,assassin_stars_itemID, ammo_count) To doPlayerAddItem(cid, 2260...
  15. fyalhed

    TFS 0.X Bless item not work

    I wanna make a bless using by items, i tried it: <action itemid="11260;11259;11261;11262;11258" event="script" value="items_blesses.lua"/> function onUse(cid, item, fromPosition, itemEx, toPosition) if(item == 11260) then if getPlayerBlessing(cid, 1) == true then...
  16. fyalhed

    TFS 0.X Auto Loot onOpenCorpse

    I'm trying to make a script to auto loot stuffs on open the corpse on my 8.6 server (like on tibia 11)... I'm actually doing great, using this base: [Mod] Auto Loot But i have a few questions to help me to make better: 1- Is it safe to use? I mean, when i open the corpse i can still see the...
  17. fyalhed

    TFS 0.X Auto assassin star recharge

    I'm trying to do a auto recharge for my assassin star... Why it don't work? No errors, just do not work :( local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 18) setCombatParam(combat, COMBAT_PARAM_TYPE...
  18. fyalhed

    Lua Adapt arrow script to hand wepon 0.4

    I found this script on forum made by Xikini. It auto recharge arrows. But i want to adapt this arrow script to a hand script (for small stones, assassin stars...) arrowautorecharge.lua local function autoRechargeAmmo(cid) local ammo_in_slot = getPlayerSlotItem(cid, CONST_SLOT_AMMO).uid...
  19. fyalhed

    How to use GDB?

    Something is wrong in my source code, when i open my server show me Segmentation fault and after close. If i use my clean code without modifications it still online without problems I need to open with GDB to know where is the problem I've apt-get install gbd, so created this script (like i...
  20. fyalhed

    C++ Create a new option in config.lua

    How to create a new option in config.lua on 0.4? Someone could help me to create my first new option in config.lua, just for example so i can create another ones... What i need to change here on line 165: 3777/player.h at master · Fir3element/3777 · GitHub #define STAMINA_MAX (42 * 60 * 60 *...