View Single Post
  #12  
Old 05-01-2006, 05:44 PM
Polo Polo is offline
Classic Systems Admin
Join Date: Sep 2002
Location: Vancouver, Canada
Posts: 735
Polo is on a distinguished road
Send a message via AIM to Polo
Quote:
Originally Posted by jake13jake
Storm's damage system called the server twice to overcome lag. Once at the start of the swing and once at the end of the swing. From a scripting standpoint, however, the new one is much improved, and if Stefan will give us the event handlers we need, it would be much improved from an implementation standpoint as well.
No it didn't. It called it twice at the start of the swing, at slightly differing locations (one in the midst of the sword, one at the tip), which was somthing I added in to make the range of the swords more accurate, and at the time i was only supporting single ordinate points for hits rather than areas. The way I looked at it was that when you send the attack at the start of the swing, by the time the hit reaches the server/other player, it will 'visually' be at least halfway through the swing on you screen, which gives a nice behaviour.
__________________
Be good little players, or Master Storm will ban you!



Proof that the staff are crazy..
*Ghost Pirate: I'm a little teacup short and stubbe here is my raygun here is my butt
DragonX: Jumping jack rabbits Batman! Our eggo waffles have been stolen! To the batmobile Robin!
X-Mann (RC): I have a head ache
Reply With Quote