PDA

View Full Version : KeeperFX 0.38a bug with Fly



jomalin
February 8th, 2011, 23:38
Using the "Possess creature" over a Fly crash the game. That occurs in any level

Metal Gear Rex
February 9th, 2011, 00:58
Something like this I imagine is pretty easy to get a log file with while using the debug version. It also is pretty easy to get a save file. Maybe you should do those things to help Mefisto out some, perhaps?

jomalin
February 9th, 2011, 02:18
OK, these are the last lines of my log file executing keeperfx_dbg.exe and trying to possessing a fly (you can see the first line starting by "Error"):

Error: control_creature_as_controller: Cannot allocate light to new controlled thing
Sync: setup_eye_lens: Starting for lens 3
Sync: setup_eye_lens: Displace config entered
Sync: load_swipe_graphic_for_creature: Starting for creature FLY
Sync: free_swipe_graphic: Starting
Sync: add_to_menu_stack: Menu 31 put on stack, at position 3.
Sync: Created menu at slot 3, pos (0,0) size (140,400)
Sync: process_player_instances: Finished
Sync: process_player_states: Starting
Sync: process_players: Doing updates for player 0
Sync: update_player_objectives: Starting for player 0
Sync: process_players: Doing updates for player 1
Sync: update_player_objectives: Starting for player 1
Sync: process_action_points: Starting
Sync: update_footsteps_nearest_camera: Starting
Sync: process_armageddon: Starting
Sync: message_update: Starting
Sync: update_all_players_cameras: Starting
Sync: update_player_sounds: Starting
Sync: find_nearest_rooms_for_ambient_sound: Starting
Sync: process_3d_sounds: Starting
Sync: update_player_sounds: Finished
Sync: update: Finished
Sync: keeper_screen_redraw: Starting
Sync: setup_engine_window: Starting for size (884,768) at (140,0)
Sync: redraw_display: Starting
Sync: process_pointer_graphic: Starting for view 2, player state 11, instance 13
Sync: set_pointer_graphic: Setting to 0
Sync: redraw_creature_view: Starting
Sync: update_explored_flags_for_power_sight: Starting
Sync: setup_engine_window: Starting for size (1024,768) at (0,0)
Sync: engine: Starting
Sync: draw_view: Starting
Sync: display_drawlist: Starting
Sync: draw_view: Finished
Sync: setup_engine_window: Starting for size (1024,768) at (0,0)

Along the file they are a lot of lines with:

Error: create_shot: Cannot create shot 7 for player 0. There are too many things allocated.
Error: create_shot: Cannot create shot 22 for player 0. There are too many things allocated.

Krizzie
February 9th, 2011, 09:17
Error: create_shot: Cannot create shot 7 for player 0. There are too many things allocated.
Error: create_shot: Cannot create shot 22 for player 0. There are too many things allocated.

That's the things limit bug. Maybe it also messes with Possesion?

jomalin
February 9th, 2011, 09:39
OK, these errors you said are relative to Things limit (because I had a lot of rooms and things in the level) but that bug occurs in any level, like in the first one, without exceeding that limit. As you said, maybe it is a possessing bug directly.

Also, the error:
Error: control_creature_as_controller: Cannot allocate light to new controlled thing

It is maybe now corrected because mefistotelis released a fix relative to light in the SVN few days ago

jomalin
August 13th, 2012, 09:48
I think mefistotelis has done an important change in KeeperFX repository:
r502: Rewritten the function used for claiming enemy rooms. Also, prepared a macro for debugging problems related to things.

Probably this will help to solve this problem and others related to the things limit.

mefistotelis
August 13th, 2012, 18:05
Actually, this problem is related with 'possession bug', not with things.

We don't know what is the exact source of possession bug.