project-navigation
Personal tools

Author Topic: Problem starting UFO AI Vers. 2.4 - program crashes after start  (Read 15306 times)

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #15 on: July 25, 2012, 08:49:51 pm »
Interestingly it works without using "set" for me - even in the command line - but I guess it couldn't hurt to try...

also
wasn't there a crashdump.txt file next to ufo.exe?

Offline Pink_Lollipop

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #16 on: July 25, 2012, 09:02:34 pm »
Hi there,

I entered the following in the command line: "ufo.exe +set logfile 2"
There is no "crashdump.txt file" in the directory.

Offline Pink_Lollipop

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #17 on: July 25, 2012, 09:19:09 pm »
Is there a possibility to change the resolution from full screen to windowed box? I cannot even get to the setup menu. Is there a way to get to the setup screen?

Offline Sandro

  • Squad Leader
  • ****
  • Posts: 240
  • Maintenance guy for UFO:AI 3D engine
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #18 on: July 25, 2012, 09:36:40 pm »
Interestingly it works without using "set" for me - even in the command line - but I guess it couldn't hurt to try...

Because +set is required only since idTech3, and we are idTech2

Offline Sandro

  • Squad Leader
  • ****
  • Posts: 240
  • Maintenance guy for UFO:AI 3D engine
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #19 on: July 25, 2012, 09:44:57 pm »
I entered the following in the command line: "ufo.exe +set logfile 2"

Hmm, if that is the complete log, game crashed while negotiating with the driver about what capabilities the 3D hardware got.

Also, OpenGL driver reports less capabilities than Mobility Radeon 9700 really has. Enough to run UFO:AI, as it seems from the first glance, but maybe some older driver could be better? Discarding proper support for the older GPUs happens all the time.

Offline Pink_Lollipop

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #20 on: July 25, 2012, 09:50:03 pm »
@ Sandro:

Do I need to install an older graphic cards driver for my ATi Radeon Mobility 9700? Which version would you recommend me to install and what do I have to consider?

Offline Sandro

  • Squad Leader
  • ****
  • Posts: 240
  • Maintenance guy for UFO:AI 3D engine
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #21 on: July 25, 2012, 09:52:09 pm »
Is there a possibility to change the resolution from full screen to windowed box?

adding " +vid_fullscreen 0" to the command line will do the trick (and please, no  spaces after the plus sign -- it should be entered verbatim)

Offline Pink_Lollipop

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #22 on: July 25, 2012, 09:56:20 pm »
My ATi Mobility Radeon 9700 driver version is 6.14.10.6422.

Offline Sandro

  • Squad Leader
  • ****
  • Posts: 240
  • Maintenance guy for UFO:AI 3D engine
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #23 on: July 25, 2012, 10:01:21 pm »
Do I need to install an older graphic cards driver for my ATi Radeon Mobility 9700? Which version would you recommend me to install and what do I have to consider?

Not sure -- after ditching my last ATI 9xxx card in 2010, I tried to forgot all that mess about new drivers :) But I certainly remember that 2008 drivers got some problems which 2005 didn't.

On the other hand, that could be a wrong way -- after all, dedicated server doesn't even link to the 3D code, and you reported it to crash rather than sitting idly and waiting for connection. Right?

Offline Pink_Lollipop

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #24 on: July 25, 2012, 10:06:02 pm »
I just entered "ufo.exe +vid_fullscreen 0" and program still crashes. 

While using the ufoded as starting the game, it is waiting idle for connection with server

Offline Pink_Lollipop

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #25 on: July 25, 2012, 10:07:47 pm »
---- endianness initialization -----
found little endian system

---- filesystem initialization -----
Adding game dir: /usr/local/games/ufoai/base
Adding game dir: ./base
Added packfile ./base/0base.pk3 (15 files)
Added packfile ./base/0maps.pk3 (740 files)
Added packfile ./base/0materials.pk3 (57 files)
Added packfile ./base/0media.pk3 (11 files)
Added packfile ./base/0models.pk3 (2346 files)
Added packfile ./base/0music.pk3 (46 files)
Added packfile ./base/0pics.pk3 (1056 files)
Added packfile ./base/0shaders.pk3 (37 files)
Added packfile ./base/0snd.pk3 (354 files)
Added packfile ./base/0textures.pk3 (1767 files)
Added packfile ./base/0ufos.pk3 (109 files)
Adding game dir: C:\Dokumente und Einstellungen\Ronald\Anwendungsdaten\UFOAI/2.4/base
using C:\Dokumente und Einstellungen\Ronald\Anwendungsdaten\UFOAI/2.4/base for writing
executing filesystem.cfg
executing default.cfg
couldn't execute dedconfig.cfg

----- network initialization -------
libcurl/7.25.0 GnuTLS/3.0.17 zlib/1.2.6 libidn/1.24 libssh2/1.4.0 initialized.

------ server initialization -------
added 8 maps to the mapcycle

----------- parse scripts ----------
56 script files
...  0: extension
...  1: headgear
...  2: right
...  3: left
...  4: backpack
...  5: belt
...  6: holster
...  7: armour
...  8: floor
...  9: equip
Shared Client/Server Info loaded
...108 items parsed
... 31 damage types parsed
... 32 equipment definitions parsed
... 10 inventory definitions parsed
... 22 team definitions parsed
executing dedicated.cfg
===============================================================
| CVAR                           | DESCRIPTION                |
===============================================================
| sv_enablemorale                | activate morale            |
| sv_teamplay                    | activate teamplay          |
| sv_ai                          | activate ai (aliens)       |
| ai_autojoin                    | auto join of ai players    |
| ai_numactors                   | number of ai opponents     |
| ai_equipment                   | equipment def the ai uses  |
| ai_alien                       | alien team                 |
| ai_civilian                    | civilian team              |
| sv_maxsoldiersperplayer        | max soldiers per player    |
| sv_maxsoldiersperteam          | max soldiers per team      |
| sv_maxclients                  | max client amount          |
===============================================================

Available gametypes:
1on1
  sv_teamplay = 0
  sv_maxclients = 2
  sv_maxsoldiersperplayer = 4
  sv_maxsoldiersperteam = 4
  ai_numactors = 0
  sv_ai = 0
1on1on1
  sv_teamplay = 0
  sv_maxclients = 3
  sv_maxsoldiersperplayer = 4
  sv_maxsoldiersperteam = 4
  ai_numactors = 0
  sv_ai = 0
2on2
  sv_teamplay = 1
  sv_maxclients = 4
  sv_maxsoldiersperplayer = 4
  sv_maxsoldiersperteam = 8
  ai_numactors = 0
  sv_ai = 0
2on2on2
  sv_teamplay = 1
  sv_maxclients = 6
  sv_maxsoldiersperplayer = 4
  sv_maxsoldiersperteam = 8
  ai_numactors = 0
  sv_ai = 0
3on3
  sv_teamplay = 1
  sv_maxclients = 6
  sv_maxsoldiersperplayer = 2
  sv_maxsoldiersperteam = 6
  ai_numactors = 0
  sv_ai = 0
3on3on3
  sv_teamplay = 1
  sv_maxclients = 9
  sv_maxsoldiersperplayer = 2
  sv_maxsoldiersperteam = 6
  ai_numactors = 0
  sv_ai = 0
4on4
  sv_teamplay = 1
  sv_maxclients = 8
  sv_maxsoldiersperplayer = 2
  sv_maxsoldiersperteam = 8
  ai_numactors = 0
  sv_ai = 0
4on4on4
  sv_teamplay = 1
  sv_maxclients = 12
  sv_maxsoldiersperplayer = 2
  sv_maxsoldiersperteam = 8
  ai_numactors = 0
  sv_ai = 0
coop2
  sv_teamplay = 1
  sv_maxclients = 2
  sv_maxsoldiersperplayer = 4
  sv_maxsoldiersperteam = 8
  ai_numactors = 8
  sv_ai = 1
coop3
  sv_teamplay = 1
  sv_maxclients = 3
  sv_maxsoldiersperplayer = 2
  sv_maxsoldiersperteam = 6
  ai_numactors = 6
  sv_ai = 1
coop4
  sv_teamplay = 1
  sv_maxclients = 4
  sv_maxsoldiersperplayer = 2
  sv_maxsoldiersperteam = 8
  ai_numactors = 8
  sv_ai = 1

To change the gametype, just change the cvar gametype to one of the above shown types
set gametype to: coop2
  sv_teamplay = 1
  sv_maxclients = 2
  sv_maxsoldiersperplayer = 4
  sv_maxsoldiersperteam = 8
  ai_numactors = 8
  sv_ai = 1
setting game random seed to 38186
------- Loading game.dll -------
not found at '/usr/local/lib'
not found at 'C:\Dokumente und Einstellungen\Ronald\Anwendungsdaten\UFOAI/2.4/base'
found at './base'
Master server at [http://ufoai.org/] - sending a ping
checksum for the map 'fueldump': 4136802803
ufo script checksum 2711279429
-------------------------------------
====== UFO Initialized ======
=============================
==== InitGame ====
Spawned ai player for team 0 with entnum 46
Spawned ai player for team 0 with entnum 47
Spawned ai player for team 0 with entnum 48
Spawned ai player for team 0 with entnum 49
Spawned ai player for team 0 with entnum 50
Not enough spawn points for team 0
Created AI player (team 0)
Spawned ai player for team 7 with entnum 51
Spawned ai player for team 7 with entnum 52
Spawned ai player for team 7 with entnum 53
Spawned ai player for team 7 with entnum 54
Spawned ai player for team 7 with entnum 55
Spawned ai player for team 7 with entnum 56
Spawned ai player for team 7 with entnum 57
Spawned ai player for team 7 with entnum 58
Created AI player (team 7)
Used inventory slots after ai spawn: 0
sending heartbeat

Offline Pink_Lollipop

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #26 on: July 25, 2012, 10:09:57 pm »
what is the port number?

Offline Pink_Lollipop

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #27 on: July 25, 2012, 10:17:38 pm »
Driver date is 27.01.2004 - Version 6.14.10.6422

Offline Sandro

  • Squad Leader
  • ****
  • Posts: 240
  • Maintenance guy for UFO:AI 3D engine
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #28 on: July 25, 2012, 10:25:49 pm »
While using the ufoded as starting the game, it is waiting idle for connection with server

That's not a crash -- It's a correct behaviour.

Offline Pink_Lollipop

  • Rookie
  • ***
  • Posts: 20
    • View Profile
Re: Problem starting UFO AI Vers. 2.4 - program crashes after start
« Reply #29 on: July 25, 2012, 10:28:39 pm »
Ufo AI crashes when I want to play the game on my own.