Reminder: Internet Explorer 6 or below are NOT supported.





There are currently 52 users playing Freelancer on
38 servers. | April. 16, 2021 |
Browsing this Thread:
1 Anonymous Users
Path crashes |
||||
---|---|---|---|---|
Not too shy to talk
![]() ![]() Joined:
2017/3/1 17:22 From Bavaria
Group:
Registered Users $$$ Supporters $$$
Posts:
64
![]() |
Greetings,
I am having trouble with the patrol paths in the system I built, it all started when I changed the reputation of one base from fc_lh_grp to fc_c_grp. Since then, all patrol paths in my system crash at Content.dll 000c458f and I can't seem to find the bug. Sample Path: Code: [Zone] I've been digging the forum for solutions, but I was unsuccessful/did not find an explanation where to serach for the bug. Relevant Threads/Posts I found: Forum1 Forum2 Since I have only have this system I would prefer to fix the problem, rather than change reputations or hack around it, but I don't know what to fix.
Posted on: 2017/8/20 17:52
|
|||
|
Re: Path crashes |
||||
---|---|---|---|---|
Just can't stay away
![]() ![]() Joined:
2010/8/9 17:45 Group:
Registered Users FLServer Admins
Posts:
336
![]() |
Maybe I´m totally wrong here, but there is only thing that comes to my mind:
So IIRC the paths need to have a starting and a endpoint "close" to a base or jumpgate/hole where (especially when bases are path-start/endpoints) the base-faction (in Mbases.ini) has to be at least neutral to the patrol-faction (in order to grant docking for the incomming patrol-NPCs). But these are just my two cents... Greetings J.R. EDIT: Just realized that this was allready covered by your own investigations... Sorry !
Posted on: 2017/8/20 20:34
|
|||
ENIGMA V.4 ATG HOMEPAGE/FORUM |
||||
|
Re: Path crashes |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2008/5/21 19:32 Group:
Registered Users FLServer Admins $$$ Supporters $$$ Senior Members
Posts:
953
![]() |
Just for interest, try running the mod through FLErrorChecker and FLScan.
Also, do you have any paths that are labeled identically? Or nicknamed identically? Finally, do the encounters exist in the system ini and in the ENCOUNTERS folder? Also, are the encounters themselves formatted properly? Thought of something else... Are you sure the only change you made was to the base reputation? Is the base populated by the faction that you changed the reputation to? Also, go back to a working version of the mod and then change a section. Then test before you move on to the next section. Sometimes it's something as simple as an accidental keystroke that changed something important.
Posted on: 2017/8/23 0:09
|
|||
Gun control is like fighting drunk driving by making it harder for sober people to buy a car... | ||||
|
Re: Path crashes |
||||
---|---|---|---|---|
Not too shy to talk
![]() ![]() Joined:
2017/3/1 17:22 From Bavaria
Group:
Registered Users $$$ Supporters $$$
Posts:
64
![]() |
Quote:
The only thing FlscanII finds are four duplicate encounters, because I spawn the same encounter with different difficulties in the same zone. Quote:
The nicknames are unique, some labels are the same because the path has two parts, but the numbers differ of course. Quote:
All encounters on the patrol paths are from vanilla and are referenced on top of the system. Quote:
I changed the whole [MBase] entry when I swapped the faction. The new entry is a copy of a vanilla base with custom ID-strings. I don't want to change it back though.
Posted on: 2017/8/25 8:44
|
|||
|
Re: Path crashes |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2008/5/21 19:32 Group:
Registered Users FLServer Admins $$$ Supporters $$$ Senior Members
Posts:
953
![]() |
Quote:
Well, let's start with this then. On the server, remark out the duplicate entries leaving just one. Run the server for a while with the one entry and see if the problem still persists. If it does we know that's not the problem. If it doesn't then we'll have to figure out how to accomplish what you're trying to do.
Posted on: 2017/8/25 13:30
|
|||
Gun control is like fighting drunk driving by making it harder for sober people to buy a car... | ||||
|
Re: Path crashes |
||||
---|---|---|---|---|
Not too shy to talk
![]() ![]() Joined:
2017/3/1 17:22 From Bavaria
Group:
Registered Users $$$ Supporters $$$
Posts:
64
![]() |
I commented them out, but it still crashes at the same offset.
Since my 'mod' will be open source anyway I attached a zip with code excerpts. I hope I got everything relevant. The system file is of course not complete, but it works and still crashes the server at the same offset.
Posted on: 2017/8/28 20:49
|
|||
|
Re: Path crashes |
||||
---|---|---|---|---|
Not too shy to talk
![]() ![]() Joined:
2017/3/1 17:22 From Bavaria
Group:
Registered Users $$$ Supporters $$$
Posts:
64
![]() |
In the mean time, I found two other errors regarding this(one in MBases.ini and one in IW07.ini), but fixing them didn't solve my crash issues. So I tried out adoxas tool, which was kinda helpful, but I don't know what to make of the result.
Code: 2017-09-16 18:46:58.905: addr = 00000000, index = 0, count = 0 What doesn't make sense is that I get those crashes even if the factions are not hostile towards each other.
Posted on: 2017/9/30 12:56
|
|||
|
Re: Path crashes |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2008/5/13 15:48 Group:
Registered Users FLServer Admins $$$ Supporters $$$ Senior Members
Posts:
662
![]() |
Maybe remove all those encounters
and then add them one by one. This should atleast telly ya, which of those is crashing your stuff.
Posted on: 2017/10/1 8:27
|
|||
![]() |
||||
|
Re: Path crashes |
||||
---|---|---|---|---|
Not too shy to talk
![]() ![]() Joined:
2017/3/1 17:22 From Bavaria
Group:
Registered Users $$$ Supporters $$$
Posts:
64
![]() |
Quote:
Thats the nice part of adoxas tool, if you hook in the dll it prevents the crash and logs the path that would have crashed. Which is why I know that those three are the 'bad' ones. What I don't know yet, is why they crash. I've looked over the code many times and found nothing wrong or different from the others that don't crash.
Posted on: 2017/10/1 9:56
|
|||
|
Re: Path crashes |
||||
---|---|---|---|---|
Not too shy to talk
![]() ![]() Joined:
2017/3/1 17:22 From Bavaria
Group:
Registered Users $$$ Supporters $$$
Posts:
64
![]() |
So I'm pretty sure I found the solution in the old posts, thanks go to foxunit01. Contrary to my initial belief, it has got nothing to do with hostility of the spawned ships and the station.
As a rule of thumb, each faction that patrols to or from any base should be mentioned in the [MBase] entry of the station like this: Code: [BaseFaction] That sould stop the crashes. If you still get them, the tools from adoxa can help you find the culprit.
Posted on: 2017/10/2 20:05
|
|||
|