Crashes in Edinburgh
Since last summer when I released first version of Discovery, I've several times experienced (and got occasional reports about) client and server crashing in one specific place - Edinburgh system, between Perth base and nearby asteroid miner. As I'm now working on next Discovery version, I decided to finally fix this thing (although it doesn't happen all the time, and few people ever visit this place).
I didn't introduce anything new into this system, except for a jump hole into Dublin. I've removed jump hole, and removed the asteroid miner (since I edited solararch.ini), however, the problem persisted.
Then I started to look through encounters and patrols, which I didn't add or modify. After some trial&error I was able to track the reason of crashes - patrol called Zone_Br06_path_planetform2_1 between Perth and roid_miner.
Here's its code (taken from SDK 1.5, though it doesn't really matter cause they all SDKs are identical about this, and my mod had the same):
[zone
nickname = Zone_Br06_path_planetform2_1
pos = 17675, 0, 10723
rotate = -90, -68, 0
shape = CYLINDER
size = 750, 5154
property_flags = 131072
sort = 96
toughness = 6
density = 5
repop_time = 30
max_battle_size = 4
pop_type = mining_path
relief_time = 20
path_label = planetform2, 1
usage = trade
mission_eligible = true
faction_weight = co_ti_grp, 10
density_restriction = 1, patroller
density_restriction = 1, police_patroller
density_restriction = 1, pirate_patroller
density_restriction = 4, unlawfuls
encounter = miningp_trade_transport, 6, 0.330000
faction = co_ti_grp, 1.000000
There wasn't a single crash after removing this section.
I wonder if anyone has ever encountered similar problem and what might be causing it... is it specific to my mod (for some mysterious reason) or a known problem of original FL? If latter, then why is it in SDK?
I didn't introduce anything new into this system, except for a jump hole into Dublin. I've removed jump hole, and removed the asteroid miner (since I edited solararch.ini), however, the problem persisted.
Then I started to look through encounters and patrols, which I didn't add or modify. After some trial&error I was able to track the reason of crashes - patrol called Zone_Br06_path_planetform2_1 between Perth and roid_miner.
Here's its code (taken from SDK 1.5, though it doesn't really matter cause they all SDKs are identical about this, and my mod had the same):
[zone
nickname = Zone_Br06_path_planetform2_1
pos = 17675, 0, 10723
rotate = -90, -68, 0
shape = CYLINDER
size = 750, 5154
property_flags = 131072
sort = 96
toughness = 6
density = 5
repop_time = 30
max_battle_size = 4
pop_type = mining_path
relief_time = 20
path_label = planetform2, 1
usage = trade
mission_eligible = true
faction_weight = co_ti_grp, 10
density_restriction = 1, patroller
density_restriction = 1, police_patroller
density_restriction = 1, pirate_patroller
density_restriction = 4, unlawfuls
encounter = miningp_trade_transport, 6, 0.330000
faction = co_ti_grp, 1.000000
There wasn't a single crash after removing this section.
I wonder if anyone has ever encountered similar problem and what might be causing it... is it specific to my mod (for some mysterious reason) or a known problem of original FL? If latter, then why is it in SDK?