Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2011, 12:19 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default Question on

I am trying to learn how to script but I find this irregular. I am trying to understand why this is random.

Code:
sub EVENT_SPAWN
{
quest::settimer("test", 5);
}

sub EVENT_TIMER
{
	if ($timer eq "test")
	{
	quest::shout($zonetime);
	}
}
Why would the NPC spit this out, at random times, I would think it would be every 5 seconds. Instead....

Test shouts '1551'
Test shouts '1556'
Test shouts '1601'
Test shouts '1611'
Test shouts '1616'
Test shouts '1621'
Test shouts '1631'
Test shouts '1637'
Test shouts '1641'
Test shouts '1651'

The only thing I will say, this is on a VM and I know that they have clock issues and it could be the VM adjusting every so often on it's time drift. Or maybe shouts are not consistent.
Reply With Quote
  #2  
Old 01-10-2011, 07:04 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

Remember that game time is faster than real time
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 05:59 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