[Help] Unique last kill recognized

01/08/2017 17:01 vietnguyen09#1
I plan to open an event kill unique, so as normal which player who make the UNIQUE most HP percentage than that player will recognize as UNIQUE killer (his name will notice).

But now there is any way to make that which player is the people who are the last people hit on UNIQUE can be recognized as UNIQUE killer?

Thanks for help
01/08/2017 20:22 ​Exo#2
Since you're asking this question the easy answer is no. But it's possible. Just figure it out yourself.
01/09/2017 04:52 vietnguyen09#3
Quote:
Originally Posted by ​Exo View Post
Since you're asking this question the easy answer is no. But it's possible. Just figure it out yourself.
Can you point me some clue like where should I start, what table should I looking for and which store produce should I edit? Thanks.
01/09/2017 21:37 thebigbody#4
i think in silkroad it's not based on the last hit kill but the most caused damage to the unique so i guess your question is already answered by sro :)
01/10/2017 01:19 B1Q#5
Quote:
Originally Posted by thebigbody View Post
i think in silkroad it's not based on the last hit kill but the most caused damage to the unique so i guess your question is already answered by sro :)
genius.

Quote:
Originally Posted by vietnguyen09 View Post
I plan to open an event kill unique, so as normal which player who make the UNIQUE most HP percentage than that player will recognize as UNIQUE killer (his name will notice).

But now there is any way to make that which player is the people who are the last people hit on UNIQUE can be recognized as UNIQUE killer?

Thanks for help
i would parse the attack packet & check if the UniqueID is the same as my unique's

example:

formatt this yourself ROFL was too lazy to open vs (angel)
hope this helps.

NOTE: this isn't a tested code :3 + you could use this in a filter or a bot
filter is the best way to do it because you will have to send the uniq killed notice (himan has killed me in btnjan)

THIS IS FOR THE NORMAL ATTACKS ONLY THE SKILL PACKET IS B071 OR SMTH i'll modify this code later :3 but you could check if the atktype variable is not a base skill (in _RefSkill) and return