OpenXcom Forum

OpenXcom => Open Feedback => Topic started by: Bruce on August 31, 2017, 01:45:47 pm

Title: shutdown in spite of excellent monthly rating
Post by: Bruce on August 31, 2017, 01:45:47 pm
hi
wondering if this is a bug or at veteran difficulty there are some time limitations

(http://i64.tinypic.com/258b34j.png)

I had near 3M funds and just one country quitted

ty
Title: Re: shutdown in spite of excellent monthly rating
Post by: Hobbes on August 31, 2017, 01:56:39 pm
Your Finances must have gone into the red twice. The first time your money can't cover all the expenses at the end of the month you get a warning. The second time, it's game over
Title: Re: shutdown in spite of excellent monthly rating
Post by: Yataka Shimaoka on August 31, 2017, 03:04:25 pm
Might be the big 8 countries withdraw
Title: Re: shutdown in spite of excellent monthly rating
Post by: Meridian on August 31, 2017, 04:04:00 pm
Might be the big 8 countries withdraw

It's not. You cannot lose the game even if everybody withdraws.

Like Hobbes said, he got warned last month already about financial situation... and this month went into minus as well.
Title: Re: shutdown in spite of excellent monthly rating
Post by: 7Saturn on August 31, 2017, 04:57:15 pm
While we are on the subject: Is it necessary to have the negative balance twice in a row, or does this also hit, if you had a negative balance once before at any given time and now again?
Title: Re: shutdown in spite of excellent monthly rating
Post by: Yataka Shimaoka on August 31, 2017, 05:25:27 pm
It's not. You cannot lose the game even if everybody withdraws.
Wait what?!
Like Hobbes said, he got warned last month already about financial situation... and this month went into minus as well.
Title: Re: shutdown in spite of excellent monthly rating
Post by: Meridian on August 31, 2017, 05:45:40 pm
While we are on the subject: Is it necessary to have the negative balance twice in a row, or does this also hit, if you had a negative balance once before at any given time and now again?

Only twice in a row counts.
Title: Re: shutdown in spite of excellent monthly rating
Post by: Hobbes on August 31, 2017, 10:30:38 pm
Only twice in a row counts.

In OpenXCom it's twice in a row but not in the original?
Title: Re: shutdown in spite of excellent monthly rating
Post by: Meridian on August 31, 2017, 10:36:37 pm
In OpenXCom it's twice in a row but not in the original?

I'm not sure how it was in xcom1994... if someone has time to test, I would like to know too :)
Title: Re: shutdown in spite of excellent monthly rating
Post by: Countdown on September 01, 2017, 08:16:06 am
I'm not sure how it was in xcom1994... if someone has time to test, I would like to know too :)
Third-ed. I'd also be curious to know, but don't have time to run through a test campaign in DOS Box at the moment.

The UFOPaedia (https://www.ufopaedia.org/index.php/Scoring#Losing_The_Game) and other online strategy guides (https://www.gamefaqs.com/pc/199362-x-com-ufo-defense/faqs/1825) for the original don't specify "consecutive months" over a million in debt, while they do specify "consecutive" months with a bad score. However, the wording doesn't make it 100% clear and also 1) the UFOPaedia could be wrong or vague 2) the end of month calculations in the original game were apparently buggy anyway.
Title: Re: shutdown in spite of excellent monthly rating
Post by: thundergraham on September 08, 2017, 11:08:58 pm
I remember reading that, after finishing a month in debt, the game sets a "Financial warning" flag, and if you finish another month in debt with the flag true, then game over. Also that, due to oversight, the flag applies to all games, so having debt in one game will cause you to lose if you finish a month in debt in another game, which - I presume - will unset the flag.
So to the best of my knowledge, the months don't have to be consecutive, but that's for vanilla- I'm not sure if OXC is any different here.
Title: Re: shutdown in spite of excellent monthly rating
Post by: Warboy1982 on September 23, 2017, 07:39:06 am
this is a clear and simple bug that we have fixed.

in the 1994 version, when you were given a warning, a flag was set. this flag was stored in memory ONLY, and not in the save file. once it was set to true, the only way to reset it was to restart the executable or get a game over.
you could save your game on the 29th, get a warning, reload, and get a game over. you could also save on the 1st, after receiving a warning, then restart the game and get a second warning the next month. heck, you could get a warning, start a new game, and if you overspent, get a game over at the end of January.
the only way to trigger this game over scenario "normally" was to play through two consecutive months with a negative balance in a single play session.
we simply changed the flag from a memory-bound global variable to a value in the save file.