Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Modifying timers and bars

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
SandiHall1970
How do I cheat?
Reputation: 0

Joined: 14 Oct 2023
Posts: 1

PostPosted: Sat Oct 14, 2023 4:40 pm    Post subject: Modifying timers and bars Reply with quote

Hi!
I'm quite new to the world of Cheat Engine and while I've picked up a few things already, I'm struggling to find out how to edit timers that count up and valueless bars, like health or stamina bar.

I've been using it to cheat at Ryu ga Gotoku: Kenzan via RPCS3 and I've managed to mod the money, minigame high scores and other stuff using the Big Endian custom types that RPCS3 require. All very basic stuff, really.

When it comes to bars or timers, either up or down, I'm having issues trying to nail down the address.

I've tried 2 Byte Big Endian, 4 Byte Big Endian and Float Big Endian with the timer, doing every possible way I can think of to freeze it. Typing in the minutes and seconds seperately, adding the seconds up, so 2 minutes would be 120 seconds and other ways with no luck.
I've also tried the unknown initial value, and then increase value but there are WAY too many results to find the needle in a haystack.

Another issue is the stamina bars on my turtle racing minigame and the protagonists health, I've once again tried all three Big Endian types with unknown value, losing stamina, decreasing value, feed, increase value. Once again, WAY too many to sift through and I can't find it.

How would I go about successfully modifying these two things?
Am I doing something wrong?
Any tips someone could give for me to head in the right direction?[/b]
Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 37

Joined: 16 Feb 2017
Posts: 1522

PostPosted: Sun Oct 15, 2023 1:08 pm    Post subject: Reply with quote

Code:

local test1 = 1

function paused1()
sleep(150)
 if test1==1 then
  pause()
  test1 = 0
 else
  unpause()
  test1 = 1
 end
end

if testKey then testKey.Destroy() testKey=nil end 

testKey=createHotkey(paused1, VK_F8)
   


Copy the code and click CE >> Table >> Lua Table and paste it there and click the "Execute" button.

This will give the "F8" key on your keyboard the authority (function) to pause and continue the game.

Before scanning, press f8 and pause the game, when you're done, press f8 again and continue the game.

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites