Page 3 of 5

Re: Noobbotter's World Traveler Userfunction

Posted: Sat Nov 10, 2012 9:12 am
by noobbotter
I'm not sure why it's not transporting from that point. In heffner, the game refers to Varanas as "Silverspring" so if you're using the English client, you can change Line 982 from

Code: Select all

		NPCTeleport(cur_Npc_ID, TEXT("Varanas"));
to be this:

Code: Select all

		NPCTeleport(cur_Npc_ID, "Silverspring");
and it will work. This will not fix all language versions though.

Rock5, I don't understand why this doesn't work from here unless the game actually uses a different zone name for it from Heffner. Could you find that zone name for me and I'll add a line in the "optionstrings" for it.

Re: Noobbotter's World Traveler Userfunction

Posted: Sat Nov 10, 2012 9:46 am
by rock5
I went to Heffner to check it out and it does say "Silverspring". I tried a few different languages and TEXT("ZONE_SILVERSPRING") matched the name in the dialog in all cases. So we probably just made an initial mistake of using "Varanas" at Heffner. Just go ahead and change it to

Code: Select all

NPCTeleport(cur_Npc_ID, "Silverspring");

Re: Noobbotter's World Traveler Userfunction

Posted: Sat Nov 10, 2012 10:02 am
by noobbotter
I see the problem. I had Hefner using

NPCTeleport(cur_Npc_ID, TEXT("Varanas"));


But there is an option text for


NPCTeleport(cur_Npc_ID, TEXT("Silverspring"));


I'll make that change in the next revision.

Re: Noobbotter's World Traveler Userfunction

Posted: Tue Nov 13, 2012 4:00 pm
by noobbotter
I updated the World Traveler Userfunction on the first post of this topic. Version 1.2 fixes the transport from Heffner to Varanas as well as an endless loop that was occurring when trying to go from Obsidian Stronghold to Silverfall.

Next update I'll see about adding support to/from Chrysalia.

- Noobbotter

Re: Noobbotter's World Traveler Userfunction

Posted: Wed Nov 14, 2012 11:36 pm
by noobbotter
I found a new problem. Today I attempted to go to Limo Desert from Varanas and when it got to Dalanis, my character started running toward DOD instead of toward Snoop. I'll try to get this fixed tomorrow.

Re: Noobbotter's World Traveler Userfunction

Posted: Thu Nov 15, 2012 1:45 am
by rock5
You know, I've always considered the way you search for the npc too complicated. I can't see why you can't just find the nearest npc in your table then search for it with a findNearestNameOrId.

Re: Noobbotter's World Traveler Userfunction

Posted: Mon Nov 19, 2012 11:06 am
by dx876234
Damn nice function, the only thing I'm missing is that it should not go into error but return a true/false value, i.e. leave error handling to the calling script.

-dx

Re: Noobbotter's World Traveler Userfunction

Posted: Fri Dec 21, 2012 5:29 am
by kenzu38
Hi noobbotter, I was wondering if you'll be updating this userfunction as the transport portal options have been changed in the recent patch.

Re: Noobbotter's World Traveler Userfunction

Posted: Fri Dec 21, 2012 5:49 am
by rock5
How is he supposed to update it if you don't tell him which have changed?

Re: Noobbotter's World Traveler Userfunction

Posted: Fri Dec 21, 2012 6:30 am
by kenzu38
Lol didn't realize he might be running a different version.

Anyway, in 5.0.6, CoO and Xaviera portals are now all interlinked. You can now be transported between any 2 transport points in CoO and Xaviera.

Btw, you also have the GoToPortal function, right? You might have to update it as well.

Re: Noobbotter's World Traveler Userfunction

Posted: Fri Dec 21, 2012 8:30 am
by rock5
I wasn't implying that he used another version just how is he supposed to know which changed? Go around to every single teleport npc and check each? That would be very time consuming, although I guess it would be mentioned in the patch notes.

Anyway this is very cool. Now it's just that much easier to do dailies in any part of this continent.

I wonder if noobbotter should add some sort of backward compatibility for people still playing older clients. Maybe, for example, just say you want to go to Frontline from Heffner. If it fails to go directly to Frontside then it should go to Lyonsyde. At Lyonsyde it will again attempt to go to Frontside. If it fails then it goes to Desert Investigation Post, etc. And because NPCTeleport returns true or false then it wouldn't be hard. You could just do

Code: Select all

if NPCTeleport(npc,"Frontline") ~= true then
    NPCTeleport(npc,"Lyonsyde Tribe")
end

Re: Noobbotter's World Traveler Userfunction

Posted: Fri Dec 21, 2012 9:53 am
by kenzu38
Lol well I just asked that question thoughtlessly, I guess subconsciously I was assuming he'd find out about it right away since everyone goes there for dailies anyway.

But I just noticed now that he hasn't posted in this thread for quite some time. So there's a high chance he's not interested in updating.

Anyway, it sure is a cool update. It's much easier and cheaper to level secondary classes with dailies now.

Re: Noobbotter's World Traveler Userfunction

Posted: Mon Dec 24, 2012 7:30 am
by lolita
Here it is, edited version of Noobbotter's World Traveler Userfunction
(hope NoobBotter wont mind :D )

** Edited Heffner/Xaviera teleports for 5.0.6 patch
** Added transport to/from Chrysalia. Keyword "Chrysalia"
** Added direct transport to/from Goblin Mines. Keyword "GoblinMines"
** Fixed Ayren caravan teleport node
** Fixed DalanisObsidianEnvoy node, you should now go to SJF, NJF... as intended, instead of runing to DoD

report any bugs :)

Re: Noobbotter's World Traveler Userfunction

Posted: Tue Dec 25, 2012 3:14 am
by kenzu38
Hi lolita! First of all, Merry Christmas!

Thanks for sharing your file.

Although, the original file was having issues with memory address, I think that's what it's called? This happens when I'm in Ayren Caravan going to lyk. The MM window reports an error. So unless you changed the address in your file, it will also probably error in Ayren. So can you please look into that?

Other than that, great share. I'll test the CoO and Xaviera teleports sometime today. Again, thanks for sharing.

Re: Noobbotter's World Traveler Userfunction

Posted: Tue Dec 25, 2012 10:11 am
by lolita
I'll look what's wrong with Ayren caravan teleport, and add transport to Chrysalia and to Gobline Mines.
I'll post code tomorow, after all it's Christmas Time.

Merry Christmas to all :)

** EDIT
i edited post above, have fun

Re: Noobbotter's World Traveler Userfunction

Posted: Tue Jan 29, 2013 6:08 pm
by Buster99
Ayren to Silverfall is broken. Just goes back and forth from Ayren to Obsidian in continuous loop. OP fixed this but then somehow your update hasn't carried it forward.

Thanks much for your work on this...very helpful.

Re: Noobbotter's World Traveler Userfunction

Posted: Tue Jan 29, 2013 9:10 pm
by lolita
i think i found error, ill test it tomorow.
today was 5.0.7 patch on oficial server, added new zone "Merdhin Tundra" ,
so i wait for nexon server to be patched, so i can add new zone to function and fix this bug.

Re: Noobbotter's World Traveler Userfunction

Posted: Wed Jan 30, 2013 9:17 am
by lolita
Here it is 1.4 version
** Added transport to/from Merdhin Tundra. Keyword "Tundra"
** Fixed Ayren <-> Obisian infinite loop

Re: Noobbotter's World Traveler Userfunction

Posted: Wed Jan 30, 2013 10:21 am
by noobbotter
Lolita, thank you for helping out with this userfunction. No, I don't mind at all. I've just been really busy and haven't had much time to work with this. hopefully I'll have time this week to download your latest version and see if there is anything I can help with. If you have any questions about any of the coding feel free to ask me. Thanks again for helping out.

Re: Noobbotter's World Traveler Userfunction

Posted: Wed Jan 30, 2013 10:48 am
by rock5
You set up the option for Merdhin Tundra correctly using "ZONE_Z24_MERDHIN_TUNDRA" so TEXT("Tundra") should work. Actually you spelt it wrong. It should be "ZONE_Z24_MERDIN_TUNDRA".