Ty All
need help
Re: need help
Is this attackhookscript or attackhitscript? If latter, remember, that the core's attack system also checks for projectiles before the hitscripts are launched. Take a look at this: http://docs.polserver.com/pol097/attack.php.
Re: need help
Does the code after this eventually return 1 if its a mobile and the projectile is consumed? Because so far coming to the end of your code, you still don't return 1. If you don't eventually return 1, the attack hook AND the core are attacking which would be the doubling up problem.
Re: need help
Once again, if the attack hook consumes an arrow, it must run the hitscript itself and return 1. If the attack hook doesn't return 1, it will run the core combat system. What I'm thinking is your attack hook here is consuming the arrow, not running any repsys checks, and not running any hitscripts then never returning 1 meaning all it did was consume an arrow and hand it to the core which also consumes an arrow but runs the repsys and hitscript which is why its only being done once.
Re: need help
Why do you edit your posts nika when you've solved your problem? Now noone else could use this topic for help.
Re: need help
Yes the best thing to do is to leave your original posted problem as is and never edit it. Then you can list what the solution was to your problem. This way if someone else has a similar problem, they can get the solution immediately from this post instead of having to wait for us to go through the problem with them and come to the same conclusion days later.