Freelancer Path Generator
-
Tsk Tsk
Must be them thar Uni pills āes bin takinā!
I meant bug reports, Chips.
I have not experienced Opās type of problem, have there been others?
-
Iāve not experienced it, but to be fair, Iāve not given it a fair chance since his last post about it either, things kinda get side-tracked at current.
Right now Iām supposed to be writing a paper. I visit websites as a stall method basically ::)
-
Well, what can I say?
I tested the files made by this utility very extensively today and it plots correct paths for me each time. Iāve got maybe 20 new systems but itās enough.
I will report again if I find anything untoward.
-
I just need to drop some ideas here, I have 115 systems and plenty of paths. the file is 700kb+ in size and have spent a lot of time working through problems with paths.
Firstly, if you have visit 128 entries on the zones at the gates or jumps this can cause problems.
Secondly, if you use the whacky invisible jumphole/ random jump holes, this does cause problems
Thirdly, you need to realise that the game doesnt read your path from the path file direct, it parses the file (in memory), so if you have any problems with your jumps it will be flakey and this is typical of the problem OP was mentioning in setting paths/waypoints. So you can have a perfect path in the file showing the right jumps etc, however, it means nothing if other paths are wrong or incorrect in the relevent file.I found that if you still have problems with paths, as long as one of your illegal or legal files match your shortest file, this can be a temporary workaround. i.e. it doesnt crash the server.
Hope some of the above is of some help to people.
-
???
More confused tbh I think itās important to split up waypoint plotting, and jump path creation.
Without the shortest paths, jumping from one system to another (from 5+ year old memory) results in a crash. Without, however, the path files - you also canāt plot a ābest pathā between systems.
So somehow itās related to the best path, the question is how - and this is where Iām starting to get confused as to where responsibilities lie.
The paths generated cannot identify objects for which waypoints should be set. The path files just contain the names of systems, nothing moreā¦
At that point Iād assume that the path file is basically just a load of links, saying ālook here, then here, then hereā with each link referencing the system object or whatever it needs to look at next before passing it to potentially some sort of actual path plotting algorithm. There is nothing else within the path files that can identify targets for path waypoint plotting. Itās out of my hands so to speak, I canāt control that. For example, in the original game - plotting from Li02 to Li04, where if memory serves, the shortest and illegal both just go straight from Li02->Li04 (connected by jumphole) whereas legal goes Li02->Li01->Li04. However, thereās nothing that goes āplot to this object, then in next system, this object, followed by this object, then this object, this object and finally in the new system this objectā etc. Obviously something else takes over and actually works out where the plot points will beā¦
So are these 128 zones causing issues for the thing that actually plots the points? (stops a course being plotted? Or makes it incorrect?)
Are the multiple overlaid jumpholes/invisible jumps causing issues?Iāve no idea how it identifies certain jump objects, trade lanes or other as being what to waypointā¦ and certainly the path files themselves contain nothing that indicate this either - how could they.
What can I do to resolve these issues, or are you saying thatās the problem - itās not the path files, itās the actual system files the modder makes that causes this issue in how heās dealing with zones/objects? At a bit of a loss now.
I got confused quite how the making shortest/legal/illegal all the same (irrespective of whether thereās an acceptable jump object available with correct legality) can somehow make everything work without issue. That, to me, appears to make no senseā¦ if legal = shortest, can you plot through jumpholes in Omicron Alpha? or if you try, does it target the sun or the jumpgate or just say no best path?
If the game only plots to legal jump objects, it should throw a fit and plot to the first targetable object (the sun usually) of a system whereby thereās only jumpholes, or just say āno pathā. If it just says āno pathā, then how come weāve had issues with incorrectly targeted objects within a system - and why is the path file responsible for this, or how is the path file responsible for this?
Super confuddled now
-
Yes Im saying that the paths are simple, the issue lies in the modding of the systems.
For instance, I used the path gen from flscan, got similar problems to other people and edited the system inis accordingly and i have it working fine. This is the same flscan that people have said its crap at path file gen etc. etc.
So, in summary, whilst I havent used your tool Chips. I dont believe it will be a tool problem, itās a modding problem.
-
I agree.
Before Chips wrote this, I used FLScan to generate my path files for this same mod, with the same systems, and FL crashed whenever I tried to plot paths.
I did not fix any ini files (did not know for what sort of problems to start looking), and Chipsā second utility has worked fine on exactly the same systems. (My second run of the first release of Chipsā path generator screwed up but Chips realised the problem and fixed that in no time).
Strail, can you remember what problems you found in your ini files that may have caused the crashes when you used FL Scan? It will help me to understand what could it be. Thanks.
-
If you have more than 10 jumps - maybe more than 9 - in one path there will be a crash
and thereās a limit, how many JH/Gates can be in one system.That doesnāt mean the number of JH/Gates is limited 4 the system itself, but 4 the system in the pathfile.
Not sure about the number.And additional i suppose, that JH,
which are targeted by more than one starting JH
can crash the server if those are in the pathfile.The FLScan pathgenerator gives pathes with more than 10 jumps and
with 2 much Gates/JH in one system.
If you have those on your server, it can be restarted by routing- any of those 10+ jump pathes or
- via systems exceeding the number of JHs/Gates.
BUT it can be fixed server side by just removing those entries from the pathfiles.
otherwise this info would be censored. -
This is why I dont believe that the path file search when setting a way point/jump is limited to your one line entry in the path file.
That doesnāt mean the number of JH/Gates is limited 4 the system itself, but 4 the system in the pathfile.
Not sure about the number.Let me expand on my previous point. If I have 10 jumps in a sys then it will crash when i set a waypoint that travels through the system with 10 jumps. Why would it crash if its just reading the path file line in the path file?. The reason is it doesnt just read the path file line to get you from a-b, otherwise you wouldnt crash if you had 10 jumps in a sys. It reads the other jumps in that sys and each sys it goes through, or at least does other calculations involving āunrelatedā jumps in your path file line entry.
This is why I think your looking at the wrong problem
-
You might be right, so we didnāt test that with single routes.
We just removed every path going through a system with 10+ JH/Gates.
-
I meant be doing something wrong but when I down loaded the beta of path finder it is a .jar file and no exe to run it. I have windows operating systemā¦
Thanks , Dexter200031
-
pmād a reply
For anyone else, I know I typed lots on the first page, and itās blooming dull to readā¦ butā¦
To use this you will require the Java Runtime Environment - if you havenāt already got it installed, itās 100% free and available from here JRE 6 update 6
(link in first post).
-
Iām not going to continue working on this within the forseeable future as I donāt see the value (incase anyone checked up or wondered).
The tool itself will remain available, but source code is removed.Just be warned that FL crashes if paths are too long (10 jumps was it?)ā¦ this is an FL issue, not a tool issue.
-
No complaints here Chips, very many thanks for the utility, it solved my problems.
All the best pal.
-
Hmm, what a difference some boredom and old code makes.
Iāve made a change or two to include a warning regards to paths being greater than 10 in length.Question is - would people like this as an option or just a warning?
Option:- It will just alert you but write out the path and continue.
- It will alert you, but it will not write out the path, and continue.
Additionally, is it right that this issue only affects legal paths, and only if theyāre longer than 10 system connections in length? As it writes extremely fast, youāll basically only see it in the errors window that pops up (if any errors were encountered) at the end of its run.
Oh, Merry Xmas too