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 06-30-2009, 12:26 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

The change over is done in Perl since spawn_events hasn't ever worked right.
Reply With Quote
  #2  
Old 10-29-2009, 04:33 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Quote:
Originally Posted by cavedude View Post
The change over is done in Perl since spawn_events hasn't ever worked right.
Cavedude, could you post detailed guide how to create day/night spawn alternation with perl, please?
Reply With Quote
  #3  
Old 10-29-2009, 10:00 PM
nightsta69
Hill Giant
 
Join Date: May 2005
Posts: 134
Default

just rummaging through the quest folder for kith, and found this in 20250.pl. looks likes its based off an NPC spawning

Code:
# kithicor night and day checker
#Angelox's reasoning :)

sub EVENT_SPAWN { 
quest::settimer("kithdaynight",10);
if ($zonetime < 800 || $zonetime > 1999) {
	quest::spawn_condition($zonesn, 2,0); #live are 2
	quest::spawn_condition($zonesn, 1,1); #undead are 1
}
else {
	quest::spawn_condition($zonesn,2,1); #live are 2
	quest::spawn_condition($zonesn,1,0); #undead are 1
}
 }

sub EVENT_TIMER {
if ($zonetime < 800 || $zonetime > 1999) {
	quest::spawn_condition($zonesn, 2,0); #live are 2
	quest::spawn_condition($zonesn, 1,1); #undead are 1
}
else {
	quest::spawn_condition($zonesn,2,1); #live are 2
	quest::spawn_condition($zonesn,1,0); #undead are 1
}
 }
__________________
Server Op of Bonds of Strength(custom-Legit)
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 Off

Forum Jump

   

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