Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 02-25-2013, 09:30 PM
Dabloon
Sarnak
 
Join Date: Oct 2007
Posts: 78
Default 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?
Reply With Quote
  #2  
Old 02-25-2013, 09:48 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

Which "some"? And the answer is, yes. That is what the task selector is for.
Reply With Quote
  #3  
Old 02-25-2013, 10:00 PM
Dabloon
Sarnak
 
Join Date: Oct 2007
Posts: 78
Default

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);
}
Reply With Quote
  #4  
Old 02-25-2013, 10:08 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

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?
Reply With Quote
  #5  
Old 02-25-2013, 10:10 PM
Dabloon
Sarnak
 
Join Date: Oct 2007
Posts: 78
Default

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
Reply With Quote
  #6  
Old 02-25-2013, 10:17 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

Where did you get those taskids?
Reply With Quote
  #7  
Old 02-25-2013, 10:20 PM
Dabloon
Sarnak
 
Join Date: Oct 2007
Posts: 78
Default

the forums here. they came with an sql wich i ran after backing up my server
Reply With Quote
  #8  
Old 02-25-2013, 10:22 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

Please direct - show me.

In the meantime, try 1,2,3,4,5 as a test.
Reply With Quote
  #9  
Old 02-25-2013, 10:31 PM
Dabloon
Sarnak
 
Join Date: Oct 2007
Posts: 78
Default

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
Reply With Quote
  #10  
Old 02-25-2013, 10:37 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

Yes, that is correct. You can see the tasks in your database using mysql prompt: SELECT id FROM tasks;
Reply With Quote
  #11  
Old 02-25-2013, 10:41 PM
Dabloon
Sarnak
 
Join Date: Oct 2007
Posts: 78
Default

I did check my db and found all the ids in the activities table
Reply With Quote
  #12  
Old 02-25-2013, 10:53 PM
Dabloon
Sarnak
 
Join Date: Oct 2007
Posts: 78
Default

Here is where i got it from

http://www.eqemulator.org/forums/showthread.php?t=36112
Reply With Quote
  #13  
Old 02-26-2013, 04:43 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

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.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #14  
Old 02-26-2013, 07:36 PM
Dabloon
Sarnak
 
Join Date: Oct 2007
Posts: 78
Default

Quote:
Originally Posted by trevius View Post
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.
you were correct on the task limit. Is there any way to figure out what the task limit of the compatible clients are?

EDIT: I have discovered the limit is 40 in titanium clients but im using Underfoot atm so im not sure if its the same
Reply With Quote
  #15  
Old 02-26-2013, 09:41 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

Quote:
Originally Posted by Dabloon View Post
Is there any way to figure out what the task limit of the compatible clients are?
Trial and error. Send more til it breaks. The amount right before it broke is probably the limit.
Reply With Quote
Reply


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 05:01 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3