Page 1 of 1

userfunction_transport

Posted: Sun Sep 15, 2013 10:46 am
by BlubBlab
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

Re: userfunction_transport

Posted: Thu Sep 19, 2013 8:07 am
by BlubBlab
released V1.1
The checkScheduler() function had some serious bugs.

Re: userfunction_transport

Posted: Thu Sep 26, 2013 12:53 pm
by BlubBlab
update to v1.3

add some mount functions

Re: userfunction_transport

Posted: Sat Oct 05, 2013 12:34 am
by BlubBlab
update to v1.4 fix if time is nil problem.

Re: userfunction_transport

Posted: Mon May 16, 2016 4:55 am
by Sasuke
blub how can i use recall in a waypoint?can you suggest me an example pls?

Re: userfunction_transport

Posted: Mon May 16, 2016 11:21 am
by Datalink
Information about using "keyboardPress(key.VK_9);"
http://solarstrike.net/phpBB3/viewtopic ... call#p8126

Re: userfunction_transport

Posted: Mon May 16, 2016 2:25 pm
by BlubBlab
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.