Posted: Fri Jan 03, 2020 7:51 pm Post subject: How to refresh a value ?
Hi (sorry for my bad English)
My question is very simple.
In a game (Noita), I tried to make a script for infinite money.
With the money address I search "find... write" (not access)
And I find "mov ..." so I change it "mov ...,#999999"
But the "function" (the code) is when I take gold on the floor so I need to take gold for get 999 999 golds. Any idea for refresh the gold value ? (And it's a good idea to refresh ?)
The problem is that you only get 999999 of gold when the part of the code you modified is executed, even if you try to refresh the value of your coins it won't change and in this case to activate that part of the code you have to collect some gold.
In case you want to receive 999999 of gold by enabling the script you can use the CreateThread function:
https://wiki.cheatengine.org/index.php?title=Auto_Assembler:createThread
Or you can see if there are functions that act on reading the value of your coins (in this case there should be many codes that act on it many times per second) and add or modify it in a writing action.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum