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

    Lua Help with Syntax problem in spell "player nil value"

    Could you show me? As far as I got, it doesn’t recognize the argument player. That’s why I was trying to use it in a function
  2. I

    Lua Help with Syntax problem in spell "player nil value"

    I want for the spell to increase 50% of caster maxhealth for 60 seconds.
  3. I

    Lua Help with Syntax problem in spell "player nil value"

    Yes, I didn't manage to solve my problem with that: I'm trying to use local function, but so far I didn't manage to make it work. No errors appear, the effect appears on the player, but it won't recognize "local gainedHealth". When I change gainedHealth for a number at...
  4. I

    Lua Help with Syntax problem in spell "player nil value"

    Thanks, but it didn't work. I probably will have to find another type of function to add this. When I got the answer, I will let you know.
  5. I

    RevScripts Loop effect on condition

    Hi guys, A while ago, @amatria create the script bellow for me, that when the player has mana shield a effect keep on loop. It works just as I needed, but now I want to put a loop on another condition, "condition:setParameter(CONDITION_PARAM_SKILL_SWORDPERCENT, 150)". I'm not sure how to do it...
  6. I

    Lua Help with Syntax problem in spell "player nil value"

    Hi, I'm trying to make this spells work, but I'm having problem with syntax. local time = 20 * 1000 -- 20 seconds local condition = Condition(CONDITION_ATTRIBUTES) condition:setParameter(CONDITION_PARAM_STAT_MAXHITPOINTS, gainedHealth) condition:setParameter(CONDITION_PARAM_BUFF_SPELL, true)...
  7. I

    TFS 1.X+ Can't buy NPC items

    I can't figure it out either. Look at a example of weapon on object build from my server
  8. I

    TFS 1.X+ Can't buy NPC items

    Try to change to this script instead and see if it works: <?xml version="1.0" encoding="UTF-8"?> <npc name="NPC Name" script="script file.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100" /> <look type="574" head="0" body="132" legs="96" feet="0" addons="2" />...
  9. I

    Lua How to make summon give speed, skill, mana regen and life regen, max life and max mana.

    Can someone point me to something similar?
  10. I

    TFS 1.X+ Can't buy NPC items

    Can you see this itens in game and use them properly? Also post the NPC script so I can check.
  11. I

    TFS 1.X+ Can't buy NPC items

    This vip itens are new sprites or duplicate ones? If they are, you also have to use item editor to include them.
  12. I

    Lua Ignore target and effect appear in front of player TFS 1.3

    I imagine it would be something simple like that kkk, thanks, it's working fine
  13. I

    Lua Ignore target and effect appear in front of player TFS 1.3

    That doesn't work, as you can see in the script, the area need to use caster direction, otherwise it would appear always south of the player, no matter his direction. The goal here is to make it always appear in front of the player.
  14. I

    Lua How to make summon give speed, skill, mana regen and life regen, max life and max mana.

    TFS 1.3 Hello guys, I have a unusual request that I have no idea how to do it, neither if this is possible. I would like for summons to give attributes to the master. The attribute can be given by spell or any other possible way. As long as the summon is alive, the player can receive the...
  15. I

    Lua Ignore target and effect appear in front of player TFS 1.3

    Hello guys, I'm creating a animated spell, where effects appear in different sqm, in line, in diferent times. It is working fine when I got no target locked, it does appear the effect in order in front of the player, however, when I have a target, the effect starts to appear in the target. This...
  16. I

    Lua Help with sendMagicEffect appearing on the player

    That was what I did. I always try to do it by myself, but many times I'm not able to solve them by myself. But you guys here at otland always help me solve the problems and promote knowledge, you guys are great.
  17. I

    Lua Help with sendMagicEffect appearing on the player

    It wasn't doing damage when I delete this, but I manage to make it work, don't know if that was the best way to do it, but it was the way I manage: local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) combat:setArea(createCombatArea(AREA_SQUARE1X1))...
Back
Top