Thanks for your fast reply.
Well, i thought it could be the WaitForLoadingScreen(), commented it and tried again, but still was stuck...BUT i forgot to save my file. Shame on me
Actually this is working now, sorry for the confusion.
After all the char needs to register the snoop in Varanas for Haven-Transport, or is it just necessary to register at least one snoop to get access to the travelTo-function?
Without registering in Varanas i got an error "not path can be found..."
The TravelTo function can actually check to see if certain snoops have been visited, mainly the majot hubs such as Varanas, Heffner, Rorazan, etc. If you haven't clicked the Varanas Snoop yet then it doesn't get included in the path calculation. Without the Varanas snoop it can't find the path to haven. You should click the snoops and open up the paths before using the userfunction.
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.
I was using your new travelTo function yesterday. I was using it separately on several characters (using same script) to go from Harf Trading Post to Varanas Central. All but one of my characters worked fine. The one that didn't work, gave an error of trying to go to Obsidian Stronghold. That particular character had never been to OS but I'm pretty sure that some of the others had never been there as well. I'm going to test it again tonight to see if I get the same error or not, but it seems like for some reason it tried to go to Varanas Central via Obsidian Stronghold instead of going through Silverfall. Weird how it only did that on one character though. I'll let you know what I get after more testing tonight.
Well OS is one of the teleports that it's supposed to be able to tell if it's been there, so it shouldn't have tried to go there. If it tried to go there then there was a hiccup and it thought it had been there.
Next time it happens, restart the script (assuming your script can resume from where it stopped), and if it then goes the right way then there was a hiccup in my function. If it still tries to go to OS then restart the client and try again. If it works then there was a bug in the game. If it still doesn't work then we'll have to take more complex steps to figure out what's going on.
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.
What should the optionString var be when adding a new portal? For instance, I am trying to add Sarlo to the function but am unable for the bot to find Sarlo?
VaranasCastleWest = Guild Castle Manager in Varanas Lower City West
VaranasCastleEast = Guild Castle Manager in Varanas Lower City East
ObsidianCastle = Guild Castle Manager in Obsidian Stronghold
-- File removed. Added to first post --
Last edited by Bill D Cat on Fri Dec 27, 2013 2:45 am, edited 2 times in total.
i dont know how to use this.. can you gave some example?? its look like gotoguild userfunction?? i just put the command and automatically go to his destination?? example if i standing in snoop varanas and i want to go to sarlo.. how can make this???
As BlubBlab said, you just use the name of the destination as the argument to the function. But you can only use it to travel to those locations (Snoop the Stubborn, Dalanas Envoy, etc) that you have already visited and unlocked. So if you have never talked to the transporter in Sarlo to unlock it (or failed to unlock any of the others in the chain from Rorazan), then you can not use this function to take you there.
And you need to be near a travel point for it to work.
@Bill D Cat. I don't know if I would have made a point for both the house maid and guild. They are in the same location. Also there are house maids everywhere, so what are we going to start doing, adding all house maids?
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.
True. Same general location, different target NPC. I suppose it could just be one waypoint for both of them. I also didn't include the house maids in Obsidian because they are both direct line-of-sight from the closest transporters. Edited the file to remove the redundant locations for house maids.
@Rock5: Be near a travel location or have your main transport skills off cool-down so it can get you to a known location such as Heffner.