userfunction_transport

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Post Reply
Message
Author
User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

userfunction_transport

#1 Post by BlubBlab » Sun Sep 15, 2013 10:46 am

My newest unnecessary invention ^^

This userfunction is build for the purpose to simplify transport peer TB or Spell and things around it

I give you only some example the functions have full doc headers so you can read file, the functions have loots of options.

Code: Select all



example: TransportToHouse()
We using a Guild Castle Transport Stone

example: TransportToGild()
We using a Home-sweet-home rune

example: TransportBySpell(0,"StartPointWP")
This will use recall to transport your char and then load the path "StartPointWP"


@notice if you have got the userfunction gotoportal and  you create a portal the bot will jump into this portal
example: TransportByTB(0,25,"StartnewWP")

This will use transport runes and the spot in your TB with the index 28 to transport you char away and then load the path "StartnewWP" 

example: SafeNotInSpotTransport(-15134 , 11548 , 160 , 150 ,"ReturnWP", 28)
This will transport you away if you are not near the res-spot from KS and load the path ReturnWP

example: SafeSpotTransport(-15134 , 11548 , 160 , 150 ,"ReturnWP", 28)
This will transport you away if you are near the res-spot from KS and load the path ReturnWP
I have also added a alarm scheduler.(I will may later pull that out to a single userfunction because it isn't really related)

Code: Select all

example: hookSchedulerTime( 14,30,15,40)
This will set a alarm that start at 14:30 and will go on until 15:40

example 1: checkScheduler("nextwp")
Will load the the wp file "nextwp" if the alarm is on

example 2: if(checkScheduler() == true)then
				alarmflag = true;
		  end

new:

Code: Select all

This function can mount your char with an different mount

example : AdvancedMount( false,2,)
mounted the char with mount 2te in your bag

This function can mount your char with an diffrent mount and if you havent a mount it will try to find a 
"Temporary Mount Use Vouche"r or a "Horse Rental Ticket" to get a mount

example : SafeMount( 2,1)
mounted the character with  2te mount in your bag if failed the player logout
Attachments
userfunction_transport.lua
v1.4
-fix if time is nil
(20.81 KiB) Downloaded 219 times
Last edited by BlubBlab on Sat Oct 05, 2013 12:33 am, edited 3 times in total.
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: userfunction_transport

#2 Post by BlubBlab » Thu Sep 19, 2013 8:07 am

released V1.1
The checkScheduler() function had some serious bugs.
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: userfunction_transport

#3 Post by BlubBlab » Thu Sep 26, 2013 12:53 pm

update to v1.3

add some mount functions
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: userfunction_transport

#4 Post by BlubBlab » Sat Oct 05, 2013 12:34 am

update to v1.4 fix if time is nil problem.
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

Sasuke
Posts: 503
Joined: Mon May 17, 2010 3:40 pm
Location: Poland

Re: userfunction_transport

#5 Post by Sasuke » Mon May 16, 2016 4:55 am

blub how can i use recall in a waypoint?can you suggest me an example pls?

Datalink
Posts: 4
Joined: Mon May 16, 2016 10:44 am

Re: userfunction_transport

#6 Post by Datalink » Mon May 16, 2016 11:21 am

Information about using "keyboardPress(key.VK_9);"
http://solarstrike.net/phpBB3/viewtopic ... call#p8126

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: userfunction_transport

#7 Post by BlubBlab » Mon May 16, 2016 2:25 pm

Sasuke wrote:blub how can i use recall in a waypoint?can you suggest me an example pls?
There is already an example about it in my initial post.
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests