SUGGESTION - Stop actions when money is negative?

As bugs and suggestions are fixed/implemented/rejected, they will be moved in here.
Post Reply
Courvein
Advanced Member
Posts: 81
Joined: Tue Mar 22, 2005 3:02 am
Location: Canada

Post by Courvein »

Hi there,

Just have a small suggestion: Can we have a 'Stop if money is negative' toggle when doing actions that take a number of turns? Or warn them that it will make their balance negative before doing it?

I just built too much, and then my treasury went negative, and i lost 42% of all my troops and workers, basically halving my networth because the actions took too long, and even though i had a positive cash flow when it started, it ended up in disaster :) the worst thing is that I had 40m stored in the bank, so technically speaking, i had money...

Anyway, just wanted to see if there was anything that could be done to prevent that? Losing half of a networth because of a little severe :)

Courvein
User avatar
IFman
Furcht mich
Posts: 650
Joined: Sat Mar 13, 2004 12:22 am
Location: Here

Post by IFman »

There is a stop money if negative toggle everywhere except building
I Like Pi
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

Thank you for your concern, Courvein. Unfortunately there is no simple answer to your question; it depends on what you are doing. The statusbar colors don't help if you change the factors by building...
However, I'll think about it.
:wq
Courvein
Advanced Member
Posts: 81
Joined: Tue Mar 22, 2005 3:02 am
Location: Canada

Post by Courvein »

no prob. i'm ok with recovering from the crash, since i was the one too dumb to check that it was going to work or not :)

i'm just worried a newb may get fed up and quit if that ever happens to him...

cheers
Courvein
Advanced Member
Posts: 81
Joined: Tue Mar 22, 2005 3:02 am
Location: Canada

Post by Courvein »

hmm.. just to clarify, my money was not negative when i issued the build order... it was at a nice rosy 15m, i'm guessing that my net income per turn was actually negative, and in the number of turns it required to build it, my treasury emptied itself, and then i got burned with the troop losses?

i've taken a look at the original promisance code, and it would be a complicated change to modify that (based on the code i saw), but i think the logic is already in the current p2, since you have the option to condense turns, which implies that each turn is processed one after the other :) if you throw in a check before executing each turn when the treasury turns negative, the issue would be fixed?



User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

Hey there,

A few things:
1. The statusbar colors. If they are green, you are rosy and making money/food. If they are yellow: you are losing. If they are red: beware, in 5 turns you run out.
2. If you were gaining cash when you started building, you could still lose by the middle of the process, through worker loss (less free land), more troops (build barracks?), etc. etc.
3. The mechanism is there, and it just subtracts 3% of your workers and troops, instead of warning you. With things like scouting, looting, etc. etc. it will stop when you start losing cash/food, but building is something you can't interrupt, so it goes on.


HOWEVER,
I could put in a check when building/demolishing, that optionally cancels the WHOLE thing if it wouldn't go through properly. This would be optional, of course.


One last note: just a nitpick, but the proper name of the codebase is FAF: we (Veranor and I) developed FAF, with help from many others, and P2 is using our codebase. We are perfectly fine with that and encourage it, but recognition of our effort is nice. Anyways, don't worry about it.
:wq
Courvein
Advanced Member
Posts: 81
Joined: Tue Mar 22, 2005 3:02 am
Location: Canada

Post by Courvein »

wow you guys did a great job! You've become the founding members of a whole family of games... :)
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

Thank you! :)
:wq
Post Reply
  • Members connected in real time

    🔒 Close the panel of connected members