Bug Closed · Resolved

setname mechanic, Multi-line names bug

#4341 opened by Unknown 2 years ago

Unknownreported this bug

Summary

i'm having trouble with the setname mechanic. when i try to apply a multi-line name with \n to the mob with it it does not work. In the Display: mob option it works, when i update it with - setname{name=<caster.name>;delay=2} @self ~onDamaged it does not work Steps to reproduce

create a mob -> assing it setname skill with \n in the new name -> finish

Current behavior

Name of the mob is not updating because the mechanic is not working with \n

Intended correct behavior

Name of the mob should update

Server log file

https://paste.denizenscript.com/View/115458

Debug log snippet

https://paste.denizenscript.com/View/115459

Proposed fixes

i really don't know lol

mob template

https://paste.denizenscript.com/View/115461

Unknowncommented

HP still not updating with the method on newest Versions

Unknowncommented

you will need to change it to be setName{name="<caster.type.name>"} for it to work properly going forward

<caster.name> doesn't work anymore with setname because of a different fix, but it's basically getting stuck because after the first hit <caster.name> is literally <caster.name> and it just loops forever

Sign in to join the discussion.