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 


Need Help with a Infinite Ammo table.

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

Joined: 21 Apr 2016
Posts: 6

PostPosted: Thu Apr 21, 2016 10:09 am    Post subject: Need Help with a Infinite Ammo table. Reply with quote

I am trying to give myself infinite ammo in a game, but when I try to freeze the value after finding it, I still lose ammo in game? I have tried changing my freeze delay to 1ms - can someone explain to me how I can do this please? any help is appreciated.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Thu Apr 21, 2016 11:37 am    Post subject: Reply with quote

If changing the value in the table does nothing, then you've found the wrong address. Keep searching.
Does your gun have a clip? Try searching instead of the number of bullets left in the clip.
Or, possibly, the number of shots fired on the current clip (counting up).
Back to top
View user's profile Send private message
ehcpilz
How do I cheat?
Reputation: 0

Joined: 21 Apr 2016
Posts: 6

PostPosted: Thu Apr 21, 2016 12:07 pm    Post subject: Reply with quote

Zanzer wrote:
If changing the value in the table does nothing, then you've found the wrong address. Keep searching.
Does your gun have a clip? Try searching instead of the number of bullets left in the clip.
Or, possibly, the number of shots fired on the current clip (counting up).


But if this wasn't the right value, why does it still match my ammunition even when I use bullets, the value will keep on par with my ammo.

(The value lowers as my ammo does to match it.)

EDIT: Someone just told me that I need the base address for the ammunition, how can I get that? I know how to do the pointer scan and get the list of pointers, but how would I get the base ammo address from that?
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Thu Apr 21, 2016 12:29 pm    Post subject: Reply with quote

That may be useless if you don't have the correct address ...

As to why it keeps changing: It could only be a display value, so your ammo i.e. is encrypted and the value you just found is only there for display purposes ...
Back to top
View user's profile Send private message
ehcpilz
How do I cheat?
Reputation: 0

Joined: 21 Apr 2016
Posts: 6

PostPosted: Thu Apr 21, 2016 12:55 pm    Post subject: Reply with quote

hhhuut wrote:
That may be useless if you don't have the correct address ...

As to why it keeps changing: It could only be a display value, so your ammo i.e. is encrypted and the value you just found is only there for display purposes ...


I do a first scan of the ammo, i do a next scan of the remaining ammo after wasting some and there's only one result.. =/ how could it be the wrong address
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Thu Apr 21, 2016 1:29 pm    Post subject: Reply with quote

If it's encrpyted or stores the ammo a different way, i.e. it does not count how many bullets are still left but instead how many you've already shot ...
Back to top
View user's profile Send private message
ehcpilz
How do I cheat?
Reputation: 0

Joined: 21 Apr 2016
Posts: 6

PostPosted: Thu Apr 21, 2016 2:22 pm    Post subject: Reply with quote

hhhuut wrote:
If it's encrpyted or stores the ammo a different way, i.e. it does not count how many bullets are still left but instead how many you've already shot ...


So then how could I find the address for my ammo then?
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Thu Apr 21, 2016 2:30 pm    Post subject: Reply with quote

Scan for decreased/increased or even changed/unchanged.

Btw: Have you tried scanning for different value types? So i.e. not only 4Byte but also float?
Back to top
View user's profile Send private message
ehcpilz
How do I cheat?
Reputation: 0

Joined: 21 Apr 2016
Posts: 6

PostPosted: Thu Apr 21, 2016 2:42 pm    Post subject: Reply with quote

hhhuut wrote:
Scan for decreased/increased or even changed/unchanged.

Btw: Have you tried scanning for different value types? So i.e. not only 4Byte but also float?


I have tried float and double as well, they turn up nothing, only 4Byte does.
Not sure what to do here because I really like playing this game but there is no single player infinite ammo command and I'd really like to go around shooting a bunch of rockets, lol.

If it's worth mentioning, the game is killing floor 2.

Someone else made a cheat table, but the game was updated and it no longer works. They said in another post that you need to update the array of bytes pattern but I have no idea how to find the array of bytes pattern to replace it on the old script, so I was hoping I could just find the address and freeze it instead of doing all of that.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Thu Apr 21, 2016 3:24 pm    Post subject: Reply with quote

Search for unknown initial value of all data types. Shoot your weapon and then search for decreased value. Don't shoot your weapon and then search for unchanged value. Keep doing that until you find the correct value.

Some games store the ammo values differently. Some values are based on the amount of rounds in the gun + the amount of rounds in the remaining clips - so, total amount of rounds. Sometimes, these values are separated.

Just because your on-screen value says 100, doesn't mean that the value you're looking for is 100. The actual value that you're looking for may not even make sense to you at first.
Back to top
View user's profile Send private message
ehcpilz
How do I cheat?
Reputation: 0

Joined: 21 Apr 2016
Posts: 6

PostPosted: Thu Apr 21, 2016 7:56 pm    Post subject: Reply with quote

So I found the infinite ammo thanks! How can I make it so I don't need to do this each time I restart the game? Because I just restarted it, and the address has changed.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Thu Apr 21, 2016 9:34 pm    Post subject: Reply with quote

Use injection. Study the CE tutorial and guides on this forum.
Back to top
View user's profile Send private message
williamcll
Advanced Cheater
Reputation: 0

Joined: 07 Aug 2014
Posts: 69

PostPosted: Fri Aug 11, 2017 10:05 am    Post subject: Reply with quote

ehcpilz wrote:
So I found the infinite ammo thanks! How can I make it so I don't need to do this each time I restart the game? Because I just restarted it, and the address has changed.


Sorry for necroing the thread but what was your method?
Back to top
View user's profile Send private message MSN Messenger
The Dab
Cheater
Reputation: 0

Joined: 22 May 2017
Posts: 33

PostPosted: Sun Aug 13, 2017 9:10 pm    Post subject: Reply with quote

williamcll wrote:
ehcpilz wrote:
So I found the infinite ammo thanks! How can I make it so I don't need to do this each time I restart the game? Because I just restarted it, and the address has changed.


Sorry for necroing the thread but what was your method?




Scan for ammo, or do unknown initial value. Shoot a bullet, next scan decreased or increased value, repeat.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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