Jump to content
  • 0

Can you rename a variable in a game code line?


Question

Posted

I know there is a line of code in the game: var gold = factory.current. When searching for the string, I also find the string factory.current. So, is there any way to change that line of code? And when using string replace, does the code actually change? Can you help me with this?

1 answer to this question

Recommended Posts

  • 0
Posted
On 5/12/2024 at 5:21 AM, DauBap said:

I know there is a line of code in the game: var gold = factory.current. When searching for the string, I also find the string factory.current. So, is there any way to change that line of code? And when using string replace, does the code actually change? Can you help me with this?

U cant change it so.. i think, because after compile game code enc, so u need find factory.cureent using offset/field or just search like value in gg

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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.