Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
69 user(s) are online (29 user(s) are browsing Forum)

Members: 0
Guests: 69

more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +0€

Current balance: 55€
(last updated 04/2021)

Please make a donation if you want to help keeping The-Starport online:

Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 67 users playing Freelancer on 37 servers.
May. 7, 2021

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post

(1) 2 »


FLServer crash at content.dll offset c458f
Just can't stay away
Joined:
2008/8/21 4:48
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 454
Offline
This information might be useful to someone...

I've noticed that a crash in content.dll at offset 0xc458f is related to NPC spawning problems. In the last couple of cases I've dealt with, it was caused by patrol path problems after a dockable object had its reputation changed. Removing the patrol path made the crash go away.

Note that the code around this offset deals with random NPC spawning so if you have crashes with an offset similar to, but not exactly the same, then the crash is almost certainly NPC related.

Incidentally, I found the last particular crash by using the testbot feature in the playercontrol plugin for flhook 1.6.0. This feature 'jumps' a player's ship to all zones in a system until the server crashes or you get bored and stop it.

Posted on: 2009/4/7 20:06
Top
Re: FLServer crash at content.dll offset c458f
Starport Admin
Joined:
2009/2/21 21:42
Group:
Webmasters
Registered Users
Posts: 3520
Offline
Interestingly enough, I do believe we've had similar problems which also went away by commenting out certain patrol paths.

What I don't understand is why they suddenly decided to crash when they are vanilla ones...

I think your plugin might be a boon for hunting those down, though ;D

Posted on: 2009/4/8 1:05
"Cynicism is not realistic and tough. It's unrealistic and kind of cowardly because it means you don't have to try."
-Peggy Noonan
Top
Re: FLServer crash at content.dll offset c458f
Home away from home
Joined:
2008/2/10 22:00
Group:
Registered Users
FLServer Admins
Senior Members
Posts: 1281
Offline
Thanks to FF for pointing out that Cannon had found the problem and a search led me here...

I am having the same issue and it has been in my mod since I started it in 2005. I will see what I can do to add a check for bad patrol paths in FLEC.

Thanks again FF!

Posted on: 2009/8/25 5:22
Galaxy Empire
Youtube Videos
Facebook
Top
Re: FLServer crash at content.dll offset c458f
Home away from home
Joined:
2009/7/30 4:40
From P.R.C
Group:
Registered Users
Senior Members
Posts: 851
Offline
Same problem here, LS, is your work done?

And i think my problem is strange, i'm not change patrol paths in that system -- the Sigma-19 nearly Hawaii.

Can i solve the problem by remove comment from those patorl paths?

Posted on: 2010/11/27 14:04
Sorry for my poor english...
Top
Re: FLServer crash at content.dll offset c458f
Home away from home
Joined:
2008/5/4 21:00
Group:
Registered Users
Senior Members
Posts: 554
Offline
Quote:

NeXoSE wrote:
Same problem here, LS, is your work done?

And i think my problem is strange, i'm not change patrol paths in that system -- the Sigma-19 nearly Hawaii.

Can i solve the problem by remove comment from those patorl paths?



Did you make any changes to that system, or to connecting ones?

Posted on: 2010/11/27 14:19
Top
Re: FLServer crash at content.dll offset c458f
Home away from home
Joined:
2009/7/30 4:40
From P.R.C
Group:
Registered Users
Senior Members
Posts: 851
Offline
Actually changed. I "rename" Ku* to Ek*

Code:
Here is output of fc.exe:
 Bw07.ini and BW07.INI.FLMMBAK
***** Bw07.ini

[EncounterParameters]
nickname = capitalships_Kusari
filename = missions\encounters\capitalships_Kusari.ini

[TexturePanels]
***** BW07.INI.FLMMBAK

[TexturePanels]
*****

***** Bw07.ini
[Object]
nickname = Bw07_to_Ek04
ids_name = 260874
***** BW07.INI.FLMMBAK
[Object]
nickname = Bw07_to_Ku04
ids_name = 260874
*****

***** Bw07.ini
archetype = jumpgate
msg_id_prefix = gcs_refer_system_Ek04
jump_effect = jump_effect_bretonia
***** BW07.INI.FLMMBAK
archetype = jumpgate
msg_id_prefix = gcs_refer_system_Ku04
jump_effect = jump_effect_bretonia
*****

***** Bw07.ini
difficulty_level = 9
goto = Ek04, Ek04_to_Bw07, gate_tunnel_bretonia
loadout = jumpgate_co_02
***** BW07.INI.FLMMBAK
difficulty_level = 9
goto = Ku04, Ku04_to_Bw07, gate_tunnel_bretonia
loadout = jumpgate_co_02
*****

***** Bw07.ini
[zone]
nickname = Zone_Bw07_to_Ek04
pos = -30957, 0, -18238
***** BW07.INI.FLMMBAK
[zone]
nickname = Zone_Bw07_to_Ku04
pos = -30957, 0, -18238
*****

***** Bw07.ini
archetype = sun_1000
star = Ek03_sun2
atmosphere_range = 8000
***** BW07.INI.FLMMBAK
archetype = sun_1000
star = ku03_sun2
atmosphere_range = 8000
*****

***** Bw07.ini
[zone]
nickname = Zone_Bw07_to_Ek04_hole
pos = -25703, 0, -1190
***** BW07.INI.FLMMBAK
[zone]
nickname = Zone_Bw07_to_Ku04_hole
pos = -25703, 0, -1190
*****

***** Bw07.ini
[Object]
nickname = Bw07_to_Ek04_hole
ids_name = 260875
***** BW07.INI.FLMMBAK
[Object]
nickname = Bw07_to_Ku04_hole
ids_name = 260875
*****

***** Bw07.ini
archetype = jumphole_light
msg_id_prefix = gcs_refer_system_Ek04
ids_info = 66146
***** BW07.INI.FLMMBAK
archetype = jumphole_light
msg_id_prefix = gcs_refer_system_Ku04
ids_info = 66146
*****

***** Bw07.ini
visit = 0
goto = Ek04, Ek04_to_Bw07_hole, gate_tunnel_bretonia

***** BW07.INI.FLMMBAK
visit = 0
goto = Ku04, Ku04_to_Bw07_hole, gate_tunnel_bretonia

*****

***** Bw07.ini
density = 6
repop_time = 25
max_battle_size = 12
pop_type = Background
***** BW07.INI.FLMMBAK
density = 3
repop_time = 25
max_battle_size = 4
pop_type = Background
*****

***** Bw07.ini
population_additive = false
faction_weight = fc_ou_grp, 4
faction_weight = gd_gm_grp, 4
faction_weight = ku_n_grp, 4
encounter = area_scout, 9, 0.40000
faction = fc_ou_grp, 1.000000
***** BW07.INI.FLMMBAK
population_additive = false
faction_weight = fc_ou_grp, 10
faction_weight = gd_gm_grp, 4
encounter = area_scout, 9, 0.480000
faction = fc_ou_grp, 1.000000
*****

***** Bw07.ini
faction = gd_gm_grp, 1.000000
encounter = capitalships_Kusari, 19, 0.50000
faction = ku_n_grp, 1.000000

***** BW07.INI.FLMMBAK
faction = gd_gm_grp, 1.000000

*****


I remove all comment from that system, but not lucky.

Posted on: 2010/11/27 14:35
Sorry for my poor english...
Top
Re: FLServer crash at content.dll offset c458f
Home away from home
Joined:
2008/9/11 15:55
From Somewhere at Moscow
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 1766
Offline
I have this patch
http://the-starport.net/freelancer/fo ... t_id=35415#forumpost35415

And in initialword all "max" negative values are switched to -0.59
(if -0.6 = crash)

Works fine for me.



Attach file:


zip initialworld.zip Size: 7.08 KB; Hits: 217

Posted on: 2010/11/27 14:42
Open Sirius Mod
Top
Re: FLServer crash at content.dll offset c458f
Home away from home
Joined:
2009/7/30 4:40
From P.R.C
Group:
Registered Users
Senior Members
Posts: 851
Offline
Thanks HeIIoween, Just done the patch for my mod and now for testing.

But.... why need change initialword? What happen if i'm not change -0.6 to -0.59?

Posted on: 2010/11/27 15:07
Sorry for my poor english...
Top
Re: FLServer crash at content.dll offset c458f
Starport Admin
Joined:
2009/2/21 21:42
Group:
Webmasters
Registered Users
Posts: 3520
Offline
Isn't -0.6 the default "enemy" threshold?

Posted on: 2010/11/27 15:09
"Cynicism is not realistic and tough. It's unrealistic and kind of cowardly because it means you don't have to try."
-Peggy Noonan
Top
Re: FLServer crash at content.dll offset c458f
Home away from home
Joined:
2009/7/30 4:40
From P.R.C
Group:
Registered Users
Senior Members
Posts: 851
Offline
Quote:

FriendlyFire wrote:
Isn't -0.6 the default "enemy" threshold?


Yes, i don't want a friendly universe... So i want to know if it must be change or not?

Posted on: 2010/11/27 15:15
Sorry for my poor english...
Top
Re: FLServer crash at content.dll offset c458f
Home away from home
Joined:
2008/9/11 15:55
From Somewhere at Moscow
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 1766
Offline
Yeah, i have Nomads versus All at Dod.
My business - to offer, and then watch yourself, can come across the idea

Posted on: 2010/11/27 15:28
Open Sirius Mod
Top
Re: FLServer crash at content.dll offset c458f
Home away from home
Joined:
2009/7/30 4:40
From P.R.C
Group:
Registered Users
Senior Members
Posts: 851
Offline
Quote:

HeIIoween wrote:
Yeah, i have Nomads versus All at Dod.
My business - to offer, and then watch yourself, can come across the idea


DOD have problem lol

And i want to know if i'm not going to change -0.6 to -0.59, will my game crash? If that true i will going to change it, if not i will keep my faction project in FactionEditor LOL


UPDATE:
The crash looks go away, i already marked this problem as "DEPENDING", Thank you! And still want to clear about the initialworld.ini....

Posted on: 2010/11/27 15:31
Sorry for my poor english...
Top
Re: FLServer crash at content.dll offset c458f
Home away from home
Joined:
2008/5/4 21:00
Group:
Registered Users
Senior Members
Posts: 554
Offline
So patrol path to a dockable object, had it's reputation changed, do you mean the rep between the base's faction and the patrol path's faction? Or just the players rep to those factions?

Slightly confused, reputation for a patrol path to a base must be positive, can't have unfriendly listed or patrolling under certain types or something? (grasping straws, not sure I understand what was done).


Posted on: 2010/11/27 16:42
Top
Re: FLServer crash at content.dll offset c458f
Home away from home
Joined:
2009/7/30 4:40
From P.R.C
Group:
Registered Users
Senior Members
Posts: 851
Offline
Quote:

Chips wrote:
So patrol path to a dockable object, had it's reputation changed, do you mean the rep between the base's faction and the patrol path's faction? Or just the players rep to those factions?

Slightly confused, reputation for a patrol path to a base must be positive, can't have unfriendly listed or patrolling under certain types or something? (grasping straws, not sure I understand what was done).



Reputation is not change, i just change nicknames for rename system. The problem must in other place.

Posted on: 2010/11/28 0:10
Sorry for my poor english...
Top
Re: FLServer crash at content.dll offset c458f
Home away from home
Joined:
2008/9/11 15:55
From Somewhere at Moscow
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 1766
Offline
Are

Code:
star = Ek03_sun2


and

Code:
msg_id_prefix = gcs_refer_system_Ek04


really present?

Posted on: 2010/11/28 0:51
Open Sirius Mod
Top
(1) 2 »