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 


How to use script?

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

Joined: 22 Nov 2015
Posts: 2

PostPosted: Sun Nov 22, 2015 3:56 pm    Post subject: How to use script? Reply with quote

Hi, my friend give me a script and I don't know how to use it with CE can you help me?

Code:
alloc(newmem,256)

label(orig_009F8241)
label(orig_009F8247)
label(orig_009F8255)

newmem:
mov [esp+7C],00000000
mov byte ptr [esp+00000104],01
call trove.AK::GetWwiseXAudio2Interface+3D08E0
mov eax,[esp+20]
mov ecx,trove.NvOptimusEnablement+22CA0
test eax,eax
cmovne ecx,eax
push ecx
lea ecx,[esp+74]
call trove.AK::GetWwiseXAudio2Interface+3D0100
mov eax,[edi+00000168]
mov ecx,[esp+74]
mov [esp+14],eax
mov eax,[esp+78]
cmp ecx,eax
sub eax,[esp+70]
sar eax,04
cmp eax,08
lea ecx,[eax+08]

orig_009F8241:
mov ecx,eax
shr ecx,1
add ecx,eax

orig_009F8247:
push ecx
lea ecx,[esp+74]
call trove.AK::GetWwiseXAudio2Interface+3D08E0
mov ecx,[esp+74]

orig_009F8255:
fild dword ptr [esp+14]
mov eax,ecx
add ecx,10
mov [esp+74],ecx
fstp qword ptr [eax+08]
mov [eax],00000004
mov eax,[edi+0000016C]
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4290

PostPosted: Sun Nov 22, 2015 4:42 pm    Post subject: Reply with quote

It's incomplete. You don't have anything that jumps to this memory (I don't even think it does anything significant). Your best bet is to try to convert some of this into bytes and search for the AoB to see if you can find it in memory, but even then, I'm not sure what this is suppose to do.
_________________
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
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sun Nov 22, 2015 5:39 pm    Post subject: Reply with quote

Spam much?
http://forum.cheatengine.org/viewtopic.php?t=585786
http://forum.cheatengine.org/viewtopic.php?t=585784
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 Lua Scripting 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