1. P

    TFS 1.X+ Strange problem with spells animation

    Hello everybody! First of all, sorry for my bad english, im Brazilian and you will probably see some mistakes. I am setting up a TFS server and came across a problem: Whenever I (or any monster) cast some magic, I can see the damage it causes, but no animation appears. Example: Dragon releases...
  2. Loremaster7

    How to do spell "ultimate explosion" with paralyze?

    "exevo gran mas vis" para "exevo gran mas ina" não funciona o paralyze ... (my distro is The OTX Server Version: (2.X.S - 4) Otserver 7.72) my code: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) setCombatFormula(combat...
  3. anyeor

    Uh for vocation

    Can anybody help me how i can make uh for voc? my code didnt work: local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_HEALING) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) combat:setParameter(COMBAT_PARAM_DISPEL, CONDITION_PARALYZE)...
  4. T

    TFS 0.X Area Spell hitting specific creature

    Is it possible to make a area spell hits only a creature if it has a certain name? For example: how to do to a spell like, let's say, "divine caldera" (exevo mas san) hits only creatures in it's area named "rat"? Is it possible to do? Could you help me with some ideas? I'm kinda lost trying to...
  5. Sarah Wesker

    Spell Magic Wall Rune " Script With Count Down For TFS 1.x+ "

    they look for the following file: data/spells/scripts/support/magic_wall_rune.lua and replace the code for this! --[[SevuEntertainment(c)]]-- local recAnimateText = false local startSeconds = 20 local combat = Combat() combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY)...
  6. donnyred

    TFS 1.X+ ERROR AddEvent() Argument # 3 is unsafe

    Hi everybody I need a simple help for this spells.... the truth is that I do not know much about... buy someone can explain me, I'll be grateful. this is my script.lua local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) combat:setParameter(COMBAT_PARAM_EFFECT...
  7. M

    TFS 1.X+ Spell Area Error

    Hi, just curious if anyone knows how you go about solving this error that comes up in console. I have been working on this script few weeks back but I have forgotten what I meant to fix. Here is my code local combat = { { {0,0,0}, {0,0,0}, {0,0,0}, {1,3,1}, {1,0,1} }, {...
  8. G

    Lua Animate dead in area

    Hello, when I use the rune Animate Dead in a minotaur corpse for example, it only make 1 skeleton even if have more than 1 dead minotaur around, but the rune should work in area to summon more than 1 skeleton if there are more than 1 minotaur corpse, anyone can help me change this script to be...
  9. Paulix

    Monster Attacks and Defenses flags

    Does anyone have a list of all attacks and defesens flags for monsters? I tried to find but couldn't. I also tried to search on sources but its not clear for me
  10. herki17

    Script - passive abilities

    Hi, I'm looking for a script which gives each vocation passive ability (they will work all the time) if possible: - if you're in party, members have increased healing power - X% monster damage resistance (only monster damage!), X% mana/health regeneration/s, - arrows, bolts can hit 3 enemies at...
  11. riesjuh666

    C++ Problem making new spells

    Hello Otland, I have a problem with creating a spell, i am working on a 7.4 server with costum spells and monster. i added some spells from 8.6 into my 7.4 server when i try to use Ice Strike (exori frigo) i see the sprite but i dont see damage. the monsters due take damage. i already...
  12. V

    Spells Parser - Configurable - Any TFS / OTX Version

    This script will produce a file which is a table of all the spells in your spells.xml file. Which you can then reference via scripts. You will need a lua interpreter to run this script or you can integrate it with your server by calling the method parseSpells() function cwd(name) local chr...
  13. N

    Solved tfs skill after time 1.2

    Hello i have question how can i do skill use after time. Example: function test3(creature,variant) testa:execute(creature, variant) end function onCastSpell(creature, variant) addEvent(test1, 10, creature:getId()) addEvent(test2, 5000, creature:getId()) addEvent(test3...
  14. N

    Solved tfs 0.3.6 and now 1.2, doplayer say and others

    Hello how can i make doplayer say, or addevent and say in talktype_orange_1 in tfs 1.2? Ok all know without addevent any ideas? Here is my code, local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) combat:setParameter(COMBAT_PARAM_EFFECT, 77)...
  15. ismael jr91

    C++ you may not cast area spells while you have a black skull

    anyone can help me with this error ?? i dont use any spell 'exevo gran mas vis' 'mas pox' etc... greatfire ball rune.. anyone can help me ? "you may not cast area spells while you have a black skull"
  16. xydius

    CreatureEvent Passive Spells tfs 1.2

    Hello fellow otlanders, Im releasing this simple "script" i just made for my custom ot where players have a passive spell which are cast from time to time while the player is in combat and has a target. First go to creaturescripts and create a new file and name it however you want and paste...
  17. G

    Lua New Spell

    I have this spell below, it`s working but i whant to make a new thing and not get success Sorry if it`s in wrong place, tell me and i put in the correct place Using OTX 3.0 (TFS 1.0) local spell = {} spell.config = { [7] = { damageType = 1, areaEffect = 1, sqmtoPush = 0, area = { {0, 0, 0, 1...
  18. tnecniiv

    Give extra health to a character

    Hello guys i am working on a 9.60 server using tfs 0.2.14. i was wondering if it is possible to have a druid use a spell to give 10% hp of the characters health and or mana. if it isnt possible in my server ill understand. thank you for your time.
  19. Pluto

    TFS 0.3 - 0.3.7-r5969-v8.60 - exhaust system

    It uses old exh system (can't cast attack and defensive spells at the same time). What could I do to fix that, and add something like "spell groups" to spells.xml? What I know is it should be changed in source files (configmanager.cpp, spells.cpp, configmanager.h), seen solution, but the links...
  20. OdynsRaven

    Lua [TFS 1.2]Spellbook not working

    So have a server set up and I am working through adding features. I wanted to add a !spells feature. Command would not work. I have starter packages added and I have a sorcerer level 8 (so i should have spells) with a normal spellbook. When I try to use the spellbook it says "You cannot use this...