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

TFS 1.X+ Fields bug, spamming damage every 0.1 sec

Kubakos

Well-Known Member
Joined
Mar 3, 2010
Messages
987
Solutions
2
Reaction score
59
Hey,

I am using TFS 1.2 by celohere on 8.0 and I have problem with fields (for exemple fire field).
Sometimes they are spamming damage every 0.1 sec and sometimes they doesn't

You can have a view of what it look likes:


Anyone have an idea how to fix that?

Greetings


EDIT: I found a thread that was talking about duplication of "damage" value in fire field attributes in items.xml, it was saying to change first "damage" to "initDamage". I tried but after this it seems that only the "damage" is concidered.

It deals 5 damage when casted on someone and 5 damage when someone goes in (it should be 20 then 10 like in config):

1648282128388.png
 
Last edited:
check ur movements.xml
XML:
    <movevent event="StepIn" itemid="1487" function="onStepInfield"/>
    <movevent event="AddItem" itemid="1487" function="onaddfield"/>

items.xml
XML:
<item id="1487" article="a" name="fire field">
        <attribute key="type" value="magicfield" />
        <attribute key="decayTo" value="1488" />
        <attribute key="duration" value="120" />
        <attribute key="field" value="fire">
            <attribute key="damage" value="20" />
            <attribute key="ticks" value="10000" />
            <attribute key="count" value="7" />
            <attribute key="damage" value="10" />
        </attribute>
    </item>
 
Hey,

I already have this lines in mouvements.xml :
XML:
    <movevent event="StepIn" itemid="1487" function="onStepInField" />
    <movevent event="AddItem" itemid="1487" function="onAddField" />
 
I have the same problem in my 8.0 TFS 1.5. Did anyone solve this?
I had the same problem like you. Just change:

XML:
    <item id="1487" article="a" name="fire field">
        <attribute key="type" value="magicfield" />
        <attribute key="decayTo" value="1488" />
        <attribute key="duration" value="200" />
        <attribute key="field" value="fire">
            <attribute key="damage" value="20" />
            <attribute key="ticks" value="10000" />
            <attribute key="count" value="8" />
            <attribute key="damage" value="10" />
        </attribute>
    </item>

to:

XML:
    <item id="1487" article="a" name="fire field">
        <attribute key="type" value="magicfield" />
        <attribute key="decayTo" value="1488" />
        <attribute key="duration" value="200" />
        <attribute key="field" value="fire">
            <attribute key="initdamage" value="20" />
            <attribute key="ticks" value="10000" />
            <attribute key="count" value="8" />
            <attribute key="damage" value="10" />
        </attribute>
    </item>

and make it with the others magic fields.
But after that I have noticed that when you are burning and step in on the fire once again, you get only 10 damage points. Somebody know how to?
 
Back
Top