Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Creating a hub system for Single Player -- Paths are busted?

The general place to discuss MOD''ing Freelancer!

Post Mon Jun 20, 2005 8:55 am

Creating a hub system for Single Player -- Paths are busted?

Hello, I've created a system which acts as a 'hub' to all systems, must like version 3 of the logical jumpholes mod..
Anyways, I've mulled over a ton of information here on the forums, and I still can't figure out what's causing this..
Anyways, here it is..

I created a new system using Freelancer explorer, created jump holes to and from every existing system.
Freelancer explorer automatically created the systems_shortest_path.ini and the shortest_illegal_path.ini, but it did not create a shortest_legal_path.ini (I don't know if it's required, so I copied shortest_illegal_path.ini to it).

The system works fine, for the most part.. except when juni gives me a forced mission (e.g. when you achieve level 3 your 'persistant' mission is to return to planet manhattan), if I enter the gate to my system while I have one of thoes missions, instant CTD (most annoyingly, AFTER it overwrites the auto-save).
I'm assuming that this is because it cannot calculate a path to get to planet manhatten, but there is a path in my 3 path files.

E.g.
Path = Rh01, Li01, Rh01, LI06, Li01
(LI06 is my new system)

Is there something more I need to do to get path routing to work?

Post Mon Jun 20, 2005 9:44 am

This is just a guess, since I haven't gotten into system building yet, but since most (if not all) jumpholes are used by the 'unlawful' types, they aren't (and shouldn't be) in the shortest_legal_path.ini, and your copying the shortest_illegal_path.ini into it is messing up the game.

Chris Bates
Lead scripter,
Stargate BFM: Freelancer

Post Mon Jun 20, 2005 10:11 pm

Your reply gave me hope but unfortunately it didn't help =(
I changed all of the jump holes to jump gates (in the new system only) with no luck.

I've noticed something else, it crashes when I set a path from within the system..
This is leading me to believe that the system path files that freelancer explorer is generating is either corrupted, or cannot handle as much information as it's given..

This is my pathing file if anyone can help find the problem:
http://files.liquid-x.net/crap/homeworl ... t_path.ini

My system (obviously) is LI06.

For example, if I'm in the system (LI06) and I try to set a path to manhattan (Li01) it crashes, but you can see that the path for that is just fine:
Line 2232: Path = LI06, Li01, LI06, Li01


Edited by - liquidx on 6/20/2005 11:25:11 PM

Post Tue Jun 21, 2005 2:33 am

I use the Freelancer Explorer all the time, and the only solution I have for you right now (though you're going to hate it), is to download and install the newest FLE, then redo all the new systems. That should fix the propblems. The problem your having is that the computer cant calculate what to do because the right line of code isn't there. I don't know if this will work or not, but I remember when I was having problems with this same thing, thats all I did, and everything was fine.

Post Tue Jun 21, 2005 5:57 am

I now painstakingly redesigned the entire system.
Everything was going fine, pathing was working O.K. for awhile..
Then I tested it at about 70% completetion and all of the sudden it crashes when I try to create a path which travels through my system (or any path while within my system).

My guess is that there are simply too many paths for the game to handle, or some kind of similar overload.
Can anyone confirm this ?

Post Tue Jun 21, 2005 6:08 am

I've created a 'make-shift' fix that prevents the crashing..
If I copy the default pathing files to my mod instead of using the ones generated by FLE the crashing will stop..
However, it is impossible to path through my system now..
This is acceptable, but I'd still like to know if and what the limitations to pathing are..

Post Tue Jun 21, 2005 1:47 pm

Freelancer Explorer is not designed to handle the unique properties to hub systems so the path files it creates will cause crashes in the path-finding feature. The only recommendation I can give is after you are done adding your system links to open up the path files in a file compare utility(like Compare It!) and search for your new system (LI01 etc) and to restore the original lines for any "path =" line with more than four parameters in it.

Check out the latest beta's of the Freelancer S.D.K. 1.5 and Freelancer Explorer v2.x

Post Wed Jul 20, 2005 9:58 pm

Im in the process of doing exactly the same thing!!
i thought of calling mine somthing like "Grand Central"!
good luck in fixing it and i'll look forward to it!

Return to Freelancer General Editing Forum