Project 1999

Go Back   Project 1999 > Server Issues > Resolved Issues

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 08-24-2012, 04:03 PM
Nirgon Nirgon is offline
Banned


Join Date: Jun 2011
Location: Ruins of Old Paineel
Posts: 14,480
Default Slansin (Erudin Palace)

[You must be logged in to view images. Log in or Register.]

Both of these should not be up at the same time:

http://wiki.project1999.org/index.ph...t_Potion_Quest

And see Nilbog's comment on the issue here

Quote:
Originally Posted by nilbog [You must be logged in to view images. Log in or Register.]
Fixed, pending update.

This took a while..

-both slansins created with their appropriate factions and quest text
-they are spawnable via quest triggers with Toresian
-their quest turn-ins will yield the proper faction
-giving real slansin the potion will depop him
-giving the fake slansin the potion will not depop him
-killing the fake slansin will make the real slansin pop in the back room. he will then path to the counter as usual.
-there can be only 1 slansin!
There should only be 1 up at any given time.
  #2  
Old 08-26-2012, 05:55 PM
nilbog nilbog is offline
Project Manager

nilbog's Avatar

Join Date: Oct 2009
Posts: 14,594
Default

Fixed, pending update.

In case anyone is curious how quests work, here is how I made this one. If you're reading and can write perl at least as well as I can, then you can write eqemu quests :P


Controller handling initial spawns and signal from $real if killed by other means than potion turn-in.


#nilbog


sub EVENT_SPAWN
{

quest::settimer("slansin",5);
}

my $fake = 23001;
my $real = 1798;
my @slansins = ($fake,$real);

sub EVENT_TIMER
{
if ($timer eq "slansin")
{
$spawnchance = int(rand(100));
quest::stoptimer("slansin");
if ($spawnchance<20)
{
quest::spawn2($fake,0,0,575,683,-13,78);
}
elsif (($spawnchance>=20)&&($spawnchance<100))
{
quest::spawn2($real,0,0,575,683,-13,78);
}
}
}

sub EVENT_SIGNAL
{
foreach $slansin (@slansins)
{
if ($entity_list->GetMobByNpcTypeID($slansin))
{
return 1;
}
}
quest::settimer("slansin", 7200);
}

Pasting this screwed up the formatting; oh wells.
  #3  
Old 08-27-2012, 11:33 AM
Nirgon Nirgon is offline
Banned


Join Date: Jun 2011
Location: Ruins of Old Paineel
Posts: 14,480
Default

I did the epic quest lines on a server that lasted about 3 weeks just cuz.

The shaman spirit that spawns in Eruds crossing that leads you around is a fun one to do with the pathing tables and the spawn/respawn thing you mentioned above.

Do you have something where you can copy and paste from that supports [code] tags? We use that @ work for things like commonly used sql statements and scripts.
Last edited by Nirgon; 08-27-2012 at 01:47 PM..
Closed Thread


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 09:05 AM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.