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 


Have one address alter another...

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
AskaLangly
Advanced Cheater
Reputation: 0

Joined: 22 Apr 2009
Posts: 74
Location: New Jersey

PostPosted: Thu Apr 09, 2015 3:26 pm    Post subject: Have one address alter another... Reply with quote

So, messing around with volume levels.

Say music has two values: the slider (1-byte, 00~100) and the actual volume output (float, 0~1).
Then you have the effects and voices. Again, the slider and the actual output (this time 0~0.875).

Say I adjust the 1-byte value. I want that to also adjust the float value.
Is it possible?

_________________
[Tables Created] Shantae: RR DX, Croixleur Σ (Debug), SRB2, Sonic CD, Gyromancer, LoH: Trails in the Sky...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Thu Apr 09, 2015 3:34 pm    Post subject: Reply with quote

If you know both addresses (i.e. when they're static) you could easily write a script that writes to both values.
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Thu Apr 09, 2015 3:44 pm    Post subject: Reply with quote

@AskaLangly: one way would be to create 3 lua custom types (one for bgm, one for sfx, and one for voices) that would behave like the built-in byte datatype, but would additionally overwrite the corresponding float variable in their valuetobytes() function.
_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Thu Apr 09, 2015 4:05 pm    Post subject: Reply with quote

Or you can just try to find a common function where you can check both addresses. These values are not completely independent from each other, so some functions are probably accessing to both values.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
AskaLangly
Advanced Cheater
Reputation: 0

Joined: 22 Apr 2009
Posts: 74
Location: New Jersey

PostPosted: Thu Apr 09, 2015 4:25 pm    Post subject: Reply with quote

/getting over my head/

Just be lucky I'm getting by with pointer scans.
To be honest, keeping up with game updates, therefore updating tables the tedious way, keeps me occupied.

Was never good with AOB scans and Lua to begin with, lol.

_________________
[Tables Created] Shantae: RR DX, Croixleur Σ (Debug), SRB2, Sonic CD, Gyromancer, LoH: Trails in the Sky...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Thu Apr 09, 2015 4:32 pm    Post subject: Reply with quote

Then the easiest way is probably to assign the same hotkey to both values and when the user is decreasing/increasing the value with the hotkey, he is adjusting both of them with the same amount.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
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