bugBos Wars - Bugs: bug #29446, Rescuing a unit does not subtract...

 
 

bug #29446: Rescuing a unit does not subtract its resource production from the original player

Submitted by:  Kalle Olavi Niemitalo <kon>
Submitted on:  Mon 05 Apr 2010 08:42:40 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: François Beerten <feb>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 10 Apr 2010 02:00:28 PM UTC, comment #3:

Patch applied. Thank you for the fix.

François Beerten <feb>
Project AdministratorIn charge of this item.
Sat 10 Apr 2010 12:17:26 PM UTC, comment #2:

Attaching a map as a test case.
Rescue the all the magma pumps and power plants of player 1, and the vault too. It should then have no resource production and no reserves, but it regardless keeps pumping out troops to the abattoir in the south.

(file #20179, file #20180)

Kalle Olavi Niemitalo <kon>
Project Member
Tue 06 Apr 2010 03:41:48 AM UTC, comment #1:

The original bug report was somewhat incoherent, so let me try again:

In trunk r9706, if you rescue an operational power plant or magma pump, then the game adds its resource production to you but does not subtract it from the player who previously owned the building. Similarly, if you rescue a fully built vault, then the game adds its storage capacity to you but does not subtract it from the previous owner.

Kalle Olavi Niemitalo <kon>
Project Member
Mon 05 Apr 2010 08:42:40 PM UTC, original submission:

In trunk r9706, if you rescue an operational power plant or magma pump, then the game adds its resource production is added to you but does subtract it from the original player. Similarly, if you rescue a fully built vault, then the game adds its storage capacity to you but does not subtract it from the original player.

This is different from bug #29010, bug #29112, and patch #7157, although related.

Kalle Olavi Niemitalo <kon>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #20182:  0001-Subtract-production-capacity-from-previous-owner-of-.patch added by kon (3KiB - text/x-patch - [PATCH] Subtract production & capacity from previous owner of unit)
file #20179:  presentation.smp added by kon (337B - application/octet-stream - test case)
file #20180:  setup.sms added by kon (5KiB - application/octet-stream - test case)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by feb (Posted a comment)
  • -unavailable- added by kon (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 10 Apr 2010 02:00:28 PM UTCfebStatusNone=>Fixed
      Assigned toNone=>feb
      Open/ClosedOpen=>Closed
    Sat 10 Apr 2010 01:42:01 PM UTCkonAttached File-=>Added 0001-Subtract-production-capacity-from-previous-owner-of-.patch, #20182
    Sat 10 Apr 2010 12:17:26 PM UTCkonAttached File-=>Added presentation.smp, #20179
      Attached File-=>Added setup.sms, #20180

    Back to the top


    Powered by Savane 3.1-cleanup1