bugBattle for Wesnoth - Bugs: bug #4680, experience_modifier not applied to...

Show feedback again

bug #4680: experience_modifier not applied to units in recall list after save/reload

Submitted by:  Wesnoth Bugs <wesnoth1326>
Submitted on:  Tue Nov 8 15:20:49 2005  
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalItem Group: WML
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Release: 1.0.1Operating System: all

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Thu Feb 7 18:17:50 2008, comment #5:

I just tested and it seems to be fixed now.

Mark de Wever <mordante>
Project Member
Tue Jan 1 18:45:32 2008, comment #4:

Changing reports assigned to people that are probably inactive to 'none'.

Nils Kneuper <ivanovic>
Project Administrator
Sat Nov 19 21:45:15 2005, comment #3:

It turns out things aren't so simple. What really needs to get saved is the experience modifier when the unit was created. That needs to get reapplied before any max experience modifiers are reapplied at the next level.
I need to look at this carefully.

Bruno Wolff III <brunowolff>
Project Member
Sat Nov 19 21:31:15 2005, comment #2:

The experience needed to advance is not written to the save file.
The normal experience needed to advance is used even if the current level has something different. (The latter is good, since the current experience modifier shouldn't effect recallable units.)

Bruno Wolff III <brunowolff>
Project Member
Sat Nov 19 20:15:55 2005, comment #1:

FYI, the leader isn't really a special case. They start on the recall list and are retrived from it to replace a side's starting leader. So this can probably be fixed in just one place.

Bruno Wolff III <brunowolff>
Project Member
Tue Nov 8 15:20:49 2005, original submission:

i made a single-player campaign using experience_modifier. all scenarios have the same setting (experience_modifier=30).

if i finish a scenario and keep playing through the next_scenario, the experience_modifier works correctly.

however, if i save the game at scenario start and reload it, the experience_modifier is not applied to the leader or any units in the recall list. recruited units work correctly.

if instead i play through the next_scenario for a few turns, then save and reload it, only units that were recalled before the save have the modified experience.

thanks and let me know if you need more info.

Wesnoth Bugs <wesnoth1326>


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by esr (Updated the item)
  • -unavailable- added by mordante (Posted a comment)
  • -unavailable- added by ivanovic (Posted a comment)
  • -unavailable- added by brunowolff (Posted a comment)
  • -unavailable- added by ott (Updated the item)
  • -unavailable- added by wesnoth1326 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Feb 12 02:42:17 2008esrOpen/ClosedOpen=>Closed
    Thu Feb 7 18:17:50 2008mordanteStatusNone=>Fixed
    Tue Jan 1 18:45:32 2008ivanovicAssigned tobrunowolff=>None
    Sat Nov 19 20:16:37 2005brunowolffAssigned toNone=>brunowolff
    Tue Nov 8 15:35:34 2005ottSeverity2 - Minor=>3 - Normal
      Item GroupNone=>WML
      Operating Systemlinux=>all
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup