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 


[SOLVED] Auto assembly script give value to a pointer(?)

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

Joined: 29 May 2015
Posts: 52

PostPosted: Mon Sep 19, 2022 1:32 pm    Post subject: [SOLVED] Auto assembly script give value to a pointer(?) Reply with quote

Hey guys

I am not even sure I am using the correct terms. Now, I have a working table for a game, called game.exe Razz
Code:
[ENABLE]
label(sliders)
registersymbol(sliders)

"game.exe"+063319F8:
sliders:

[DISABLE]
unregistersymbol(sliders)

This working table also has working features, check the attached image at the bottom of the post or this print screen: https://prnt.sc/7qJNJhLwkZAK

Now, I want to create a table option that will change the value of an address when I toggle that. How the heck do I do that? It seems my brain is not very helpful.

I have tried something like:
Code:
[ENABLE]
sliders+374:
  dd (float)0.9
[DISABLE]

and
Code:
[ENABLE]
label(sliders)
registersymbol(sliders)

"game.exe"+063319F8:
sliders:

sliders+374:
  dd (float)0.9
[DISABLE]

but I can't seem to make it work.

Could anyone please help me, thank you.



Screenshot_1.jpg
 Description:
 Filesize:  25.73 KB
 Viewed:  187 Time(s)

Screenshot_1.jpg




Last edited by FanFanStef on Mon Sep 19, 2022 10:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 115

Joined: 06 Jul 2014
Posts: 3504

PostPosted: Mon Sep 19, 2022 2:25 pm    Post subject: This post has 1 review(s) Reply with quote

Code:
[ENABLE]
{$lua}
if syntaxcheck then return end
writeFloat('["game.exe"+063319F8]+374', 0.9)
{$asm}

[DISABLE]

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
FanFanStef
Advanced Cheater
Reputation: 0

Joined: 29 May 2015
Posts: 52

PostPosted: Mon Sep 19, 2022 3:01 pm    Post subject: Reply with quote

"Hey! But it doesn't work!!!! Really? Impossible! Hm, did you replace game.exe with gamename.exe? Hm. Shush."

Aka thank you very much, works like a charm and I can alter all fields based on that with the values I want.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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