• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Bug Fire Field [TFS 1.1]

  • Thread starter Thread starter Deleted member 141899
  • Start date Start date
D

Deleted member 141899

Guest
Hello, im using TFS 1.1, with the original items.otb..

Im have a bug with fire field, only with fire field:

- when i use the fire field rune in player, the first damage is not happening, in which case it would (20).
it happens to all fire fields, including monster fire fields spells and fire bomb..

other types of magic fields are normal, already checked the items.xml and that's OK, since tried to put the energy field attributes in the fire field and not also works

I think it may be something in the sources, but already researched and found nothing too

image.png


could someone please help me?
 
Every item with "action" need to be started somehow so you need to add it in specified files like actions/movements etc. in your example its movement type.
So you are probably missing movements.xml onStepIn and itemid of that fire field.

spells/scripts/attacks/fire field.lua
Code:
local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_FIREDAMAGE)
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_HITBYFIRE)
combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FIRE)
combat:setParameter(COMBAT_PARAM_CREATEITEM, ITEM_FIREFIELD_PVP_FULL)

function onCastSpell(creature, var, isHotkey)
    return combat:execute(creature, var)
end

movements/movements.xml
Code:
    <!-- Campfires -->
    <movevent event="StepIn" itemid="1423" function="onStepInField" />
    <movevent event="AddItem" itemid="1423" function="onAddField" />
    <movevent event="StepIn" itemid="1424" function="onStepInField" />
    <movevent event="AddItem" itemid="1424" function="onAddField" />
    <movevent event="StepIn" itemid="1425" function="onStepInField" />
    <movevent event="AddItem" itemid="1425" function="onAddField" />

    <!-- Fields -->
    <movevent event="StepIn" itemid="1487" function="onStepInField" />
    <movevent event="AddItem" itemid="1487" function="onAddField" />
    <movevent event="StepIn" itemid="1488" function="onStepInField" />
    <movevent event="AddItem" itemid="1488" function="onAddField" />
    <movevent event="StepIn" itemid="1489" function="onStepInField" />
    <movevent event="AddItem" itemid="1489" function="onAddField" />
    <movevent event="StepIn" itemid="1490" function="onStepInField" />
    <movevent event="AddItem" itemid="1490" function="onAddField" />
    <movevent event="StepIn" itemid="1491" function="onStepInField" />
    <movevent event="AddItem" itemid="1491" function="onAddField" />
    <movevent event="StepIn" itemid="1492" function="onStepInField" />
    <movevent event="AddItem" itemid="1492" function="onAddField" />
    <movevent event="StepIn" itemid="1493" function="onStepInField" />
    <movevent event="AddItem" itemid="1493" function="onAddField" />
    <movevent event="StepIn" itemid="1494" function="onStepInField" />
    <movevent event="AddItem" itemid="1494" function="onAddField" />
    <movevent event="StepIn" itemid="1495" function="onStepInField" />
    <movevent event="AddItem" itemid="1495" function="onAddField" />
    <movevent event="StepIn" itemid="1496" function="onStepInField" />
    <movevent event="AddItem" itemid="1496" function="onAddField" />
    <movevent event="StepIn" itemid="1497" function="onStepInField" />
    <movevent event="AddItem" itemid="1497" function="onAddField" />
    <movevent event="StepIn" itemid="1498" function="onStepInField" />
    <movevent event="AddItem" itemid="1498" function="onAddField" />
    <movevent event="StepIn" itemid="1499" function="onStepInField" />
    <movevent event="AddItem" itemid="1499" function="onAddField" />
    <movevent event="StepIn" itemid="1500" function="onStepInField" />
    <movevent event="AddItem" itemid="1500" function="onAddField" />
    <movevent event="StepIn" itemid="1501" function="onStepInField" />
    <movevent event="AddItem" itemid="1501" function="onAddField" />
    <movevent event="StepIn" itemid="1502" function="onStepInField" />
    <movevent event="AddItem" itemid="1502" function="onAddField" />
    <movevent event="StepIn" itemid="1503" function="onStepInField" />
    <movevent event="AddItem" itemid="1503" function="onAddField" />
    <movevent event="StepIn" itemid="1504" function="onStepInField" />
    <movevent event="AddItem" itemid="1504" function="onAddField" />
    <movevent event="StepIn" itemid="1505" function="onStepInField" />
    <movevent event="AddItem" itemid="1505" function="onAddField" />
    <movevent event="StepIn" itemid="1506" function="onStepInField" />
    <movevent event="AddItem" itemid="1506" function="onAddField" />
    <movevent event="StepIn" itemid="1507" function="onStepInField" />
    <movevent event="AddItem" itemid="1507" function="onAddField" />
    <movevent event="StepIn" itemid="7359" function="onStepInField" />
    <movevent event="AddItem" itemid="7360" function="onAddField" />
 
Last edited:
Solved:

<movevent event="StepIn" itemid="1487" function="onStepInField" />
<movevent event="AddItem" itemid="1487" function="onAddField" />

Was missing.
 
Back
Top