Task/Quest Syntax help request
This is probably a simple fix but I have been all over the Wiki and forums and I am still missing what needs to be done here.
I keep Getting the below error when a task is enabled. I created the task through the EoC and it works fine, except for this request error: Code:
Unable to find NPC to send EVENT_TASKACCEPTD to. Report this bug. Code:
sub EVENT_TASKACCEPTED |
You're probably going to need to show the database entries for the task and activities.
|
Activities Table:
Code:
taskid activityid step activitytype text1 text2 text3 goalid goalmethod goalcount delivertonpc zoneid optional Code:
id duration title description reward rewardid cashreward xpreward rewardmethod startzone minlevel maxlevel repeatable |
What does it say in yellow just before this error? "Task Giver ID is"...
|
'Task Giver ID is 0' There must be some code or table I need to enter the npcID I guess but I cannot find where. Unless my thinking is way off?
Quest_Globals table? |
It gets the NPC ID from the npc_types table. So, yes it does need to be entered and the NPC ID cannot be 0. The normal format starts at the zone id * 1000. So in PoK, for example, the NPC IDs usually are 202xxx. The editor will help sort in that format.
|
This NPCID=24307 in NPC_Types table there are no npcs with 0. Do I need to define it in the .pl file somewhere?
|
Oh, using the plugin, you must specify the NPC ID.
EDIT: plugin::AssignTask("solo", 273, $npc->GetID()); |
Ah, Awesome! A million thanks for the help on this one!
Should probably update the wiki on the plugin use (http://wiki.eqemulator.org/p?Perl_Pl...rence&frm=Main) |
All times are GMT -4. The time now is 08:36 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.