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
Check if have AT
-
swietlowka
- Posts: 316
- Joined: Wed Jun 16, 2010 8:16 am
Check if have AT
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
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
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?
found something, but i just dunno how to check how and if it does work, any help?
Re: Check if have AT
IsMagicBoxEnable() will return 'true' if you have the Arcane Transmutor and 'false' if you don't.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?
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
Re: Check if have AT
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
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
thanks a lot ill check it asap
will have to be carefull no to let it drop to "0" though
will have to be carefull no to let it drop to "0" though
- 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
Here's what I used: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
Code: Select all
local questCompleted = RoMScript("CheckQuest(421457);");
if questCompleted == 2 then
printf("Character has activated the arcane transmuter!\n");
end
My RoM Bot toys:
- Object Viewer: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2619
Teleporter Functions: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2605
Waypoint Finder: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2616
Mail Functions: http://www.solarstrike.net/phpBB3/viewt ... =27&t=2612
Equipment Swapper(TempFixed): http://www.solarstrike.net/phpBB3/viewt ... =27&t=2571
Who is online
Users browsing this forum: Bing [Bot] and 1 guest