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 06-10-2009, 06:54 PM
kimura0715
Fire Beetle
 
Join Date: Mar 2009
Location: Virginia
Posts: 27
Default

im a noob with quests...i dont see a player.pl in the quest folders...

also i cant this to work..do you see any mistakes with it.......


#The_Masochist

sub EVENT_SPAWN {
quest::settimer("repeat", 60); // First trigger after 60 seconds, and every 60 seconds after
}

sub EVENT_TIMER {
if ($timer eq "repeat") {
quest::shout("I need pain!!! Please come kick my ass!! It will make you feel good and make me feel wonderful!!");
}
}

Thanks in advance...
Reply With Quote
  #2  
Old 06-10-2009, 07:03 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

The player.pl will be in the zone. Like go to quests/poknowledge/player.pl If there isn't a file called player, then just go into notepad and make your own and name it player.pl. I don't see what's wrong with that quest
Reply With Quote
  #3  
Old 06-10-2009, 08:24 PM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

Quote:
Originally Posted by kimura0715 View Post
im a noob with quests...i dont see a player.pl in the quest folders...

also i cant this to work..do you see any mistakes with it.......


#The_Masochist

sub EVENT_SPAWN {
quest::settimer("repeat", 60); // First trigger after 60 seconds, and every 60 seconds after
}

sub EVENT_TIMER {
if ($timer eq "repeat") {
quest::shout("I need pain!!! Please come kick my ass!! It will make you feel good and make me feel wonderful!!");
}
}

Thanks in advance...

Are you sure that "//" is a valid coment-out character?
try using # instead. Here is a small overhaul of the script:

Code:
sub EVENT_SPAWN 
{
	quest::settimer("repeat", 60);  # First trigger after 60 seconds, and every 60 seconds after
}

sub EVENT_TIMER 
{
	if ($timer eq "repeat") 
             {
	quest::stoptimer("repeat");
	quest::shout("I need pain!!! Please come kick my ass!! It will make you feel good and make me feel wonderful!!");
	quest::settimer("repeat", 60); 
	}
}
Reply With Quote
  #4  
Old 06-10-2009, 11:11 PM
kimura0715
Fire Beetle
 
Join Date: Mar 2009
Location: Virginia
Posts: 27
Default

thanks CS, i will try that when i get home...
Reply With Quote
  #5  
Old 06-11-2009, 06:04 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

Timers automatically repeat. So if you want it to fire every 60 seconds, you don't have to stop and then start the timer again.
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 04:18 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