View Single Post
  #97  
Old 10-27-2008, 04:48 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

My sample tasks 1 to 11, along with accompanying Perl quests and notes on the sample tasks are linked in this thread:

http://eqemulator.net/forums/showthread.php?t=26302

If you source the SQL from that thread, it will drop and recreate all the task related tables, and you will then need to execute the following SQL, as that thread predates these changes:

Code:
ALTER TABLE `tasks` DROP `stepped` ;
ALTER TABLE `tasks` ADD `minlevel` TINYINT UNSIGNED NOT NULL DEFAULT '0',
ADD `maxlevel` TINYINT UNSIGNED NOT NULL DEFAULT '0';
ALTER TABLE `tasks` ADD `repeatable` TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '1';

To 'reset' the task system, if you should ever want to:

Code:
truncate tasks;
truncate activities;
truncate character_tasks;
truncate character_activities;
truncate character_enabledtasks;
truncate completed_tasks;
truncate goallists;
truncate proximities;
truncate tasksets;
The default rule values are fine, no need to change them in the database.
Reply With Quote