.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old November 29th, 2011, 10:00 PM
Wdll's Avatar

Wdll Wdll is offline
Lieutenant Colonel
 
Join Date: Feb 2004
Location: Hellas->Macedonia->Thessaloniki->City Center->noisy neighbourhood
Posts: 1,359
Thanks: 307
Thanked 128 Times in 87 Posts
Wdll is on a distinguished road
Default Jim, it can't take any more!

Or something.

Basically I did something which I had a feeling it wasn't the smart thing to do, but I honestly thought that if I didn't end the phase with more than 10K I wouldn't have a problem/get a glitch.


I was repairing units at the end of a battle of a PBEM campaign and decided to delete some of my damaged units.
Well, the money returned kept increasing till my points passed 10000, 11xxx, and then then next deletion made the points reach.....-49000 (something) Obviously I couldn't repair anything with it (not that I would keep it if I could)


I short of brought it on my own lol, but I thought to report it anyway.
__________________
That's it, keep dancing on the minefield!
Reply With Quote
  #2  
Old November 30th, 2011, 02:39 AM
Mobhack's Avatar

Mobhack Mobhack is online now
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,973
Thanks: 473
Thanked 1,916 Times in 1,245 Posts
Mobhack is on a distinguished road
Default Re: Jim, it can't take any more!

That will likely be one of the variables rolling over its MAXINT, therefore going to negative numbers. I probably missed a local accumulator and it's still set at the original smaller SSI original type.

It'll be sorted together with the buglet where you get the full face value of a unit returned, even if it is damaged or totally destroyed.


Cheers
Andy
Reply With Quote
The Following User Says Thank You to Mobhack For This Useful Post:
  #3  
Old November 30th, 2011, 09:27 AM
Wdll's Avatar

Wdll Wdll is offline
Lieutenant Colonel
 
Join Date: Feb 2004
Location: Hellas->Macedonia->Thessaloniki->City Center->noisy neighbourhood
Posts: 1,359
Thanks: 307
Thanked 128 Times in 87 Posts
Wdll is on a distinguished road
Default Re: Jim, it can't take any more!

Thank you. Programming is a ***** some times. You can't live with it, you can't carpet bomb it.
__________________
That's it, keep dancing on the minefield!
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 09:40 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.