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 


Battlefield 2 (2005) One Hit Kill Problem

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
danny96
Newbie cheater
Reputation: 0

Joined: 10 Jul 2020
Posts: 20

PostPosted: Sat Mar 27, 2021 12:08 pm    Post subject: Battlefield 2 (2005) One Hit Kill Problem Reply with quote

I want to make one hit kill in this game . Like always I did ''what writes to this adress '' This is the opcode that writes health values to the adresses.

BF2.exe+20A293:
0060A28E - 8B 55 08 - mov edx,[ebp+08]
0060A291 - DDD8 - fstp st(0)
0060A293 - 89 57 10 - mov [edi+10],edx <<<<<<<<< this
0060A296 - 8B 47 10 - mov eax,[edi+10]
0060A299 - 6A 01 - push 01

EAX=00003837
EBX=3748454C
ECX=143D4924
EDX=42637184
ESI=3748454C
EDI=3748454C
ESP=0018FA38
EBP=0018FA44
EIP=0060A296

I should give some details :


Ok.Now the problem is when you write 0 to health it is working normally until getting in vehicles.If you die in vehicle game is crushing.When I look for what adresses accessing this opcode I see that my, enemies and vehicles health are pop up in the screen. Also some negative values and values like
2.352562E-312 pop up too.I have no idea what are they.I can't find any differences for solving this problem .Registers are always different ,structure values are changing.I look with cheat engine's commonalities features I also saw that there is no constant thing to use.As a result I can't seperate only me and enemy soldiers from vehicles and other stuff.That is why I obsessed with back tracing stuff which I'm not good at.But I did very basic tracing I found some codes existing before jumping current function.They were :


fld dword ptr [esi+10]
push ebx
fsub dword ptr [ebp+08]

In here when I nop the first code it writes Nan to health I never die.I thought maybe it is a good point to write script but again same problem .Like I said I know that I should isolate something but can not find anything usefull so maybe I should go back .But I lack that knowledge.

_________________
_d_
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