UFO:Alien Invasion

Archive => Bugs prior to release 2.3 => Topic started by: jack1232 on July 26, 2009, 11:27:59 pm

Title: Cant setup new base at beggining
Post by: jack1232 on July 26, 2009, 11:27:59 pm
Linux trunk ver. SVN : 25437

I started new game. At beginning we must select a new spot to our first base.
Not in this version of game. After select a new spot, we can select another spot, and another, another, unlimited.Cash amount is unchanged. Nothing else we cant do.

Title: Re: Cant setup new base at beggining
Post by: geever on July 26, 2009, 11:40:59 pm
I can't reproduce it with r25443. Please report back if it's still an issue for you.

-geever
Title: Re: Cant setup new base at beggining
Post by: jack1232 on July 27, 2009, 12:08:07 am
r25443 bug not fixed

Code: [Select]
********************
ERROR: Could not find rank 'rifleman'

********************
./ufo(Sys_Backtrace+0x1f)[0x819225e]
./ufo(Com_Error+0xdf)[0x813f63e]
./ufo(CL_GetRankByIdx+0x0)[0x80be32c]
./ufo[0x80cd7ee]
./ufo(E_CreateEmployee+0x27)[0x80cd87d]
./ufo(E_InitialEmployees+0x3c)[0x80ce25e]
./ufo[0x80ae21e]
./ufo(B_SetUpBase+0xa0)[0x80ae633]
./ufo[0x80b4adf]
./ufo(Cmd_ExecuteString+0xcb)[0x81340b8]
./ufo(Cbuf_Execute+0x15a)[0x8132e85]
./ufo[0x808f68c]
./ufo(CL_Frame+0xdf)[0x808fb78]
./ufo[0x814103b]
./ufo(Qcommon_Frame+0x9a)[0x8141304]
./ufo(main+0x66)[0x8190fc1]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb78fa775]
./ufo[0x8069f31]
music change to van_geoscape (from van_geoscape)
********************
ERROR: Could not find rank 'rifleman'

********************
Title: Re: Cant setup new base at beggining
Post by: geever on July 27, 2009, 12:37:27 am
Please check if your models.ufo file exists and correct.
Code: [Select]
ufoai-dev/base/ufos$ md5sum medals.ufo
e4dfa9e54bb559226420a5a3b7f4620f  medals.ufo

If you installed the game check which basedirs and (pk3) files are used. It works for me (also Linux, 32bit) running the game from the checkout dir.

-geever
Title: Re: Cant setup new base at beggining
Post by: jack1232 on July 27, 2009, 08:49:46 pm
its my medals.ufo file

e4dfa9e54bb559226420a5a3b7f4620f  medals.ufo
Its same like yours.

attached ziped file:
Title: Re: Cant setup new base at beggining
Post by: geever on July 27, 2009, 09:32:23 pm
You should find out why ERROR: Could not find rank 'rifleman' error happens...

-geever
Title: Re: Cant setup new base at beggining
Post by: jack1232 on July 29, 2009, 12:25:41 am
another bug. This bug showed when I started new mission.

Code: [Select]
********************
ERROR: Could not find rank 'pilot'

********************
./ufo(Sys_Backtrace+0x1f)[0x819234a]
./ufo(Com_Error+0xdf)[0x813f692]
./ufo(CL_GetRankByIdx+0x0)[0x80be364]
./ufo[0x80cd826]
./ufo(E_RefreshUnhiredEmployeeGlobalList+0xcf)[0x80cdea8]
./ufo(CP_NationHandleBudget+0x4a)[0x80bb9da]
./ufo(CL_CampaignRun+0x408)[0x80c712f]
./ufo[0x811e65b]
./ufo[0x8109510]
./ufo[0x8109533]
./ufo(MN_Draw+0x100)[0x81098c1]
./ufo(SCR_UpdateScreen+0xdd)[0x8094776]
./ufo(CL_Frame+0xcb)[0x808fbc0]
./ufo[0x814109a]
./ufo(Qcommon_Frame+0x9a)[0x8141363]
./ufo(main+0x66)[0x81910ad]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb778e775]
./ufo[0x8069fc1]
music change to van_geoscape (from van_geoscape)
Shutdown gametype 'Campaign mode'
Cmd_RemoveCommand: messagetypes_click not added
music change to van_theme (from van_geoscape)
Wrote config.cfg.
Can not open history for writing
Couldn't write keys.cfg.
recursive shutdown
Title: Re: Cant setup new base at beggining
Post by: geever on July 29, 2009, 04:35:44 pm
another bug. This bug showed when I started new mission.

Not another but the same and I still cannot reproduce it. These log-parts are not useful for me.

-geever
Title: Re: Cant setup new base at beggining
Post by: jack1232 on July 29, 2009, 10:13:57 pm
maybe this help :
Code: [Select]
ExecuteString: ''
ExecuteString: 'music_change geoscape'
music change to van_geoscape (from van_geoscape)
ExecuteString: ''
ExecuteString: '-leftmouse 200 37914'
ExecuteString: '-select 200 37914'
ExecuteString: '+leftmouse 200 38796'
ExecuteString: 'mn_set_base_title'
INS_SetBaseTitle_f: #bases: 0
ExecuteString: '-leftmouse 200 38857'
ExecuteString: '-select 200 38857'
ExecuteString: '+leftmouse 200 39339'
ExecuteString: '-leftmouse 200 39409'
ExecuteString: '-select 200 39409'
ExecuteString: '+leftmouse 200 39650'
ExecuteString: '-leftmouse 200 39670'
ExecuteString: '-select 200 39670'
ExecuteString: '+leftmouse 200 40032'
ExecuteString: 'mn_pop'
ExecuteString: 'mn_build_base'
RS_MarkResearchable: handling "rs_laser".
RS_RequirementsMet: No requirements set for this tech. They are 'met'.
RS_MarkResearchable: "rs_laser" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_laser" marked as researchable.
RS_MarkResearchable: handling "rs_antimatter".
RS_RequirementsMet: ANDtech: rs_alien_ufo_theory / 13
RS_RequirementsMet: this tech not researched ----> rs_alien_ufo_theory
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_item_antimatter".
RS_RequirementsMet: ANDtech: rs_antimatter / 1
RS_RequirementsMet: this tech not researched ----> rs_antimatter
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_craft_upgrade_am_engines".
RS_RequirementsMet: ANDtech: rs_antimatter / 1
RS_RequirementsMet: this tech not researched ----> rs_antimatter
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_alien_live".
RS_RequirementsMet: ANDtech: rs_contained_organic_alien / 184
RS_RequirementsMet: this tech not researched ----> rs_contained_organic_alien
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_alien_breathing".
RS_RequirementsMet: ORtech: rs_alien_ortnok_autopsy / 148
RS_RequirementsMet: ORtech: rs_alien_taman_autopsy / 149
RS_RequirementsMet: ORtech: rs_alien_shevaar_autopsy / 150
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_item_brapparatus".
RS_RequirementsMet: ANDtech: rs_alien_breathing / 5
RS_RequirementsMet: this tech not researched ----> rs_alien_breathing
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_alien_mind".
RS_RequirementsMet: ANDtech: rs_alien_live / 4
RS_RequirementsMet: this tech not researched ----> rs_alien_live
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_alien_oddbehaviour".
RS_RequirementsMet: ANDtech: rs_alien_mind / 7
RS_RequirementsMet: this tech not researched ----> rs_alien_mind
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_alien_communication".
RS_RequirementsMet: ANDtech: rs_alien_oddbehaviour / 8
RS_RequirementsMet: this tech not researched ----> rs_alien_oddbehaviour
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_alien_base".
RS_RequirementsMet: ANDtech: rs_alien_base_discovered_event / 193
RS_RequirementsMet: this tech not researched ----> rs_alien_base_discovered_event
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_universal_serum".
RS_RequirementsMet: ANDtech: rs_alien_communication / 9
RS_RequirementsMet: this tech not researched ----> rs_alien_communication
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_alien_origins".
RS_RequirementsMet: No requirements set for this tech. They are 'met'.
RS_MarkResearchable: "rs_alien_origins" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_alien_origins" marked as researchable.
RS_MarkResearchable: handling "rs_alien_ufo_theory".
RS_RequirementsMet: ORitem: craft_ufo_ripper / 33
RS_RequirementsMet: ORitem: craft_ufo_gunboat / 35
RS_RequirementsMet: ORitem: craft_ufo_scout / 29
RS_RequirementsMet: ORitem: craft_ufo_fighter / 30
RS_RequirementsMet: ORitem: craft_ufo_supply / 38
RS_RequirementsMet: ORitem: craft_ufo_carrier / 37
RS_RequirementsMet: ORitem: craft_ufo_bomber / 32
RS_RequirementsMet: ORitem: craft_ufo_corrupter / 36
RS_RequirementsMet: ORitem: craft_ufo_harvester / 31
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_vhs".
RS_RequirementsMet: ANDtech: rs_skill_assault / 102
met_AND is 1, met_OR is 0
RS_MarkResearchable: "rs_weapon_vhs" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_weapon_vhs" marked as researchable.
RS_MarkResearchable: handling "rs_weapon_xaw95".
RS_RequirementsMet: No requirements set for this tech. They are 'met'.
RS_MarkResearchable: "rs_weapon_xaw95" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_weapon_xaw95" marked as researchable.
RS_MarkResearchable: handling "rs_weapon_xaw95_ammo".
RS_RequirementsMet: No requirements set for this tech. They are 'met'.
RS_MarkResearchable: "rs_weapon_xaw95_ammo" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_weapon_xaw95_ammo" marked as researchable.
RS_MarkResearchable: handling "rs_weapon_chaingun".
RS_RequirementsMet: No requirements set for this tech. They are 'met'.
RS_MarkResearchable: "rs_weapon_chaingun" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_weapon_chaingun" marked as researchable.
RS_MarkResearchable: handling "rs_weapon_chaingun_ammo".
RS_RequirementsMet: No requirements set for this tech. They are 'met'.
RS_MarkResearchable: "rs_weapon_chaingun_ammo" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_weapon_chaingun_ammo" marked as researchable.
RS_MarkResearchable: handling "rs_weapon_shotgun".
RS_RequirementsMet: No requirements set for this tech. They are 'met'.
RS_MarkResearchable: "rs_weapon_shotgun" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_weapon_shotgun" marked as researchable.
RS_MarkResearchable: handling "rs_weapon_shotgun_ammo".
RS_RequirementsMet: ANDtech: rs_damage_blast / 93
RS_RequirementsMet: ANDtech: rs_weapon_shotgun / 31
RS_RequirementsMet: this tech not researched ----> rs_weapon_shotgun
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_bolterrifle".
RS_RequirementsMet: ANDtech: rs_skill_sniper / 108
RS_RequirementsMet: ANDtech: rs_skill_assault / 102
met_AND is 1, met_OR is 0
RS_MarkResearchable: "rs_weapon_bolterrifle" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_weapon_bolterrifle" marked as researchable.
RS_MarkResearchable: handling "rs_weapon_bolterrifle_ammo".
RS_RequirementsMet: ANDtech: rs_damage_normal / 96
RS_RequirementsMet: ANDtech: rs_weapon_bolterrifle / 33
RS_RequirementsMet: this tech not researched ----> rs_weapon_bolterrifle
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_monoknife".
RS_RequirementsMet: ANDtech: rs_weapon_kerrblade / 50
RS_RequirementsMet: this tech not researched ----> rs_weapon_kerrblade
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_grenl_plasma_ammo".
RS_RequirementsMet: ANDtech: rs_damage_plasma / 98
RS_RequirementsMet: this tech not researched ----> rs_damage_plasma
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_laserammo".
RS_RequirementsMet: ANDtech: rs_laser / 0
RS_RequirementsMet: this tech not researched ----> rs_laser
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_heavylaser".
RS_RequirementsMet: ANDtech: rs_laser / 0
RS_RequirementsMet: this tech not researched ----> rs_laser
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_kerrblade".
RS_RequirementsMet: ANDitem: kerrblade / 91
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_laserpistol".
RS_RequirementsMet: ANDtech: rs_laser / 0
RS_RequirementsMet: this tech not researched ----> rs_laser
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_laserrifle".
RS_RequirementsMet: ANDtech: rs_laser / 0
RS_RequirementsMet: this tech not researched ----> rs_laser
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_electrolaser".
RS_RequirementsMet: ANDtech: rs_laser / 0
RS_RequirementsMet: this tech not researched ----> rs_laser
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_plasatomizer".
RS_RequirementsMet: ANDtech: rs_skill_close / 103
RS_RequirementsMet: ANDitem: plaspistol / 106
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_plasatomizer_ammo".
RS_RequirementsMet: ANDtech: rs_damage_plasma / 98
RS_RequirementsMet: this tech not researched ----> rs_damage_plasma
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_plasblaster".
RS_RequirementsMet: ANDtech: rs_skill_explosive / 104
RS_RequirementsMet: ANDtech: rs_skill_heavy / 105
RS_RequirementsMet: ANDtech: rs_weapon_plasrifle / 61
RS_RequirementsMet: this tech not researched ----> rs_weapon_plasrifle
met_AND is 0, met_OR is 0
RS_MarkReseExecuteString: ''
ExecuteString: 'music_change geoscape'
music change to karlmacklin_geoscape (from van_geoscape)
ExecuteString: ''
ExecuteString: '-leftmouse 200 40052'
ExecuteString: '-select 200 40052'
ExecuteString: '+leftmouse 200 40836'
ExecuteString: 'mn_set_base_title'
INS_SetBaseTitle_f: #bases: 0
ExecuteString: '-leftmouse 200 40916'
ExecuteString: '-select 200 40916'
ExecuteString: '+leftmouse 200 41496'
ExecuteString: 'mn_pop'
ExecuteString: 'mn_build_base'
RS_MarkResearchable: handling "rs_laser".
RS_RequirementsMet: No requirements set for this tech. They are 'met'.
RS_MarkResearchable: "rs_laser" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_laser" marked as researchable.
RS_MarkResearchable: handling "rs_antimatter".
RS_RequirementsMet: ANDtech: rs_alien_ufo_theory / 13
RS_RequirementsMet: this tech not researched ----> rs_alien_ufo_theory
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_item_antimatter".
RS_RequirementsMet: ANDtech: rs_antimatter / 1
RS_RequirementsMet: this tech not researched ----> rs_antimatter
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_craft_upgrade_am_engines".
RS_RequirementsMet: ANDtech: rs_antimatter / 1
RS_RequirementsMet: this tech not researched ----> rs_antimatter
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_alien_live".
RS_RequirementsMet: ANDtech: rs_contained_organic_alien / 184
RS_RequirementsMet: this tech not researched ----> rs_contained_organic_alien
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_alien_breathing".
RS_RequirementsMet: ORtech: rs_alien_ortnok_autopsy / 148
RS_RequirementsMet: ORtech: rs_alien_taman_autopsy / 149
RS_RequirementsMet: ORtech: rs_alien_shevaar_autopsy / 150
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_item_brapparatus".
RS_RequirementsMet: ANDtech: rs_alien_breathing / 5
RS_RequirementsMet: this tech not researched ----> rs_alien_breathing
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_alien_mind".
RS_RequirementsMet: ANDtech: rs_alien_live / 4
RS_RequirementsMet: this tech not researched ----> rs_alien_live
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_alien_oddbehaviour".
RS_RequirementsMet: ANDtech: rs_alien_mind / 7
RS_RequirementsMet: this tech not researched ----> rs_alien_mind
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_alien_communication".
RS_RequirementsMet: ANDtech: rs_alien_oddbehaviour / 8
RS_RequirementsMet: this tech not researched ----> rs_alien_oddbehaviour
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_alien_base".
RS_RequirementsMet: ANDtech: rs_alien_base_discovered_event / 193
RS_RequirementsMet: this tech not researched ----> rs_alien_base_discovered_event
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_universal_serum".
RS_RequirementsMet: ANDtech: rs_alien_communication / 9
RS_RequirementsMet: this tech not researched ----> rs_alien_communication
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_alien_origins".
RS_RequirementsMet: No requirements set for this tech. They are 'met'.
RS_MarkResearchable: "rs_alien_origins" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_alien_origins" marked as researchable.
RS_MarkResearchable: handling "rs_alien_ufo_theory".
RS_RequirementsMet: ORitem: craft_ufo_ripper / 33
RS_RequirementsMet: ORitem: craft_ufo_gunboat / 35
RS_RequirementsMet: ORitem: craft_ufo_scout / 29
RS_RequirementsMet: ORitem: craft_ufo_fighter / 30
RS_RequirementsMet: ORitem: craft_ufo_supply / 38
RS_RequirementsMet: ORitem: craft_ufo_carrier / 37
RS_RequirementsMet: ORitem: craft_ufo_bomber / 32
RS_RequirementsMet: ORitem: craft_ufo_corrupter / 36
RS_RequirementsMet: ORitem: craft_ufo_harvester / 31
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_vhs".
RS_RequirementsMet: ANDtech: rs_skill_assault / 102
met_AND is 1, met_OR is 0
RS_MarkResearchable: "rs_weapon_vhs" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_weapon_vhs" marked as researchable.
RS_MarkResearchable: handling "rs_weapon_xaw95".
RS_RequirementsMet: No requirements set for this tech. They are 'met'.
RS_MarkResearchable: "rs_weapon_xaw95" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_weapon_xaw95" marked as researchable.
RS_MarkResearchable: handling "rs_weapon_xaw95_ammo".
RS_RequirementsMet: No requirements set for this tech. They are 'met'.
RS_MarkResearchable: "rs_weapon_xaw95_ammo" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_weapon_xaw95_ammo" marked as researchable.
RS_MarkResearchable: handling "rs_weapon_chaingun".
RS_RequirementsMet: No requirements set for this tech. They are 'met'.
RS_MarkResearchable: "rs_weapon_chaingun" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_weapon_chaingun" marked as researchable.
RS_MarkResearchable: handling "rs_weapon_chaingun_ammo".
RS_RequirementsMet: No requirements set for this tech. They are 'met'.
RS_MarkResearchable: "rs_weapon_chaingun_ammo" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_weapon_chaingun_ammo" marked as researchable.
RS_MarkResearchable: handling "rs_weapon_shotgun".
RS_RequirementsMet: No requirements set for this tech. They are 'met'.
RS_MarkResearchable: "rs_weapon_shotgun" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_weapon_shotgun" marked as researchable.
RS_MarkResearchable: handling "rs_weapon_shotgun_ammo".
RS_RequirementsMet: ANDtech: rs_damage_blast / 93
RS_RequirementsMet: ANDtech: rs_weapon_shotgun / 31
RS_RequirementsMet: this tech not researched ----> rs_weapon_shotgun
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_bolterrifle".
RS_RequirementsMet: ANDtech: rs_skill_sniper / 108
RS_RequirementsMet: ANDtech: rs_skill_assault / 102
met_AND is 1, met_OR is 0
RS_MarkResearchable: "rs_weapon_bolterrifle" marked researchable. reason:requirements.
RS_MarkOneResearchable: "rs_weapon_bolterrifle" marked as researchable.
RS_MarkResearchable: handling "rs_weapon_bolterrifle_ammo".
RS_RequirementsMet: ANDtech: rs_damage_normal / 96
RS_RequirementsMet: ANDtech: rs_weapon_bolterrifle / 33
RS_RequirementsMet: this tech not researched ----> rs_weapon_bolterrifle
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_monoknife".
RS_RequirementsMet: ANDtech: rs_weapon_kerrblade / 50
RS_RequirementsMet: this tech not researched ----> rs_weapon_kerrblade
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_grenl_plasma_ammo".
RS_RequirementsMet: ANDtech: rs_damage_plasma / 98
RS_RequirementsMet: this tech not researched ----> rs_damage_plasma
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_laserammo".
RS_RequirementsMet: ANDtech: rs_laser / 0
RS_RequirementsMet: this tech not researched ----> rs_laser
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_heavylaser".
RS_RequirementsMet: ANDtech: rs_laser / 0
RS_RequirementsMet: this tech not researched ----> rs_laser
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_kerrblade".
RS_RequirementsMet: ANDitem: kerrblade / 91
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_laserpistol".
RS_RequirementsMet: ANDtech: rs_laser / 0
RS_RequirementsMet: this tech not researched ----> rs_laser
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_laserrifle".
RS_RequirementsMet: ANDtech: rs_laser / 0
RS_RequirementsMet: this tech not researched ----> rs_laser
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_electrolaser".
RS_RequirementsMet: ANDtech: rs_laser / 0
RS_RequirementsMet: this tech not researched ----> rs_laser
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_plasatomizer".
RS_RequirementsMet: ANDtech: rs_skill_close / 103
RS_RequirementsMet: ANDitem: plaspistol / 106
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_plasatomizer_ammo".
RS_RequirementsMet: ANDtech: rs_damage_plasma / 98
RS_RequirementsMet: this tech not researched ----> rs_damage_plasma
met_AND is 0, met_OR is 0
RS_MarkResearchable: handling "rs_weapon_plasblaster".
RS_RequirementsMet: ANDtech: rs_skill_explosive / 104
RS_RequirementsMet: ANDtech: rs_skill_heavy / 105
RS_RequirementsMet: ANDtech: rs_weapon_plasrifle / 61
RS_RequirementsMet: this tech not researched ----> rs_weapon_plasrifle
met_AND is 0, met_OR is 0
RS_MarkReseExecuteString: ''
ExecuteString: 'music_change geoscape'
music change to karlmacklin_geoscape (from karlmacklin_geoscape)
ExecuteString: ''
ExecuteString: '-leftmouse 200 41557'
ExecuteString: '-select 200 41557'
ExecuteString: '+leftmouse 200 44115'
ExecuteString: 'game_exit'
Shutdown gametype 'Campaign mode'
Remove game commands
Cmd_RemoveCommand: messagetypes_click not added
Cvar 'mn_uprequirement' wasn't found
Cvar 'mn_upmetadata' wasn't found
E_ResetEmployees: Delete all employees
ExecuteString: ''
ExecuteString: 'music_change main'
music change to van_theme (from karlmacklin_geoscape)
ExecuteString: ''
ExecuteString: 'mn_push_child popup_tipoftheday main'
ExecuteString: 'check_cvars'
ExecuteString: ''
ExecuteString: 'tipoftheday random'
ExecuteString: ' check_nexttip'
ExecuteString: ''
ExecuteString: '-leftmouse 200 44155'
ExecuteString: '-select 200 44155'
ExecuteString: '+leftmouse 200 44603'
ExecuteString: 'quit'
Wrote config.cfg.
Can not open history for writing
Couldn't write keys.cfg.
recursive shutdown
jacek@jacek-desktop:/home/ufoai/trunk$



In attach I added ufoconsole.log
Title: Re: Cant setup new base at beggining
Post by: jack1232 on July 29, 2009, 11:06:26 pm
Another smilar bug. This time I want to start a mission.
Code: [Select]
./ufo[0x8069fc1]
music change to karlmacklin_geoscape (from van_geoscape)
********************
ERROR: Could not find rank 'pilot'

********************
./ufo(Sys_Backtrace+0x1f)[0x819243a]
./ufo(Com_Error+0xdf)[0x813f782]
./ufo(CL_GetRankByIdx+0x0)[0x80be384]
./ufo[0x80cd846]
./ufo(E_RefreshUnhiredEmployeeGlobalList+0xcf)[0x80cdec8]
./ufo(CP_NationHandleBudget+0x4a)[0x80bb9fa]
./ufo(CL_CampaignRun+0x408)[0x80c714f]
./ufo[0x811e6fb]
./ufo[0x8109568]
./ufo[0x810958b]
./ufo(MN_Draw+0x100)[0x8109919]
./ufo(SCR_UpdateScreen+0xdd)[0x8094776]
./ufo(CL_Frame+0xcb)[0x808fbc0]
./ufo[0x814118a]
./ufo(Qcommon_Frame+0x9a)[0x8141453]
./ufo(main+0x66)[0x819119d]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7838775]
./ufo[0x8069fc1]
music change to karlmacklin_geoscape (from karlmacklin_geoscape)
I: setting mode 7:I: set swap control to 0
 1152x864 (fullscreen: no)
music change to karlmacklin_geoscape (from karlmacklin_geoscape)


Code: [Select]
debug_listufo  
There are 2 UFOs in game
..UFO - Harvester (craft_ufo_harvester) - status: 4 - pos: 53:5
...route length: 28 (current: 0), time: 0, distance: 2.76, speed: 10
...linked to mission 'cat2_interest98_1'
... UFO is landed and undetected
... damage: 250
...3 weapon slots: craft_weapon_sparrowhawk (unloaded) / craft_weapon_sparrowhawk (unloaded) / craft_weapon_sparrowhawk (unloaded) /
..UFO - Harvester (craft_ufo_harvester) - status: 4 - pos: -41:12
...route length: 28 (current: 15), time: 15558, distance: 2.71, speed: 10
...linked to mission 'cat2_interest98_0'
... UFO is flying and undetected
... damage: 250
...3 weapon slots: craft_weapon_sparrowhawk (unloaded) / craft_weapon_sparrowhawk (unloaded) / craft_weapon_sparrowhawk (unloaded) /



Code: [Select]
mission: 'cat2_interest98_0'
...category 2. 'Terror mission' -- stage 3. 'Going to mission position'
...mapDef: 'vil_commercial'
...location: 'Ateny'
...start (day = 760840, sec = 84111), ends (day = 0, sec = 84111)
...pos (-23.70, 38.00)(assigned Pos) -- mission not on Geoscape
...UFO: craft_ufo_harvester (1/1)
mission: 'cat2_interest98_1'
...category 2. 'Terror mission' -- stage 5. 'Terror mission underway'
...mapDef: 'africa'
...location: 'Kajenna'
...start (day = 760840, sec = 9833), ends (day = 760842, sec = 71336)
...pos (52.60, 4.50)(assigned Pos) -- mission on Geoscape
...UFO: craft_ufo_harvester (0/1)
mission: 'cat2_interest101_0'
...category 2. 'Terror mission' -- stage 0. 'Not active yet'
...mapDef: 'No mapDef defined'
...location: ''
...start (day = 760842, sec = 18340), ends (day = 760842, sec = 18340)
...pos (0.00, 0.00) -- mission not on Geoscape
...UFO: no UFO
mission: 'cat1_interest101_0'
...category 1. 'Recon Mission' -- stage 0. 'Not active yet'
...mapDef: 'No mapDef defined'
...location: ''
...start (day = 760842, sec = 17122), ends (day = 760842, sec = 17122)
...pos (0.00, 0.00) -- mission not on Geoscape
...UFO: no UFO
mission: 'cat2_interest101_1'
...category 2. 'Terror mission' -- stage 0. 'Not active yet'
...mapDef: 'No mapDef defined'
...location: ''
...start (day = 760843, sec = 51869), ends (day = 760843, sec = 51869)
...pos (0.00, 0.00) -- mission not on Geoscape
...UFO: no UFO

Title: Re: Cant setup new base at beggining
Post by: geever on August 01, 2009, 06:34:14 pm
@jack1232: Silly idea about rank problem: Have you (re)compiled language files recently? Please try that (make lang). If doesn't help, please tell me which language you're playing on (maybe only reproducible on some...).

-geever
Title: Re: Cant setup new base at beggining
Post by: jack1232 on August 02, 2009, 07:48:55 pm
Lang. Polish. "make lang - nothing to do."
Title: Re: Cant setup new base at beggining
Post by: odie on August 02, 2009, 08:09:24 pm
Lang. Polish. "make lang - nothing to do."

AFAIK, i believe the polish translations not done yet? Correct me if i am wrong.

U might want to switch the language to english and try that instead?
:D
Title: Re: Cant setup new base at beggining
Post by: jack1232 on August 04, 2009, 09:19:23 am
AFAIK, i believe the polish translations not done yet? Correct me if i am wrong.

U might want to switch the language to english and try that instead?
:D

Sure but how? :)
Title: Re: Cant setup new base at beggining
Post by: geever on August 04, 2009, 12:28:30 pm
Game options. If English doesn't show up, make sure you have it in your system locales (edit /etc/locale.gen then run locale-gen on debian IIRC).

-geever
Title: Re: Cant setup new base at beggining
Post by: jack1232 on August 08, 2009, 10:20:38 am
Change language do nothing. I cant start the mission. Problem still exist. Maybe start new game?
Title: Re: Cant setup new base at beggining
Post by: geever on August 08, 2009, 10:26:33 am
Change language do nothing. I cant start the mission. Problem still exist. Maybe start new game?

yes, please try a new campaign. If "cannot find rank" problem still exists we should find out what causes it.

-geever
Title: Re: Cant setup new base at beggining
Post by: Moe on August 08, 2009, 02:17:07 pm
in polnish lang file are 177 on fuzzy(translated but state if its right not sure) and 158 untranslated strings so its far from beeing finished.
Title: Re: Cant setup new base at beggining
Post by: jack1232 on August 09, 2009, 09:58:23 am
yes, please try a new campaign. If "cannot find rank" problem still exists we should find out what causes it.

-geever

So the problem in english language is still happens. even when I start  new campaign. At beginning I can setup unlimited bases, and nothing else. Only I have this problem?
Title: Re: Cant setup new base at beggining
Post by: geever on August 09, 2009, 10:28:50 am
seems so. I think the rank problem causes this. The base building is aborted due to that error.

-geever
Title: Re: Cant setup new base at beggining
Post by: jack1232 on August 10, 2009, 10:06:02 pm
The base building is aborted due to that error.

-geever
yes
Title: Re: Cant setup new base at beggining
Post by: jack1232 on August 11, 2009, 11:57:25 pm
So I downloaded new version of game. Before I deleted folder ufoai/trunk and .ufo. Everything was compiled, installed correctly.
Make options in game: like polish lang. , video options etc.
The problem still exist.
There is another folders with game options, or something?
Title: Re: Cant setup new base at beggining
Post by: geever on August 12, 2009, 11:22:34 am
So I downloaded new version of game. Before I deleted folder ufoai/trunk and .ufo. Everything was compiled, installed correctly.
Make options in game: like polish lang. , video options etc.
The problem still exist.
There is another folders with game options, or something?

If/when you start the game from console it prints out some adding game dir... stuff. From there it get data.

-geever
Title: Re: Cant setup new base at beggining
Post by: jack1232 on August 12, 2009, 10:38:14 pm
starting the game console:
Code: [Select]
====== 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
Campaign data loaded - size 4208204 bytes
...techs: 198
...buildings: 23
...ranks: 0
...nations: 8
...cities: 7


Sanity check for script data
...buildings ok
...tech ok
...aircraft ok
...items ok
...items ok
...nations ok


In this code the program doesn't load ranks.
There was another folders : usr/local/share/ufoai I deleted this folder and updated svn and  recompiled again. Problem still exist.
Title: Re: Cant setup new base at beggining
Post by: geever on August 13, 2009, 12:19:20 am
In this code the program doesn't load ranks.
There was another folders : usr/local/share/ufoai I deleted this folder and updated svn and  recompiled again. Problem still exist.

Yeah it's ...ranks: 16 for me.

You said you had installed the game, so I did it too and ran the installed not the checkout but that worked either. Tried Polish, same. I wanted to suggest ufo + set developer 1 but provided no more info about ranks for me.

Please try to run it in gdb and put a breakpoint to CL_ParseRanks. Step through on it and check if it parses them well.

-geever
Title: Re: Cant setup new base at beggining
Post by: jack1232 on August 13, 2009, 07:31:19 pm


Please try to run it in gdb and put a breakpoint to CL_ParseRanks. Step through on it and check if it parses them well.

-geever

Sry. But how?
Title: Re: Cant setup new base at beggining
Post by: geever on August 13, 2009, 08:44:27 pm
Sry. But how?

Please read our wiki article about Debugging (http://ufoai.ninex.info/wiki/index.php/Debugging).

-geever
Title: Re: Cant setup new base at beggining
Post by: jack1232 on August 13, 2009, 09:26:24 pm
In GDB mode everything works fine.
In normal mode problem still exist

GDB
Code: [Select]
Breakpoint 1 at 0x80be7cd: file src/client/campaign/cp_rank.c, line 69.

Code: [Select]
Breakpoint 1, CL_ParseRanks (name=0xa586ec0 "scientist", text=0xbff2b63c)
    at src/client/campaign/cp_rank.c:69
69 const char *errhead = "CL_ParseRanks: unexpected end of file (medal/rank ";
(gdb) break CL_ParseRanks
Note: breakpoints 1 and 2 also set at pc 0x80be7cd.
Breakpoint 3 at 0x80be7cd: file src/client/campaign/cp_rank.c, line 69.
Title: Re: Cant setup new base at beggining
Post by: jack1232 on August 17, 2009, 11:38:28 pm
someone help?
Title: Re: Cant setup new base at beggining
Post by: jack1232 on August 21, 2009, 10:35:30 pm
I cant test the game. I need someone to help me with this problem.