Bot moving while casting thunderstorm..

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
sauhard
Posts: 130
Joined: Wed Mar 05, 2014 10:30 am

Bot moving while casting thunderstorm..

#1 Post by sauhard » Mon Jun 23, 2014 9:03 am

Ok i just made a script for farming xp/tp in chrysalia battlefield.
What i do is go to battlefiled and place the bot there.
I use this script for using hotkey 1 and 2 and i placed thundertorm macro on those 2 slots. The problem i face is that the bot keeps on moving and does not remain static at one place as i want it to be :(



<?xml version="1.0" encoding="utf-8"?>
<waypoints>



<onLoad>
while (true) do

sendMacro("UseAction(1)");

yrest(500);

sendMacro("UseAction(1)");

yrest(500);

sendMacro("UseAction(1)");

yrest(500);

sendMacro("UseAction(2)");

yrest(500);

sendMacro("UseAction(2)");

yrest(500);
end
</onLoad>

</waypoints>




The macro is use is :
/script CastSpellByName("Thunderstorm")
/wait .15
/script CastSpellByName("Thunderstorm")
/script SpellTargetUnit()




ANy suggestions what goes wrong?
Satisfaction is the end of desire!!

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

Re: Bot moving while casting thunderstorm..

#2 Post by rock5 » Mon Jun 23, 2014 11:07 pm

How can you cast Thunderstorm with a macro? After you cast Thunderstorm don't you need to point and click? For this to work I assume you would have to leave the mouse hovering over the point you want to click. Maybe the mouse moved and it's clicking a point too far away?

You could probably use the bots targeting functions. If you are just targeting 1 location,

Code: Select all

player:aimAt({X=1234,Z=2345,Y=34})
If you want to be able to use the computer you could let the bot finish the skill for you too.

Code: Select all

player:clickToCast()
aimAt puts the target in the middel of the screen then clickToCast clicks the middle of the screen without requiring the game to be the foreward window.
  • 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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Bot moving while casting thunderstorm..

#3 Post by lisa » Tue Jun 24, 2014 12:02 am

rock5 wrote:How can you cast Thunderstorm with a macro?
Yeah it just casts at mouse location and if you move mouse away from screen the game things mouse it at that last spot before leaving game, not sure if it would work minimized or not but it is definately not the best way to do it since the bot now does Thunderstorm, mind you there is a chance the bot will crash using TS as I had noticed when farming KS, I never did test why it was crashing =(
rock5 wrote:player:aimAt({X=1234,Z=2345,Y=34})
Just thought I should mention the numbers are purely an example, if you use the code then you need to specify the spot to aimAt.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
sauhard
Posts: 130
Joined: Wed Mar 05, 2014 10:30 am

Re: Bot moving while casting thunderstorm..

#4 Post by sauhard » Tue Jun 24, 2014 1:14 am

ehm yeah i point the mouse in the mid of the screen where the mobs keep on coming and it kills by lightning.

But meh i am a lil noob with the waypoints and stuffs so what i did was got loads of mana and put Purgatory on hotkey 1 and 2. This way it casts purgatory all day long standing at the same spot :P And this method i think is a lot easier to plevel shit loads of alts to 50 :mrgreen: :mrgreen:

As far as player:aimAt({X=1234,Z=2345,Y=34}) is concerned where do i put this is waypoint file/ macro ?
Satisfaction is the end of desire!!

Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 1 guest