Remove AA script?
Is it possible to have a Remove AA Quest:: Global?
Something like Code:
my $get = $client->GetAAPoints(); |
I would also like more insight, Liquest and I are wondering about this, we know it's doable, just not what's behind it, it seems the wiki is lacking, as KMRA has a quest::createbot that isn't mentioned on the wiki, so I was wondering it there was a quest::removeaapoints or anything similar not mentioned on the wiki, would love to have a fully functional AA Merchant!
|
$client->GetAAPoints() and $client->SetAAPoints() will probably do what you need. If things aren't listed on the wiki you can always look at the code.
|
All right, I don't think that will allow players to buy items from the merchant and subtract their AAs.
Tried it with $client->SetAAPoints(-200); and it gave me around 4.2M AAs, so that doesn't work, haha. |
Here is a quick example of a quest to buy items with AA
Code:
sub EVENT_SAY |
it does that because you're trying to set an unsigned integer type to a negative value. try this instead:
Code:
$client->SetAAPoints($client->GetAAPoints()-200); |
Thanks Natedog! That was much simpler that I thought, I just had a block on my mind, thanks so much!
|
NatedogEZ You are forever in my debt. Thanks a ton. I see where i messed up in the script =D you rock!
|
No problem, enjoy!
I was about to write a quest like this for someone else actually. |
Quote:
Anyway, since they dont have a Let Me Google That For You for google code yet, Cool Link |
Quote:
Corrected Link |
He was talking about the quest::createbot I mentioned.
|
which is exactly why i specified "this thread".
|
Quote:
Btw very few people make updates to the wiki, usually it is someone removing spam off of it. If something is not there you could add it. |
haha! mea culpa.
that'll show me to open my mouth before getting completely accustomed to the display mode i changed to. :p |
All times are GMT -4. The time now is 03:07 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.