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 


Left 4 Dead infinite Ammo (need assistence)

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

Joined: 31 Jan 2007
Posts: 8

PostPosted: Mon Dec 08, 2008 1:53 pm    Post subject: Left 4 Dead infinite Ammo (need assistence) Reply with quote

So I am just a beginner at hacking.
I did the tutorials and I hacked some easy flash games, so I decided to try hacking Left 4 Dead.

I tried to tackle infinite ammo first here are my steps
1) scan for unknown value
2)then go to the game and shoot a round
3)scan for decreased
4)repeat to scan for variables
5)now in this case cheat engine detects more than 1 address depicting the changed value.
So if i have 32 ammo left there are like 5 addresses with 32 ammo

6)I look for what writes to this address and some of these addresses already have something filled in, before I shoot. So I assume that those don't work
7)Find one that is empty, alt-tab shoot, and back some variables change
8)What worked was then freezing the address I would then get infinite ammo.
9)But I want to make a trainer where everytime I load it it would work, because right now the address changes evertime I reopen this game.
10)So I try looking for pointers but I'm having trouble
any suggestions?
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Mon Dec 08, 2008 6:56 pm    Post subject: Reply with quote

OK< You have done good so far.

Just need to learn a little assembly, or find the pointer.
I would pointer scan for level 4 and see what you get.

Or you can do what writes, or access's the address you freeze to see what you get.
I would try "writes" first since it could give you a single instruction to look into.

When you find it, you can look at it in memory view and scroll up about 5 instructions then post a screen shot maybe for more help.

Im sure myself or someone will help you out.
You can do a injection by making an AA script and then use that in your trainer.
Back to top
View user's profile Send private message
zeedarkjster
How do I cheat?
Reputation: 0

Joined: 31 Jan 2007
Posts: 8

PostPosted: Sat Dec 13, 2008 1:37 am    Post subject: Screen Shots Reply with quote

Alright back from finals haha
so anyways I'll post some screen shots, hoping someone can tell me what I'm doing wrong. *Ugh i can't post URL's lmao any mod fix that for me?

Step 1::attach CE to L4D (Left 4 Dead)

Step 2::search for unknown value
step 3::{in game}Shoot

Step 4::{CE} Scan for decreased value

Step 5::Repeat steps 3 and 4, Occasionally not shooting and scan for unchanged value to help narrow the values down.

So after a while I am able to narrow it down to 47 address's (not impressive I know).
But I noticed that there are multiple values equal to the number of ammo in my gun.


In this session there is a total of 6 addresses that have the same value as my ammo (1Cool.

Before I would just tick them all and sometimes it would work and I would get unlimited ammo/ no reload time.

Step 6:: But I want to learn more, so I used Dark Byte's tutorial for "what writes to this address"
I attach a debugger to any one of the addresses.


*note my game crashed so the values will be different*

Some of them automatically have a code written in it without me going back and shooting so i ignore those


There is only 1 address's that was empty when I click "find what writes from this address"

so i chose that one and went back in the game, shot, and i get the code

I open Auto Assembler and I create a script that "nop"
Pingo's Guide


Then I assigned it to cheat table, and ticked it, and Viola infinite ammo


Now I want to learn how to create like a trainer or something, if I save it as a .ct and reopen my table when I start a new game, the values don't work anymore and I have to re-find the value and re script it.
Do i have to find it using pointers?

Thanks!
*sorry if it doiesn't make much sense, I posted a lot of SS, but unfortunately I can't post them up.
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Sat Dec 13, 2008 8:36 am    Post subject: Reply with quote

Your address's used for the AA should be static unless your getting a code shift.

So if this is happening you will need to use module+offset to counter the code shift in your AA script.

game.exe+offset: <--- this will be your address.
Back to top
View user's profile Send private message
zeedarkjster
How do I cheat?
Reputation: 0

Joined: 31 Jan 2007
Posts: 8

PostPosted: Sat Dec 13, 2008 2:51 pm    Post subject: Reply with quote

Alright So static means that the address is green instead of black right?
and the module offset is that basically pointer and offset?
so after i find the address I look up more information
if its like eax-8b and eax is like 8f9e9e0f8e
i search up hex for 8f9e9e0f8e (this was made up) then there should be 1 address, I manually add it and insert the address for it and the offset that should be the pointer right?

btw how many posts do i need to attach screen shots? or URls'
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Sat Dec 13, 2008 5:50 pm    Post subject: Reply with quote

NO, not for memory view.
Once you found what write or access the address. That assembly address should be static.
And if thats what you used in your AA script it should work and not have different address every time.

If so, then your getting a code shift. and thats just a few more steps such as looking what module your in and doing simple math to get what you need.
Back to top
View user's profile Send private message
coolika1
Master Cheater
Reputation: 0

Joined: 28 Oct 2006
Posts: 418
Location: Ontario, Toronto(North York)

PostPosted: Sun Dec 14, 2008 8:40 pm    Post subject: Reply with quote

wrong just ZF [X] [X] worked fine for me
_________________
Yes, "I" "still" "hack" "Maple Story".
Belie "I" "still" "abuse" "powers"
Back to top
View user's profile Send private message MSN Messenger
*Mario*
Expert Cheater
Reputation: 0

Joined: 06 Nov 2007
Posts: 106
Location: Ah... Don't look behind you.

PostPosted: Sun Dec 14, 2008 11:18 pm    Post subject: Reply with quote

WTF why l4d.
just use dev console.
sv_infinite_ammo 1

_________________
Back to top
View user's profile Send private message
-DEViL-
Expert Cheater
Reputation: 3

Joined: 21 Apr 2007
Posts: 185

PostPosted: Mon Dec 15, 2008 2:17 am    Post subject: Reply with quote

LOL,he wants to hack it not using f**in console! Exclamation
anyway game uses code shifting.this means every time you reopen l4d the module will be load in different locations.every thing is done in module server.dll
use aa script and module name.dll+offset--->that will always find correct address for you.
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Mon Dec 15, 2008 7:24 pm    Post subject: Reply with quote

coolika1 wrote:
wrong just ZF [X] [X] worked fine for me


How about explaining what that is to him, instead of saying im wrong.
The method im talking about will work and he can learn something along with it.
Back to top
View user's profile Send private message
crackers
Expert Cheater
Reputation: 0

Joined: 30 Jun 2006
Posts: 193

PostPosted: Wed Dec 17, 2008 11:58 pm    Post subject: Reply with quote

i am trying to get godmode working ,but it makes the enemies invincible as well ....

any suggestions?

_________________
Back to top
View user's profile Send private message Yahoo Messenger
Spawnfestis
GO Moderator
Reputation: 0

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Thu Dec 18, 2008 5:30 am    Post subject: Reply with quote

crackers wrote:
i am trying to get godmode working ,but it makes the enemies invincible as well ....

any suggestions?

Don't start searching at 100 hp.

_________________

CLICK TO HAX MAPLESTORAY ^ !!!!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
crackers
Expert Cheater
Reputation: 0

Joined: 30 Jun 2006
Posts: 193

PostPosted: Tue Jan 20, 2009 9:44 pm    Post subject: Reply with quote

Spawnfestis wrote:
crackers wrote:
i am trying to get godmode working ,but it makes the enemies invincible as well ....

any suggestions?

Don't start searching at 100 hp.


didn`t help, gave me the same addresses when trying to find out what accessed the address.

they all lead to the enemies becoming invincible as well as me and my team.

_________________
Back to top
View user's profile Send private message Yahoo Messenger
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