Rock5's Teleporter Helper Functions (aka GoToPortal)
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
Re: Rock5's Teleporter Helper Functions (aka GoToPortal)
Try making a waypoint at each teleport point.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Rock5's Teleporter Helper Functions (aka GoToPortal)
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)
miss
- Attachments
-
- Halloween_Event.xml
- (18.64 KiB) Downloaded 189 times
Re: Rock5's Teleporter Helper Functions (aka GoToPortal)
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 usebut 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.
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.
Then it is recommended you add the id to the command to make sure it targets the portal every time.
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()
Code: Select all
GoThroughPortal(nil, 2)
Code: Select all
Targeting portal 110578, range 114.544510265
Code: Select all
GoThroughPortal(nil, 110578)
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Rock5's Teleporter Helper Functions (aka GoToPortal)
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
Jack-of-all-trades, but master-of-only of a few
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
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
Re: Rock5's Teleporter Helper Functions (aka GoToPortal)
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.
this is the error i get
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.
Re: Rock5's Teleporter Helper Functions (aka GoToPortal)
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.
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.
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
Who is online
Users browsing this forum: No registered users and 0 guests