AI Porn is here, Create and Fap TRY FREE
x

ZTex

Engaged Member
Apr 3, 2019
2,983
4,293
498
For those that are having issues with game freezing and consuming more than 1gb of RAM, what are some values in your save files that seem to be getting out of hand?
Let me just do a thing real quick here.
I haven't tried the patch but here's a side by side of the size of a save file from your game vs another equally as large game. (Yours is at the top). Nearly 8x the file size.
BMC file size.png

COBD save size.png
 
  • Like
Reactions: MC Johnsson

mrkhing

Khing Orchestra
Game Developer
Feb 20, 2018
131
1,108
270
Let me just do a thing real quick here.
I haven't tried the patch but here's a side by side of the size of a save file from your game vs another equally as large game. (Yours is at the top). Nearly 8x the file size.
View attachment 2570739

View attachment 2570741
Well, this tends to happen because of very large numbers somewhere in your save. Having trillions of MCT is just an example. The same might apply if you have thousands of heirs or even corrupted values with a lot of decimals. My biggest late game save files are sitting around at 7 mb. Unless I can narrow down which variables are causing bloating in these specific save file there is nothing I can do in terms of optimization.
 

Pr0GamerJohnny

Devoted Member
Sep 7, 2022
9,175
14,564
863
My mind is blown at how large those saves are, what exactly is going on here?

Clearly there's something outside just "large wallet sizes", since even quadrillion bucks (10^15) is well within the 10^38 limit for a single float. I mean these are just trival number calculations....nothing should be slowing down a modern computer here.

Like ZTex suggested prior - I'm guessing there's some kind of repeating or recursive calculation running far too often, some "non-expected behavior", because none of this is normal for what's basically a glorified calculator. I'll redownload when I get some time this week and poke around these saves because I'm curious, or I might add renpy log notifications to the major calculation labels and see what's slowing it down.

(Don't get me wrong to the dev; that's not to disparage your game as a mere calculator; obviously there's a lot more here as a game, I'm referring to under the hood at it's core it's basically a big calculator-most of the game focuses on money and its generation and spending in different forms)

-edit: I know nothing about python, was always raised in c, but I can't help wonder if dynamic variable type casting plays a role given that values OFTEN hop back and forth around the int limit of 2,147,483,647 in this game; the low trillions to high billions is commonly seen.
 

ZTex

Engaged Member
Apr 3, 2019
2,983
4,293
498
Well, this tends to happen because of very large numbers somewhere in your save. Having trillions of MCT is just an example. The same might apply if you have thousands of heirs or even corrupted values with a lot of decimals. My biggest late game save files are sitting around at 7 mb. Unless I can narrow down which variables are causing bloating in these specific save file there is nothing I can do in terms of optimization.
Well here you go. I've attached a save and persistent post patch.
Hopefully that helps you narrow things down.
 

mrkhing

Khing Orchestra
Game Developer
Feb 20, 2018
131
1,108
270
Well here you go. I've attached a save and persistent post patch.
Hopefully that helps you narrow things down.
Not 100% sure what it is but I suspect you went a bit too crazy with the shares in the portfolio (tens of thousands of some of the most expansive shares in the game). Perhaps I need to tune down the amount of money people get from the money cheat to prevent this sort of thing from happening.
 
  • Thinking Face
Reactions: PapaPhat

JoeHiggins1949

Well-Known Member
Dec 14, 2017
1,072
953
401
Not 100% sure what it is but I suspect you went a bit too crazy with the shares in the portfolio (tens of thousands of some of the most expansive shares in the game). Perhaps I need to tune down the amount of money people get from the money cheat to prevent this sort of thing from happening.
I have not installed your fix, but I am not having the issues with my save sizes or my ram usage.
 

mrkhing

Khing Orchestra
Game Developer
Feb 20, 2018
131
1,108
270
I have not installed your fix, but I am not having the issues with my save sizes or my ram usage.
Indeed, this problem only seems to affect some players that did specific things (usually involving the money cheat). But it's hard to tell what these things are in each situation and or if it can be done organically without using cheats and exploits.
 

PapaPhat

Engaged Member
Mar 31, 2022
3,337
5,643
524
Not 100% sure what it is but I suspect you went a bit too crazy with the shares in the portfolio (tens of thousands of some of the most expansive shares in the game). Perhaps I need to tune down the amount of money people get from the money cheat to prevent this sort of thing from happening.
It's NOT the money cheat. I only used that to avoid borrowing from the bank in the earliest part of the game. The trouble is the vast sums of credits we accrue with multiple multipliers stressing our CPU's and RAM! The entire financial system needs to be rescaled to more manageable figures as I previously suggested.

I was able to resolve the crashing and total freezes just by returning my GRADE in company management from the over inflated 50K to which I had pumped it back to a more reasonable 30K. I went from 102 billion per day to 53 billion net profit and have avoided crashes and freezes since. However, it is still slow as molasses in load/save mode and during gameplay after only a few minutes.

I even got Shannon up to spouse level 5 and must say a hearty, "THANK YOU" my friend for that amazing sex scene with our new wife! Also, I really need to shower her with gifts and attention to earn the extra 300 affection to "visit the other spouse" and share some sexy good times with both Sophia and Shannon. That was an unexpected and pleasant, wish fulfilling surprise!:love::love::love::love::love:

While I am here, my friend, I don't mind the need to retrain the girls at grade B for their basic four skills. However, wiping out their raid skills also takes their special items granted during previous raids, doesn't it? I will be pleasantly surprised to find those unique items return if my suspicions are incorrect but that big, fat ZERO in their raid skills and the fact that if you remove or replace one of those unique items it gets destroyed leads me to believe that Caroline and Julia have lost their raid extras. Julia had +4 to Initiative and Caroline had +5 to her initiative! Had I known this, I may not have allowed either of them to become pregnant! I have retrained both post maternity leave but have not yet redone their raid skills as there is no current need for that.

I'm spending my in game time primarily with Shannon while still letting Sophia know that she will always be first... in doing so, Sophia is now pregnant with number 11!!! So, I'm about to have five and a half dozen kids! Hahaha:ROFLMAO: I drove an Amish framing crew around and worked along side those men all summer one year. One of the oldest sons had me going all day when he told me he had five and a half dozen kids, totally unaware that he meant eleven! Considering their father, our foreman, had fathered at least 16 children, once I was let in on the joke... well, it stuck with me. Anyway... Phat is just rambling now.

Adventure ever on my friend, Phat;)(y)

PS: Afterthought... If you are going to cap anything, the bonus multipliers for RevMod for the girls and the GRADE in company management would likely be better than the money cheat. I used the money cheat ONCE. Those multipliers are ALWAYS running. I can reduce the GRADE in the company management screen but my courtesans all have RevMod over 40, several nearly 50 and I have no way to reduce those now. They just continue to grow each and every time I have to train them. I will likely reduce the GRADE again back to the 20K or 25K where it was set before the level 4 upgrade took it back to 1 again. I ran a deficit for a couple days and went ???WTF??? then remembered to readjust my GRADE. After running a six million credit deficit for two days, I am sure jacking it to 50K was an over compensation! Hahaha:ROFLMAO::ROFLMAO::ROFLMAO::ROFLMAO::ROFLMAO:
 
Last edited:

JoeHiggins1949

Well-Known Member
Dec 14, 2017
1,072
953
401
Indeed, this problem only seems to affect some players that did specific things (usually involving the money cheat). But it's hard to tell what these things are in each situation and or if it can be done organically without using cheats and exploits.
I used the money cheat, and I used the energy cheat constantly to train the courtesans.
 
  • Like
Reactions: PapaPhat

PapaPhat

Engaged Member
Mar 31, 2022
3,337
5,643
524
I used the money cheat, and I used the energy cheat constantly to train the courtesans.
I used the money cheat only once to avoid borrowing from the bank but I ALWAYS use the energy cheat! Training the girls would take months of in game time without it! Capping the money cheat to a max of like one billion total for the whole game isn't a bad idea but reducing the amount per click just means those who would abuse it will merely make more clicks. Just Phat's two cents worth...

Adventure ever on my friend, Phat;)(y)
 

MC Johnsson

Active Member
Jun 28, 2017
552
860
356
I actually stopped playing this game quite a while ago and decided to see if things had improved and started again with v0.13. In my previous game play, I never used cheats, there was no option for impregnation, so heirs weren't even an option, and I still ended up with bloated save files and game freezing. In my previous game playing, as well as my latest game play, the game started going crazy the more I trained the girls and the higher their RevMod went. Needless to say, my girls this time have undergone serious training (scores as high as 3000 for each activity) and a RevMod of between 50 and 90 depending on which girl it is. Add to that the amount of cash generated on a daily basis it's no wonder my game has gone ga ga!
 
  • Haha
Reactions: PapaPhat

mrkhing

Khing Orchestra
Game Developer
Feb 20, 2018
131
1,108
270
It's NOT the money cheat. I only used that to avoid borrowing from the bank in the earliest part of the game. The trouble is the vast sums of credits we accrue with multiple multipliers stressing our CPU's and RAM! The entire financial system needs to be rescaled to more manageable figures as I previously suggested.

I was able to resolve the crashing and total freezes just by returning my GRADE in company management from the over inflated 50K to which I had pumped it back to a more reasonable 30K. I went from 102 billion per day to 53 billion net profit and have avoided crashes and freezes since. However, it is still slow as molasses in load/save mode and during gameplay after only a few minutes.

I even got Shannon up to spouse level 5 and must say a hearty, "THANK YOU" my friend for that amazing sex scene with our new wife! Also, I really need to shower her with gifts and attention to earn the extra 300 affection to "visit the other spouse" and share some sexy good times with both Sophia and Shannon. That was an unexpected and pleasant, wish fulfilling surprise!:love::love::love::love::love:

While I am here, my friend, I don't mind the need to retrain the girls at grade B for their basic four skills. However, wiping out their raid skills also takes their special items granted during previous raids, doesn't it? I will be pleasantly surprised to find those unique items return if my suspicions are incorrect but that big, fat ZERO in their raid skills and the fact that if you remove or replace one of those unique items it gets destroyed leads me to believe that Caroline and Julia have lost their raid extras. Julia had +4 to Initiative and Caroline had +5 to her initiative! Had I known this, I may not have allowed either of them to become pregnant! I have retrained both post maternity leave but have not yet redone their raid skills as there is no current need for that.

I'm spending my in game time primarily with Shannon while still letting Sophia know that she will always be first... in doing so, Sophia is now pregnant with number 11!!! So, I'm about to have five and a half dozen kids! Hahaha:ROFLMAO: I drove an Amish framing crew around and worked along side those men all summer one year. One of the oldest sons had me going all day when he told me he had five and a half dozen kids, totally unaware that he meant eleven! Considering their father, our foreman, had fathered at least 16 children, once I was let in on the joke... well, it stuck with me. Anyway... Phat is just rambling now.

Adventure ever on my friend, Phat;)(y)

PS: Afterthought... If you are going to cap anything, the bonus multipliers for RevMod for the girls and the GRADE in company management would likely be better than the money cheat. I used the money cheat ONCE. Those multipliers are ALWAYS running. I can reduce the GRADE in the company management screen but my courtesans all have RevMod over 40, several nearly 50 and I have no way to reduce those now. They just continue to grow each and every time I have to train them. I will likely reduce the GRADE again back to the 20K or 25K where it was set before the level 4 upgrade took it back to 1 again. I ran a deficit for a couple days and went ???WTF??? then remembered to readjust my GRADE. After running a six million credit deficit for two days, I am sure jacking it to 50K was an over compensation! Hahaha:ROFLMAO::ROFLMAO::ROFLMAO::ROFLMAO::ROFLMAO:
Interesting. I'll do some tests with both the revmod and the company grade then. Regarding the item stats, their bonus should remain after pregnancy. They won't show up on the perk screen because those stats are only the base stats without the item bonus. We'll be able to test this once a new raid comes out.

*Edit: Did some tests here and bumped the corporate grade all the way up to 50k. Also bumped the revmod for the courtesans to 9999. That did increase RAM usage a little bit but nothing crazy. Save file also went up by a little bit but still bellow 7MB. Nevertheless, I'm still considering scrapping the corporate grade system entirely since it seems to be impossible to balance and a potential cause for issues.
 
Last edited:
  • Wow
Reactions: PapaPhat
3.20 star(s) 42 Votes