View Single Post
  #5  
Old January 28th, 2013, 11:06 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,996
Thanks: 490
Thanked 1,928 Times in 1,254 Posts
Mobhack is on a distinguished road
Default Re: Help please: Rebuild Points are Negative

Quote:
Originally Posted by davf View Post
Sorry about that. I thought I had attached. Here it is.


System is SPMBT version 26th Feb 2011 running on 64 bit Windows 7 Ultimate with Service Pack 1.

I think the save file is just over 6 meg. Is that too large to upload?

Thanks for the help!

Dave
Someone else had this problem with an over-expensive core (he bought loads of artillery, hordes of the stuff, AFAIR).

That causes the integer values to overrun, and so you get negative numbers due to the 2's complement arithmetic digital computers use.

I'll be fixing the code (if it can be) so that cores cannot have > the maximum a defender can have (26000 points) - probably a bit less - as they get more expensive as they gain experience. Or restricting such expensive cores to assault missions, or something.

Meanwhile, simply sell some stuff from your core until the numbers turn positive once more (they should). Use some of that to repair any damaged units you may have left.

Then make sure your core never goes above 20-25K points or so. Otherwise in your defend missions the AI will never be able to match you.

cheers
Andy

Hmm - I just tried deleting from the sample save game. Apparently the delete option goes when you are in negative points. I'll need to debug that.

This will be a useful save file for debugging huge cores. Especially one with ~20 troops of M109s...

But it looks like that campaign is toast (unless delete core formation works with your version - it may be snafud at my end with the new arty support code).
Reply With Quote
The Following User Says Thank You to Mobhack For This Useful Post: