PDA

View Full Version : [00872][#R181] Invisible projectiles



eNTi
28-04-13, 20:53
i'm hunting a lot of fire mobs and there are a lot of issues, but this one is just a killer. i think it has something to do with line of sight (los) and/or distance. my guess is, that if a mobs bounding box center is not able to draw a clear los to your own bounding boxes center, the client doesn't receive the packet from the server, that tells him to actually draw the projectiles. i think (although i'm not sure about that) it also omits the attack animation altogether. what happens next is even more speculation, since i have no idea of the protocols in place and what actually happens on the server and what happens on the client. i guess the client constantly calculates los to the mob while the server keeps track of the projectile during its life time. if at any stage during the projectile's life time the player is in los with the mob the projectile will hit regardless of being drawn in the first place.