Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-14-2013, 08:14 PM
jdoran
Hill Giant
 
Join Date: Jul 2012
Posts: 212
Default TaskGiver NPC

An odd question, I know.

When sending a task selector, the header contains the NPC-ID where the task originates. How is this used by the client?

The Lost Heirlooms tasks are good examples of quests that do not begin with an NPC.

(I must apologize for my quest database being out of date, but I'm in crunch mode on a project and do not want to update it just yet. So I don't know if this quest has been implemented yet)
Reply With Quote
  #2  
Old 03-14-2013, 09:22 PM
Zamthos
Discordant
 
Join Date: Jan 2013
Posts: 284
Default

Well, if you take a look at TutorialB* you can assign tasks on entering the zone, on an NPC, or assign specific quests based upon current QGlobals. I don't believe I helped, would you mind elaborating? Are you wanted the task selector or to assign tasks?

Edit*: TutorialB's player.pl has a task assigned upon enter zone then a qglobal is set so they can't get it again.
Reply With Quote
  #3  
Old 03-14-2013, 10:10 PM
jdoran
Hill Giant
 
Join Date: Jul 2012
Posts: 212
Default

Good call on TutorialB, thanks much.

quest::assigntask() doesn't seem to need an NPC-ID, so I'll see how that works. I'm still puzzled by why the client needs an NPC-ID, but that is a trivial matter.
Reply With Quote
  #4  
Old 03-14-2013, 10:32 PM
Zamthos
Discordant
 
Join Date: Jan 2013
Posts: 284
Default

Err, I'm not 100% sure on this, don't hold me to it, but it may be so that the database can determine which NPC you have to hail/turn items in to, since the handins and everything can be handled by the database, however they can be handled in Perl as well.
Reply With Quote
  #5  
Old 03-15-2013, 05:47 PM
jdoran
Hill Giant
 
Join Date: Jul 2012
Posts: 212
Default

Just a quick update to report what I've learned.

When you start tutorial-b you are assigned a couple of quests. These do not cause the task selector to come up -- a ninja task add.

If you want the task selector, there must be a mob associated. This is a problem if you want the task selector for a quest that does not involve a mob. Fortunately the client is a mob, and the player's id works.

I suppose the client can hand the ID back to the server later, but I'm still drawing a blank. I expect it will become clear as I start to work with these client-owned tasks.
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 01:21 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3