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-06-2009, 12:15 AM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

and Since no trade is disabled on my server, I can see someone just chain hailing the mob for the reward for alts, so is there a check I can do so he doesn't respond if they have done the quest already?
Reply With Quote
  #2  
Old 02-06-2009, 12:40 AM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

I am not sure what you referign to.

If reward is given after 10 mobs have been killed - then "just hailing" the npc won't do you any good
Reply With Quote
  #3  
Old 02-06-2009, 12:57 AM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

Ok, this is basically what I want the quest to be like. An NPC gives you the quest to kill 20 guards and Carson McCabe. I want it to be that everytime you kill a guard it will give you 1 point of credit until you hit 20 credit, then you have to kill Carson McCabe to get the last credit. Once you have 21 then you can hail the original NPC for the reward. If that's not possible, tell me please.
Reply With Quote
  #4  
Old 02-06-2009, 01:00 AM
ChaosSlayer
Demi-God
 
Join Date: May 2007
Posts: 1,032
Default

very posible.
just like I said in the begining.
you need 1st global variable couting 20 kills
and 2nd global checking if you have killed Carson

when you go to quest npc he will check that 1st variable is atleast 20 and then 2nd variable is non 0 and give you a reward


now I call upon one of our quest experts to write all this out
Reply With Quote
  #5  
Old 02-06-2009, 01:03 AM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

Alright, thats probably a much better plan to have two variables instead of making some complex restricrions and what not. Thanks, I'm going to get to work on this tomorrow.
Reply With Quote
  #6  
Old 02-06-2009, 07:47 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,504
Default

Much easier to just write a task.
Reply With Quote
  #7  
Old 02-06-2009, 12:56 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Yeah, I'd use the task system for that. It has more of an initial learning curve than quests, but it has proven to be far more powerful. Once you get the hang of it, and use KLS' awesome editor you'll find it is easier than writing quests! In this case, using globals as a counter is just plain ugly. I hate the practice myself, and am often required to do so for lack of a better alternative. Since your server is custom you can take advantage of the task system, since you're not bound by what's Live Like.

Here is all the info you'll ever need, be sure to read everything: http://www.eqemulator.net/wiki/wikka...SystemOverview

Here is KLS' taskmaster editor: http://code.google.com/p/projecteqemu/downloads/list

Last edited by cavedude; 02-06-2009 at 09:01 PM..
Reply With Quote
Reply

Thread Tools
Display Modes

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 10:19 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 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3