Check if have AT

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
swietlowka
Posts: 316
Joined: Wed Jun 16, 2010 8:16 am

Check if have AT

#1 Post by swietlowka » Wed Aug 18, 2010 5:36 am

Is there anyway that i could check for having Arcane Transmutor? like if the quest got done or something else?
I can't see anything like that, and i'd like to make the bot go to complete that quest when lvl 10 and then get but when it was, but without that kind of check i just can't do it once only loop (for each run when im still lvl 10) and this would be a waste of time :)

swietlowka
Posts: 316
Joined: Wed Jun 16, 2010 8:16 am

Re: Check if have AT

#2 Post by swietlowka » Wed Aug 18, 2010 7:02 am

http://theromwiki.com/index.php?title=A ... &redlink=1
found something, but i just dunno how to check how and if it does work, any help?

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Check if have AT

#3 Post by rock5 » Wed Aug 18, 2010 7:46 am

swietlowka wrote:http://theromwiki.com/index.php?title=A ... &redlink=1
found something, but i just dunno how to check how and if it does work, any help?
IsMagicBoxEnable() will return 'true' if you have the Arcane Transmutor and 'false' if you don't.

So you could do something like this;

Code: Select all

if RoMScript("IsMagicBoxEnable()") then
    ....
else
    ....
end
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

romvn
Posts: 16
Joined: Tue May 04, 2010 10:22 pm

Re: Check if have AT

#4 Post by romvn » Wed Aug 18, 2010 12:24 pm

IsMagicBoxEnable() doesn't work at least with VN client.
You can use GetMagicBoxEnergy() instead. It will return number of charges you have.
For your case, activated = 10, not activated = 0
Proud to be the GREATEST botter in Chúa Tể Phục Sinh (RoM Vietnamese version)

swietlowka
Posts: 316
Joined: Wed Jun 16, 2010 8:16 am

Re: Check if have AT

#5 Post by swietlowka » Thu Aug 19, 2010 5:26 am

thanks a lot ill check it asap
will have to be carefull no to let it drop to "0" though

User avatar
MiesterMan
Posts: 543
Joined: Tue Jul 06, 2010 9:15 pm
Location: Between the Second and Third Circles of Hell

Re: Check if have AT

#6 Post by MiesterMan » Sun Aug 22, 2010 4:01 am

swietlowka wrote:Is there anyway that i could check for having Arcane Transmutor? like if the quest got done or something else?
I can't see anything like that, and i'd like to make the bot go to complete that quest when lvl 10 and then get but when it was, but without that kind of check i just can't do it once only loop (for each run when im still lvl 10) and this would be a waste of time :)
Here's what I used:

Code: Select all

	local questCompleted = RoMScript("CheckQuest(421457);");
	if questCompleted == 2 then
		printf("Character has activated the arcane transmuter!\n");
	end

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests