Page 2 of 2

Re: Rock5's Teleporter Helper Functions (aka GoToPortal)

Posted: Fri Oct 12, 2012 11:52 pm
by rock5
Try making a waypoint at each teleport point.

Re: Rock5's Teleporter Helper Functions (aka GoToPortal)

Posted: Sat Oct 13, 2012 7:29 am
by Cindy
I got it to work, just added 10 as parameter to the waitforloadingscreen calls, and done it 3 times in a row successively last nigh. I inevitably crash, now am trying to figure out how to restart rom and continue when that happens.

Re: Rock5's Teleporter Helper Functions (aka GoToPortal)

Posted: Tue Nov 06, 2012 6:30 pm
by japanac
miss

Re: Rock5's Teleporter Helper Functions (aka GoToPortal)

Posted: Fri Dec 14, 2012 6:10 am
by rock5
Version 2.10 released.

With Lisas help I've made the GoToPortal and GoThroughPortal more reliable.

I've also added an option to make it easier to find a portals ids when it goes to the wrong object and not the portal.

Lets say you use

Code: Select all

GoThroughPortal()
but instead of going to the portal it runs to another object nearby with no name. First thing to try is adjust the position of the waypoint closer to the portal. But if this doesn't work you can now have it target the second closest no name object.

Code: Select all

GoThroughPortal(nil, 2)
If by chance that still goes to the wrong object you can keep incrementing that number until it goes through the portal. Once it goes through the portal it will print its id.

Code: Select all

Targeting portal 110578, range 114.544510265
Then it is recommended you add the id to the command to make sure it targets the portal every time.

Code: Select all

GoThroughPortal(nil, 110578)

Re: Rock5's Teleporter Helper Functions (aka GoToPortal)

Posted: Tue Jan 15, 2013 10:40 am
by BlubBlab
Only an idear how about this:

Code: Select all

function GoSaveThroughPortalpeerFile(_file)
	local WorldMap == RoMScript( "GetCurrentWorldMapID();" );
	if not GoThroughPortal() then
		if(RoMScript( "GetCurrentWorldMapID();" ) == WorldMap)then
			keyboardRelease( settings.hotkeys.MOVE_FORWARD.key );
			--changeProfileOption("WP_NO_STOP", false);
			__WPL:setWaypointIndex(__WPL.LastWaypoint - 1)
		else
			loadPaths(_file);
		end
	else
			loadPaths(_file);
	end
end

Re: Rock5's Teleporter Helper Functions (aka GoToPortal)

Posted: Mon Feb 11, 2013 3:52 am
by abron1
my go to portal works fine for the party leader but for the partyhealer it will target the portal but won't go through for some reason i downloaded the latest version but can't get the party healer to go in.

Code: Select all

We use the normal waypoint path partyhealer.xml now.
GM detection started
Party Monitor started.
Party member 1 has the name of *****
Targeting portal 112224, range 68.357533073678
The loading screen didn't appear...
Did not find any crashed game clients.
0:47am - IGF:\SendChatMessage('I didn't see a loadingscreen, please check I went
 through portal', 'PARTY')\ Error in command sent to IGF.
this is the error i get

Re: Rock5's Teleporter Helper Functions (aka GoToPortal)

Posted: Mon Feb 11, 2013 4:10 am
by lisa
ok well that error is my mistake, I used a ' when I said didn't, but that still doesn't explain why it isn't going through the portal in the first place.
So yeah the issue of not going through portal should be discussed here, I'll post another party.lua in the other topic for party stuff.