Pathfinder for Nexus
Hello again everyone!
Here's another Nexus package for you. I renovated Iniar's Nexus pathfinder for Achaea for Starmourn. Now you can pathfind including station transfers, voidgates, and ptps, yay! Elevators work too, but I haven't implemented many of them yet. The pathfinder is aware of jogging and nano rush.
RF <search> to Room Find vNums by the room's title
PG <vNum> path to a vNum.
PG <alias> a bunch of pre-fab aliases for AREAS ALL and main stations exist. Not incredibly complete yet.
Khayrat, Bakal, and Ixodon for some reason do not exist in IRE's XML,, so I just included 3 dummy rooms to correspond to their transport rooms.
CORS-anywhere is pretty hit-and-miss, unfortunately Nexus' CORS policy does not extend to the map URL, so it will have to be CORS-anywhere in the meantime. If you're a dev and reading this, a CORS policy for the map URL would be great!
Hi, I'm Ata. Oh and maybe some other people, too. Check out my various packages for Nexus: Vuu combat system, Global Pathfinder, Slicer Tools, Ship compass, JS from command line, Vitals Tracker, and Equipment Manager.
5
Comments
"They're excited, but poor."
- Ilyos (August 2019)
— Oscar Wilde
"I'll take care of it, Luke said. And because he said it instead of her, I knew he meant kill. That is what you have to do before you kill, I thought. You have to create an it, where none was before."
— Margaret Atwood
It looks like the server is throwing a 404 for the map url? So I'm assuming it's not on your end, but figured I'd bring it up in case you know a work around.
I installed your most recent version yesterday and it worked, but as a sanity check I tried two of the earlier versions listed here, neither of them worked either.
EDIT: Huh, nevermind. It seems to have fixed itself ~45 minutes later.
Indeed yes this is an intermittent problem with cors-anywhere which occasionally strikes and there's not much we can do about it but wait.
- Download the map: www.starmourn.com/maps/map.xml
- Open Web Server add-in
- Point to directory map is in
- Click "Advanced Options" and click "Set CORS headers".
- Finally in nexus go to "_map_init", set map.useCors = false, and change URL to your local webserver URL.
Love pathfinder!