Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 07-17-2014, 05:00 PM
Zaela_S
Hill Giant
 
Join Date: Jun 2012
Posts: 216
Default

Well I'm not 100% sure, but it looks like that is dependent on the player's heading. So it doesn't push in the right angle, unless the player is facing exactly the right direction (i.e., square centered on the thing pushing them.) It just sends them backwards from whichever way they are currently facing, I assume. Which isn't what you want at all, really.

You might be able to get that packet to do what you want by changing the "spu->heading" to be the inverse of the caster's heading (or this->CalculateHeadingToTarget(caster->GetX(), caster->GetY()) I should say), rather than the player's current heading. Or maybe play with the "spu->delta_heading" field? dunno what that's for... actually, nevermind, that would probably just spin the client around. You wouldn't be able to rely on that packet (at least not alone) for NPCs though since it doesn't actually change their serverside position.

(Vectors and trig are equivalent in this case I guess, but I hate trig even more ;p)
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:30 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3