Negative Units in Training

View previous topic View next topic Go down

Negative Units in Training

Post by RAMPAGE on Wed Mar 31, 2010 3:49 pm

My Units in Training is showing -376

MyUser ID is 2616
avatar
RAMPAGE
Mercenary
Mercenary

ID : 2616
RAMPAGE
Alliance : World Republic (TOC)
Number of posts : 29
Location : Earth, Sol System.Milkyway Galaxy
Registration date : 2010-03-31

View user profile

Back to top Go down

Re: Negative Units in Training

Post by RAMPAGE on Wed Mar 31, 2010 6:03 pm

Fixed now.
Thank You
avatar
RAMPAGE
Mercenary
Mercenary

ID : 2616
RAMPAGE
Alliance : World Republic (TOC)
Number of posts : 29
Location : Earth, Sol System.Milkyway Galaxy
Registration date : 2010-03-31

View user profile

Back to top Go down

Re: Negative Units in Training

Post by Admin on Wed Mar 31, 2010 6:19 pm

Smile

_________________
Disclaimer:
1) You are always welcome to correct my assumptions and understanding of a situation but please do so in a logical and sound manner.
2) If I ask stupid questions it's only because sometimes people aren't smart enough to ask these themselves.
3) Being condescending to some people helps me keep my sanity when I am forced to interact with them.

I hate PR, will never engage in it and will rain destruction on all who refuse to use their brains to think before they speak.
avatar
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

View user profile http://www.aderanwars.com

Back to top Go down

Re: Negative Units in Training

Post by seaborgium on Wed Mar 31, 2010 6:24 pm

Woot for getting more then -1 lol

seaborgium
2nd in Command
2nd in Command

Number of posts : 2551
Registration date : 2009-10-06

View user profile

Back to top Go down

Re: Negative Units in Training

Post by Admin on Wed Mar 31, 2010 7:21 pm

what annoys me the most is that i still have no clue why these things happen sometimes.

cos it's definitely not an issue with training different unit classes cos i tested that over and over again

_________________
Disclaimer:
1) You are always welcome to correct my assumptions and understanding of a situation but please do so in a logical and sound manner.
2) If I ask stupid questions it's only because sometimes people aren't smart enough to ask these themselves.
3) Being condescending to some people helps me keep my sanity when I am forced to interact with them.

I hate PR, will never engage in it and will rain destruction on all who refuse to use their brains to think before they speak.
avatar
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

View user profile http://www.aderanwars.com

Back to top Go down

Re: Negative Units in Training

Post by seaborgium on Wed Mar 31, 2010 11:44 pm

Yeah i don't get it either. You so far have programed this thing right using floor and ceiling to do the math stuff. So it can't be a rounding issue.

seaborgium
2nd in Command
2nd in Command

Number of posts : 2551
Registration date : 2009-10-06

View user profile

Back to top Go down

Re: Negative Units in Training

Post by Admin on Thu Apr 01, 2010 5:05 am

problem must be with subtracting from the "units in training" cos that one is saved as a hard number instead of always getting the sum of the units your training, gets increased by the amount of units that get ordered to train and reduced by the number of units that get trained.

I could have writen that each time you train something it simply calculates the sum again from scratch but that's a "dirty" solution considering how it wouldn't fix the reason why the two sums diverge.

_________________
Disclaimer:
1) You are always welcome to correct my assumptions and understanding of a situation but please do so in a logical and sound manner.
2) If I ask stupid questions it's only because sometimes people aren't smart enough to ask these themselves.
3) Being condescending to some people helps me keep my sanity when I am forced to interact with them.

I hate PR, will never engage in it and will rain destruction on all who refuse to use their brains to think before they speak.
avatar
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

View user profile http://www.aderanwars.com

Back to top Go down

Re: Negative Units in Training

Post by azazel on Thu Apr 08, 2010 3:17 am

I am having wierd training numbers that tend to go into negative.

Right now I have:
Units in training (20 income per turn) 3,824
Miners (70 income per turn) 109,298 (9,744)

3824 is quite a few units short of 9744 Smile

My ID is 2874

As an added info that may be useful to you guys, the number that never goes down is the miner number, all the other units I train go back to (0) when I have trained them. Not sure if I'm loosing any Miners this way though I haven't paid that much attention to see if what I order trained actually gets trained or gets lost in some limbo. I pay more attention next time if you guys think it may be relevant?

Thanks for looking into it.

azazel
Untrained Unit
Untrained Unit

Number of posts : 2
Registration date : 2010-04-08

View user profile

Back to top Go down

Re: Negative Units in Training

Post by Admin on Thu Apr 08, 2010 9:15 pm

fixed the numbers

_________________
Disclaimer:
1) You are always welcome to correct my assumptions and understanding of a situation but please do so in a logical and sound manner.
2) If I ask stupid questions it's only because sometimes people aren't smart enough to ask these themselves.
3) Being condescending to some people helps me keep my sanity when I am forced to interact with them.

I hate PR, will never engage in it and will rain destruction on all who refuse to use their brains to think before they speak.
avatar
Admin
Admin

Number of posts : 4363
Registration date : 2008-08-18

View user profile http://www.aderanwars.com

Back to top Go down

Re: Negative Units in Training

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum