Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Completed

Quests::Completed This is where Completed quests are.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-09-2009, 07:50 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

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.
Reply With Quote
  #2  
Old 06-15-2009, 09:55 PM
caylah023
Sarnak
 
Join Date: May 2008
Location: oregon
Posts: 41
Default

would love to use tasks but as ive barely as ive just barely got perl down...tasks are making me kinda scurred.
Reply With Quote
  #3  
Old 06-15-2009, 10:02 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

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.
Reply With Quote
  #4  
Old 06-16-2009, 05:46 AM
Domel
Fire Beetle
 
Join Date: Oct 2008
Location: Washington
Posts: 23
Default

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
cls
REM Change these variables to suit your setup

REM the name of your database
set db=peq

REM the ip of your MySQL server, leave as is if local
REM -h prefix is needed if remote
set ip=-h127.0.0.1

REM Your database password, leave blank to enter manually
set pass=******

REM the folder to backup to (created in the current folder), set to . to not create a folder
set backupdir=backup
REM the name of the task backup file to create
set backupfile=taskbackup.sql

echo **************************************
echo ***        Backing up Tasks        ***
echo **************************************
if backupdir==. goto :end
dir .\ /a:d | find /i "%backupdir%" > nul
if errorlevel 1 goto notfound
goto :end
:notfound
md %backupdir%
:end

echo *** Dumping Activities...          ***
mysqldump -u root -p%pass% %ip% "--where=taskid>'100'" -x -t %db% activities >> %backupdir%\%backupfile%
echo *** Dumping Goal Lists...          ***
mysqldump -u root -p%pass% %ip% "--where=listid>'100'" -x -t %db% goallists >> %backupdir%\%backupfile%
echo *** Dumping Proximities...         ***
mysqldump -u root -p%pass% %ip% "--where=exploreid>'100'" -x -t %db% proximities >> %backupdir%\%backupfile%
echo *** Dumping Tasks...               ***
mysqldump -u root -p%pass% %ip% "--where=id>'100'" -x -t %db% tasks >> %backupdir%\%backupfile%
echo *** Dumping Task Sets...           ***
mysqldump -u root -p%pass% %ip% "--where=taskid>'100'" -x -t %db% tasksets >> %backupdir%\%backupfile%
echo ***          Done dumping!         ***
echo **************************************
echo To re-source the tasks source '%backupdir%\%backupfile%'
pause
The next time I do tasks, I'll try out KLS's program, it looks like it'll help alot
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:17 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3