-
assigned issue to
Favorite systems don't show up on map anymore
Hey guys, So when i click on the star "add favorite systems to chain" it used to add fav systems to chain but not anymore. ive tried logging out, clear cache & cookies, tried on chrome, EE and vivaldi and on my phone, it just doesnt work anymore. Ive tried removing all my favorite systems, and re-add them, doesnt change anything.... im running out of options ! thanks for the help
Comments (11)
-
reporter -
I have a guy who had weird problems with favorites before, and this is how he got it fixed...
In chrome, with tripwire open, right click, go to inspect. Once there, go to the console tab. In it, type "options.favorites = [];" Then favorite and un-favorite a system and see if the problem has sorted itself out.
Good luck.
-
reporter thx for your reply, it does not work as i'm getting an error :
Uncaught TypeError: Cannot read property 'length' of null at findLinks (core.js:1272) at Object.nodes (core.js:1472) at Object.draw (core.js:1636) at Object.redraw (core.js:1616) at HTMLElement.<anonymous> (core.js:693) at HTMLElement.dispatch (combine.js:3) at HTMLElement.r.handle (combine.js:3)
so when i go to the core.js line with the error this si what is displayed : var jumps = guidance.findShortestPath(tripwire.map.shortest, [options.favorites[x] - 30000000, node.child.systemID - 30000000]).length - 1;
it is that "length" part that is causing the error...
-
The problem isn't the length, I don't think, because what is really happening is that it's trying to check the distance between all the nodes and your favorites, and because your favorites are screwy, it can't complete the calc to figure out the length.
I'll forward the details along and see if someone can isolate your issue.
-
- changed status to open
Opening issue, someone should look into this
-
OK, so I need you to go to Tripwire in Chrome, and right click > "Inspect", and go to the Console.
Once there, type in "console.log(options.favorites)" and tell me what you see after running that command. In fact, screenshot it.
-
reporter thx mate here is the requested screenshot
-
repo owner One or all 3 of those favorites are invalid system IDs. Like Kraesk said type "options.favorites = []" instead of the "console.log(options.favorites)" and hit enter to clear those out and that worked for me.
-
reporter that worked, thanks <3
-
The issue was systemID 30000404, which turns out to be a Jove system. It's technically K-Space, but literally unreachable, and that is why it was breaking the pathfinding calc and giving you that "length" error.
Lesson learned - Don't favorite Jove systems.
-
- changed status to closed
- Log in to comment