Bug in fleetops when nonexistant weapons are used on a ship

I want my 15 rapid-fire quantum torpedo launchers Uber-Defiant now! - Get help from modders. Share your work. Discuss modifications.
posted on July 30th, 2009, 6:11 am
There's a bug in fleetops where the game will "sort of crash" when you try to place a ship down that has weapons that don't exist. Before it would crash when the weapon tried to fire, which would at least point me in the direction to what's the problem. can this be "fixed"?
posted on July 30th, 2009, 8:09 am
na, well, thats not a bug in Fleet Operations, but a bug in the ODFs :D The coding always asumes that all ODFs are valid, out of pure managment and performance reasons. If we would add java-like exception handling to every access, Armada wouldn't be fun at all (one may discuss the performance of such languages and coding concepts in general, but in this specific case, where all the exception handling would be "plugged onto" it would greatly reduce performance). So sorry, you have to take care of the ODFs yourself, if changing them. We use a development tool to compile the odfs, so they are always (well hopefully always  :sweatdrop:) valid. The tool is planed to be released as soon as its open enough for the public (its quite dirty stuff at the moment)

Topic moved, as thats not a general Fleet Ops question
posted on July 30th, 2009, 10:42 am
No, what used to happen is that the game would crash only when the non-existent weapon would fire, now it crashes when the ship is finsihed building/placed. Can it go back to the old way so that it helps point me in the right direciotn when that sort of crash occurs?
posted on July 30th, 2009, 1:41 pm
Yea, we change stuff and handling in Fleet Operations, to establish new features and possibilities. Therefore things behave differently and might crash earlier or later. Thats always the case when changing stuff in a program. We will not add exception handling to point out where crashes happen, sorry. The debug information that appears in the crash report might be of use sometimes to locate a bug, but as said before, Fleet Ops does always expect well-formed and valid ODFs.
posted on July 31st, 2009, 8:17 am
exactly. for various reasons fleet operations has to access weapon information a lot earlier than armada does, so the game crashes earlier too when you have a mistake in an odf file. btw in my mind it's better the game crashes earlier than later when there is an issue with the odfs...better than the game crashing at *some* point later and you have no idea where the bug originates from. ;)
posted on July 31st, 2009, 8:22 am
Actually, i've grown to expect it to crash only when it tries to fire if i made a mistake in weapons, but i think i can learn the new way! thanks for clearing this up...
Reply

Who is online

Users browsing this forum: No registered users and 3 guests

cron