Im trying to add instant kill to my next trainer and since i cant find a pointer for it but i can find the same code for it in the memory viewer of cheat engine I have gone into the code injection bit and have this for the value that turns instant kill on or off.
this is the assembly code
Address - 00483DED - Bytes - 8B 56 04 - Opcode - mov edx,[esi+04]
Address - 00483DF0 - Bytes - 83 E0 1F - Opcode - and eax,1F
Found this In ollydbg at the address if it helps
alloc(newmem,2048) //2kb should be enough
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
00483DED 8B56 04 MOV EDX,DWORD PTR DS:[ESI+4]
Also I found but i think that is the shown instant kill thing not 100% sure i might have got mixed up
Public Class Form1
Dim Mem As Injection = New Injection
Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click
Mem.Inject_Jmp(&H483DED, "8B4608", "8B5604")
This is what I have I just dont understand how to find the bytes, Would I use ollydbg and what to look for :P
now I am starting to learn assembly with tutorials online but would anyone be able to explain how I would make this work for instant kill on or off into VB, as with the beginner tutorials which im having to start off with I dont think im close to figuring this out but I will continue to follow the tutorials I have Im just wondering if anyone can explain this situation so it would work for me.
PS: I Have no recoil working just found it, I NOP the addresses but I cant turn it off I cant undo my NOP im using the module from someones post on this forum but ofr the life of me i cant find it this is what i have atm.
now I have tried to do this and replace the bytes with the original ones but it just doesent work as it still NOP its :P hmm I think i might jsut have to writeabyte to these address to their original value
If CheckBox13.Checked = True Then
CheckBox13.ForeColor = Color.Lime
ElseIf CheckBox13.Checked = False Then
CheckBox13.ForeColor = Color.Red