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

    Lua My script no execute..

    Sorry close the topic i have fixed that
  2. F

    Lua Check monster in X area

    Someone have any idea?
  3. F

    Lua Check monster in X area

    I'm in home now and i will test it today and edit here Edited: I have make that script for my tfs 1.2, and i'm no get erros in log but the scripts don't work, what could be? local centralareaboss = {x = 33481, y = 32869, z = 11} function onUse(cid, item, fromPosition, itemEx) local player...
  4. F

    Lua Check monster in X area

    Hello?
  5. F

    Lua Check monster in X area

    oh god D: but, my script i have posted here are correct??
  6. F

    Lua Check monster in X area

    Hmm, so if i need check if have monster in position X i onlye need set this #Game.getSpectators(silver, false, FALSE, 16, 16, 16, 16) to check player or monsters? This is correct? I'm not at home now and i can't test if #Game.getSpectators(silver, false, true, 16, 16, 16, 16) == 0 and...
  7. F

    Lua Check monster in X area

    No have erros, i only need know how getSpectator return if have X monster on area for make what i want...
  8. F

    Lua Check monster in X area

    silver = {x=33527, y=32419, z=12} function onUse(cid, item, fromPosition, itemEx) local player = Player(cid) if not player then return true end if(item.itemid == 22604) then if(itemEx.itemid == 22638) then if player:getStorageValue(1) and...
  9. F

    Lua Check monster in X area

    Hello guys, i'm making a script of one quest and i need to know if have one function or someone have a script to check if in X area have X monster, and if have X monster the script don't spawn it again. I'm using tfs 1.2
  10. F

    Lua Reload commands

    Oh, thanks very much bro!! I will test this
  11. F

    Lua Reload commands

    Ok, here we go... I have one script what make enchantement, like a global RL, when you use one ruby, saphire, amethyst or emerald in the correct id place he get enchanted... The scripts works very good but i don't know why script stop to work when my server restart (i close the tfs and open...
  12. F

    Lua Reload commands

    Sorry, i think i have formulated wrong this question... What i want to say if is possible to make a globalevent for each hour of the day execute the command "/reload actions" if yes, what lua function of tfs 1.2 do this?? Have one example?
  13. F

    Lua Reload commands

    Have anyone command who make reload an specific archive?? Ex: in game have the comannd /reload actions. I need make this command for works in lua, force the reload in X hour of the day or each server save. Who know if this is possible?
  14. F

    Solved Index item a nil value

    @Codex NG Thank you very much!! <3
  15. F

    Solved Index item a nil value

    Hello, good, this error is showing up straight in my distro and so far I could not identify what the cause of it ... Does anyone have any solution? My tfs is 1.2 This is error: Lua Script Error: [Action Interface] data/actions/scripts/other/destroy.lua:onUse data/actions/lib/actions.lua:89...
  16. F

    Lua How to block player heal monster? TFS 1.0

    I need an solution to block players to use spells, runes to heal monster, can make this? if yes, how? all my attempts not succeed :/
  17. F

    Create account with random account name

    Anyone have a system to generate random account name for player when he create a account? Like Rl tibia in old times
  18. F

    Lua Code of friendly fire true/false

    Yeap i know this, but i have updated my source to work "onGainExperience" i think isn't so hard to make these others events work.. how i use this code with onhealthchange?
  19. F

    Lua Code of friendly fire true/false

    Tfs 1.0 don't support these events :s i try to update my source but without sucess... U have any tutorial for me to update my source with this event to work?
  20. F

    Lua Code of friendly fire true/false

    Ok, but i need to check if player have STORAGE X and target have X too, if have return false. But if selfplayer have STORAGE X and target have Y return true. How i make this code? EDIT: dofile('data/lib/events/BATTLEFIELD_lib.lua') function Creature:onTargetCombat(target) if not self then...
Back
Top