Go Back   EQEmulator Home > EQEmulator Forums > Support > Spell Support

Spell Support Broken Spells? Want them Fixed? Request it here.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-06-2007, 07:22 AM
Darkonig
Hill Giant
 
Join Date: Dec 2006
Posts: 102
Default

it would be in $client->Method() not quest::Method()

however altho, there are functions in there to get, add, and set regular xp, there are not corresponding functions for aaxp. Not all of the Client methods were mapped to perl.

You can find the client methods that were mapped in perl_client.cpp
Reply With Quote
  #2  
Old 06-06-2007, 12:00 PM
Budaworm
Fire Beetle
 
Join Date: Oct 2003
Posts: 20
Default

I searched through the wiki and found the command:
SetEXP(set_exp, set_aaxp, resexp=false);
So if you want to add an aapoint do:
$client->SetEXP($client->GetEXP(),24000000,0);
That will add 1 aapoint. Though im not sure what the resexp=false means.
Reply With Quote
  #3  
Old 06-06-2007, 12:19 PM
Darkonig
Hill Giant
 
Join Date: Dec 2006
Posts: 102
Default

Quote:
Originally Posted by Budaworm
I searched through the wiki and found the command:
SetEXP(set_exp, set_aaxp, resexp=false);
So if you want to add an aapoint do:
$client->SetEXP($client->GetEXP(),24000000,0);
That will add 1 aapoint. Though im not sure what the resexp=false means.
This will not add one aa point, it will set it to one aa point which is not the same. You would need to do $client->SetEXP($client->GetEXP(), $client->GetAAXP() + 24000000,0); except the perl_client interface does not implement the GetAAXP() method that is present in the client. So you cannot use that function unless somebody modifies perl_client.cpp to include it.
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 04:41 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3