View previous topic :: View next topic |
Author |
Message |
MohitKumarJangra Newbie cheater Reputation: 0
Joined: 30 Sep 2014 Posts: 17
|
Posted: Sun Oct 05, 2014 3:03 am Post subject: |
|
|
This time I am quite sure that the offset to player id is 004c as in screenshot.
After restarting the game it came back and the same digits 8 for friendly units and 4 for enemy units.
Now I am the worst ce user that dont know how to find this offset in memory viewer and dont know how to make script. I can just give you all by finding what I could If you wish to help me
Wait.... Hey mate could you help me by IRC I am online always
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Oct 05, 2014 3:14 am Post subject: |
|
|
I already gave you the instructions. If there is something specific that you do not understand, just ask.
Regarding your 004C offset...your previous post shows otherwise.
|
|
Back to top |
|
|
MohitKumarJangra Newbie cheater Reputation: 0
Joined: 30 Sep 2014 Posts: 17
|
Posted: Sun Oct 05, 2014 3:25 am Post subject: |
|
|
The question is which instruction should I highlight in memory viewer? The opcode which I found in debugging window or the offset of player Id?
I have to refresh page many times to see your replies
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Oct 05, 2014 3:26 am Post subject: |
|
|
You highlight the instruction that you found that accesses all of the health addresses.
|
|
Back to top |
|
|
MohitKumarJangra Newbie cheater Reputation: 0
Joined: 30 Sep 2014 Posts: 17
|
Posted: Sun Oct 05, 2014 3:34 am Post subject: |
|
|
ok. Is there any role of code injection too or straight ce framework code?
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Oct 05, 2014 3:36 am Post subject: |
|
|
I do not understand your question.
|
|
Back to top |
|
|
MohitKumarJangra Newbie cheater Reputation: 0
Joined: 30 Sep 2014 Posts: 17
|
Posted: Sun Oct 05, 2014 3:40 am Post subject: I dont know how and what to write in this script I am a noob |
|
|
sorry I was too lazy to see you told before
++Methos, I still cant consider what to write in this script. The all way I am seeing esi but nothing else.
The tutorial I saw on google says pushfd, pushaf and other thing to pop them.
I cant understand where to put player id and how to complete this script.
Believe me, I have never programmed before, Just a noob on ce and language.
this is the script:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
movss [esi+04],xmm0
exit:
jmp returnhere
"CNC4.game"+3AAF8E:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"CNC4.game"+3AAF8E:
movss [esi+04],xmm0
//Alt: db CC 0F 11 46 04
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sun Oct 05, 2014 5:15 am Post subject: |
|
|
put this between newmem: and originalcode:
Code: |
cmp [esi+4c],8 //check if the value at esi+4c is 8
jne originalcode //if not, go to the original code
push eax //save eax
mov eax,[esi+8] //put what I assume is the max health into eax (it's a float, but a 4 byte can hold a float just fine)
mov [esi+4],eax //write the value of eax (currently max health) into the current health field
pop eax //restore eax
jmp exit //skip the original code and return to the game
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
MohitKumarJangra Newbie cheater Reputation: 0
Joined: 30 Sep 2014 Posts: 17
|
Posted: Sun Oct 05, 2014 6:42 am Post subject: |
|
|
Thanx admin.
|
|
Back to top |
|
|
|