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

Problem with rings? After x time they stop working

Status
Not open for further replies.

bury

Active Member
Joined
Jul 27, 2008
Messages
421
Solutions
7
Reaction score
25
My TFS: 0.4
Client: 8.6

Hello, a player reported me a problem with their energy rings. After like 2h of botting with elfbot and using energy rings, they stop working and grim reapers killed him.


Once the problem happens, when you equip the ring the time of use stops, it doesnt shine and it doesn't work. If you equip another ring it doenst work too. In other words, it doesn't change the DeEquipId id to EquipId. The problem gets fixed by relogging. The script the user is using with elfbot:

Code:
[TargetingMonsters]
Name: Grim Reaper
Count: 2+
LootMonster: no
PlayAlarm: no

Setting: 1
Hpmin: 100
Hpmax: 0
MonsterAttacks: Don't avoid
Danger: 0
Stance: No Movement
ActionAttack: Attack
ActionSpell: Sd Rune
AttackMode: No change
Ring: Energy ring

Name: Grim Reaper
Count: 1
LootMonster: no
PlayAlarm: no

Setting: 1
Hpmin: 100
Hpmax: 0
MonsterAttacks: Don't avoid
Danger: 0
Stance: No Movement
ActionAttack: Attack
ActionSpell: Sd Rune
AttackMode: Stand/Defensive
Ring: No ring

Name: Grim Reaper
Count: 3+
LootMonster: no
PlayAlarm: no

Setting: 1
Hpmin: 100
Hpmax: 0
MonsterAttacks: Avoid beam
Danger: 2
Stance: No Movement
ActionAttack: Attack
ActionSpell: Sd Rune
AttackMode: No change
Ring: Energy ring

[TargetSelection]
ListOrder: 0
Health: 80
Proximity: 0
Danger: 0
Random: 0
Stick: 0
TargetReachable: yes
TargetShootable: yes

[StanceOptions]
RangeDistance: 2
AttackFrequency: 2000
IgnoreMonsters: 0
SyncSpell: yes

For example, my energy ring stuff:

items.xml

Code:
    <item id="2167" article="an" name="energy ring">
        <attribute key="weight" value="80" />
        <attribute key="slotType" value="ring" />
        <attribute key="transformEquipTo" value="2204" />
        <attribute key="stopduration" value="1" />
        <attribute key="showduration" value="1" />
    </item>


<item id="2204" article="an" name="energy ring">
        <attribute key="weight" value="80" />
        <attribute key="slotType" value="ring" />
        <attribute key="decayTo" value="0" />
        <attribute key="transformDeEquipTo" value="2167" />
        <attribute key="duration" value="1200" />
        <attribute key="showduration" value="1" />
        <attribute key="manashield" value="1" />
    </item>

movements.lua

Code:
    <movevent type="Equip" itemid="2167" slot="ring" event="function" value="onEquipItem"/>

    <movevent type="Equip" itemid="2204" slot="ring" event="function" value="onEquipItem"/>
    <movevent type="DeEquip" itemid="2204" slot="ring" event="function" value="onDeEquipItem"/>

It always happens between 1h30' - 2h , more or less.

Thanks.
 
Last edited:
Hi @bury , I don't know anything about elfbot, but I'll do my best to try to help you with this.

Any error on console?
Can you verify if this happens without using elfbot too?
 
Hi @bury , I don't know anything about elfbot, but I'll do my best to try to help you with this.

Any error on console?
Can you verify if this happens without using elfbot too?

Hello, I'll try but need to hunt like 2h without bot :P always using energy ring.

No errors on console.
 
Well, try to do it so we can confirm it's not an elfbot related issue.

Tried it for some minutes/1 hour+ and it doesnt show any problem so must be the elfbot script. It must be that spamming the rings finish in a strange bug after some minutes. If I feel something strange I'll update here. Thanks!!! :D
 
Well, then you should tell your players about this issue if they use elfbot ;)
 
Closing this since it only seems to be bot related, if it's server or datapack related you can PM me or report the first post to get it re-opened.
 
Status
Not open for further replies.
Back
Top