Jump to content

How to find/ sort out guests with unlimited cash?


Recommended Posts

Posted

This is a problem caused by my mistake. I accidentally enabled the cheat and turned the scenario to the "unlimtied fund" mode. Later when i realized and disabled it, it already created guests with unlimited cash since they entered the park during the "unlimtied fund" mode. 

I'm wondering if there is any sorting tool that i can find out all those guests with unlimited cash? (And eliminate them LOL so I can play the scenario in a normal situation, otherwise these super rich guests would stay in the park forever)

Thanks!

 

 

See attached image showing guests with unlimited cash

六旗 2023-03-28 01-24-42.png

Posted

About the option I could think of would be to remove all guests from the park and let them start again. But I suspect you've already thought about that.

Posted

You could use a plug-in to reset guests with ridiculous amounts of money to something that makes more sense. If you run the game from the openrct2.com file (not openrct2.exe), you could even paste a one-liner in the console window that opens then, to fix the affected save.

The one-liner could look something like this:

map.getAllEntities("guest").forEach(function(guest){ if (guest.cash > 4000000) guest.cash = 500; });

I have NOT tested this, since I'm not at my PC right now.

Posted
7 hours ago, Broxzier said:

You could use a plug-in to reset guests with ridiculous amounts of money to something that makes more sense. If you run the game from the openrct2.com file (not openrct2.exe), you could even paste a one-liner in the console window that opens then, to fix the affected save.

The one-liner could look something like this:

map.getAllEntities("guest").forEach(function(guest){ if (guest.cash > 4000000) guest.cash = 500; });

I have NOT tested this, since I'm not at my PC right now.

Thx a lot! But what's the plugin that i should download and what do you mean by running the game from the openrct2.com file?

Posted

Just open the openrct2.com file from your Documents\OpenRCT2\bin (if launcher) or C:\Program Files (x86)\OpenRCT2\ folder.

Then open the affected park, and paste the code I pasted above.

I've just tested it locally, and it works. It sets all guests who have a ridiculous amount of cash back to €50.

  • Informative 1
Posted (edited)
21 hours ago, Broxzier said:

Just open the openrct2.com file from your Documents\OpenRCT2\bin (if launcher) or C:\Program Files (x86)\OpenRCT2\ folder.

Then open the affected park, and paste the code I pasted above.

I've just tested it locally, and it works. It sets all guests who have a ridiculous amount of cash back to €50.

I checked both " Documents\OpenRCT2\bin (if launcher)" and " C:\Program Files (x86)\OpenRCT2\ folder" but i couldn't see the openrct2.com file. Would you mind taking a look at the attached screen caps? Thanks!

 

p.s. my OpenRCT folder is in C:\Program Files\ instead and not in C:\Program Files (x86)\

 

 

 

Untitled3.thumb.png.7540a1fdcf91f15674b701bdefc36708.pngUntitled2.thumb.png.f3281cded5cbc8af1cd187aa76326d4a.pngUntitled.thumb.png.44280d39ed48ab723f199d5e089d286c.png

Edited by andy55699
Posted

I tried opening the park in the usual way I do and then pasted the code I pasted in the console window(or is this the console window?). It doesn't work saying it's an unknown command.

 image.thumb.png.d02040f1645a0d000d8d5957cf481cd6.png

Posted

oh i got the right file - openrct.com. The file extension was hided.

 

But then I tried pasting the one-liner here in the command terminal. Nothing changes after i entered. 

 

 image.thumb.png.e4192b0a15697937ca70a6dc13f1508c.png

 

image.thumb.png.9bdd83a803f7fd4479c106a9e1eda3db.png

Posted

Okay, glad you found the openrct2.com file and you did the rest right. Perhaps it doesn't work because the cash value is negative. In that case, try pasting this line instead:

map.getAllEntities("guest").forEach(function(guest){ if (guest.cash < 0) guest.cash = 500; });

 

  • 2 weeks later...
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...