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 08 Nov 2005 03:20:49 PM UTC  
 
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 07 Feb 2008 06:17:50 PM UTC, comment #5:

I just tested and it seems to be fixed now.

Mark de Wever <mordante>
Project Member
Tue 01 Jan 2008 06:45:32 PM UTC, comment #4:

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

Nils Kneuper <ivanovic>
Project Administrator
Sat 19 Nov 2005 09:45:15 PM UTC, 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 19 Nov 2005 09:31:15 PM UTC, 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 19 Nov 2005 08:15:55 PM UTC, 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 08 Nov 2005 03:20:49 PM UTC, 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):
   
   
Comment:
   

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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 12 Feb 2008 02:42:17 AM UTCesrOpen/ClosedOpen=>Closed
    Thu 07 Feb 2008 06:17:50 PM UTCmordanteStatusNone=>Fixed
    Tue 01 Jan 2008 06:45:32 PM UTCivanovicAssigned tobrunowolff=>None
    Sat 19 Nov 2005 08:16:37 PM UTCbrunowolffAssigned toNone=>brunowolff
    Tue 08 Nov 2005 03:35:34 PM UTCottSeverity2 - Minor=>3 - Normal
      Item GroupNone=>WML
      Operating Systemlinux=>all
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup