Technical support > Mac

Re: campaign game fails to start in 24881 ** FOUND **

<< < (2/5) > >>

keybounce:
Still happens in 24732, with a fresh download, and rerun of configure.

Is this mac specific, or does it need to be moved to 2.3-dev?

keybounce:
Still there in 24761.

Which file is supposed to be defining these buildings?

====== UFO Initialized ======

Switch grab input off
Change gametype to 'Campaign mode'

--- save subsystem initialization --
added base subsystem
added campaign subsystem
added hospital subsystem
added market subsystem
added research subsystem
added employee subsystem
added aliencont subsystem
added production subsystem
added aircraft subsystem
added messagesystem subsystem
added stats subsystem
added nations subsystem
added transfer subsystem
added alien base subsystem
added xvirate subsystem
added installation subsystem
added messageoptions subsystem
********************
ERROR: B_ParseBuildings: Could not find tech that provides building_aliencontainment2

********************
0   ufo                                 0x001a02ec Sys_Backtrace + 36
1   ufo                                 0x00129b00 Com_Error + 376
2   ufo                                 0x00062444 B_ParseBuildings + 1384
3   ufo                                 0x0007594c CL_GetComponentsByItem + 1136
4   ufo                                 0x00075d18 CL_ReadSinglePlayerData + 212
5   ufo                                 0x000165f8 GAME_CP_InitStartup + 444
6   ufo                                 0x00013b14 GAME_SetMode + 344
7   ufo                                 0x00014124 GAME_SetMode + 1896
8   ufo                                 0x0011a1fc Cmd_ExecuteString + 268
9   ufo                                 0x001186f0 Cbuf_Execute + 452
10  ufo                                 0x00038190 CL_OnBattlescape + 160
11  ufo                                 0x000389c0 CL_Frame + 432
12  ufo                                 0x0012bcd4 Qcommon_Init + 2564
13  ufo                                 0x0012c0f8 Qcommon_Frame + 232
14  ufo                                 0x001a079c main + 356
15  ufo                                 0x00002764 start + 68

keybounce:
Alright, let see what happens when I backtrack to an earlier version, to find out where this first appears.

Going back to 24430, which I uploaded a universal binary of.

The output is:
----------- parse scripts ----------
Shared Client/Server Info loaded
...112 items parsed
... 32 damage types parsed
... 68 map definitions parsed
... 29 equipment definitions parsed
... 10 inventory definitions parsed
... 22 team definitions parsed
music change to van_theme (from PsymongN3)
executing autoexec.cfg
"version" is "UFO: Alien Invasion 2.3-dev Unknown Jun 19 2009 MacOSX DEBUG"
R_RegisterModelShort: Could not find: 'weapons/autocannon/autocannon'
CL_LanguageInit: language settings are stored in configuration: en
...using language: en_US.UTF-8
SDL_ttf version 2.0.9 - we need at least 2.0.7
...registering 10 fonts
127 static models loaded
====== UFO Initialized ======

Switch grab input off
Change gametype to 'Campaign mode'

--- save subsystem initialization --
added base subsystem
added campaign subsystem
added hospital subsystem
added market subsystem
added research subsystem
added employee subsystem
added aliencont subsystem
added production subsystem
added aircraft subsystem
added messagesystem subsystem
added stats subsystem
added nations subsystem
added transfer subsystem
added alien base subsystem
added xvirate subsystem
added installation subsystem
added messageoptions subsystem
********************
ERROR: B_ParseBuildings: Could not find tech that provides building_aliencontainment2

********************
Sanity check for script data
...... no mappart for building 'building_aliencontainment2' given
...... no mappart for building 'building_hangar2' given
...... no mappart for building 'building_large_ufo_hangar2' given
...... no mappart for building 'building_workshop2' given
...buildings failed
...tech ok
...aircraft ok
...items ok
...items ok
...nations ok
music change to karlmacklin_geoscape (from van_theme)
music change to karlmacklin_geoscape (from karlmacklin_geoscape)
Unknown command "mn_textupdated" - wasn't sent to server
music change to karlmacklin_geoscape (from karlmacklin_geoscape)
Base Template balanced not found
Shutdown gametype 'Campaign mode'
music change to van_theme (from karlmacklin_geoscape)
Wrote config.cfg.
Wrote keys.cfg
recursive shutdown
Kleiman-ibook:trunk michael$ 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: 24430
Node Kind: directory
Schedule: normal
Last Changed Author: tlh2000
Last Changed Rev: 24430
Last Changed Date: 2009-05-16 08:57:32 -0700 (Sat, 16 May 2009)

Kleiman-ibook:trunk michael$

The effect of running is:
1. The campaign game starts. The world map is messed up badly. I'm seeing things that look like something, but have no correlation with real world geography.
2. Creating a base creates just an entrance, nothing else. Even with the "create buildings" not changed (I believe it's checked.)
3. Attempting to add buildings results in only one possible building to add: the alien containment unit.

Going to the version that was uploaded:

Alright, the version that I uploaded shows the exact same issues and behaviors.
This is on a G4; apparently someone else was able to run it on an x86 mac.
See http://ufoai.ninex.info/forum/index.php?topic=3587.0

Will try an earlier version tomorrow.

geever:

--- Quote from: keybounce on June 21, 2009, 02:29:13 am ---2. Creating a base creates just an entrance, nothing else. Even with the "create buildings" not changed (I believe it's checked.)
3. Attempting to add buildings results in only one possible building to add: the alien containment unit.

--- End quote ---

2:

--- Code: ---Base Template balanced not found

--- End code ---

3: Must be due to that big error message upwards.

In fact there is no tech providing building_aliencontainment2, but it shouldn't be checked.
please put a breakpoint to cp_base.c:1669 (latest version), when it stops (campaign start) ask the values:

--- Code: ---(gdb) p building->id
$1 = 0x18e61044 "building_aliencontainment2"
(gdb) p building->visible
$2 = qfalse

--- End code ---

visible value for building_aliencontainment2 should be qfalse (0). Maybe an endian bug here?!

-geever

keybounce:
Sorry, I just found this reply. Will get to this test this weekend, probably sunday.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version