UFO:Alien Invasion

Archive => Bugs prior to release 2.3 => Topic started by: vand on November 19, 2009, 01:19:43 am

Title: When in Geoscape a mouse clicks always builds a new base - Can't select a base
Post by: vand on November 19, 2009, 01:19:43 am
Hi there

This game is great fun and so I tried the current SVN version
But after starting a standard campaign I'm always stuck in the geoscape because
every mouse click builds a new base. It is not posible to select a base because a mouse click
on top of it would build a new base beneath it.

My System:
Linux x86_64
Debian Lenny
Radeon r520 with open source driver
Title: Re: When in Geoscape a mouse clicks always builds a new base - Can't select a base
Post by: geever on November 19, 2009, 12:21:49 pm
This game is great fun and so I tried the current SVN version
But after starting a standard campaign I'm always stuck in the geoscape because
every mouse click builds a new base. It is not posible to select a base because a mouse click
on top of it would build a new base beneath it.

Could you attach an ufoconsole log?
Does it work with r27107?

-geever
Title: Re: When in Geoscape a mouse clicks always builds a new base - Can't select a base
Post by: vand on November 19, 2009, 03:29:54 pm
Could you attach an ufoconsole log?
Does it work with r27107?

-geever

Thank you for the reply.

It's the same issue with r27107.
(I had this problem since the first co three weeks ago or so)

Here's the log from 27112

http://filebin.ca/pjqyum/ufoconsole.log

I built two bases and rotated the globe a bit.

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: 27112
Node Kind: directory
Schedule: normal
Last Changed Author: tlh2000
Last Changed Rev: 27112
Last Changed Date: 2009-11-18 22:35:24 +0100 (Wed, 18 Nov 2009)

Title: Re: When in Geoscape a mouse clicks always builds a new base - Can't select a base
Post by: geever on November 20, 2009, 01:38:41 am
It's the same issue with r27107.
(I had this problem since the first co three weeks ago or so)

Here's the log from 27112

http://filebin.ca/pjqyum/ufoconsole.log

The error is: INV_GetEquipmentDefinitionByID: equipment campaign_initial_market not found.

But I can't reproduce it..

Are you sure you have data files (especially base/ufos/equipment.ufo) and the game finds it? (If you run it from console the game will write out the game directories it's found)

you can also try a full recompilation (make clean; make)

-geever
Title: Re: When in Geoscape a mouse clicks always builds a new base - Can't select a base
Post by: vand on November 20, 2009, 02:57:14 pm
Are you sure you have data files (especially base/ufos/equipment.ufo) and the game finds it? (If you run it from console the game will write out the game directories it's found)

you can also try a full recompilation (make clean; make)

A make clean and recompiling did not help nor did removing ~/.ufoai.
It seems that some pk3 were not correctly compiled during the build process.
Even after running make pk3 manually several times some old pk3s seem to
have blocked a correct rebuild with zip error: no files to add (IIRC).
Then I removed all pk3 files in the source/base/ directory manually and ran make pk3 install
again and voila it worked.

It was in the build process then, thanks for the missing file hint.

--
Vand
Title: Re: When in Geoscape a mouse clicks always builds a new base - Can't select a base
Post by: geever on November 20, 2009, 03:44:40 pm
A make clean and recompiling did not help nor did removing ~/.ufoai.
It seems that some pk3 were not correctly compiled during the build process.
Even after running make pk3 manually several times some old pk3s seem to
have blocked a correct rebuild with zip error: no files to add (IIRC).
Then I removed all pk3 files in the source/base/ directory manually and ran make pk3 install
again and voila it worked.

It was in the build process then, thanks for the missing file hint.
--
Vand

So make pk3 bug (http://sourceforge.net/tracker/?func=detail&aid=2029690&group_id=157793&atid=805242) is still alive. Thanks for reporting.

-geever