Game crashes when I click End Scenario
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
- KyrosDrakon
- Posts: 6
- Joined: July 29th, 2021, 4:28 pm
Game crashes when I click End Scenario
Hello. I am loving this game. Wesnoth is really well done. I am impressed and admire all the years of dedication and hard work that has gone into this project. I hope to see the game improve even more in the future and to include being compatible with some of the older addons which are not playable on 1.15.
The bug I have found is a game crash. I have been playing the addon Legend of the Invincibles on version 1.14.17 because this addon is not compatible with 1.15. The game crashes as soon as I click on End Scenario at the end of Chapter 1 Scenario 6 Ruins of Lost Empires. I have even tried using the debug code to choose the next level but the game crashes while loading it. I have tried the code with different levels and it crashes each time. The code only works on some of my earlier save files near the beginning of the campaign.
I am not sure what to do next to fix this bug. I am guessing that there might be some coding in the save file which is causing the crash that is not present in my earlier save files but I’m not sure.
I have attached the save file on the turn right before you kill the final boss to end the scenario. Once the boss is dead and I click End Scenario the game crashes immediately. Does the same thing happen on your computer?
The Battle for Wesnoth version 1.14.17
Running on Microsoft Windows 10 (10.0.19042)
Distribution channel: SourceForge
GPU Radeon RX 580 Series
Processor AMD Ryzen 5 3600 6-Core Processor, 3593 Mhz
Motherboard ASRock A320M/ac
The bug I have found is a game crash. I have been playing the addon Legend of the Invincibles on version 1.14.17 because this addon is not compatible with 1.15. The game crashes as soon as I click on End Scenario at the end of Chapter 1 Scenario 6 Ruins of Lost Empires. I have even tried using the debug code to choose the next level but the game crashes while loading it. I have tried the code with different levels and it crashes each time. The code only works on some of my earlier save files near the beginning of the campaign.
I am not sure what to do next to fix this bug. I am guessing that there might be some coding in the save file which is causing the crash that is not present in my earlier save files but I’m not sure.
I have attached the save file on the turn right before you kill the final boss to end the scenario. Once the boss is dead and I click End Scenario the game crashes immediately. Does the same thing happen on your computer?
The Battle for Wesnoth version 1.14.17
Running on Microsoft Windows 10 (10.0.19042)
Distribution channel: SourceForge
GPU Radeon RX 580 Series
Processor AMD Ryzen 5 3600 6-Core Processor, 3593 Mhz
Motherboard ASRock A320M/ac
- Pentarctagon
- Project Manager
- Posts: 5565
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Game crashes when I click End Scenario
Can you provide some of the additional information mentioned here, particularly the build information and the log file.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
- KyrosDrakon
- Posts: 6
- Joined: July 29th, 2021, 4:28 pm
Re: Game crashes when I click End Scenario
Code: Select all
Battle for Wesnoth v1.14.17
Started on Fri Aug 13 02:31:33 2021
Automatically found a possible data directory at D:\Program Files (x86)\Battle for Wesnoth 1.14.17
Data directory: D:\Program Files (x86)\Battle for Wesnoth 1.14.17
User configuration directory: C:\Users\USER\OneDrive\Documents\My Games\Wesnoth1.14
User data directory: C:\Users\USER\OneDrive\Documents\My Games\Wesnoth1.14
Cache directory: C:\Users\USER\OneDrive\Documents\My Games\Wesnoth1.14\cache
Setting mode to 1920x1080
20210813 02:31:37 warning general: no location found for 'data/add-ons/Affably_Evil/translations', skipping textdomain
20210813 02:31:37 warning general: no location found for 'data/add-ons/Elvish_Incursion_P1
/translations', skipping textdomain
20210813 02:31:37 warning general: no location found for 'data/add-ons/Hords_of_the_Other_World/translations', skipping textdomain
20210813 02:31:37 warning general: no location found for 'data/add-ons/Kill_the_King/translations', skipping textdomain
20210813 02:31:37 warning general: no location found for 'data/add-ons/The_Beatiful_Child/translations', skipping textdomain
Checking lua scripts... ok
Cannot find era
- Attachments
-
- wesnoth-20210812-032619-13160.log
- (101.88 KiB) Downloaded 38 times
- KyrosDrakon
- Posts: 6
- Joined: July 29th, 2021, 4:28 pm
Re: Game crashes when I click End Scenario
Code: Select all
The Battle for Wesnoth version 1.14.17
Running on Microsoft Windows 10 (10.0.19042)
Distribution channel: SourceForge
Game paths
==========
Data dir: D:\Program Files (x86)\Battle for Wesnoth 1.14.17
User config dir: C:\Users\USER\OneDrive\Documents\My Games\Wesnoth1.14
User data dir: C:\Users\USER\OneDrive\Documents\My Games\Wesnoth1.14
Saves dir: C:\Users\USER\OneDrive\Documents\My Games\Wesnoth1.14\saves
Add-ons dir: C:\Users\USER\OneDrive\Documents\My Games\Wesnoth1.14\data\add-ons
Cache dir: C:\Users\USER\OneDrive\Documents\My Games\Wesnoth1.14\cache
Libraries
=========
Boost: 1.59
OpenSSL/libcrypto: 1.1.0f (runtime 1.1.0f)
Cairo: 1.10.2 (runtime 1.10.2)
Pango: 1.30.1 (runtime 1.30.1)
SDL: 2.0.12 (runtime 2.0.12)
SDL_image: 2.0.5 (runtime 2.0.5)
SDL_mixer: 2.0.4 (runtime 2.0.4)
SDL_ttf: 2.0.15 (runtime 2.0.15)
Features
========
JPEG screenshots: yes
Lua console completion: yes
Legacy bidirectional rendering: no
Win32 notifications back end: yes
Current video settings
======================
Current pixel resolution: 1920x1080
Refresh rate: 60
SDL reports: 96x96 dots per inch.
Installed add-ons
=================
Affably_Evil : 1.0.0h
Colosseum3p : 1.8.2
Elvish_Dynasty : 0.12.1b
Elvish_Incursion_P1 : 1.2.1
EoM_Bloodlegacy : 1.2.0
Era_of_Magic : 3.3.0
Era_of_Magic_Resources : 1.2.0
Era_of_Myths : 6.0.0
Galactic_Empires : 3.3
Hordes_of_the_Other_World : 0.0.0
Invincibles_Conquest_II : 0.0.0e
Irdya_Dragon : 0.0.2
Kill_the_King : 1.0.0c
LA_MP_Pack : 0.4.8e
LA_RPG_Resources : 1.0.1
Legend_of_the_Invincibles : 3.2.6d
Lonely_Era : 1.5.5b
LotIColosseum : 0.0.0
LotI_Advancements : 0.0.0
LotI_RPG_Era : 0.0.0a
Move_Units_Between_Campaigns : 1.4
No_Randomness_Mod : 1.4
TWoD : 0.6.0beta
Temples_Of_The_Nagas : 1.26.4
The_Beautiful_Child : 1.0.1f
The_Kraken : 0.3.0
The_Labyrinth_Of_Champions : 2.9.3
To_Lands_Unknown : 3.1.3
To_Lands_Unknown_Resources_1 : 1.0.1
To_Lands_Unknown_Resources_2 : 1.0.2
Trader : 1.16.15
Voyage_of_a_Drake : 1.0.6
World_Conquest_II : 0.7.10.3
bloodlegacy : 0.0.4
level_zero_helper : 0.1.6
pick_advance : 1.11.4
- KyrosDrakon
- Posts: 6
- Joined: July 29th, 2021, 4:28 pm
Re: Game crashes when I click End Scenario
Update 1
I changed up some coding in the save file and loaded it up in the game. Now when I click End Scenario the game no longer crashes and I am able to start on the next scenario. I attached the new save files if you want to compare the differences.
I changed up some coding in the save file and loaded it up in the game. Now when I click End Scenario the game no longer crashes and I am able to start on the next scenario. I attached the new save files if you want to compare the differences.
- Attachments
-
- LotI1-The Return Turn 1.gz
- (313.28 KiB) Downloaded 43 times
-
- LotI1-Ruins of Lost Empires Turn 26 End 2 - Copy.gz
- (515.86 KiB) Downloaded 39 times
- Pentarctagon
- Project Manager
- Posts: 5565
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: Game crashes when I click End Scenario
It does crash for me as well. The key part is the
Cannot find era
line in the log - for whatever reason it's trying to find an era that's missing its ID, which means it can't find the era that it's supposed to use. While it's not a great way for Wesnoth to handle the situation, this is also definitely a bug that should be fixed in the add-on.99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code