jdoran
10-29-2013, 10:26 PM
While I'm thinking of it... Here's another question that came up recently.
Does anyone know of a way for the server to turn off client attack?
The usage case: The player is fighting NPC001 and at some point the
NPC gives up and will cooperate with the player. The fight stops and
the player interacts with the NPC.
I have this working except for that one detail. When the NPC's health reaches a certain level the NPC's special attacks are changed to never aggro nor flee, and he is set to be invulnerable. The hate list is cleared. At this point the NPC will stand there and beg for his life.
On the client you get messages about the NPC being invulnerable. Sure the player can turn off autoattack. But the encounter would look a lot better if the client would stop attacking.
Does anyone know of a way for the server to turn off client attack?
The usage case: The player is fighting NPC001 and at some point the
NPC gives up and will cooperate with the player. The fight stops and
the player interacts with the NPC.
I have this working except for that one detail. When the NPC's health reaches a certain level the NPC's special attacks are changed to never aggro nor flee, and he is set to be invulnerable. The hate list is cleared. At this point the NPC will stand there and beg for his life.
On the client you get messages about the NPC being invulnerable. Sure the player can turn off autoattack. But the encounter would look a lot better if the client would stop attacking.