Freelancer Path Generator
-
Found it!
It was my Borg system having 13 jumpholes! FLServer.exe crashed on startup with the path files deleted.
I removed 3 of the jumpholes, it regenerated the path files and started OK.
I put one back to make it 11, deleted the path files and it crashed on startup again.
Removed that hole again and it regenerated and started.
Luckily I only have the one system with more than 10 holes and it’s easy to fix.
I have run your utility Chips, the first run told me there were 2 errors for ST03b being encrypted and 60 errors for paths too long, and it didn’t write them - I ran it again and selected “Keep long paths” and had the same errors - I attach all the files in the zip here, including the original ones I made with the beta version, the two runs, and the FLServer auto-generated ones, and the errors list.
No energy to look inside them right now, I’m knackered, going to bed!
Please let me know what you find.
In any case I like your utility and will continue to use it, many thanks for it pal. 8-) :pint:
-
I use ye proggy Chips… alot more over the past few days…
I have a Q…Im had a ton of “to long” errors… so i went back and deleted ALOT of jumpholes and gates … ensuring no more than 10 all up and limited paths… ( i had a few “nexus” type systems… that are now self contained) …
But now the error count has doubled? would setting a Gate to a hole… somewhere in the middle of the “run” fix that… or not make much diff at all?..
& whats the benefit of keeping/not keeping long paths … obviously the shorter ones are better… but don’t contain all the jumps… im getting the same CTD’s both ways…
& a touch off topic… but kind of in the same realm… Transport encounters… tradelane paths with large transports… ect…
is this a known cause for problems with mods?.. im starting to think i’d be better off wipeing every trade zone/path and starting agian… has anyone else been at “this point” with vannila factions, paths… 'n all that… thoughts?.. I’d rather not kill “all” NPC trading… thats kinda dull… nothing to loot lol
-
I don’t think there’s any problem with having long paths in the path files - the problem is due to enumerating the connections within a system. The patch mentioned in another thread will stop that crash occurring, at the expense of ignoring gates/holes after the tenth. I haven’t looked into what effect having a long path without the enumerator seeing it does, or even if the enumerator needs to see it. So apply the patch, restore all the additional jump objects and re-experiment…
-
Yes the long paths are not a problem as far as I can see they haven’t been causing my crashes, it’s just having more than 10 jumpgates / jumpholes in a system that causes the random crashes.
I have proved that for myself, because I had to fix my systems to reduce the jumps to 10 to be able to not have crashes (FL Server crashed when docking, much more heavily at one base than any other base in the same system). So be sure you have maximum of 10, if you use the patch and it works for you with absolutely no crashes then great!
But in my case I want to have a very stable mod, so I’m going to comply with as many “requirements of FL” as I can.
Thanks everyone.
-
Copy that, I just don’t understand why you don’t want to have your cake and eat it too tho…
The enumerator fix allows you to have more than 10 jumpgates per system totally bypassing this limitation to FL. ATM we have 11 jumpholes in NY on the SW:WT mod and have yet to see an issue since we done the enumerator fix.
No being difficult here… I’m just saying that you could keep the jumpgates if you’re willing to do the enumerator fix.
-
Oh yep, absolutely!
It’s just my own choice for my mod - feel the POWER! Haaaaarrrrrrr!!! - to be compliant for stability.
Heheheheh.
-
Well… after some jumpgate to jumphole tweaking… then running the Generator agian… im all clean… no more over 10 “legal” paths… & 0 errors when outputing…
It took hours to plan what to change and where… but it is a nice feeling knowing that paths are not the problem far be it…
at the expense of a few “easy” paths & quick jumps to far places…Im still CTD’n when they take them Transport trains through the cali gate in magellan though… obviously nothing to do with paths…
@ Chips 8-) nice proggy… I don’t trust FLE’s generator, this has come in handy!
@ Forsaken… I’ll send ye my server.dll m8, changing the batt/bot limit was easy… but this edits a long one…
-
Chips wrote:
Yes, sorry, been a bit slow about informing.
I got carried away making auto-updaters and all sorts. They’re not needed, and have been removed - I just got carried away creating them is all :http://freelancer.artificiallyintelli … ads/FL_Path_Generator.zip
Any feedback welcome. There hasn’t been extensive testing on this - mainly due to time of year and, as said, getting carried away with silly ideas
StarTrader wrote:
Checked just now, works OK for me. (Amazing!) lolIt still doesn’t work for me at all, just clicked it again and it stays on that spot???
-
The only one that you require to actually physically jump (from what I remember) was the systems_shortest_path connection between the two systems you were jumping between. The rest were for waypoint plotting only if I remember. However, I was told anything over 10 in length was an issue? If that is not true, but over 10 in a single system is, then I can alter it if required instead.
I could only put a warning in though. Where 10+ in length can just be truncated - trying to ignore all jumps in a 10+ jumps in one system would be fatal, or stopping writing would be bad too!
Oh yes, transports trade paths - indeed, all trade paths, are very tough to get right. The trade path needs to go between two bases - corresponding bases as well, from what I remember. I think it was Firebase whom got that working first, but nearly 5 years later, I honestly can’t remember. Someone else will know.
@ Hunterkiller - I’m not sure what you mean? What stays on a spot?
-
@ HunterKiller:- it’s because the link you tried is truncated, the original one in Chips’ post still works, but here it is again for you anyway, I just tested it again…
http://freelancer.artificiallyintelligent.co.uk/downloads/FL_Path_Generator.zip
@Xarian…
Just a thought… I changed my trains and armoured transport to use the .cmp files some time ago because they seemed complete, but I got crashes whenever trains appeared and I was by a jumpgate. Changing them all back to use the .3db files fixed it. Anyone know why please? Check the trains out in plain FL shiparch.ini to see what I mean.@ Chips: Did you spot anything odd between the files I sent?
The path length is not a problem, is it? So all paths can be included in the utility, maybe just tell the user that they do exist?
But more than 10 jumps in a single system is a killer unless they use adoxa’s patch, so definitely an alert is a great help.
-
@ ST… hehe… I’ve done the exact same thing… so back to .3db
I too am curious as to why they would crash… there is no “obvious” sign as to why… probably something deep in the .cmp… dam… could even be the sur… either way… thankx for the insight… thats the kinda help i need ATM… what’s worked for others… what just plain dont work… ect… . should really be a list of these things… something for the wiki methinks.
-
Boy am I bad at checking things.
Okay, overhaul done - it took about 10 minutes.
- Now it does not moan about the length of paths. If it’s 10+ jumps, who cares!
- It does now moan about the number of jump objects you have. If you have 10+ jump objects in a single system, it’ll moan.
- There is a “suppress object count warning” tick-box. This is there to suppress the warnings if a system has more than 10 jump objects in it. Obviously, for use if you’ve used the hack.
- It still writes the relevant path files irrespective or suppress warnings or not - as the connections are correct, just the number of objects in one system may be too great!
So why is the tool still useful?
I guess just because it will parse the files, and if you’ve got jump objects that are incorrect, it will flag them. By this, I mean they reference non-existent jump objects, or that they reference non-existent systems.
Download is the same:
http://freelancer.artificiallyintelligent.co.uk/downloads/FL_Path_Generator.zipor
http://freelancer.artificiallyintelligent.co.uk/downloads/FL_Path_Generator.zip
Comments welcome
p.s It doesn’t moan, just text output. Too much like hard work for it to audibly “tut-tut” when it comes across errors - although that would be amusing. And irritating.
-
Just out of curiosity, I was under the impression that FL could generate the path files all by itself? What exactly would be the advantage/additional features that your software gives, Chips?
-
I know that. I was just surprised to see a release of this tool now that the knowledge of FL being able to regenerate paths by itself being relatively widespread. I felt like it obsoleted the program, regardless of how purposeful it has been.
-
Igiss wrote:
We will try this tool too, I had to use one from FLScan before and it has drawbacks (most importantly, cannot create shortest_legal_path correctly).Is there a limit for systems and paths that it can process?
Nope, never tested it to the “extreme” - but with the algorithm it shouldn’t take much memory - and seeing as it is Java, there won’t be “leaks” either as it’ll “Garbage collect” anything de-referenced.
However, if you don’t get errors with this tool - then feel free to delete all the path files and just start FLServer - it’ll generate them for you as well
Just that this tool does a lil bit of error checking as it goes.
edit I didn’t see the subsequent posts - thank you for the kind words Opr8r
FriendlyFire wrote:
I know that. I was just surprised to see a release of this tool now that the knowledge of FL being able to regenerate paths by itself being relatively widespread. I felt like it obsoleted the program, regardless of how purposeful it has been.The only advantage it offers is error checking - FL doesn’t check whether the referenced jump object (or system afaik) exists. So this generates the paths - but also does a lil bit of error checking along the way.
Why have I bothered to update it? That’s very simple but difficult to explain. Think of it as “personal pride”, but without “pride” being forefront. Simply put, I didn’t want to leave a tool around that isn’t 100% functional and correct. If it would take a few days to fix, then I may have just removed it. As it is, it took a few minutes
p.s Just been looking at Evo once more. By christ, some of the stuff I did was plain ugly and un-necessary. So much “excess” code, could have been far neater
-
Well Chips, I believe it was at my request that you started this project, and so I reserve the right to say:-
-
We had nothing else to go on at the time except manual editing.
-
I was pulling my hair out.
-
I will continue to use it in preference to the auto-rebuild.
-
I think you’ve done a fab job of it.
-
I respect you for keeping the urge to complete it.
-
I admire you for finding the nooks and crannies and digging them into the light!
And my full apprecation and thanks.
Now - how do you feel about taking on my other request for a utility to dig out and check the material hashes in .mat files and compare them to what the .cmp file wants to find, looking for missing materials and duplicate material names so that we reduce problems of several ships using the same name accidentally?
That would be a great one too.
-
-
StarTrader wrote:
Well Chips, I believe it was at my request that you started this project, and so I reserve the right to say:--
We had nothing else to go on at the time except manual editing.
-
I was pulling my hair out.
-
I will continue to use it in preference to the auto-rebuild.
-
I think you’ve done a fab job of it.
-
I respect you for keeping the urge to complete it.
-
I admire you for finding the nooks and crannies and digging them into the light!
And my full apprecation and thanks.
Now - how do you feel about taking on my other request for a utility to dig out and check the material hashes in .mat files and compare them to what the .cmp file wants to find, looking for missing materials and duplicate material names so that we reduce problems of several ships using the same name accidentally?
That would be a great one too.
You’re too kind
I replied on that question though All I need to know is the encoding those files utilise. If I know how to “read” the file, I can then make the program
-