The new hooks (OnAttack,OnHelp) are useful, but they could be very very useful if we can prevent that a player become gray by double click or a target harmful/helpful (by returning different values).
Can you add in the next core?
Question about repsys hooklist
This functionality already exists with these hooks...
Look at the 097 distro for an example. It uses the highlight color hook.
http://svn.sourceforge.net/viewvc/pol-d ... es/repSys/
You would control it when OnHelp, OnAttack or OnDamage get triggered, then when the client pulls up the HighLightColor you would read the info set by one of those.. the above link shows a fully scripted reputation system that matches how the core's works.
Look at the 097 distro for an example. It uses the highlight color hook.
http://svn.sourceforge.net/viewvc/pol-d ... es/repSys/
You would control it when OnHelp, OnAttack or OnDamage get triggered, then when the client pulls up the HighLightColor you would read the info set by one of those.. the above link shows a fully scripted reputation system that matches how the core's works.
ok the example was helpful, because i didn't read on changelog that onattack and onhelp hooks will check on a return value.Austin wrote:This functionality already exists with these hooks...
Look at the 097 distro for an example. It uses the highlight color hook.
http://svn.sourceforge.net/viewvc/pol-d ... es/repSys/
You would control it when OnHelp, OnAttack or OnDamage get triggered, then when the client pulls up the HighLightColor you would read the info set by one of those.. the above link shows a fully scripted reputation system that matches how the core's works.
thx for the info
Code: Select all
exported function NameColor(mobile, seen_by)
var color := 0;
if ( mobile.master )
return NameColor(mobile.master, seen_by);I'm sure, there are Shards having this problem in future
Shinigami, loving Pizza