SVN Revision 3350 - DataQuest search fix

View and discuss the latests SVN commits, to ensure the best efficiency in our work.

Moderators: Support Team, Developer Team

SVN Revision 3350 - DataQuest search fix

Postby Tolakram » Mon Sep 01, 2014 3:21 am

You can now specify a drop chance for itemtemplates that are to be dropped after a search.

Docs from the DataQuest.cs comments:

Search
SearchFinish - Defines a complete quest search area and any associated messages.
Format: SEARCH;Step #;Popup Text;Region ID;X;Y;RADIUS;TIME
TIME = amount of time search takes, in seconds
Ex: SEARCH;2;Search here for the ring;12;5000;77665;500;20
The Text entry can be blank for no popup display. Ex: SEARCH;2;;12;5000;77665;500;20
Multiple search entries can also be created:
SEARCH;2;Search for ring here;12;5000;77665;500;20|SEARCH;3;Search for necklace here;12;8000;74665;500;20

You only need to make entries for each search area, not for every step. Search areas must start with SEARCH
For Search steps, if Searching succeeds the Step is advanced as normal, using StepitemTemplate to give any item to the player.

You can make it so searching does not always succeed by adding a chance to the StepitemTemplate as described below.
SearchFinish uses FinalRewardsItemTemplate to give items to a player and finish the quest.

SearchStart - Similar to above but removes Required Step and adds an item template to give to player on startup
ex: SEARCHSTART;Some_Item_Template;You see some disturbed soil, you might want to search here.;12;5000;77665;500;20

You must assign all SearchStart quests to a mob or object in order for the quest to load and allow refreshes. Any mob or object
will work, and the mob or object will not display any indications that it holds one of these quests.


StepItemTemplates - Any items that need to be given to the player for a step.

Every step can give an item to a player. All steps give an item at the completion of the step except Delivery and DeliveryFinish. If StepItemTemplates are defined for a Delivery step then the item is given at the beginning of the step and accepted by a target to end the step.

For Kill and Search steps, StepItemTemplates can include a drop chance behind the template name.
Ex: |some_template_name;50|

If the item does not drop then the step is not advanced.

If no items are given to a player at any of the steps then this can be null, otherwise it must have values for each step.
Empty values || are ok.
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 9189
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Return to “%s” DOL SVN Commits

Who is online

Users browsing this forum: No registered users and 1 guest