Jump to content
  • 0

Can you rename a variable in a game code line?


DauBap

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

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

Archived

This topic is now archived and is closed to further replies.

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