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 12-08-2008, 12:17 AM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default Removing AA via quest.

Hello my friends. I attempted to use a negative value for the exp function for a quest.. but instead it gives a very large positive amount of xp!

I am wondering if there is already a way to remove AA and check AA amounts using the quest engine.. I couldn't find any evidence of this.

Thanks!
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #2  
Old 12-08-2008, 01:38 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

The only one I see is for resetting AAs:

Code:
$client->ResetAA();
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #3  
Old 12-08-2008, 12:14 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

OK that's a start I suppose.. can I check the AA level via code right now? If so then I could reset the AA and reimburse a lower amount than they had???
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #4  
Old 01-06-2009, 12:39 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

ok i'm going to start working on this now.

Requirements for aa use in quests:
check banked AA
add AA
remove AA
increase spent AA
check spent AA


check banked AA = ?

add AA = command_add("setaapts","[value] - Set your or your player target's available AA points",100,command_setaapts) ||

remove AA = command_add("setaapts","[value] - Set your or your player target's available AA points",100,command_setaapts) ||

increase spent AA = m_pp.aapoints_spent (part of player struct)

check spent AA = m_pp.aapoints_spent (part of player struct)


so what is missing is being able to check aa spent, and increasing aa spent, via functions, and checking banked aa via function. then turning all of those into quest commands? or can i directly access functions from the quest manager ?

i'll try and make time for this on the weekend, but if someone freer than I wants to tackle it, please do haha!
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
Reply With Quote
  #5  
Old 01-06-2009, 05:30 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

It would probably be easiest just to copy those commands over to questmgr and do it that way. Maybe you could use the function for it, but I don't know how to set that up to work right. The others shouldn't be too hard to make if you just have them check the player profile for the values. Good luck on getting them working. They will definitely be useful for more than just you if you are planning to share them. I can add them to the SVN if they look good and you test them as ok. Also, once you are done with them, please post them in the code submissions section of the forums so they don't get lost here in quests.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #6  
Old 01-07-2009, 10:09 PM
Davood
Discordant
 
Join Date: Jan 2005
Posts: 488
Default

i will share it of course
__________________
----------
Demon Overlord of Alakamin
skype @ davoodinator
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:42 PM.


 

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