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

General::News EQemu news posts.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-08-2005, 08:52 AM
wize_one
Dragon
 
Join Date: Jan 2004
Location: LasShithole, NV
Posts: 520
Default

Quote:
Originally Posted by Trumpcard
EQEmu just keeps on rolling along !

I can't even remember anymore what the last version I worked on was...

trump that would be 0.6.4
__________________
Perfect quote from another site: it's immature pricks who refuse to read the numerous stickies in every forum pointing out what to do and what not to do that get flamed. Grow up and learn to do your fucking homework before opening your cake hole, junior. EQEmu doesn't like you anymore, and that's why you're getting errors. So go away.
__________________
Reply With Quote
  #2  
Old 11-08-2005, 03:43 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

thanks image, I made the changes but havent tried it... the sleep is only used in the calibration loop in an attempt to be able to convert the ticks of rdtsc into a time figure... it tends to be wrong unless you calibrate it for over a second at process start time (annoying), but is better than nothing... its still accurate relative to the other rdtsc readings.
Reply With Quote
  #3  
Old 11-08-2005, 07:06 PM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,290
Default

I compiled it had no problems but sleep is bad because it physically freezes the program, so chances are if we had like 30 people in the zone and they were all interacting with merchants, its gonna be freezing up the zone when they buy/sell whatever. We have no other ways around this?
__________________
www.eq2emu.com
EQ2Emu Developer
Former EQEMu Developer / GuildWars / Zek Seasons Servers
Member of the "I hate devn00b" club.
Reply With Quote
  #4  
Old 11-09-2005, 07:41 AM
stefann
Sarnak
 
Join Date: Jul 2005
Posts: 39
Default

Quote:
Originally Posted by image
I compiled it had no problems but sleep is bad because it physically freezes the program, so chances are if we had like 30 people in the zone and they were all interacting with merchants, its gonna be freezing up the zone when they buy/sell whatever. We have no other ways around this?
Using a FOR loop and having it add to X 10 million times??? :lol:, Why do we need to use sleep anyways, sorry havent looked at the source and have no clue what part of the code this is in, the main loo???
__________________
They are watching, BEWARE!
Reply With Quote
  #5  
Old 11-09-2005, 10:38 AM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,290
Default

rdtsc.cpp some time elapsing code or something :P
__________________
www.eq2emu.com
EQ2Emu Developer
Former EQEMu Developer / GuildWars / Zek Seasons Servers
Member of the "I hate devn00b" club.
Reply With Quote
  #6  
Old 11-09-2005, 02:41 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

like I said, that code is only used in calibration, used once at process startup if at all... and it sleeps a very small ammount right now.
Reply With Quote
  #7  
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
  #8  
Old 12-04-2005, 06:12 PM
TheMeow
Fire Beetle
 
Join Date: Dec 2005
Posts: 5
Default

By the way, is perl working in these sources?

EMBPERL and EMBPERL_PLUGIN and still no quests =)
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 On

Forum Jump

   

All times are GMT -4. The time now is 04:19 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