Clear monster from screen

11/04/2014 14:47 donn#1
Having an issue (visual glitch) with ProjectX 3.2. Maybe someone can help me.

After killing a monster, it is not completely removed from screen (name is still visible)

[Only registered and activated users can see links. Click Here To Register...]

This makes the client attack it if I click the name, and causes some problems on bigger spawns. The kill packet is send, monster HP is 0, entity is correctly removed from screen after 5 seconds (so I can dirty-patch this by removing it from screen earlier, but I don't want to do that).

Looks like I'm missing something, and if someone can give me a clue about it ...
11/04/2014 14:59 pro4never#2
Dead monsters should have both the Dead and Fade status effect so they are not clickable and slowly vanish from the screen in a puff of smoke.

0x820


Dead = 1U << 5,
Fade = 1U << 11,
11/04/2014 19:33 donn#3
That did the trick. I've added the effects before sending the kill packet and everything works like a charm.