01-03-2008, 03:55 PM
This is either a huge job or a little one, I've played around with packets and things for a couple of hours and no luck >_>
Any of you guys?
Any of you guys?
Targeted NPC Dies, set everyone on the maps target to 0
|
01-03-2008, 03:55 PM
This is either a huge job or a little one, I've played around with packets and things for a couple of hours and no luck >_>
Any of you guys?
01-03-2008, 05:40 PM
Well this is the code the resets the target after killing an NPC:
Code: ' Check if target is npc that died and if so set target to 0 Maybe you forgot to add this since you did modify it: Code: If Player(Attacker).Target = MapNpcNum Then Just a thought though.
01-03-2008, 07:42 PM
Ramsey Wrote:Well this is the code the resets the target after killing an NPC: This is all server side, the client knows nothing while this is happening. Underneath Player(Attacker).TargetType = 0 a packet is called that tells the attacker his Target is 0 and his TargetType = 0, this allows the client to know when it has something targeted, so it knows when to blt a target onto it. The issue is, this is only sent to the attacker, so if someone else has that npc targeted their client goes skitz. Funny how it only happens outside of the IDE though >.>
02-03-2008, 11:59 AM
Sorted, thanks Dugor!
02-03-2008, 01:16 PM
Glad I could help out.
|
« Next Oldest | Next Newest »
|