Results 1 to 4 of 4

Thread: TrapDoor.cfg file causing freeze

  
  1. #1
    Awakening Game Master Metal Gear Rex's Avatar
    Join Date
    Sep 2009
    Posts
    5,689

    Default TrapDoor.cfg file causing freeze

    I'm trying to resume my DK1 patch but this time I'm going to keep up with the latest FX version. However, after updating my files to the appropriate format and importing them to FX, the game freezes on the loading screen of the main menu, right after the intro. The logs (even after using the heavy log version) don't say anything, but I noticed it stopped after loading the trapdoor.cfg file. So after replacing the patched file with the default, the error disappeared.

    Now what I want to know is why it was freezing to begin with so I can properly change the file without error. Format seems fine, so there must be some sort of error in the stats themselves, but I have no idea what that may be.

    This is version 0.42 btw. I haven't downloaded the latest version but I assume the error would exist there as well unless you changed something relevant to the issue.

    This is what's on my buggedtrapdoor.cfg file. I'd attach the file itself but KK considers it an invalid file for some reason. :/

    Code:
    ; KeeperFX Traps and Doors Configuration file
    ; file version 0.30, by Mefistotelis and DragonsLover
    
    [common]  
    TrapsCount = 7
    DoorsCount = 5
    
    ; Doors configuration
    
    [door0]
    Name = NULL
    NameTextID = 201
    ManufactureLevel = 0
    ManufactureRequired = 0
    SellingValue = 0
    Health = 0
    
    [door1]  
    Name = WOOD
    NameTextID = 590
    ManufactureLevel = 0
    ManufactureRequired = 8000
    SellingValue = 0
    Health = 300
    
    [door2]  
    Name = BRACED
    NameTextID = 591
    ManufactureLevel = 2
    ManufactureRequired = 30000
    SellingValue = 150
    Health = 1500
    
    [door3]  
    Name = STEEL
    NameTextID = 592
    ManufactureLevel = 3
    ManufactureRequired = 60000
    SellingValue = 300
    Health = 3000
    
    [door4]  
    Name = MAGIC
    NameTextID = 593
    ManufactureLevel = 4
    ManufactureRequired = 70000
    SellingValue = 400
    Health = 1500
    
    ; Traps configuration
    
    [trap0]  
    Name = NULL
    NameTextID = 201
    TooltipTextID = 201
    ManufactureLevel = 0
    ManufactureRequired = 0
    Shots = 0
    TimeBetweenShots = 0
    SellingValue = 0
    
    [trap1]  
    Name = BOULDER
    NameTextID = 578
    TooltipTextID = 584
    ManufactureLevel = 3
    ManufactureRequired = 40000
    Shots = 1
    TimeBetweenShots = 0
    SellingValue = 250
    
    [trap2]  
    Name = ALARM
    NameTextID = 579
    TooltipTextID = 585
    ManufactureLevel = 0
    ManufactureRequired = 9000
    Shots = 20
    TimeBetweenShots = 1500
    SellingValue = 0
    
    [trap3]  
    Name = POISON_GAS
    NameTextID = 580
    TooltipTextID = 586
    ManufactureLevel = 1
    ManufactureRequired = 12000
    Shots = 6
    TimeBetweenShots = 175
    SellingValue = 100
    
    [trap4]  
    Name = LIGHTNING
    NameTextID = 581
    TooltipTextID = 587
    ManufactureLevel = 2
    ManufactureRequired = 18000
    Shots = 4
    TimeBetweenShots = 160
    SellingValue = 100
    
    [trap5]  
    Name = WORD_OF_POWER
    NameTextID = 582
    TooltipTextID = 588
    ManufactureLevel = 4
    ManufactureRequired = 50000
    Shots = 2
    TimeBetweenShots = 84
    SellingValue = 350
    
    [trap6]  
    Name = LAVA
    NameTextID = 583
    TooltipTextID = 589
    ManufactureLevel = 3
    ManufactureRequired = 10000
    Shots = 1
    TimeBetweenShots = 0
    SellingValue = 0
    Dungeon Keeper 2 Patch: With More Balance and Pie [Hiatus]
    Forever Hiatus. Probably. Latest Version: 3.5 w/Levels 1-11 Revised.

    The Awakening: GM Powers Activate!
    Tesonu is napping!

  2. #2
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: TrapDoor.cfg file causing freeze

    Quote Originally Posted by Metal Gear Rex View Post
    after updating my files to the appropriate format and importing them to FX, the game freezes on the loading screen of the main menu, right after the intro. The logs (even after using the heavy log version) don't say anything, but I noticed it stopped after loading the trapdoor.cfg file. So after replacing the patched file with the default, the error disappeared.
    I just tried your config on KeeperFX 0.4.3.828 and there's no problem with the game loading.

    The game started properly, I was able to start new game without any errors in-game, logs had no errors too.

    You'll have to provide more info for us to be able to reproduce the issue.

  3. #3
    Awakening Game Master Metal Gear Rex's Avatar
    Join Date
    Sep 2009
    Posts
    5,689

    Default Re: TrapDoor.cfg file causing freeze

    Quote Originally Posted by mefistotelis View Post
    I just tried your config on KeeperFX 0.4.3.828 and there's no problem with the game loading.

    The game started properly, I was able to start new game without any errors in-game, logs had no errors too.

    You'll have to provide more info for us to be able to reproduce the issue.
    I tried it on version 0.4.3.824 and had the same error. I played around with it more, and discovered what appears to be the error. For whatever reason, it freezes when I give the Lava Trap a selling price of 0, which is weird as I did the same with the Wooden Door and Alarm Trap. The only things I can think of would be the fact that the Lava Trap is last on the list.

    There's not much else I can say, as there's very little information I can gather. KeeperFX just stops responding entirely on that loading screen. This is what the heavy log version says.

    Code:
    Dungeon Keeper FX ver 0.4.3.824 (heavylog release)
    LOG CREATED  @ 16:03:39  25-10-2013
    
    Sync: LbMouseChangeMoveRatio: New ratio 256x256
    Sync: CPU GenuineIntel type 0 family 6 model 10 stepping 1 features bfebfbff
    Sync: PhysicalMemory 32
    Sync: Memory-demanding features enabled.
    Sync: load_configuration: Starting
    Sync: load_configuration: Processing Config file, 884 bytes
    Sync: load_configuration: Config loaded
    Sync: setup_screen_mode_zero: Setting up mode 28
    Sync: LbScreenSetup: Mode 640x480x32 setup succeeded
    Sync: LbScreenSetup: Done filling display properties struct
    Sync: LbScreenSetup: Finished
    Sync: Moon phase 0.3864
    Sync: init_sound: Starting
    Sync: LbScreenSetup: Mode 640x480x32 setup succeeded
    Sync: LbScreenSetup: Done filling display properties struct
    Sync: LbScreenSetup: Finished
    Sync: play_smk_via_buffer: Starting
    LbDataFree: freeing "*PALETTE"...done
    LbDataFree: freeing "*SCRATCH"...done
    Sync: initial_setup: Starting
    Sync: LbMouseChangeMoveRatio: New ratio 128x128
    Sync: clear_game: Starting
    Sync: clear_game_for_summary: Starting
    Sync: delete_all_structures: Starting
    Sync: clear_dungeons: Starting
    Sync: clear_computer: Starting
    Sync: ceiling_set_info: Starting
    Sync: init_animating_texture_maps: Starting
    Sync: load_settings: Starting
    Sync: setup_gui_strings_data: Starting
    Sync: setup_heaps: Starting
    Sync: GraphicsHeap Size 8388608
    Sync: SoundHeap Size 8388608
    Sync: init_sound_heap_two_banks: Starting
    Sync: Sound samples in banks: 840,126
    Sync: init_keeper: Starting
    Sync: init_rgb2idx_table: Reading rgb-to-index color table file "./data/colours.col".
    Sync: init_redpal_table: Reading red-blended color table file "./data/redpal.col".
    Sync: init_whitepal_table: Reading white-blended color table file "./data/whitepal.col".
    Sync: load_creaturetypes_config: Parsing Creature Types config file "creature.cfg".
    Sync: load_terrain_config_file: Parsing global terrain config file "./fxdata/terrain.cfg".
    Sync: load_objects_config_file: Parsing global objects config file "./fxdata/objects.cfg".
    Sync: load_trapdoor_config_file: Parsing global traps and doors config file "./fxdata/trapdoor.cfg".
    Dungeon Keeper 2 Patch: With More Balance and Pie [Hiatus]
    Forever Hiatus. Probably. Latest Version: 3.5 w/Levels 1-11 Revised.

    The Awakening: GM Powers Activate!
    Tesonu is napping!

  4. #4
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: TrapDoor.cfg file causing freeze

    Quote Originally Posted by Metal Gear Rex View Post
    The only things I can think of would be the fact that the Lava Trap is last on the list.
    Yup, that was the problem.

    I fixed that; as a workaround for older revisions, add a comment (ie. "; end of file!") after last line.

Similar Threads

  1. Poison Gas causing problems
    By Hades in forum KeeperFX
    Replies: 5
    Last Post: March 6th, 2013, 22:42
  2. Freeze/Crash in 0.38c
    By Jokerspeed in forum KeeperFX
    Replies: 3
    Last Post: March 20th, 2011, 08:23
  3. Freeze in 0.38c
    By Leviathan in forum KeeperFX
    Replies: 1
    Last Post: March 10th, 2011, 19:24
  4. Computer freeze
    By shanon in forum KeeperFX
    Replies: 4
    Last Post: December 21st, 2010, 17:36
  5. Random Freeze?
    By Metal Gear Rex in forum KeeperFX
    Replies: 1
    Last Post: November 1st, 2010, 08:39

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •