Handling task rewards via sub event task_stage_complete
Task ID: 272
Last Activity ID in task: 4 I'm just trying to hand out a reward by class via the perl system. This is my player.pl for the zone that it's in. I've been messing around with it and can't seem to find the problem. The whole quest is handled via Perl and everything is working properly with the steps of the task and completing it.. but I'm not even getting the reward message that's in there. Am I using the sub event wrong or something? The rest of my player.pl is working properly. Code:
sub EVENT_TASK_STAGE_COMPLETE { |
http://www.eqemulator.org/forums/sho...highlight=task
I even found this thread and copy pasted the code Derision wrote into my player.pl and i'm not even getting an SSoY or the message. |
I haven't done anything like this myself, but if that's the end of the task, wouldn't it be sub EVENT_TASK_COMPLETE?
|
Quote:
Everyone seems to be using stage completed and using if task and if activity. I tried using task complete with if task_id and that doesn't seem to do anything either. As of right now I've kinda ghetto rigged it to just give you a reward when you hail the guy again based off of a qglobal. EDIT: neverrrrrrrrrrrrmind. When I used task completed i was trying to use if($taskid) and i realized later that it was task_id.. such a stupid mistake lol. Thanks. |
That's good you got it working, also, I thought I would re-write your script.
Code:
sub EVENT_TASK_COMPLETE |
Quote:
|
You're welcome.
|
All times are GMT -4. The time now is 11:09 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.