Tasks: Castlen Drewe
I was checking out the task system and threw these together from what info I could gather from Allah. I put my id numbers over 100 so they would be away from the other tasks in the db.
The Highpass one would'nt work for me on the SoF client, since it doesn't seem to want to load the old zone version, but it worked fine for me with Titanium. Pok_armor_tasks.sql (DB_Version 610) Code:
INSERT INTO `activities` VALUES (130,0,0,2,'Sand scarabs','','Kill five sand scarabs',117,1,5,0,34,0),(130,1,0,2,'Giant rattlesnakes','','Kill five giant rattlesnakes',118,1,5,0,34,0),(130,2,0,3,'Giant scarab egg sack','','Loot one giant scarab egg sack',13262,0,1,0,34,0),(130,3,0,3,'Spider venom sack','','Loot one spider venom sack',14018,0,1,0,34,0),(130,4,1,4,'Castlen Drewe','','Return to Castlen Drewe.',202294,0,1,0,202,0),(131,0,0,2,'Greater wisp','','Kill 10 Greater wisps',119,1,10,0,25,0),(131,1,1,5,'','','Explore the wizard\'s platform',101,0,1,0,25,0),(131,2,1,5,'','','Explore the zone to Lavastorm ',102,0,1,0,25,0),(131,3,2,4,'Castlen Drewe','','Speak with Castlen Drewe ',202294,0,1,0,202,0),(132,0,0,5,'','','Explore the chessboard',101,0,1,0,68,0),(132,1,0,2,'','','Kill 4 undead pawns',120,1,4,0,68,0),(132,2,1,5,'','','Explore the haunted tower',102,0,1,0,68,0),(132,3,1,2,'','','Kill 4 dwarf skeletons',121,1,4,0,68,0),(132,4,2,4,'','','Speak with Castlen Drewe',202294,0,1,0,202,0),(133,0,0,5,'','','Explore the Highpass Hold zone',101,0,1,0,20,0),(133,1,1,2,'','','Kill 3 invading orcs',122,1,3,0,5,0),(133,2,2,2,'','','Kill 3 invading gnolls',123,1,3,0,5,0),(133,3,3,4,'','','Talk to Castlen Drewe',202294,0,1,0,202,0),(134,0,0,5,'','','Explore the entrance to Blackburrow',101,0,1,0,4,0),(134,1,1,2,'','','Kill 10 gnoll guardsmen',124,1,10,0,17,0),(134,2,2,5,'','','Explore the zone to Everfrost',101,0,1,0,17,0),(134,3,3,4,'','','Speak with Castlen Drewe',202294,0,1,0,202,0),(135,0,0,5,'','','Discover the secret entrance to Permafrost',101,0,1,0,30,0),(135,1,1,3,'','','Loot 1 permafrost crystal ',22121,0,1,0,73,0),(135,2,1,2,'','','Kill 15 ice goblins',125,1,15,0,73,0),(135,3,2,1,'','','Deliver the permafrost crystals to Audri Deepfacet ',22121,0,1,202069,202,0),(136,0,0,5,'','','Explore the bridge to Prince Bragnar',101,0,1,0,101,0),(136,1,0,2,'','','Kill 5 Kobold Protectors',126,1,5,0,101,0),(136,2,0,3,'','','Loot 10 Kobold Hides',13424,0,10,0,101,0),(136,3,0,3,'','','Loot 10 Kobold Meat',22799,0,10,0,101,0),(136,4,1,4,'','','Speak with Castlen Drewe',202294,0,1,0,202,0); Castlen_Drewe.pl Code:
############# Code:
############# |
Outstanding work, thank you! I am currently adding task support to the PHP editor, and once that is done I'll get in this and a few other submitted tasks into PEQ.
|
would love to use tasks but as ive barely as ive just barely got perl down...tasks are making me kinda scurred.
|
Task actually are mostly DB driven, and there are two GUI tools to aid in writing them. One is a standalone program called Task Master from KLS found on EQEmu SVN: http://code.google.com/p/projecteqemu/downloads/list and the other is the PEQ PHP Editor: http://code.google.com/p/peqphpeditor/source/checkout
The little bit of Perl you need for tasks is usually limited to no more than a few lines. |
I love the task system, once I saw it was up and running I had to try to learn it. I basically used the wiki on it http://http://www.eqemulator.net/wik...goryTaskSystem and modified my database using MySQL Query Browser. I didn't realize that KLS made the Task Master program for it until after I finished these, but I am just now learning about database stuff so I'm glad I did it the way I did, I learned soo much. I know pretty much nothing about Perl, I grabbed code from other files for what I used.
I like to keep my database up to date with PEQ so I kept my ID numbers at 100+ and modified a bat file that Nosfentora made for botbackup to backup my tasks : Taskbackup.bat Code:
@echo off |
All times are GMT -4. The time now is 04:44 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.