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 02-16-2013, 11:19 AM
Dabloon
Sarnak
 
Join Date: Oct 2007
Posts: 78
Default

I was trying to create a quest that only players at level cap could do. The issue is i know how to check a players level but i dont know how to set a level requirement on the quest. I looked through the lexicon and didnt find anything that mentioned setting a level requirement. Im new to perl so perhaps i am missing something but i am not sure what. If anyone could explain a bit it would be greatly appreciated.
Reply With Quote
  #2  
Old 02-16-2013, 11:23 AM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

Code:
if ($ulevel >= ##) {
Reply With Quote
  #3  
Old 02-16-2013, 11:33 AM
Dabloon
Sarnak
 
Join Date: Oct 2007
Posts: 78
Default

where the ## is would that be the level you wish to require?
Reply With Quote
  #4  
Old 02-16-2013, 11:40 AM
ghanja's Avatar
ghanja
Dragon
 
Join Date: Aug 2012
Location: Hershey, PA
Posts: 499
Default

Quote:
Originally Posted by Dabloon View Post
where the ## is would that be the level you wish to require?
Yes. My suggestions are as follows:

1. Use the existing quests (Perl scripts) as templates to both learn from and start basic scripts of your own.

2. Read up on some Perl material (c0ncrete just recently made a post with an excellent site referenced with extremely useful Perl books in PDF -- I'd link though I'm not on the machine I bookmarked it on at the moment).
Reply With Quote
  #5  
Old 02-16-2013, 12:28 PM
Dabloon
Sarnak
 
Join Date: Oct 2007
Posts: 78
Default

Thanks much for the help. If you find the links please post them that would be greatly appreciated because im always looking to learn something new
Reply With Quote
  #6  
Old 02-16-2013, 12:46 PM
c0ncrete's Avatar
c0ncrete
Dragon
 
Join Date: Dec 2009
Posts: 719
Default

http://www.perl.org/books/library.html
__________________
I muck about @ The Forge.
say(rand 99>49?'try '.('0x'.join '',map{unpack 'H*',chr rand 256}1..2):'incoherent nonsense')while our $Noport=1;
Reply With Quote
  #7  
Old 02-16-2013, 04:03 PM
Dabloon
Sarnak
 
Join Date: Oct 2007
Posts: 78
Default

Thank you c0ncrete for the link. Its much appreciated
Reply With Quote
  #8  
Old 04-02-2018, 01:01 PM
Iadas
Fire Beetle
 
Join Date: May 2005
Posts: 9
Default

I dont know if this is the most updated version, but I just found this.

http://stash.buttwrenching.com/EQEmuQuestLexicon.pdf
Reply With Quote
  #9  
Old 04-04-2018, 03:16 PM
Shin Noir's Avatar
Shin Noir
Legendary Member
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 502
Default

necro posting. last update on this was 2013, sir. Most updated is on wiki, but with github it's been laggy lately: https://github.com/EQEmu/Server/wiki/Perl-API

A good alternative to above is http://wiki.eqemulator.org/p?Ultimat...rence&frm=Main
__________________

~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 06:02 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