The game falls during loading savegame

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
Sardaykar
Posts: 9
Joined: January 14th, 2007, 9:25 am
Location: Ukraine

The game falls during loading savegame

Post by Sardaykar »

I found an error in the game. It isn`t critical, but irritates a lot:

when I try to load savegame during the AI`s step the game falls
(not always, but very often).
I have: Windows XP professional second edition.
Wethnot version: 1.1.11

I don`t think that this problem can be solved by giving me any advises and I only want to warn you about it.
I hope that this problem will be solved in the next versions of Wethnot.


P.S. I don`t know if it needed but I inculde the contents of STDERR.TXT,
after the last falling:

----------------------------------------
Battle for Wesnoth v1.1.11
Started on Mon Jan 15 20:58:30 2007

started game: 0
Checking video mode: 1024x768x32...
32
setting mode to 1024x768x32
locale could not be determined; defaulting to system locale
WARNING: setlocale() failed for .
found valid cache at 'D:/Games/Wesnoth NEW/userdata/cache/game.cfg-cache-v1.1.11-MEDIUM-NORMAL' using it
loadscreen: filesystem counter = 101
loadscreen: binarywml counter = 11309
loadscreen: setconfig counter = 221
loadscreen: parser counter = 202
started music
7302
showing title screen...
7302
Loading tips of day
title screen returned result
locale could not be determined; defaulting to system locale
found valid cache at 'D:/Games/Wesnoth NEW/userdata/cache/game.cfg-cache-v1.1.11-CAMPAIGN_HEIR_TO_THE_THRONE-HARD' using it
error config: [attack] uses special=magical, which is now deprecated. Use the macros provided in abilities.cfg.
scenario: '07_Crossroads'
has snapshot: yes
setting replay to end...
error config: [attack] uses special=magical, which is now deprecated. Use the macros provided in abilities.cfg.
scenario: '07_Crossroads'
error display: could not open image ''
locale could not be determined; defaulting to system locale
Yogibear
Retired Developer
Posts: 1086
Joined: September 16th, 2005, 5:44 am
Location: Hamburg, Germany

Post by Yogibear »

1.1.11 is quite outdated actually. I strongly recommend to get the up-to-date 1.2.1 release.

Nevertheless, thanks for pointing this out.
Smart persons learn out of their mistakes, wise persons learn out of others mistakes!
Taku
Posts: 4
Joined: January 5th, 2007, 3:13 pm

Post by Taku »

It still happens in version 1.2.1

My *guess* for the problem is some kind of race condition. During the read from the file loading, a close on the file from the opening dialog happens. Just a guess, but it would fit since waiting a bit makes sure that the problem does not occur.
User avatar
Iris
Site Administrator
Posts: 6800
Joined: November 14th, 2006, 5:54 pm
Location: Chile
Contact:

Post by Iris »

Taku wrote:[...] since waiting a bit makes sure that the problem does not occur.
I never thought it was a bug. I actually thought it was a feature for...
Someone, in the Wesnoth wiki (GettingStarted, section 'Getting the Most Fun Out of the Game') wrote: Don't abuse saved games. Long ago, Wesnoth only allowed saving the game at the end of a scenario. Mid-scenario saving was added as a convenience to use if you had to continue the game another day, or to protect against crashes. We do not recommend loading mid-scenario saved games over and over because your White Mage keeps getting killed. Learn to protect your White Mage instead, and balance risks! That is part of the strategy.
:lol:

DISCLAIMER: I know that if the developers really added such a feature, it wouldn't crash the game, but just display a dialog with "Do not abuse saved games. - Developer's Signature" or something.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
lyml
Posts: 8
Joined: January 22nd, 2007, 10:05 am

Post by lyml »

Actually I just planned to post the very same bug. I got the same problem here.
Post Reply