project-navigation
Personal tools

Author Topic: Ship Manufacture / Transfer Issue.  (Read 2911 times)

Offline Nightknight

  • Rookie
  • ***
  • Posts: 25
    • View Profile
Ship Manufacture / Transfer Issue.
« on: August 27, 2009, 11:35:38 pm »
Game Version:
Game obtaine: "svn co https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk"
svn info >
Path: .
URL: https://ufoai.svn.sourceforge.net/svnroot/ufoai/ufoai/trunk
Repository Root: https://ufoai.svn.sourceforge.net/svnroot/ufoai
Repository UUID: 39b98707-f80d-0410-bc7e-c6b02f5409da
Revision: 25855
Node Kind: directory
Schedule: normal
Last Changed Author: tlh2000
Last Changed Rev: 25855
Last Changed Date: 2009-08-26 12:26:19 -0430 (Wed, 26 Aug 2009)

System Information:
OS: Ubuntu 9.04 "Jaunty Jackalope"
Kernel "2.6.28-15-generic"
GPU: nVIDIA Gforce 8800gt 512mb DDR3
lspci >01:00.0 VGA compatible controller: nVidia Corporation GeForce 8800 GT (rev a2)
Driver: NVIDIA Accelerated Graphics Driver (Version 180)
Arch: AMD64 - X86_64
uname -a > Linux Anastasia 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 19:25:34 UTC 2009 x86_64 GNU/Linux

What happened before the bug occurred?
Problem with Aircraft Manufacture: Particularly the "Stingray - Interceptor"
Explanation: Base "Hefesto 3*" (50 Workers > 3 Small Hangars [Empty]) was in the process of producing N number of "Stingrays" to be transfered to the other bases.
The first 2 transfer were a success. After that I detected an anomaly: Aircrafts shown for "Sale"[Buy /Sell GUI] & In "Aircraft" [Aircraft GUI] did not match number of Aircrafts available to be transfered [Transfer GUI].
- Course of Action: Destroyed and Rebuilt the 3 Hangars at "Hefesto 3*"
- Next Batch of "Stingrays" produced. Transfered to Base X. Saved.
- Several game ours passed: CRASH.
Re-entered the game, loaded last savegame, press "Play", several game hours pass: Crash.
Ran game with "dbg": Results attached.
*/ Savegame contains the last savegame (Crash)
*/ Shiptransbug contains: Last lines of terminal / last lines of ufoconsole.log / results of be full.

[NEW]

For those willing to download and test the savegame.

Found a way to avoid the imminent crash, these are the steps to take.
-Upon game load DO NOT advance the time. (Do stay in "Pause" mode.)
-Enter base called "Ares 3"
-Sell one "Stingray"
-Go to Geo and advance the time.
Results: Game will not crash. The Transfer of the Stingray will be a success. Funny thing is that there won't be any Stingray waiting for you once you check the base.
 

« Last Edit: August 28, 2009, 12:34:51 am by Nightknight »

Offline Nightknight

  • Rookie
  • ***
  • Posts: 25
    • View Profile
Re: Ship Manufacture / Transfer Issue.
« Reply #1 on: August 28, 2009, 02:05:56 am »
[Continues]

Through further examination of the Savegame, I've came to some fascinating discoveries.
Please note:
The savegame was made just after the Delivery mission was ordered. The Delivery consisted of a Single (1) Aircraft (Stingray) sent to occupy a single (1) available (Free) hangar.
Destination Base counts with: 1x Huge Hangar: Occupied / 4x Small Hangars: 3 Occupied (Stingrays) / 1 Free.

Discoveries:
If you sell 1 small ship (2 spaces free) of the "Destination" Base, the game won't crash, but you won't receive the "Delivered" Aircraft. - Status of crafts at "Source" Game will stay in "enroute to a new homebase" even after the pass of several ( ~10) gametime days.
If you sell 2 small ships (3 spaces free) of the "Destination" Base, the game won't crash, but you won't receive the "Delivered" Aircraft - Status of crafts at "Source" Game will stay in "enroute to a new homebase" even after the pass of several ( ~10) gametime days.
If you sell 2 small ships and 1 big ship of the "Destination" Base, you achieve the same (2 previous cases) outcome.
If you sell the 3 small ships: GAME CRASH. -- > ShipTransBug2
The following is also referent to the "Destination" base.
If you dismantle 1 Small Hangar you get "X does not have enough free space in hangars. Aircraft is lost!" message -- Transfer failed. - "Sent" crafts do not appear at "Source" base.
If you dismantle 2 or 3 Small hangars, you won't receive the Transfer Failed -- Aircraft Lost Message. - Status of crafts at "Source" Game will stay in "enroute to a new homebase" even after the pass of several ( ~10) gametime days.
If you dismantle the 4 small hangars: GAME CRASH ---> ShipTransBug3
The following is referent to the "Source" base.
If you dismantle 1 / 2 or all 3 Small hangars, game won't crash, and you'll receive the "Transfer Complete" Message.




Offline polyvios

  • Cannon Fodder
  • **
  • Posts: 8
    • View Profile
Re: Ship Manufacture / Transfer Issue.
« Reply #2 on: September 02, 2009, 11:37:48 pm »
This should be fixed now (fix in r25986).

Offline Nightknight

  • Rookie
  • ***
  • Posts: 25
    • View Profile
Re: Ship Manufacture / Transfer Issue.
« Reply #3 on: September 03, 2009, 06:18:30 am »
Yes, It is.
Sorry I forgot to mention it.
Consider this as a solved issue.
Mods, feel free to delete this thread.