Page 1 of 1
How to use transport book.
Posted: Tue Jan 14, 2014 2:23 am
by L33t_Of_Lag
As the title states, i'm curious if it is at all possible to use the transport book.
One of my chars, wishes to, after completing all minis/dailies (which i tied all together myself), transport to a certain location, weather it be from the transport book or not.
So, question as title states, is it possible to use transport book options whilst botting?
Re: How to use transport book.
Posted: Tue Jan 14, 2014 2:51 am
by BlubBlab
you can use peer RomScript the ingame functione of Rom or my userfuction
http://www.solarstrike.net/phpBB3/viewt ... =27&t=5163
Re: How to use transport book.
Posted: Tue Jan 14, 2014 5:08 am
by lisa
Code: Select all
RoMScript("TB_Teleport(0,21)") --teleports to slot 21 in teleport book
http://runesofmagic.gamepedia.com/API:TB_Teleport
Re: How to use transport book.
Posted: Tue Jan 14, 2014 6:09 am
by rock5
The problem with that is if you want to use the same code with more than one character the TB index might be different for each character. I created a function to allow you to use the TB entry name instead, if your interested.
http://www.solarstrike.net/phpBB3/viewt ... 294#p36294
Re: How to use transport book.
Posted: Tue Jan 14, 2014 6:25 am
by L33t_Of_Lag
I think this is the winner. Yes i do need for more than 1 char, but they are all on seperate computers, so not a biggy changing it.
rock5 wrote:The problem with that is if you want to use the same code with more than one character the TB index might be different for each character. I created a function to allow you to use the TB entry name instead, if your interested.
http://www.solarstrike.net/phpBB3/viewt ... 294#p36294
I looked at this ,and it stated it doesnt recognise gaps in transport book, and mine, and all my chars are full of them.
I'll give you a run down.
I have 6 computers dedicated to ROM (many others, and server boxes, but only 6 to rom)
Each one has a dedicated character. I have modified all waypoints to suit each computer. I have also tied them all together (between all minis and dailies etc).
My point is, on 2 of them for now, i wish to transport to a certain location in my Transport Book. Yes, both characters have different marked spots in their respected Transport Books. I would like you to advise me on which method would be the easiest to use for myself, and is easily modified.
Thanks.
Re: How to use transport book.
Posted: Tue Jan 14, 2014 7:37 am
by lisa
I used to run 8 full accounts through the same WP's, I would just make sure that the marked spot I wanted was the same on each character, never had any issues, I used to do the guild dailies and got my guild a tonne of rubies donated to it.
Sounds to me like the code I posted would suit you best, just change the number on each machine to correspond with the marked spot for that character.
Re: How to use transport book.
Posted: Tue Jan 14, 2014 7:57 am
by BlubBlab
I wasn't sure but my function does accept both numbers and strings as target
even this:
Code: Select all
TransportByTB("Transportrune","Varanas");
Re: How to use transport book.
Posted: Tue Jan 14, 2014 4:15 pm
by L33t_Of_Lag
Noob question of the day, how do I use this. lol
My goal is, at the end of my daily waypoint, transport to a selected number of transport book, after transporting, load another waypoint.
would,
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
<waypoint>RoMScript("TB_Teleport(0,21)")
waitForLoadingScreen()
loadPaths("MyWaypointName");
</waypoint>
</waypoints>
work?
Thanks in advance.
Re: How to use transport book.
Posted: Tue Jan 14, 2014 4:39 pm
by BlubBlab
You mean something like this?
Code: Select all
RoMScript("TB_Teleport(0,21)")
waitForLoadingScreen(30)
loadPaths(_wpfile);
By the way TB_Teleport(0,21) the first arg says what sort of item(rune) you use, the second is the index of your book
I still find my code more compelling
TransportByTB(0,25,"StartnewWP")
Re: How to use transport book.
Posted: Tue Jan 14, 2014 5:06 pm
by L33t_Of_Lag
I changed this in the Sarlo Daily Waypoint, from
Code: Select all
if questsDone() and questtype == "daily" then
error ("Dailys done for today!",0);
end
to
Code: Select all
if questsDone() and questtype == "daily" then
loadPaths("NEWWAYPOINT");
end
So,
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="-18664" z="-2442" y="805">
TransportByTB(0,20,"ANAME")
waitForLoadingScreen(30)
loadPaths("ANAME");
</waypoint>
</waypoints>
Works Perfect, thanks
I can now fully automate chars to do all minis, dailies, and some 'other' things. With 1 click on each computer
NOTE: Does anyone know If you can make it so that ROM loads itself? Also, is there a way to load rom back up after a crash, and to start where it left off?