Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[FIXED]Phantom Bankruptcy
#4
Ok I think I may have solved the problem, not entirely sure however.

What I believe was happening is that Ablion's funds on hands dipped into the negative. This action would put it in the possible bankrupt list which is then checked to see if they have money banked. If there was an issue deleting from the list then ablion would get a flag, 6 flags and it's bankrupt (even though it has money)


I simplified the bankruptcy checking for the AI so hopefully we won't run into this again. Now the AI only bankrupts if On Hand + Banked < 0. The AI should sell off assets long before hitting this level.


I'm marking this as fixed for now, if it happens in 1.10 please make a new thread!
"great writers are indecent people, they live unfairly, saving the best part for paper.
good human beings save the world, so that bastards like me can keep creating art, become immortal.
if you read this after I am dead it means I made it." ― Charles Bukowski
Reply


Messages In This Thread
[FIXED]Phantom Bankruptcy - by Giacomo - 11-21-2013, 04:52 PM
RE: Phantom Bankruptcy - by Eric.B - 11-21-2013, 09:44 PM
RE: Phantom Bankruptcy - by Giacomo - 11-22-2013, 01:37 AM
RE: Phantom Bankruptcy - by Eric.B - 11-22-2013, 01:20 PM
RE: [FIXED]Phantom Bankruptcy - by Giacomo - 11-22-2013, 04:45 PM
RE: [FIXED]Phantom Bankruptcy - by Eric.B - 11-22-2013, 05:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)