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

General::News EQemu news posts.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #17  
Old 12-04-2005, 03:38 PM
TheMeow
Fire Beetle
 
Join Date: Dec 2005
Posts: 5
Default

Got it to compile with these changes:

rdtsc.cpp:

//untested!
unsigned long high, low;
__asm {
rdtsc
mov high, edx
mov low, eax
}
res = ((sint64)high)<<32 | low;
TO
//untested!
unsigned long tshigh, tslow;
__asm {
rdtsc
mov tshigh, edx
mov tslow, eax
}
res = ((sint64)tshigh)<<32 | tslow;

AND

usleep(SLEEP_TIME * 1000); //ms * 1000
TO
Sleep(SLEEP_TIME * 1000); //ms * 1000 // Windows version of usleep()

Also need to add the following files to both World and Zone:

EQChatPacket.h
EQLoginPacket.h
EQMailPacket.h
EQWorldPacket.h
EQZonePacket.h
EQChatPacket.cpp
EQLoginPacket.cpp
EQMailPacket.cpp
EQWorldPacket.cpp
EQZonePacket.cpp

Hope this helps
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 On

Forum Jump

   

All times are GMT -4. The time now is 08:17 AM.


 

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