Mounting problem

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
newton666
Posts: 81
Joined: Fri Oct 22, 2010 3:16 pm

Mounting problem

#1 Post by newton666 »

wondering if anyone know what im doing wrong or can fix this for please.
The problem is that it keeps recasting the mount instaead of stoping once it's finished:-

Code: Select all

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

while(true) do


repeat
player:update();
partyleader = GetPartyMemberAddress(1)
if partyleader ~= nil then partyleaderaddress = partyleader end

player:lootAll();
RoMScript("FollowUnit('party1');");
RoMScript("AssistUnit('party1');");
RoMScript("ScoutRogue()");
RoMScript("MountToggle()");
player:update();
until partyleader == nil

repeat
keyboardHold(settings.hotkeys.MOVE_FORWARD.key) 
yrest(500);
keyboardRelease(settings.hotkeys.MOVE_FORWARD.key) 
waitForLoadingScreen(5)
until partyleaderaddress ~= nil

end

   </onLoad>

</waypoints>
would be very greatfully if someone can point me in the right direction or edit what ive done wrong or need to do
thx
alos Happy Newyear everyone
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Mounting problem

#2 Post by lisa »

repeat
player:update();
partyleader = GetPartyMemberAddress(1)
if partyleader ~= nil then partyleaderaddress = partyleader end

player:lootAll();
RoMScript("FollowUnit('party1');");
RoMScript("AssistUnit('party1');");
RoMScript("ScoutRogue()");
RoMScript("MountToggle()");
player:update();
until partyleader == nil
Basically it will keep doing everything you have there until you arn't in a party anymore.

You are better off using the MM code for mounting.

Code: Select all

player:mount()

If it was me though i would probably put in a check for leaving combat and then do those things.
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
newton666
Posts: 81
Joined: Fri Oct 22, 2010 3:16 pm

Re: Mounting problem

#3 Post by newton666 »

so how do i do a check for the mount buff ?
so that if it has the mount buff alrdy it wont recast
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Mounting problem

#4 Post by lisa »

Code: Select all

player:mount()
does it all for you.

just replace your

Code: Select all

RoMScript("MountToggle()");
with

Code: Select all

player:mount()
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
Post Reply