Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

Reply
 
Thread Tools Display Modes
  #1  
Old 08-06-2017, 09:04 PM
javewow's Avatar
javewow
Sarnak
 
Join Date: Aug 2012
Location: work
Posts: 74
Default wspapers issued multiple bulletins each day -Server_announcement.pl

spapers issued multiple bulletins each day

Quote:
INSERT INTO `npc_types` () VALUES

(344043, 'Server_announcement', '', 75, 12, 1, 0, 9420000, 0, 0, 1, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, -1, '', NULL, 10, 0, 2, 0, 0, 0, 0, 0, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'IT10', 28, 28, 7, 1.325, 0, 0, 0, 0, 0, 0, 20, 0, 0, 1, 0, 0, 0, 0, 30, 0, 75, 75, 75, 75, 80, 75, 75, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 100, 0, 0, 0, 0, 0, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);


INSERT INTO `spawnentry` (`spawngroupID`, `npcID`, `chance`) VALUES (275158, 344043, 100);

INSERT INTO `spawngroup` (`id`, `name`, `spawn_limit`, `dist`, `max_x`, `min_x`, `max_y`, `min_y`, `delay`, `mindelay`, `despawn`, `despawn_timer`) VALUES (275158, 'guildlobbyServer_announcement00014711716', 0, 0, 0, 0, 0, 0, 45000, 15000, 0, 100);

INSERT INTO `spawn2` (`id`, `spawngroupID`, `zone`, `version`, `x`, `y`, `z`, `heading`, `respawntime`, `variance`, `pathgrid`, `_condition`, `cond_value`, `enabled`, `animation`) VALUES (250517, 275158, 'guildlobby', 0, -190, 351, 0.190501, 63.875, 72000, 0, 0, 0, 1, 1, 0);


Create a new NPC C:\EQEmuServer\quests\guildlobby\Server_announceme nt.pl

Quote:
sub EVENT_SPAWN {
quest::settimer("ShadyDepop",180); #Depop after 3 minutes
quest::shout("Server restart countdown 3 minutes!.");
quest::settimer("resta",30);
}

sub EVENT_ITEM {
if ($timer eq "resta")
quest::shout("Server restart countdown 3 minutes!");
quest::settimer("restb",24);
}
if ($timer eq "restb")
quest::shout("Server restart countdown 3 minutes!");
quest::settimer("restc",24);
}
if ($timer eq "restc")
quest::shout("Server restart countdown 3 minutes!");
quest::settimer("restD",24);
}


sub EVENT_TIMER {
quest::stoptimer("ShadyDepop");
quest::depop();

}

}

INSERT INTO `spawn2` () VALUES (。。。。。。。。。。。。5, 72000, 0, 0, 0, 1, 1, 0);

respawntime=72000

PL = quest::depop();
__________________
To create the most beautiful server for "!!~[BP] PLARYBOT EQ~!" Welcome to our server
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:24 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3