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 


trying to make an instant win mission script for EDF 4.1

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

Joined: 04 Jul 2011
Posts: 9

PostPosted: Thu Jan 19, 2017 1:02 am    Post subject: trying to make an instant win mission script for EDF 4.1 Reply with quote

like the title says im trying to do that, and I've gotten to a point, where i can make script give me a win when I've only killed half of the enemy's in a mission rather then all of them, im not to sure though what else to do to make it work properly, like i tried searching for the boolean value that says, you've won/completed the mission, with out much luck, as i was saying previously i found the little snippet of code that lets me halve the requirement for winning/completing a mission.

here's the bit of stuff i found that seems to influence how many enemys are still alive/if you've killed them all, which in turn should make the mission complete. however when i use the script that follows this little snippet, it has that effect of only triggering a mission complete when you kill half the enemys.

Code:
"EDF41.exe"+DB6EF:
dec rax
mov [rsi+08],rax


here's the script i made with help from a friend as we were trying to achive this goal of an instant win script, since the only requirement to win/complete a mission is that you kill all the enemy's in the mission.

Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048,"EDF41.exe"+DB6EF)
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
dec rax
mov [rsi+08],00

exit:
jmp returnhere

"EDF41.exe"+DB6EF:
jmp newmem
nop
nop
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"EDF41.exe"+DB6EF:
dec rax
mov [rsi+08],rax
//Alt: db 48 FF C8 48 89 46 08


sorry if i rambled at all, im just both a bit tired and perplexed right now, and would love some pointers to get this working properly, if you need me to provide anything else i'd be more than happy to.
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