EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   zone_points - heading (https://www.eqemulator.org/forums/showthread.php?t=20632)

Droogan 05-17-2006 05:18 PM

zone_points - heading
 
Is the heading portion of the zone_points table not working? I was trying to re wire a zone line in kunark to take you to a different zone, which ever way I set the heading it loads me through facing the same way. The x y z coords work fine though.

Possible that the client is hard coded on heading?

fathernitwit 05-18-2006 01:31 AM

heading is one of those things which is eternally screwed up, so it dosent really suprise me that its broken. The problem really comes from the fact that in many places, heading is stored in different fiends of varying length, and nobody has taken the time to get everything consistent.

This could be something simple, but I suspect it is part of this larger problem.

Cripp 05-18-2006 04:06 AM

i got it working on my server, requires a little code addition :) let me know if u wanna see it.

TheClaus 05-18-2006 07:41 AM

Rather than asking people to talk to you about it why don't you post the changes. Father said that it is broke but if you got a fix and it works wouldn't it be worth while to post it so that it can make it into all the versions.

Just a thought.

Cripp 05-18-2006 11:57 AM

sorry, didnt have enough time when i replied first time then forgot about it , my bad.
here it is...


change
Code:

        //set the player's coordinates in the new zone so they have them
        //when they zone into it
        x_pos = dest_x; //these coordinates will now be saved when ~client is called
        y_pos = dest_y;
        z_pos = dest_z;
       
        m_pp.heading = dest_h;
        m_pp.zone_id = zone_id;
       
        //Force a save so its waiting for them when they zone
       
        Save();

to...

Code:

        //set the player's coordinates in the new zone so they have them
        //when they zone into it
        x_pos = dest_x; //these coordinates will now be saved when ~client is called
        y_pos = dest_y;
        z_pos = dest_z;
        heading = dest_h;
        m_pp.heading = dest_h;
        m_pp.zone_id = zone_id;
       
        //Force a save so its waiting for them when they zone
        SendPosUpdate();
        Save();


very simple. This works on 6.6 havent fully tested on 7.0.

Rhodan 11-05-2006 03:26 AM

I've noticed this is still (once again?) an issue in 7.0-903. Ever get anywhere with it?


All times are GMT -4. The time now is 09:53 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.