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 


Found Ammo value does not change anything

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

Joined: 20 Nov 2023
Posts: 6

PostPosted: Mon Nov 20, 2023 11:48 am    Post subject: Found Ammo value does not change anything Reply with quote

Hi there, I have been playing a game called Silica which has a couple trainers available for it and no anti cheat.

Since I thought this is a good learning opportunity i wanted to try and make a simple infite ammo table, however the only ammo value which I can find does reflact my current weapon exact ammo, but freezing it does nothing, Nop makes the ammo counter stuck but i still have to reload.

Which different methods and pratices would I use in this case, other things I'm also interested in:
Fast walking
Rapid fire
Maybe teleporting and such but first things first
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4706

PostPosted: Mon Nov 20, 2023 12:33 pm    Post subject: Reply with quote

You found the wrong value. Could be a different value type or stored in a different format. e.g. ammo in magazine could count up ("shots fired" instead of "shots remaining"), ammo in reserve may or may not include the ammo in the magazine, etc.
_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 37

Joined: 16 Feb 2017
Posts: 1526

PostPosted: Mon Nov 20, 2023 12:39 pm    Post subject: Reply with quote

If I were creating a game, I would use twists like this;

Code:

-- The amount of user coins I sent to the server is 55820 (example)
-- 55820 games are subjected to the following process and hidden while loading.
c1 = 55820 * 8
c2 = tonumber(c1) + 444
local initialMove = 0

c3 = 0
c4 = 0

function spend1(amount)
amount1 = tonumber(amount) * 8
  if initialMove == 0 then
   c2 = tonumber(c2) - 444
   c3 = tonumber(c2) - tonumber(amount1)
   initialMove = 1
  else
   c4 = tonumber(c4) - 444
   c3 = tonumber(c4) - tonumber(amount1)
  end
c3 = tonumber(c3) + 444
end
-- You spent 130 coins in the game;

spend1(130)

-- Most of the time the visible 130 is hidden by the obfuscation above and the result below.

-- Here is the value you see and find 55690 here;
c4 = tonumber(c3) - 444
 -- 55690 will be reflected on the game screen, but the coins are only mentioned as "c3" in the code.
c4 = math.floor(tonumber(c4) / 8)
print(c4)


CE has tutorials for such situations. (Google or Youtube)

To start, you can try to reach the correct result by using Rising/Descending or Changing/Unchanging value scans.

(If there are no syntax errors, you can try the above code in a Lua script.)

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past


Last edited by AylinCE on Mon Nov 20, 2023 1:09 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon Nov 20, 2023 12:43 pm    Post subject: Reply with quote

ParkourPenguin wrote:
ammo in reserve may or may not include the ammo in the magazine, etc.
-I would start with this. Consider searching for a value that equals gun/magazine ammo + reserve ammo (total ammo). If all exact value scans fail, try increased/decreased searches.
Back to top
View user's profile Send private message
Ziladus
How do I cheat?
Reputation: 0

Joined: 20 Nov 2023
Posts: 6

PostPosted: Mon Nov 20, 2023 1:52 pm    Post subject: Reply with quote

ParkourPenguin wrote:
You found the wrong value. Could be a different value type or stored in a different format. e.g. ammo in magazine could count up ("shots fired" instead of "shots remaining"), ammo in reserve may or may not include the ammo in the magazine, etc.


AylinCE wrote:
If I were creating a game, I would use twists like this;

Code:

-- The amount of user coins I sent to the server is 55820 (example)
-- 55820 games are subjected to the following process and hidden while loading.
c1 = 55820 * 8
c2 = tonumber(c1) + 444
local initialMove = 0

c3 = 0
c4 = 0

function spend1(amount)
amount1 = tonumber(amount) * 8
  if initialMove == 0 then
   c2 = tonumber(c2) - 444
   c3 = tonumber(c2) - tonumber(amount1)
   initialMove = 1
  else
   c4 = tonumber(c4) - 444
   c3 = tonumber(c4) - tonumber(amount1)
  end
c3 = tonumber(c3) + 444
end
-- You spent 130 coins in the game;

spend1(130)

-- Most of the time the visible 130 is hidden by the obfuscation above and the result below.

-- Here is the value you see and find 55690 here;
c4 = tonumber(c3) - 444
 -- 55690 will be reflected on the game screen, but the coins are only mentioned as "c3" in the code.
c4 = math.floor(tonumber(c4) / 8)
print(c4)


CE has tutorials for such situations. (Google or Youtube)

To start, you can try to reach the correct result by using Rising/Descending or Changing/Unchanging value scans.

(If there are no syntax errors, you can try the above code in a Lua script.)


++METHOS wrote:
ParkourPenguin wrote:
ammo in reserve may or may not include the ammo in the magazine, etc.
-I would start with this. Consider searching for a value that equals gun/magazine ammo + reserve ammo (total ammo). If all exact value scans fail, try increased/decreased searches.


Sadly even just searching for what has changed/unchanged did not work, I am left with no value that freezes the ammo.
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