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-29-2009, 06:05 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default spawn_conditions

What sets the spawn condition in Kithicor forest from night to day mobs ? I looked in spawn_events and that does not appear to be it. I am interested in changing some of my zones to different mobs during certain events. I also notice Kithicor appears to have three different sets of mobs {0,1,2}.
Reply With Quote
  #2  
Old 06-29-2009, 09:17 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Here are some related pages from the wiki that might help:


http://www.eqemulator.net/wiki/wikka...pawnconditions

http://www.eqemulator.net/wiki/wikka...emaspawnevents

http://www.eqemulator.net/wiki/wikka...DBSchemaspawn2
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 06-29-2009, 11:21 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Okay I played with the DB some tonight but I am still confused on one thing. Why is spawn_events only containing two entries and they are not for Kithicor, how do the mobs change from day / night ?
Reply With Quote
  #4  
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
  #5  
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
  #6  
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
  #7  
Old 10-29-2009, 11:36 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

ok so it sets spawn_condition based on time, but how this connected to the npcs in the DB? What and how they need to be set to correspond properly to day or night time?
Reply With Quote
  #8  
Old 10-30-2009, 12:33 AM
Shin Noir's Avatar
Shin Noir
Legendary Member
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 506
Default

it is inside spawn2
select id, spawngroupid, zone, _condition, cond_value from spawn2 where _condition> 0;

spawns get set to a _condition and if that _condition and value match up, it spawns accordingly.
__________________

~Shin Noir
DungeonEQ.com
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 03:01 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3