Page 1 of 1
helorp bug?
Posted: 02 Oct 2013, 04:03
by Villain
If a player casts helorp and another player tries to heal that player (left click them) immediately following the spell's cast, a window pops up titled "NPC" with content "?". Not sure if this is affected by other spells because Depredador couldn't type the other spells correctly to help test

Re: helorp bug?
Posted: 02 Oct 2013, 09:32
by 4144
Villain wrote:If a player casts helorp and another player tries to heal that player (left click them) immediately following the spell's cast, a window pops up titled "NPC" with content "?". Not sure if this is affected by other spells because Depredador couldn't type the other spells correctly to help test

this probably mean who wrote magic used wrong npc id. Some technical npc can be hidden for client.
Re: helorp bug?
Posted: 02 Oct 2013, 16:37
by o11c
The ? npcs (necessary for effects) long predate the ability of the client to display an NPC without being able to target it.
What's the ID that the client half-ignores? Currently the server is sending INVISIBLE_NPC, aka 127.
Re: helorp bug?
Posted: 02 Oct 2013, 17:24
by 4144
o11c wrote:The ? npcs (necessary for effects) long predate the ability of the client to display an NPC without being able to target it.
What's the ID that the client half-ignores? Currently the server is sending INVISIBLE_NPC, aka 127.
client ignore id what configured to ignore in npcs.xml and as i know all invisible npc had this id alredy. but this was before merge with new magic
Part from npcs.xml:
Code: Select all
<npc id="127" targetSelection="false">
Re: helorp bug?
Posted: 02 Oct 2013, 17:34
by o11c
Well, I just double-checked the code, and it only ever sends it with ID 127.
The new magic doesn't actually use anything new anything - the fake NPC is generated by server code, not scripts.
So most likely either a client bug, or it's an old enough client that it doesn't support it.