helorp bug?

Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.


Forum rules

This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.

Its current use is for the continued development of the server and game it has always served: TMW Classic.

Post Reply
User avatar
Villain
Novice
Novice
Posts: 104
Joined: 24 Aug 2011, 15:59
Location: California

helorp bug?

Post 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 :alt-6:
RIP Frost, Big Crunch, Mistakes, mrgrey, and MrWho
4144
Knight
Knight
Posts: 965
Joined: 03 Aug 2009, 11:57

Re: helorp bug?

Post 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 :alt-6:
this probably mean who wrote magic used wrong npc id. Some technical npc can be hidden for client.
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: helorp bug?

Post 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.
Former programmer for the TMWA server.
4144
Knight
Knight
Posts: 965
Joined: 03 Aug 2009, 11:57

Re: helorp bug?

Post 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">
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: helorp bug?

Post 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.
Former programmer for the TMWA server.
Post Reply