Nothing entered.
[http://sourceforge.net/p/ufoai/bugs/2406 Item 2406] imported from sourceforge.net tracker on 2013-01-28 19:35:59
On some maps there is a small grocery store with glass windows. If they are hit with bullets (not sure about blast from grenades ) the game instantly pops back to Geoscape mode. Before that the sound of broken glass is played.
It is reproducible and happens whenever you hit a glass window.
Win32 build 28892 by Destructavator
===== Comments Ported from Sourceforge =====
====== geever (2010-03-15 13:45:50) ======
Check your ufoconsole.log, there must be some kind of message about the error.
-geever
====== harper47 (2010-03-15 14:26:30) ======
I don't have save of that map so I can't check logs right now.
But I will be looking for this bug and report the log here ASAP.
====== harper47 (2010-03-15 18:32:14) ======
I was lucky to find exactly this building on my next mission.
Map name was "Village commercial".
Surprisingly, this time no amount of window shooting from every possible gun (normal, grenade, laser, plasma) had replicated the bug. It all works fine now. Very strange.
Either way, I've attached the screenshots of that suspicious building just in case.
====== harper47 (2010-03-15 18:33:20) ======
Store level 1
====== harper47 (2010-03-15 18:33:47) ======
Store level 2
====== harper47 (2010-03-17 02:19:52) ======
It happenned again, in the same building.
On second floor there stood two aliens near windows. I'd dropped a grenade between them and it seems to hit them. But at the same moment there was a sound of broken glass - and voila, the game instantly returned to Geoscape.
Here's the log
2010/03/17 04:57:43 ==== InitGame ====
2010/03/17 04:57:45 SV_AssembleMap: Sequential map assembly in 1952 ms
2010/03/17 04:57:45 CM_LoadMap: "-village/vil_ +c01 +c04 +craft_drop_firebird +craft_ufo_harvester +h01 +h03 +r02 +d02 +s07 +d02 +d03 +s04 +d05 +d06 +r03 +d03 +d06 +d04 +s02 +s02 +s02 +s07 +d05 +s02 +d04" "-8 8 0 16 16 0 -16 -8 0 -8 -32 0 -32 -32 0 -24 -24 0 -32 16 0 8 24 0 -32 8 0 8 16 0 -32 -16 0 -8 -32 0 -32 -8 0 -16 -32 0 -24 -8 0 -32 0 0 -24 0 0 8 0 0 -24 8 0 -16 8 0 8 8 0 16 8 0 16 0 0 24 8 0 24 0 0"
2010/03/17 04:57:47 Rerouted for RMA in 1.0s
2010/03/17 04:57:47 checksum for the map '+village': 3337283166
2010/03/17 04:57:47 ufo script checksum 1346210585
2010/03/17 04:57:47 Created AI player (team 0)
2010/03/17 04:57:47 Created AI player (team 7)
2010/03/17 04:57:47 -------------------------------------
2010/03/17 04:57:47 Connecting to localhost...
2010/03/17 04:57:47 connection attempt from loopback connection
2010/03/17 04:57:47 load material file: 'materials/village.mat'
2010/03/17 04:57:58 Starting the game...
2010/03/17 04:57:58 Harper has joined team 1
2010/03/17 04:57:58 music change to PsymongR3 (from karlmacklin_geoscape)
2010/03/17 04:58:00 music change to van_mission (from PsymongR3)
2010/03/17 04:58:00 (player 0) It's team 1's round
2010/03/17 04:58:01 Harper has taken control over team 1.
2010/03/17 05:00:00 Team 1 ended round2010/03/17 05:00:00 , team 7's round started!
2010/03/17 05:00:24 Team 7 ended round2010/03/17 05:00:24 , team 0's round started!
2010/03/17 05:00:37 Team 0 ended round2010/03/17 05:00:37 , team 1's round started!
2010/03/17 05:03:12 Team 1 ended round2010/03/17 05:03:12 , team 7's round started!
2010/03/17 05:03:32 Team 7 ended round2010/03/17 05:03:32 , team 0's round started!
2010/03/17 05:03:37 Team 0 ended round2010/03/17 05:03:37 , team 1's round started!
2010/03/17 05:07:09 Team 1 ended round2010/03/17 05:07:09 , team 7's round started!
2010/03/17 05:07:28 Team 7 ended round2010/03/17 05:07:28 , team 0's round started!
2010/03/17 05:07:31 Team 0 ended round2010/03/17 05:07:31 , team 1's round started!
2010/03/17 05:10:49 Team 1 ended round2010/03/17 05:10:49 , team 7's round started!
2010/03/17 05:11:07 Team 7 ended round2010/03/17 05:11:07 , team 0's round started!
2010/03/17 05:11:11 Team 0 ended round2010/03/17 05:11:11 , team 1's round started!
2010/03/17 05:11:44 ********************
2010/03/17 05:11:44 ERROR: Can't move, actor on team 0 dead
2010/03/17 05:11:44 ********************
2010/03/17 05:11:44 Shutdown server: Server crashed.
2010/03/17 05:11:44 ==== ShutdownGame ====
2010/03/17 05:11:44 music change to van_geoscape (from van_mission)
====== harper47 (2010-03-17 10:53:20) ======
I used ALT+Tab when playing (not at that mission but earlier in the game). Maybe this bug is connected to this.
====== tlh2000 (2010-03-21 09:37:35) ======
was there a civilian killed right before or after you shot that window?
====== tlh2000 (2010-03-21 09:40:58) ======
village/vil_c01 is the map on the screenshots
====== tlh2000 (2010-03-21 09:49:54) ======
it would be nice if you could retry with revisions >= r29073
you will get ufoconsole.log messages about died actors and so on.
====== harper47 (2010-03-22 13:48:38) ======
>was there a civilian killed?
Could be, yes.
For certain, before crash an alien was killed (tested 3 times this sequence: shoot alien near window (e.g. by machine-gun 20-burst), glass is broken by missed bullets, the game crashes when alien should drop dead by success burst bullets).
>if you could retry with revisions >= r29073
As soon as there would be available build I'll certainly try it.
====== tlh2000 (2010-03-22 19:17:07) ======
small testmap with breakables
====== tlh2000 (2010-03-23 19:49:37) ======
it's not reproducible here (see the attached testmap) - maybe a specific problem with the map? a trigger that is connected to the func_breakable?
====== harper47 (2010-03-25 16:58:51) ======
Could you tell me how to load this test map in the game?
As to the cause of this bug - maybe it's somehow connected to alt-tabbing to desktop or/and large amount of time playing the game (during 3-4 hours of play many missions are loaded)
====== tlh2000 (2010-03-25 22:22:47) ======
compiled the map with ufo2map- call "ufo2map maps/testmap"
====== tlh2000 (2010-03-27 06:46:41) ======
compiled map - copy to base/maps, extract and start with "./ufo +map day test_map" or from game console with "map day test_map"
====== tlh2000 (2010-03-27 06:47:02) ======
i've attached a compiled version - please retry with that version and try to make it crash again
====== harper47 (2010-03-31 22:58:12) ======
ОК, I've tested testmap and it crashed.
How to reproduce:
1) alien shoots and kills civilian
2) exactly on next turn we shoot the alien with automatic (burst) fire and kill him
3) one of burst bullets should strike glass window when we are killing the alien
2010/04/01 02:49:13 ==== InitGame ====
2010/04/01 02:49:13 checksum for the map 'test_map': 2152586552
2010/04/01 02:49:13 ufo script checksum 1346210585
2010/04/01 02:49:13 Not enough spawn points for team 0
2010/04/01 02:49:13 Created AI player (team 0)
2010/04/01 02:49:13 Not enough spawn points for team 7
2010/04/01 02:49:13 Created AI player (team 7)
2010/04/01 02:49:13 -------------------------------------
2010/04/01 02:49:13 Server map change
2010/04/01 02:49:13 Connecting to localhost...
2010/04/01 02:49:13 connection attempt from loopback connection
2010/04/01 02:49:13 Starting the game...
2010/04/01 02:49:13 Harper has joined team 1
2010/04/01 02:49:13 music change to PsymongO4 (from MarineUrbanWarfare)
2010/04/01 02:49:14 (player 0) It's team 1's round
2010/04/01 02:49:14 Harper has taken control over team 1.
2010/04/01 02:49:22 Team 1 ended round2010/04/01 02:49:22 , team 7's round started!
2010/04/01 02:49:28 Team 7 ended round2010/04/01 02:49:28 , team 0's round started!
2010/04/01 02:49:31 Team 0 ended round2010/04/01 02:49:31 , team 1's round started!
2010/04/01 02:49:32 Team 1 ended round2010/04/01 02:49:32 , team 7's round started!
2010/04/01 02:49:37 Team 7 ended round2010/04/01 02:49:37 , team 1's round started!
2010/04/01 02:49:55 number | entnum | type | inuse | invis | pnum | team | size | HP | state | level | model/ptl
2010/04/01 02:49:55 # 0 | # 4 | 4 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 255 | 2010/04/01 02:49:55 *259
2010/04/01 02:49:55 # 1 | # 5 | 3 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2010/04/01 02:49:55 models/weapons/plasrifle/plasrifle.md2
2010/04/01 02:49:55 # 2 | # 1 | 2 | 1 | 0 | 0 | 1 | 1 | 99 | 0 | 0 | 2010/04/01 02:49:55 models/soldiers/female/body.md2
2010/04/01 02:49:55 # 3 | # 2 | 2 | 1 | 0 | 8 | 0 | 1 | 0 | 3 | 0 | 2010/04/01 02:49:55 models/civilians/female/body03.md2
2010/04/01 02:49:55 # 4 | # 3 | 2 | 1 | 0 | 9 | 7 | 1 | 0 | 2 | 0 | 2010/04/01 02:49:55 models/aliens/taman/body01.md2
2010/04/01 02:49:55 # 5 | # 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 2010/04/01 02:49:55 no mdl
2010/04/01 02:49:55 ********************
2010/04/01 02:49:55 ERROR: LE_NotFoundError: Could not get LE with entnum 4 (D:\UFOAIwin32BUILDenv\ufo\src\client\battlescape\events\event\world\e_event_entperish.c:44)
2010/04/01 02:49:55 ********************
2010/04/01 02:49:55 Shutdown server: Server crashed.
2010/04/01 02:49:55 ==== ShutdownGame ====
====== harper47 (2010-03-31 23:04:40) ======
Maybe this is somehow connected to mission end event.
I've noticed that when we kill all aliens civilians are moving right before the mission statistics are shown; i.e. there is one last turn of civilians.
Maybe some counter of killed civilian is broken and that dead civilian can't move on mission's end. Something like that.
====== harper47 (2010-04-01 00:09:28) ======
I've tried to reproduce it again.
Very hard to do it by the way - one hour of trying to no avail.
But it possible nevertheless.
1) i've loaded my savegame (map CM_LoadMap: "-village/vil_ +c01 +c04 etc.)
- as of notice one of my soldiers was greyed out on top - see attached screenshot
2) pressed end turn once
3) then pressed retry mission
4) pressed end turn once
5) opened console, loaded testmap
6) got crash with this message
2010/04/01 03:51:49 map day test_map
2010/04/01 03:51:49 Shutdown server: Server map change
2010/04/01 03:51:49 ==== ShutdownGame ====
2010/04/01 03:51:49 ==== InitGame ====
2010/04/01 03:51:49 checksum for the map 'test_map': 2152586552
2010/04/01 03:51:49 ufo script checksum 1346210585
2010/04/01 03:51:49 Not enough spawn points for team 0
2010/04/01 03:51:49 Created AI player (team 0)
2010/04/01 03:51:49 Not enough spawn points for team 7
2010/04/01 03:51:49 Created AI player (team 7)
2010/04/01 03:51:49 -------------------------------------
2010/04/01 03:51:49 Server map change
2010/04/01 03:51:49 Connecting to localhost...
2010/04/01 03:51:49 connection attempt from loopback connection
2010/04/01 03:51:50 Starting the game...
2010/04/01 03:51:50 Harper has joined team 1
2010/04/01 03:51:50 music change to van_mission3 (from space)
2010/04/01 03:51:50 music change to PsymongO3 (from van_mission3)
2010/04/01 03:51:50 ********************
2010/04/01 03:51:50 ERROR: Game Error: Could not find character on team 1 with unique character number 1
2010/04/01 03:51:50 ********************
2010/04/01 03:51:50 Shutdown server: Server crashed.
2010/04/01 03:51:50 ==== ShutdownGame ====
7) then I hit Esc and pressed Exit
8) opened console and loaded map
9) then I was able to reproduce this bug as in comment 2010-04-01 02:58:12 MSD
I've noticed that it happens when killing tamans equiped with plasma rifles. In previous cases (in real game) I was killing tamans too when game had crashed.
The log is:
2010/04/01 03:53:09 ==== InitGame ====
2010/04/01 03:53:09 checksum for the map 'test_map': 2152586552
2010/04/01 03:53:09 ufo script checksum 1346210585
2010/04/01 03:53:09 Not enough spawn points for team 0
2010/04/01 03:53:09 Created AI player (team 0)
2010/04/01 03:53:09 Not enough spawn points for team 7
2010/04/01 03:53:09 Created AI player (team 7)
2010/04/01 03:53:09 -------------------------------------
2010/04/01 03:53:09 Connecting to localhost...
2010/04/01 03:53:09 connection attempt from loopback connection
2010/04/01 03:53:10 Starting the game...
2010/04/01 03:53:10 Harper has joined team 1
2010/04/01 03:53:10 music change to PsymongO4 (from van_theme)
2010/04/01 03:53:10 (player 0) It's team 1's round
2010/04/01 03:53:10 Harper has taken control over team 1.
2010/04/01 03:53:17 Team 1 ended round2010/04/01 03:53:17 , team 7's round started!
2010/04/01 03:53:22 Team 7 ended round2010/04/01 03:53:22 , team 0's round started!
2010/04/01 03:53:22 Team 0 ended round2010/04/01 03:53:22 , team 1's round started!
2010/04/01 03:53:23 Team 1 ended round2010/04/01 03:53:23 , team 7's round started!
2010/04/01 03:53:25 Team 7 ended round2010/04/01 03:53:25 , team 1's round started!
2010/04/01 03:53:40 number | entnum | type | inuse | invis | pnum | team | size | HP | state | level | model/ptl
2010/04/01 03:53:40 # 0 | # 4 | 4 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 255 | 2010/04/01 03:53:40 *259
2010/04/01 03:53:40 # 1 | # 5 | 3 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2010/04/01 03:53:40 models/weapons/plasrifle/plasrifle.md2
2010/04/01 03:53:40 # 2 | # 1 | 2 | 1 | 0 | 0 | 1 | 1 | 107 | 0 | 0 | 2010/04/01 03:53:40 models/soldiers/female/body.md2
2010/04/01 03:53:40 # 3 | # 2 | 2 | 1 | 0 | 8 | 0 | 1 | 0 | 2 | 0 | 2010/04/01 03:53:40 models/civilians/male/body02.md2
2010/04/01 03:53:40 # 4 | # 3 | 2 | 1 | 0 | 9 | 7 | 1 | 0 | 257 | 0 | 2010/04/01 03:53:40 models/aliens/taman/body01.md2
2010/04/01 03:53:40 # 5 | # 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 2010/04/01 03:53:40 no mdl
2010/04/01 03:53:40 ********************
2010/04/01 03:53:40 ERROR: LE_NotFoundError: Could not get LE with entnum 4 (D:\UFOAIwin32BUILDenv\ufo\src\client\battlescape\events\event\world\e_event_entperish.c:44)
2010/04/01 03:53:40 ********************
2010/04/01 03:53:40 Shutdown server: Server crashed.
2010/04/01 03:53:40 ==== ShutdownGame ====
====== harper47 (2010-04-01 00:11:04) ======
Soldier being greyed out when he's alive
====== harper47 (2010-04-01 00:18:49) ======
Also, on testmap actors cannot be seen through glass windows.
I've seen here a tracker issue about this but can't find it anymore.
Is it fixed already?
====== tlh2000 (2010-04-18 04:54:51) ======
the seeing through glass bug is not yet fixed - a patch is attached but more testing is needed.
====== tlh2000 (2010-08-27 13:00:55) ======
see also https://sourceforge.net/tracker/index.php?func=detail&aid=3008040&group_id=157793&atid=805242
====== aduke1 (2011-11-28 19:51:06) ======
The originally posted bug is definitely fixed by now.
tlh2000,
can please enlighten me what's left to do for this multibug item ?
And where is that patch (mentioned 2 comments below) ?
====== tlh2000 (2011-11-28 20:38:19) ======
closing it now - as the initial bug is fixed, and the invalid ucn bug is already on the tracker