Quote:
|
Quote:
|
What people can do to impliment item select is make a quest NPC that accepts the rewards and gives them a replacement item in a round robin manner. Make the items BoE and the quest NPC not accept the item once its NoDrop/not BoE.
For example, the inital reward is a Dagger, turn it in, you get a club, turn the club in, you get a sword, turn in the sword you get a spear, turn in the spear and you get the original dagger. Thats round robin. |
After Rock posted a task on PEQ, I noticed that Task Activity Type 2 (Kill) does not register when killing objects. In this case, it was the 'a vermin nest' (189443). Is there a method to cover this? Right now he has created a .pl script to update the task, but that seems excessive if we can have the task system take care of it the same as mobs.
|
I can see where the problem is. The code to update tasks on kill doesn't execute if the NPC class is 'LDON_TREASURE' (62) which the vermin nests are.
I'll fix and test it tomorrow. |
Hmm, I just figured this was an intended feature :) since killing objects is a little strange.
|
i get these on server/zone startup. I'm no longer getting the sql errors for 'minlevel' so I think I have all the sql correct.
these are in the error log files like eqemu_error_zone_0196.log Code:
[10.27. - 08:13:03] [TASKS]Activity for non-existent task (1, 0) while loading activities from database |
It looks like it could not read from the tasks table. Is there not an error earlier on, like
Code:
[TASKS]Error in TaskManager::LoadTasks: <MySQL Error> Code:
ALTER TABLE `tasks` ADD `repeatable` TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '1'; |
i didn't get that error unless it is in a different file, and my tasks table does have the repeatable column in it. The output I listed above was the entire log file except the first line: Starting Log: logs/eqemu_error_zone_3344.log
|
Run this:
Code:
SELECT id FROM tasks; |
returns 1 row id=12 Extraordinary Rodents
|
That's your problem then, you have entries in your activities table for tasks 1 through 11, but those tasks don't have entries in the task table.
|
so, how'd they get there and how do I delete them if that's the fix?
all I did was source in the sql from svn, i didn't actually try and use the task system. |
Code:
delete from activities where taskid < 12; |
should I clear out tasksets as well? is there a "reset" of this task system?
Why would I delete them as you suggest above? They were part of the svn sql additions. Were they changed/corrected at some point maybe after I had already done the imports? I'd like to have it set up the way you intended but it seems to not be working correctly for me. the rules relating to the task system... I don't have any in my rules table as I'm taking the default from the code settings. Does there need to be a non-default change in the database rule_values to have them work correctly? |
You can just add the sample tasks rather than delete them. Makes your DB more complete.
|
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` ; To 'reset' the task system, if you should ever want to: Code:
truncate tasks; |
thank you, all the logging errors are gone now.
|
If the activity is to collect a number of items and it hooks into Corpse::LootItem, does that mean there's no activity for picking up ground spawn items?
|
Since almost every aspect of the task system is exported to perl (huge thanks to Derision for being awesome like that), the possibilities with tasks are nearly limitless. You can simple add the pickup part into your player.pl and have it update your task when they pick the item up. I have it working in my custom Crescent Reach zone and it works great.
|
Oh, cool. I didn't even know about that player.pl thing. I thought every quest was in a file with the NPC's name so I thought there were no quest functions for picking up items. I haven't done much quest editing because i don't know perl and i guess i'm too pampered at work using vb.net 2008 the IDE is so friendly and has intellisense and autocomplete i hate coding anything outside of visual studio now.
|
All times are GMT -4. The time now is 12:11 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.