Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-12-2005, 11:54 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

It is true that different platforms will get different sizeof() results for datatypes. I did notice in that structure you mentied above that some structure members are declared as a float instead of the cross platform accepted float32 type, for example. That could result in a different sizeof(structure) result.
Reply With Quote
  #2  
Old 09-12-2005, 12:01 PM
MikeyUSC
Fire Beetle
 
Join Date: Sep 2005
Posts: 10
Default Fix for This Problem

Code:
/*
** Player position update
**	Struct sent from client->server to update
**	player position on server
**
*/
struct PlayerPositionUpdateClient_Struct
{
/*0000*/ uint16	spawn_id;
/*0022*/ uint16	sequence;	//increments one each packet
/*0004*/ float y_pos;                 // y coord
/*0008*/ float delta_z;            // Change in z
/*0016*/ float delta_x;            // Change in x
/*0012*/ float delta_y;            // Change in y
/*0020*/ signed animation:10;     // animation
         signed delta_heading:10;  // change in heading
         signed padding0020:12;   // ***Placeholder (mostly 1)
/*0024*/ float x_pos;                 // x coord
/*0028*/ float z_pos;                 // z coord
/*0034*/ unsigned heading:12;     // Directional heading
         unsigned padding0004:4;  // ***Placeholder
/*0032*/ // COMMENT ME OUT!! uint8 unknown0006[2];  // ***Placeholder
/*0036*/
};
Simply comment out the last line, and all is well..

RadarBlipBox on the LoginServer is now running with this modification..try & see if anyone has any problems..
Reply With Quote
  #3  
Old 09-12-2005, 12:06 PM
jillmatik
Sarnak
 
Join Date: Sep 2005
Posts: 51
Default

I'll definitely try this server once I get home from work. If this does turn out to be the fix, would greatly appreciate a link for any updated files! I have no way to compile any updates :(

Thanks,
J
Reply With Quote
  #4  
Old 09-12-2005, 12:13 PM
tallerin
Hill Giant
 
Join Date: Mar 2005
Posts: 165
Default

wooohooo thats it i can move somewhere else and attack and it works on radarblipbox
Reply With Quote
  #5  
Old 09-12-2005, 12:15 PM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

ugh someone beat me to the fix!! hehe Good job!

I really wanted to find the fix for this one and it was staring me in the face the entire time. That line you comment out is the 1 to 2 byte difference in the structure size. I'll try it out and recompile now! woot!
Reply With Quote
  #6  
Old 09-12-2005, 12:22 PM
vRandom
Sarnak
 
Join Date: Jun 2005
Posts: 91
Default

cool, now who is willing to share a compiled binary

vRandom
Reply With Quote
  #7  
Old 09-12-2005, 12:29 PM
tallerin
Hill Giant
 
Join Date: Mar 2005
Posts: 165
Thumbs up

should have mention before NICE JOB had a burp in net connection but reconnected and is working great having no issues yet. well except for 2 skelies not liking me and killing me. But i was very much able to hit and do dmg again nice job.
Reply With Quote
  #8  
Old 09-12-2005, 12:36 PM
jillmatik
Sarnak
 
Join Date: Sep 2005
Posts: 51
Default

Quote:
Originally Posted by tallerin
should have mention before NICE JOB had a burp in net connection but reconnected and is working great having no issues yet. well except for 2 skelies not liking me and killing me. But i was very much able to hit and do dmg again nice job.
LOL!

Great work! Thanks again MikeyUSC
Reply With Quote
Reply


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 08:36 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