Error with my Dataquest

For any problems with Dawn of Light website or game server, please direct questions and problems here.

Moderator: Support Team

Error with my Dataquest

Postby dargon » Fri Aug 29, 2014 2:22 pm

My quest works mostly just fine, BUT the big issue is on the final step (InteractFinish 5) the console throws up this error:

09:17:21,275 - [RegionTime2] - ERROR - DOL.GS.Quests.DataQuest - DataQuest [4] Notify Error for GameObject.InteractWith
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at DOL.GS.Quests.DataQuest.FinishQuest(GameObject obj, Boolean checkCustomStep) in c:\Users\Mannik\Desktop\Forsaken Worlds\GameServer\quests\QuestsMgr\DataQuest.cs:line 2713
at DOL.GS.Quests.DataQuest.OnPlayerInteract(GamePlayer player, GameObject obj) in c:\Users\Mannik\Desktop\Forsaken Worlds\GameServer\quests\QuestsMgr\DataQuest.cs:line 2240
at DOL.GS.Quests.DataQuest.Notify(DOLEvent e, Object sender, EventArgs args) in c:\Users\Mannik\Desktop\Forsaken Worlds\GameServer\quests\QuestsMgr\DataQuest.cs:line 1725



I have never had an issue from a dataquest before, and no matter what i've tried, it seems to not wanna let the quest finish because of this error you get stuck on the last step


here is a copy of my quest, hopfully im just missing a simple issue..
Code: Select all
INSERT INTO `dataquest` (`ID`, `Name`, `StartType`, `StartName`, `StartRegionID`, `AcceptText`, `Description`, `SourceName`, `SourceText`, `StepType`, `StepText`, `StepItemTemplates`, `AdvanceText`, `TargetName`, `TargetText`, `CollectItemTemplate`, `MaxCount`, `MinLevel`, `MaxLevel`, `RewardMoney`, `RewardXP`, `OptionalRewardItemTemplates`, `FinalRewardItemTemplates`, `FinishText`, `QuestDependency`, `ClassType`, `RewardCLXP`, `RewardRP`, `RewardBP`, `AllowedClasses`) VALUES (4, 'Selina\'s Quota', 0, 'Selina', 0, 'Quota', 'What are you doing here?! Well.. Never mind that, if you are dumb enough to venture to this hell, could you at least help me fill my [Quota]?', 'Selina;249|crawler;249|crawler;249|crawler;249|walker;249|walker;249|walker;249|Selina;249', 'Please go and kill what is on this list!|||||||', '0|0|0|0|0|0|5', 'Go seek and kill 3 crawlers!| Kill 2 more crawlers | Kill the last of the crawlers| Now kill 3 walkers| Kill 2 more walkers| Kill one last walker|Return to Selina', '', NULL, 'crawler;249|crawler;249|crawler;249|walker;249|walker;249|walker;249|Selina;249', '|||||||', '', 0, 45, 49, '0|0|0|0|0|250000', '100000000|100000000|100000000|100000000|100000000|100000000', NULL, NULL, 'You have done it! You have my gratitude, please accept this for your efforts.', NULL, NULL, NULL, '0|0|0|0|0|0|500', '0|0|0|0|0|0|25', NULL);
Mannik: Admin of Forsaken Worlds Reborn
dargon
DOL Follower
 
Posts: 451
Joined: Sun Apr 15, 2007 6:55 pm

Re: Error with my Dataquest

Postby Tolakram » Fri Aug 29, 2014 2:37 pm

Typically this happens when you don't have enough entries in one of the sections.

It died on this line:

rewardXP = m_rewardXPs[lastStep - 1];


'100000000|100000000|100000000|100000000|100000000|100000000'

So you must be short one set for the number of steps you have.
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: Error with my Dataquest

Postby dargon » Fri Aug 29, 2014 3:40 pm

Ah Thank you, ill count em out and get that fixed, your a life saver Tola!
Mannik: Admin of Forsaken Worlds Reborn
dargon
DOL Follower
 
Posts: 451
Joined: Sun Apr 15, 2007 6:55 pm


Return to “%s” Support

Who is online

Users browsing this forum: No registered users and 1 guest