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

General::News EQemu news posts.

Reply
 
Thread Tools Display Modes
  #1  
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
  #2  
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
  #3  
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
  #4  
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
  #5  
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
  #6  
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
  #7  
Old 12-04-2005, 10:26 PM
SiliconeClone
Sarnak
 
Join Date: Apr 2005
Posts: 42
Default

Quest were working for me in 6.3
__________________
Silicone Clone
Creator of Patch Creator v1.06
Reply With Quote
  #8  
Old 12-05-2005, 10:50 AM
TheMeow
Fire Beetle
 
Join Date: Dec 2005
Posts: 5
Default

After adding the compile options
EMBPERL
EMBPERL_PLUGIN
I got a compile error, something bout linking an extern embparser->execcommand. Turns out if I turn off EMBPERL_COMMANDS in features.h I dont get the error anymore... BUT even after compiling, quests didnt work.

What compiler are you using?
Reply With Quote
Reply

Thread Tools
Display Modes

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 03:14 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