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

Recent content by Dionizy

  1. Dionizy

    Lua Non aggressive spell being aggressive.

    Tfs 0.3.6 local level = 1 local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, 14) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, CONDITION_PARAM_TICKS, (30 + 30 *...
  2. Dionizy

    Lua Is doCombat inside onUse script possible? (0.3.6)

    TFS 0.3.6. This actionscript crashes TFS on loading. Is it possible to have doCombat inside onUse script? local costLevel1 = 35 local data = { --fire wave [11523] = {sayWords = 'Fire Wave!', manacost = costLevel1} } local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE...
  3. Dionizy

    C++ Checking if target is a monster or a player in TFS 0.3.6.

    I'm changing distance shoot system a lot and I want accuracy to be different depending on if you're attacking a player or a monster. I checked how it's done in LUA and tried to replicate it in C++. int AUTOID_PLAYERS = 0x10000000; int AUTOID_MONSTERS = 0x40000000; int...
  4. Dionizy

    Lua Aggressive monster spell sometimes heals target.

    Almost working, there are errors whenever a monster is killed with one of the waterballs no. 1-9. [28/03/2018 18:29:40] [Error - Spell Interface] [28/03/2018 18:29:40] In a timer event called from: [28/03/2018 18:29:40] data/spells/scripts/monster/terkaWB.lua:onCastSpell [28/03/2018 18:29:40]...
  5. Dionizy

    Lua Aggressive monster spell sometimes heals target.

    Nevermind, fixed it my way. It's an offensive spell for a water mage boss that shoots 10 waterballs to a single target, every shot deals 80 - 105 drown type damage. Almost fixed it, I think it needs some kind of position refresh, all the bolts hit the same spot even if the character is running...
  6. Dionizy

    Lua Aggressive monster spell sometimes heals target.

    No, it's not. Removing manadrain didn't help. I'm just curious why did you suggest that, is there some kind of bug connected with manadrain in 0.3.6 or what?
  7. Dionizy

    Lua Aggressive monster spell sometimes heals target.

    Why would I do that?
  8. Dionizy

    Lua Aggressive monster spell sometimes heals target.

    Of course. <?xml version="1.0" encoding="UTF-8"?> <monster name="Falconus" nameDescription="Falconus" race="blood" experience="12000" speed="320" manacost="0"> <health now="90000" max="90000"/> <look type="229" corpse="6078"/> <targetchange interval="2000" chance="25"/>...
  9. Dionizy

    Lua Aggressive monster spell sometimes heals target.

    TFS 0.3.6. Sometimes it deals damage correctly, sometimes it heals target. I can't figure out what I'm doing wrong. Spell script: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DROWNDAMAGE) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT...
  10. Dionizy

    C++ Attack speed bug in TFS 0.3.6.

    bump
  11. Dionizy

    C++ Attack speed bug in TFS 0.3.6.

    Hi, I'm replacing the standard tibian skill system with good old stats like strength, etc. and one of the things I'm trying to acheive is attack speed dependent on the kind of weapon the player is wearing and agility (former sword fighting)+ dexterity (former distance fighting) stats. The...
Back
Top