Chain andor training to waypoint file.
Chain andor training to waypoint file.
I made a series of waypoints that completes the "Earn a Reputation" daily in Heffner then runs to varanas and completes the Andor Training minigame. (Saw a super upgraded castle in siege and I want it!) I would now like to have my characters recall or cast heffner teleport after completing Andor training and log out. I can do the log out no problem. My problem is that since Andor Training does not use waypoints, I have no idea how to get it to do anything after the end of the game.
Re: Chain andor training to waypoint file.
before you do any log next char code just do
Then pretty sure it's choiceoption1 and click the confirm thingy.
Then the recall/transport
Code: Select all
-- Move to Magelly Basac
repeat
yrest(500)
until player:target_NPC(120687)
Code: Select all
sendMacro("ChoiceOption(1);");
yrest(700)
sendMacro('StaticPopup_OnClick(StaticPopup1, 1);')
waitForLoadingScreen(20)
Code: Select all
RoMScript('CastSpellByName("Heffner Camp Transport Spell")')
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Chain andor training to waypoint file.
I think I understand what you're saying. I can cast transport to heffner from within the mini game so I don't need to go back to varanas first.
Where would I put: RoMScript('CastSpellByName("Heffner Camp Transport Spell")')
I have to problems.
1. You have to wait until the last wave crosses the finish line and get your score.
no biggie, I can do a yrest
2. The andor training groudn does everything within the <onload> </onload> so I don;t know where to put the commands and make them work.
Do I treat all the inline code as if it were in the <waypoint> tags? Meaning I stick the yrest and transport near the end of the code before it auto-terminates the waypoint.
Where would I put: RoMScript('CastSpellByName("Heffner Camp Transport Spell")')
I have to problems.
1. You have to wait until the last wave crosses the finish line and get your score.
no biggie, I can do a yrest
2. The andor training groudn does everything within the <onload> </onload> so I don;t know where to put the commands and make them work.
Do I treat all the inline code as if it were in the <waypoint> tags? Meaning I stick the yrest and transport near the end of the code before it auto-terminates the waypoint.
Re: Chain andor training to waypoint file.
The end of the onload looks like this
before the LoginNextChar() do the code to go elsewhere, I'm not sure you can use transport from within instance though.
I meant something like this
Code: Select all
print("OK event has started")
repeat
tort()
player:update()
yrest(100)
buffed = player:getBuff(622402)
if buffed then score = buffed.Level end
until not player:hasBuff(622402) or ( buffed and buffed.Level > requiredscore )
repeat yrest(1000) until not RoMScript("TimeKeeperFrame:IsVisible()")
yrest(15000)
logloot()
LoginNextChar()
loadProfile()
loadPaths(__WPL.FileName)
I meant something like this
Code: Select all
print("OK event has started")
repeat
tort()
player:update()
yrest(100)
buffed = player:getBuff(622402)
if buffed then score = buffed.Level end
until not player:hasBuff(622402) or ( buffed and buffed.Level > requiredscore )
repeat yrest(1000) until not RoMScript("TimeKeeperFrame:IsVisible()")
yrest(15000)
logloot()
repeat
yrest(500)
until player:target_NPC(120687)
sendMacro("ChoiceOption(1);");
yrest(700)
sendMacro('StaticPopup_OnClick(StaticPopup1, 1);')
waitForLoadingScreen(20)
RoMScript('CastSpellByName("Heffner Camp Transport Spell")')
waitForLoadingScreen(20)
LoginNextChar()
loadProfile()
loadPaths(__WPL.FileName)
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Chain andor training to waypoint file.
I tinkered with this to work for me with one problem. I need to close the stupid score window before I can do anything else. Thanks a bunch. I understand working within the onload better now.
P.S. Script doesnt like the logloot function. It is not a function in my WP.
P.S. Script doesnt like the logloot function. It is not a function in my WP.
Re: Chain andor training to waypoint file.
Code: Select all
sendMacro("CloseAllWindows()"); -- close ranking windowRe: Chain andor training to waypoint file.
I knew it would be something simple. Thanks. Is there a resource I can refer to that has a lot of these commands and syntax so I can find some of this on my own?
Re: Chain andor training to waypoint file.
It's a userfunction, you can either get the userfunction or just remove that part of the code, your choice.883Dman wrote:P.S. Script doesnt like the logloot function
http://www.solarstrike.net/phpBB3/viewt ... it=loginfo
http://runesofmagic.gamepedia.com/List_of_Functions883Dman wrote:Is there a resource I can refer to that has a lot of these commands and syntax so I can find some of this on my own?
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Chain andor training to waypoint file.
I figured as much and removed it when it pooped out. Thanks.