View Single Post
  #1  
Old 04-08-2012, 01:43 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Projectile Hit Detection

When a projectile is fired (using shoot) and hits a wall on the serverside it calls this function in the Control-NPC

HTML Code:
function onActionProjectile(x, y, shootparams) {
but then the bullet doesn't disappear from the client. It still carries on flying past, even though it's hit an object.

Check the screenshot- the bullet hit the tree (fire starts on impact of hitting the tree on the serverside) but the bullet is still flying past.
Attached Thumbnails
Click image for larger version

Name:	graal_1333885370.png
Views:	280
Size:	243.9 KB
ID:	54487  
__________________
Reply With Quote