quest::taskselector
I noticed on some quests released on here they use the quest::taskselector command. I have tested some of these and they do not work. My question is is there a way to link several quests for a player to choose from and allow them to click their choice and start that quest?
|
Which "some"? And the answer is, yes. That is what the task selector is for.
|
Here is the code i have but nothing happens after a player says simple
if($text=~/simple/i){ quest::taskselector(7071, 7072, 7073, 7074, 7075, 7076, 7077, 7078, 7079, 7080, 7081, 7082, 7083, 7084, 7085, 7086, 7087, 7088, 7089, 7090, 7091, 7092, 7093, 7094, 7095, 7102, 7103, 7104, 7105, 7106); } |
Those tasks are released here? Did you create the tasks? You have all those task ids active? Any error messages in your logs stating that those tasks may not have been loaded for any reason?
|
checking now one sec
EDIT: No errors in logs. I should also mention these are loaded from db when a player clicks on one. that is they would be if this line came up after the player says simple 7071, 7072, 7073, 7074, 7075, 7076, 7077, 7078, 7079, 7080, 7081, 7082, 7083, 7084, 7085, 7086, 7087, 7088, 7089, 7090, 7091, 7092, 7093, 7094, 7095, 7102, 7103, 7104, 7105, 7106 |
Where did you get those taskids?
|
the forums here. they came with an sql wich i ran after backing up my server
|
Please direct - show me.
In the meantime, try 1,2,3,4,5 as a test. |
tried 1,2,3,4,5 and that worked wich means the ids i have are wrong or not in th db?
EDIT: checked my db and all the ids are in it |
Yes, that is correct. You can see the tasks in your database using mysql prompt: SELECT id FROM tasks;
|
I did check my db and found all the ids in the activities table
|
|
Most likely, there is a max limit in the client for how many tasks can be sent in the task selector. I would try reducing that list to like 5 of them and see if that works, then maybe work your way up from there and see when it stops working. Otherwise, the other reason it would break is if there is something wrong with those tasks in the list you have.
|
Quote:
EDIT: I have discovered the limit is 40 in titanium clients but im using Underfoot atm so im not sure if its the same |
Quote:
|
29 is the limit for underfoot
|
All times are GMT -4. The time now is 10:52 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.