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 


[HELP REQUEST] Creating a CT or trainer for Metro 2033

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

Joined: 01 Aug 2012
Posts: 48

PostPosted: Wed Aug 15, 2012 6:56 pm    Post subject: [HELP REQUEST] Creating a CT or trainer for Metro 2033 Reply with quote

I need some help with creating a table for Metro 2033. I want to give myself 500,000 Military-Grade cartridges, infinite ammo with bottomless clip, and godmode. I already know and devised a trick for getting all the military cartridges one will ever need to purchase weapons, but I just hate having to edit a game file everytime I boot up the game. Reloading takes too dang long... I posted a request in the forum for trainer requests, however not one has responded and I grow impatient. So, I'm deciding to do so myself. I know I'm not helping anyone who wants to help me with this, but I've tried and failed miserably. The results of my failure: making my system render 235 of the same process at once. From this, I decided to get a professional to help.

Now, onto the details.

I've concluded that the ammo is NOT in the 4-byte scanning parametres. I have not tried godmode or bottomless clip with infinite ammo.
I think it's better to scan for the M-G carttridge value very late in the game, near the end where I have more than 600 M-G cartridges, so that I have a more narrow memory range.

Game: Metro 2033
Version: 1.0.0.1
Platform: PC; Windows XP Home
Other information: Steam; ammo not in 4-byte memory range

Sorry for the lack of helpful information, but I'm going in blind with this!
Back to top
View user's profile Send private message Send e-mail
oLaudix
Expert Cheater
Reputation: 3

Joined: 25 Mar 2010
Posts: 138

PostPosted: Wed Aug 15, 2012 7:29 pm    Post subject: Reply with quote

Played it reaaaaaaaaaly long time ago, but as far as i remember some stuff was 2 bytes. I belive it was ammo and those military bullets used as currency and maybe ammo in clip although im not so sure about the latter.
Back to top
View user's profile Send private message
Adrien
Cheater
Reputation: 0

Joined: 01 Aug 2012
Posts: 48

PostPosted: Wed Aug 15, 2012 7:50 pm    Post subject: Reply with quote

Thanks, mate. But I have to ask: did you make a table for it? A table would be REALLY helpful. Smile
Back to top
View user's profile Send private message Send e-mail
oLaudix
Expert Cheater
Reputation: 3

Joined: 25 Mar 2010
Posts: 138

PostPosted: Wed Aug 15, 2012 7:54 pm    Post subject: Reply with quote

I probably did, but i lost it since i wasnt really storing such things that time. Besides it wasn't steam version. And remember, if you cant find value just sue Value Type: All. It works 99,9% of time.

EDIT1:
"metro2033.exe + 337C95" Code :mov [ecx+24],dx

Address of the function that was changing military bullets used as currency. Dont know why but that is all i have in my table oO. Its prolly some early ver and later i just saved it in game folder which was removed. Itll prolly be different address anyway since it was different patch and nonsteam ver.
Back to top
View user's profile Send private message
Adrien
Cheater
Reputation: 0

Joined: 01 Aug 2012
Posts: 48

PostPosted: Wed Aug 15, 2012 8:46 pm    Post subject: Reply with quote

I think I'll just scan 2-byte memory values. I want narrow results. I don't know what to do with that function. I just want 500,000 M-G...

EDIT01:
I've changed the values of 3 2-byte addresses, but the max is around 41000. The most recent address I changed crashed the game. The memory address was: 00A4184E. Now I know THAT doesn't control M-G cartridges...
Back to top
View user's profile Send private message Send e-mail
nobosabot
Advanced Cheater
Reputation: 0

Joined: 26 Nov 2012
Posts: 58

PostPosted: Wed Dec 19, 2012 2:22 pm    Post subject: Reply with quote

has anyone even attempted to search for any good results yet ? jw
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 218

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sat Dec 22, 2012 2:14 pm    Post subject: This post has 2 review(s) Reply with quote

While firing, current magazine is updated with this piece of code:
Code:
Metro2033.exe+355E9F - 8B 44 24 24           - mov eax,[esp+24]
// decrease value by one (current mag.)
Metro2033.exe+355EA3 - 83 87 FC040000 FF     - add dword ptr [edi+000004FC],FF   // <=======
Metro2033.exe+355EAA - 85 C0                 - test eax,eax
Metro2033.exe+355EAC - 74 12                 - je Metro2033.exe+355EC0
Metro2033.exe+355EAE - 83 C0 04              - add eax,04
Metro2033.exe+355EB1 - 83 C9 FF              - or ecx,FF
Metro2033.exe+355EB4 - F0 0FC1 08            - xadd [eax],ecx
Metro2033.exe+355EB8 - C7 44 24 24 00000000  - mov [esp+24],00000000
Metro2033.exe+355EC0 - 8B 44 24 20           - mov eax,[esp+20]
Metro2033.exe+355EC4 - 85 C0                 - test eax,eax
Metro2033.exe+355EC6 - 74 0A                 - je Metro2033.exe+355ED2
Metro2033.exe+355EC8 - 83 C0 04              - add eax,04
Metro2033.exe+355ECB - 83 CA FF              - or edx,FF
Metro2033.exe+355ECE - F0 0FC1 10            - xadd [eax],edx
Metro2033.exe+355ED2 - 5F                    - pop edi
Metro2033.exe+355ED3 - 5E                    - pop esi
Metro2033.exe+355ED4 - 5B                    - pop ebx
Metro2033.exe+355ED5 - 8B E5                 - mov esp,ebp
Metro2033.exe+355ED7 - 5D                    - pop ebp
Metro2033.exe+355ED8 - C2 1000               - ret 0010
Metro2033.exe+355EDB - CC                    - int 3


We can change this line:
Code:
Metro2033.exe+355EA3 - 83 87 FC040000 FF     - add dword ptr [edi+000004FC],FF


to

Code:
Metro2033.exe+355EA3 - 83 87 FC040000 00     - add dword ptr [edi+000004FC],00


And we will get "no reload" cheat.


While reloading, ammo left is updated with this piece of code:
Code:
Metro2033.exe+35EED0 - E8 1BB7D5FF           - call Metro2033.exe+BA5F0
Metro2033.exe+35EED5 - 85 DB                 - test ebx,ebx
Metro2033.exe+35EED7 - 66 89 46 2C           - mov [esi+2C],ax
Metro2033.exe+35EEDB - 74 0A                 - je Metro2033.exe+35EEE7
Metro2033.exe+35EEDD - 83 C3 04              - add ebx,04
Metro2033.exe+35EEE0 - 83 CA FF              - or edx,FF
Metro2033.exe+35EEE3 - F0 0FC1 13            - xadd [ebx],edx
// decrease value by one (ammo left)
Metro2033.exe+35EEE7 - 66 81 87 84020000 FFFF - add word ptr [edi+00000284],FFFF <=====
Metro2033.exe+35EEF0 - B0 01                 - mov al,01
Metro2033.exe+35EEF2 - 5B                    - pop ebx
Metro2033.exe+35EEF3 - 59                    - pop ecx
Metro2033.exe+35EEF4 - C3                    - ret
Metro2033.exe+35EEF5 - CC                    - int 3



We can change this line:
Code:
Metro2033.exe+35EEE7 - 66 81 87 84020000 FFFF - add word ptr [edi+00000284],FFFF


to

Code:
Metro2033.exe+35EEE7 - 66 81 87 84020000 0000 - add word ptr [edi+00000284],0000


And we will get "unlimited ammo" cheat. Side effect - when we hit and press reload button, we can increase cheap ammo and Military-Grade ammo.

Of course we need at least one bullet.

Code:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>0</ID>
      <Description>"No Reload"</Description>
      <Color>80000008</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
"Metro2033.exe"+355EA3:
//Alt: add dword ptr [edi+000004FC],00
db 83 87 FC 04 00 00 00

[DISABLE]
"Metro2033.exe"+355EA3:
//Alt: add dword ptr [edi+000004FC],FF
db 83 87 FC 04 00 00 FF
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>1</ID>
      <Description>"Infinite Ammo"</Description>
      <Color>80000008</Color>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
"Metro2033.exe"+35EEE7:
//Alt: add word ptr [edi+00000284],0000
db 66 81 87 84 02 00 00 00 00

[DISABLE]
"Metro2033.exe"+35EEE7:
//Alt: add word ptr [edi+00000284],FFFF
db 66 81 87 84 02 00 00 FF FF
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>


Usage:
1. copy and paste above into cheatengine, then save (floppy disc icon)
2. attach CE to game process - Metro2033.exe . (flashing icon)
3. enable both scripts (click square in "active" column)

4. "no reload" - self explanatory (do not if you have double barrel shotgun)
5. "Infinite Ammo" - self explanatory. + we can farm M-G ammo while we keep switching between cheap ammo and M-G ammo. After 50 seconds we can farm from one M-G bullet up to ~241


Edit:
table here



metro2033.ct
 Description:

Download
 Filename:  metro2033.ct
 Filesize:  1.03 KB
 Downloaded:  10393 Time(s)


_________________


Last edited by mgr.inz.Player on Sat Dec 22, 2012 7:40 pm; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
Adrien
Cheater
Reputation: 0

Joined: 01 Aug 2012
Posts: 48

PostPosted: Sat Dec 22, 2012 2:26 pm    Post subject: Reply with quote

What do I do with all that code? In other words, what do I have to do in Cheat Engine in order to put that code into effect?

EDIT: I went into Memory View and searched for the line for Unlimited ammo. I found it. Very Happy Thanks! And how about for health? I don't really feel like going into the config file everytime before I launch the game just for godmode. Look's like I'm going to have to attach a debugger. :/
Back to top
View user's profile Send private message Send e-mail
L337Hun73r
How do I cheat?
Reputation: 0

Joined: 16 May 2014
Posts: 5

PostPosted: Tue May 12, 2015 3:49 pm    Post subject: Reply with quote

mgr.inz.Player wrote:

5. "Infinite Ammo" - self explanatory. + we can farm M-G ammo while we keep switching between cheap ammo and M-G ammo. After 50 seconds we can farm from one M-G bullet up to ~241


Hi there! Table works so great, I just installed game from steam.

But I couldn't managed to farm MG rounds. I'm at the start of the game, in the armory's gun range, I got 1 MG round and noclip is off inf ammo is on.

How do I farm? I keep shooting some rounds and reloading but I still have 1 bullet.
Back to top
View user's profile Send private message
Prismo
Newbie cheater
Reputation: 0

Joined: 26 May 2015
Posts: 16

PostPosted: Tue Jun 09, 2015 2:42 pm    Post subject: Reply with quote

juste little table with health pointer. set to 1 (100%) and lock. accept bigger values
work for me on the last steam version.
be careful, grenades still deadly and crash the game for me when hack activated



Metro2033-Health.CT
 Description:
Health pointer - Set to 1 and lock

Download
 Filename:  Metro2033-Health.CT
 Filesize:  498 Bytes
 Downloaded:  3285 Time(s)

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