Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

The Oolite Extended Project - Fork, no oxp

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

.

Post by Lestradae »

* bump *
overmage
Deadly
Deadly
Posts: 128
Joined: Mon Mar 23, 2009 6:55 pm

Post by overmage »

Hangs when I load it up. Only with 0.67, 0.65 works fine. checked logs. Only one extra line seems to appear:

[startup.exception]: ***** Unhandled exception during startup: NSRangeException (Index 0 is out of range 0 (in 'objectAtIndex:')).

What does this mean?
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

...

Post by Lestradae »

Since short before 1.73 came out, the buying and selling of stations has stopped working as intended, too :?

This code here:

Code: Select all

Etc. etc.
... no longer seems to work as intended. I am looking into the problem ...


Concerning the startup exeption, I hope one of the devs knows what that means. I don't and I have never observed it (yet).

Does anyone else get overmage's error line?

L
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

..

Post by Lestradae »

A Constitution - dwarfed by one of INRA's Battlestars! :shock:

The red-violet blips on the scanner are the INRA ships - only visible because the player ship has the Scanner Jammer Filtering onboard, the INRA ships have Military Scanner Jammers - which shows with a unique colour of its own.

The "small" ship in the background to the left is a Super Juggernaut, one of five similar escorts (!!) of the Battlestar ... :twisted:

Image
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

overmage wrote:
Hangs when I load it up. Only with 0.67, 0.65 works fine. checked logs. Only one extra line seems to appear:

[startup.exception]: ***** Unhandled exception during startup: NSRangeException (Index 0 is out of range 0 (in 'objectAtIndex:')).

What does this mean?
Well, what that seems to say is that there's an array with no elements inside it, and oolite dies when trying to look at the first element. (element number 0 in all C derived languages) That still doesn't tell us much.

Overmage, if you could change the override setting, as per Ahruman's instructions, that should help us a lot:

One general crash testing tip, when there’s no indication of the cause: add a file called “logcontrol.plist” to your AddOns folder, with the following contents:

Code: Select all

{
_override = yes;
}
This will cause every possible log message to be written. Note that this will cause the log file to grow at a rate of several megabytes per minute, and quite likely slow your game down! But if the same message appears at the bottom each time, you might be closer to an actual cause.

Cheers.
Edit: in windows, please use wordpad, or a plain text editor to write inside the file. Notepad is evil, and will add extra characters, which will stop Oolite from reading logcontrol.plist
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
overmage
Deadly
Deadly
Posts: 128
Joined: Mon Mar 23, 2009 6:55 pm

Post by overmage »

Nothing useful here it seems D:

Code: Select all

[dataCache.set.success]: Updated entry player ships in cache "ship registry".
  [dataCache.set.success]: Updated entry ship data in cache "ship registry".
[shipData.load.done]: Ship data loaded.
[dataCache.retrieve.failed]: Failed to retrieve "ship registry" cache object demo ships -- no such entry.
[dataCache.retrieve.failed]: Failed to retreive"arrays" cache object Config/demoships.plist merge:yes -- no such cache.
[dataCache.set.success]: Updated entry Config/demoships.plist merge:yes in cache "arrays".
[dataCache.set.success]: Updated entry demo ships in cache "ship registry".
[dataCache.retrieve.failed]: Failed to retrieve "ship registry" cache object role weights -- no such entry.
[dataCache.set.success]: Updated entry role weights in cache "ship registry".
[dataCache.retrieve.failed]: Failed to retrieve "dictionaries" cache object Config/commodities.plist merge:basic -- no such entry.
[dataCache.set.success]: Updated entry Config/commodities.plist merge:basic in cache "dictionaries".
[dataCache.retrieve.failed]: Failed to retrieve "dictionaries" cache object Config/illegal_goods.plist merge:basic -- no such entry.
[dataCache.set.success]: Updated entry Config/illegal_goods.plist merge:basic in cache "dictionaries".
[dataCache.retrieve.failed]: Failed to retrieve "dictionaries" cache object Config/characters.plist merge:basic -- no such entry.
[dataCache.set.success]: Updated entry Config/characters.plist merge:basic in cache "dictionaries".
[dataCache.retrieve.failed]: Failed to retrieve "dictionaries" cache object Config/customsounds.plist merge:basic -- no such entry.
[dataCache.set.success]: Updated entry Config/customsounds.plist merge:basic in cache "dictionaries".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/mass_lock.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/mass_lock.ogg at ../AddOns/custsounds.oxp/Sounds/mass_lock.ogg
[dataCache.set.success]: Updated entry Sounds/mass_lock.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/mass_lock.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/laserhits.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/laserhits.ogg at Resources/Sounds/laserhits.ogg
[dataCache.set.success]: Updated entry Sounds/laserhits.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "Resources/Sounds/laserhits.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/ecm.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/ecm.ogg at ../AddOns/custsounds.oxp/Sounds/ecm.ogg
[dataCache.set.success]: Updated entry Sounds/ecm.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/ecm.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/mis_launch.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/mis_launch.ogg at ../AddOns/custsounds.oxp/Sounds/mis_launch.ogg
[dataCache.set.success]: Updated entry Sounds/mis_launch.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/mis_launch.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/guiclick.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/guiclick.ogg at Resources/Sounds/guiclick.ogg
[dataCache.set.success]: Updated entry Sounds/guiclick.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "Resources/Sounds/guiclick.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/nosystem.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/nosystem.ogg at ../AddOns/custsounds.oxp/Sounds/nosystem.ogg
[dataCache.set.success]: Updated entry Sounds/nosystem.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/nosystem.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/mine-armed.ogg -- no such entry.
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/ECM.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/ECM.ogg at ../AddOns/custsounds.oxp/Sounds/ECM.ogg
[dataCache.set.success]: Updated entry Sounds/ECM.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/ECM.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/beep.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/beep.ogg at Resources/Sounds/beep.ogg
[dataCache.set.success]: Updated entry Sounds/beep.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "Resources/Sounds/beep.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/gh_cdown.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/gh_cdown.ogg at ../AddOns/custsounds.oxp/Sounds/gh_cdown.ogg
[dataCache.set.success]: Updated entry Sounds/gh_cdown.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/gh_cdown.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/tar_lost.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/tar_lost.ogg at ../AddOns/custsounds.oxp/Sounds/tar_lost.ogg
[dataCache.set.success]: Updated entry Sounds/tar_lost.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/tar_lost.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/trumble.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/trumble.ogg at Resources/Sounds/trumble.ogg
[dataCache.set.success]: Updated entry Sounds/trumble.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "Resources/Sounds/trumble.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/ws_malf.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/ws_malf.ogg at ../AddOns/custsounds.oxp/Sounds/ws_malf.ogg
[dataCache.set.success]: Updated entry Sounds/ws_malf.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/ws_malf.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/warning.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/warning.ogg at ../AddOns/AsteroidStorm 3.5.oxp/Sounds/warning.ogg
[dataCache.set.success]: Updated entry Sounds/warning.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/AsteroidStorm 3.5.oxp/Sounds/warning.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/hit.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/hit.ogg at Resources/Sounds/hit.ogg
[dataCache.set.success]: Updated entry Sounds/hit.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "Resources/Sounds/hit.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/energylow.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/energylow.ogg at ../AddOns/custsounds.oxp/Sounds/energylow.ogg
[dataCache.set.success]: Updated entry Sounds/energylow.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/energylow.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/weap_heat.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/weap_heat.ogg at ../AddOns/custsounds.oxp/Sounds/weap_heat.ogg
[dataCache.set.success]: Updated entry Sounds/weap_heat.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/weap_heat.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/cargo_jet.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/cargo_jet.ogg at ../AddOns/custsounds.oxp/Sounds/cargo_jet.ogg
[dataCache.set.success]: Updated entry Sounds/cargo_jet.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/cargo_jet.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/pod_scoop.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/pod_scoop.ogg at ../AddOns/custsounds.oxp/Sounds/pod_scoop.ogg
[dataCache.set.success]: Updated entry Sounds/pod_scoop.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/pod_scoop.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/no_memtar.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/no_memtar.ogg at ../AddOns/custsounds.oxp/Sounds/no_memtar.ogg
[dataCache.set.success]: Updated entry Sounds/no_memtar.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/no_memtar.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/hs_cdown.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/hs_cdown.ogg at ../AddOns/custsounds.oxp/Sounds/hs_cdown.ogg
[dataCache.set.success]: Updated entry Sounds/hs_cdown.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/hs_cdown.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/id_lock.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/id_lock.ogg at ../AddOns/custsounds.oxp/Sounds/id_lock.ogg
[dataCache.set.success]: Updated entry Sounds/id_lock.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/id_lock.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/mis_lock.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/mis_lock.ogg at ../AddOns/custsounds.oxp/Sounds/mis_lock.ogg
[dataCache.set.success]: Updated entry Sounds/mis_lock.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/mis_lock.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/boop.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/boop.ogg at Resources/Sounds/boop.ogg
[dataCache.set.success]: Updated entry Sounds/boop.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "Resources/Sounds/boop.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/mis_armed.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/mis_armed.ogg at ../AddOns/custsounds.oxp/Sounds/mis_armed.ogg
[dataCache.set.success]: Updated entry Sounds/mis_armed.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/mis_armed.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/mis_safe.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/mis_safe.ogg at ../AddOns/custsounds.oxp/Sounds/mis_safe.ogg
[dataCache.set.success]: Updated entry Sounds/mis_safe.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/mis_safe.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/cloak_on.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/cloak_on.ogg at ../AddOns/custsounds.oxp/Sounds/cloak_on.ogg
[dataCache.set.success]: Updated entry Sounds/cloak_on.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/cloak_on.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/aegis_planet.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/aegis_planet.ogg at ../AddOns/custsounds.oxp/Sounds/aegis_planet.ogg
[dataCache.set.success]: Updated entry Sounds/aegis_planet.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/aegis_planet.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/hullbang.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/hullbang.ogg at Resources/Sounds/hullbang.ogg
[dataCache.set.success]: Updated entry Sounds/hullbang.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "Resources/Sounds/hullbang.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/witch_fail_fuel.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/witch_fail_fuel.ogg at ../AddOns/custsounds.oxp/Sounds/witch_fail_fuel.ogg
[dataCache.set.success]: Updated entry Sounds/witch_fail_fuel.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/witch_fail_fuel.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/w_hole.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/w_hole.ogg at ../AddOns/custsounds.oxp/Sounds/w_hole.ogg
[dataCache.set.success]: Updated entry Sounds/w_hole.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/w_hole.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/laser.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/laser.ogg at Resources/Sounds/laser.ogg
[dataCache.set.success]: Updated entry Sounds/laser.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "Resources/Sounds/laser.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/buy.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/buy.ogg at ../AddOns/custsounds.oxp/Sounds/buy.ogg
[dataCache.set.success]: Updated entry Sounds/buy.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/buy.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/auto_off.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/auto_off.ogg at ../AddOns/custsounds.oxp/Sounds/auto_off.ogg
[dataCache.set.success]: Updated entry Sounds/auto_off.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/auto_off.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/breakpattern.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/breakpattern.ogg at Resources/Sounds/breakpattern.ogg
[dataCache.set.success]: Updated entry Sounds/breakpattern.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "Resources/Sounds/breakpattern.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/hyp_abort.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/hyp_abort.ogg at ../AddOns/custsounds.oxp/Sounds/hyp_abort.ogg
[dataCache.set.success]: Updated entry Sounds/hyp_abort.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/hyp_abort.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/mine_L.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/mine_L.ogg at ../AddOns/custsounds.oxp/Sounds/mine_L.ogg
[dataCache.set.success]: Updated entry Sounds/mine_L.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/mine_L.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/bigbang.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/bigbang.ogg at Resources/Sounds/bigbang.ogg
[dataCache.set.success]: Updated entry Sounds/bigbang.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "Resources/Sounds/bigbang.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/hold_full.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/hold_full.ogg at ../AddOns/custsounds.oxp/Sounds/hold_full.ogg
[dataCache.set.success]: Updated entry Sounds/hold_full.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/hold_full.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/auto_on.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/auto_on.ogg at ../AddOns/custsounds.oxp/Sounds/auto_on.ogg
[dataCache.set.success]: Updated entry Sounds/auto_on.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/auto_on.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/witch_fail.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/witch_fail.ogg at ../AddOns/custsounds.oxp/Sounds/witch_fail.ogg
[dataCache.set.success]: Updated entry Sounds/witch_fail.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/witch_fail.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/In-missile.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/In-missile.ogg at ../AddOns/custsounds.oxp/Sounds/In-missile.ogg
[dataCache.set.success]: Updated entry Sounds/In-missile.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/In-missile.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/cloak_off.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/cloak_off.ogg at ../AddOns/custsounds.oxp/Sounds/cloak_off.ogg
[dataCache.set.success]: Updated entry Sounds/cloak_off.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/cloak_off.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/auto_deny.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/auto_deny.ogg at ../AddOns/custsounds.oxp/Sounds/auto_deny.ogg
[dataCache.set.success]: Updated entry Sounds/auto_deny.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/auto_deny.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/witchabort.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/witchabort.ogg at Resources/Sounds/witchabort.ogg
[dataCache.set.success]: Updated entry Sounds/witchabort.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "Resources/Sounds/witchabort.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/aegis_station.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/aegis_station.ogg at ../AddOns/custsounds.oxp/Sounds/aegis_station.ogg
[dataCache.set.success]: Updated entry Sounds/aegis_station.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/aegis_station.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/trumblesqueal.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/trumblesqueal.ogg at Resources/Sounds/trumblesqueal.ogg
[dataCache.set.success]: Updated entry Sounds/trumblesqueal.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "Resources/Sounds/trumblesqueal.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/id_off.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/id_off.ogg at ../AddOns/custsounds.oxp/Sounds/id_off.ogg
[dataCache.set.success]: Updated entry Sounds/id_off.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/id_off.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/sell.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/sell.ogg at ../AddOns/custsounds.oxp/Sounds/sell.ogg
[dataCache.set.success]: Updated entry Sounds/sell.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/sell.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/auto_fail.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/auto_fail.ogg at ../AddOns/custsounds.oxp/Sounds/auto_fail.ogg
[dataCache.set.success]: Updated entry Sounds/auto_fail.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/auto_fail.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/fuel-leak.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/fuel-leak.ogg at ../AddOns/custsounds.oxp/Sounds/fuel-leak.ogg
[dataCache.set.success]: Updated entry Sounds/fuel-leak.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/fuel-leak.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/auto_norange.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/auto_norange.ogg at ../AddOns/custsounds.oxp/Sounds/auto_norange.ogg
[dataCache.set.success]: Updated entry Sounds/auto_norange.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/auto_norange.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/game_over.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/game_over.ogg at ../AddOns/custsounds.oxp/Sounds/game_over.ogg
[dataCache.set.success]: Updated entry Sounds/game_over.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/game_over.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/id_on.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/id_on.ogg at ../AddOns/custsounds.oxp/Sounds/id_on.ogg
[dataCache.set.success]: Updated entry Sounds/id_on.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/id_on.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "resolved paths" cache object Sounds/scoop.ogg -- no such entry.
[resourceManager.foundFile]: Found Sounds/scoop.ogg at ../AddOns/custsounds.oxp/Sounds/scoop.ogg
[dataCache.set.success]: Updated entry Sounds/scoop.ogg in cache "resolved paths".
[sound.load.success]: Loaded a sound from "../AddOns/custsounds.oxp/Sounds/scoop.ogg".
[dataCache.retrieve.failed]: Failed to retrieve "dictionaries" cache object Config/planetinfo.plist merge:smart -- no such entry.
[dataCache.set.success]: Updated entry Config/planetinfo.plist merge:smart in cache "dictionaries".
[dataCache.retrieve.failed]: Failed to retrieve "arrays" cache object Config/pirate-victim-roles.plist merge:yes -- no such entry.
[dataCache.set.success]: Updated entry Config/pirate-victim-roles.plist merge:yes in cache "arrays".
[dataCache.retrieve.failed]: Failed to retrieve "dictionaries" cache object Config/autoAImap.plist merge:basic -- no such entry.
[dataCache.set.success]: Updated entry Config/autoAImap.plist merge:basic in cache "dictionaries".
[dataCache.retrieve.failed]: Failed to retrieve "arrays" cache object Config/equipment.plist merge:yes -- no such entry.
[startup.exception]: ***** Unhandled exception during startup: NSRangeException (Index 0 is out of range 0 (in 'objectAtIndex:')).

Closing log at 2009-09-04 00:01:35 +0800.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

overmage wrote:
Nothing useful here it seems D:

Code: Select all

…
[dataCache.retrieve.failed]: Failed to retrieve "arrays" cache object Config/equipment.plist merge:yes -- no such entry.
[startup.exception]: ***** Unhandled exception during startup: NSRangeException (Index 0 is out of range 0 (in 'objectAtIndex:')).

Closing log at 2009-09-04 00:01:35 +0800.
On the contrary: this tells us that the exception happened after trying to read equipment.plist from the cache, and before writing it to the cache. This means the problem is occurring somewhere in +[ResourceManager arrayFromFilesNamed:inFolder:andMerge:], somewhere between lines 563 and 622 – quite probably in the special handling of equipment.plist. For a project with over three hundred thousand lines of code (not including comments and blank lines), that’s quite precise. :-)
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

I’ve identified four possible causes of the exception, but none of them is triggered by my copy of OSE 0.67. It would be helpful if you could send me the equipment.plist from your copy.
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

..

Post by Lestradae »

Hmm ... overmage, could you perhaps post a list of the equipment oxps you are using parallel to OSE?

Something in that log does ring a bell with me - just an intuition. It could be (not sure, was 2-3 months ago) that your end line is similar to the same error report that I got when accidentially combining an equipment oxp that had been merged into OSE with the original oxp in my AddOns folder. I believe to remember that I assumed that a java script doubly present would interact with itself in a dysfunctional way.

Perhaps this is all balderdash, but then, please, give us a list of EQ oxps, perhaps it isn't.

:?

L
User avatar
Frame
---- E L I T E ----
---- E L I T E ----
Posts: 1477
Joined: Fri Mar 30, 2007 8:32 am
Location: Witchspace

Post by Frame »

Ahruman wrote:
I’ve identified four possible causes of the exception, but none of them is triggered by my copy of OSE 0.67. It would be helpful if you could send me the equipment.plist from your copy.
In OSE 0.67 i'm getting the same exception with svn 2375, however

i think its when it tries to read in shipdata.plist, since i'm having the benefit of not having OSE 0.67 installed before

Code: Select all

[shipData.load.begin]: Loading ship data...
[startup.exception]: ***** Unhandled exception during startup: NSRangeException (Index 0 is out of range 0 (in 'objectAtIndex:')).

Closing log at 2009-09-04 07:32:32 +0200.
windows vista 32 bit
Bounty Scanner
Number 935
User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

Frame, is this what you get after doing the same thing with _override as overmage, or is it with different log settings?
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

..

Post by Lestradae »

Really sorry that I can't contribute anything to this, but I don't get that error message on my Vista 32bit system and have no idea what's going on here :(

As I said above, I believe to have gotten an at least similar error plus crash at startup when I used OSE WiP together with some equipment oxps merged into it. Perhaps even the fuel station oxp? That's also in there ...

Can't spend time with Oolite this weekend, but promise to look as deep into the problem as possible afterwards and will perhaps post the latest version the also (though this atm differs from 0.67 only in that that the Transfer Shuttle is in and perhaps a dozen very minor bugfixes & typos were corrected)

:?

L
User avatar
Frame
---- E L I T E ----
---- E L I T E ----
Posts: 1477
Joined: Fri Mar 30, 2007 8:32 am
Location: Witchspace

Post by Frame »

Kaks wrote:
Frame, is this what you get after doing the same thing with _override as overmage, or is it with different log settings?
no missed that part, :oops:

i'm holding down shift pr instinct, so it should rebuild the cache however

SO I set override to yes and got this at the end since it seem this is where it crashes

Code: Select all

[dataCache.retrieve.failed]: Failed to retrieve "arrays" cache object Config/equipment.plist merge:yes -- no such entry.
[startup.exception]: ***** Unhandled exception during startup: NSRangeException (Index 0 is out of range 0 (in 'objectAtIndex:')).

Closing log at 2009-09-04 15:13:02 +0200.
So I removed all the player stations from the Equipment.plist file
and still got the same error....

Investigating further I removed everything apart from the first entry
and it worked with the SVN version...

so I put in half of what I had removed, and now i got the error again..

so I followed the same procedure over and over and got inconsistant results, making me finally realise that this has nothing todo with OSE 0.67 in particular but somewhat peculiar circumstances..

So I finally cooked everything down to about 11 entries in the Equipment.plist file.. but i was still getting inconsistant results as in sometimes it crashed, sometimes it didnt..

So finally i Figured.. It could be because I allready got the Equipment add on.. And Bingo, i removed my own OXP

The fuel collector, and so far everything works fine with Non modified OSE 0.67

So its the merging of two identical Equipment names that makes some sort of a mess

OSE's version looks like this

Code: Select all

array>
                         <integer>10</integer>
                         <integer>20000</integer>
                         <string>Fuel Collector</string>
                         <string>EQ_FRAME_FUEL_COLLECTOR</string>
                         <string>Device that retrieves quirium fuel from solar winds.</string>
                         <dict>
                                    <key>available_to_all</key>
                                    <true/>
                                    <key>requires_equipment</key>
                                    <string>EQ_FUEL_SCOOPS</string>
                                    <key>incompatible_with_equipment</key>
                                    <string>EQ_DUMMY</string>
                        </dict>
                      </array>


My own version as I'm the author of this particular Equipment looks like this

Code: Select all

<array>
	<array>
         		<integer>10</integer>
         		<integer>20000</integer>
         		<string>Fuel Collector</string>
         		<string>EQ_FRAME_FUEL_COLLECTOR</string>
         		<string>Device that Retrieves Fuel</string>
         		<dict>
            			<key>available_to_all</key>
            			<true/>
	    			<key>requires_equipment</key> 
	    			<string>EQ_FUEL_SCOOPS</string>
	    			<key>incompatible_with_equipment</key>
	    			<string>EQ_DUMMY</string>	    			
        		</dict>
      		</array>
</array>
I guess i should have known this, but at least I solved what is happening..

You see Lestradae. this is Exactly why you need non generic names.. to prevent errors like this...

You should really go and rename every piece of Equipment to prevent this from happening again, since this could happen with any piece of Equipment that is defined in your and another OXP..

Do not ask how I find these things... i just do it.. ;-)

Cheers Frame..

Edit: also what happens with world scripts...
Bounty Scanner
Number 935
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

..

Post by Lestradae »

Hey Frame,

thanks for confirming my suspicion! :)

The problem with renaming the equipment to OSE-specific is that I want players to be able to switch over to OSE and keep their stuff.

If i.e. someone had the fuel collector before OSE they should still have that same fuel collector and not notice any difference. I am even keeping up with upgrading the OSE-merged things with new versions of their original oxps (and this will be documented for the release version).

Will think about the problem and if I find a solution. Perhaps OSE will simply be a replacement for the things it can do, same way Simon's or Griff's ships are supposed to be replacements for something ...

Cheers

L
User avatar
Frame
---- E L I T E ----
---- E L I T E ----
Posts: 1477
Joined: Fri Mar 30, 2007 8:32 am
Location: Witchspace

Post by Frame »

They will still keep their Equipment , as you could have added incompatible with Equipment EQ_FRAME_FUEL_COLLECTOR, and renamed OSEs version to EQ_OSE_FUEL_COLLECTOR, my nick is there purely for a lesser chance of a Conflict with any other Equipment..

There will of course be two entries in the buy screen when the player does not have the Equipment, but that is something you cannot prevent, since you cannot afaik test for Equipment availability.

Either way Oolite should of course not crash but throw an error in the log file and ignore the last read entry of the double defined Equipment...
Bounty Scanner
Number 935
Post Reply