A question???

Memory scanning, code injection, debugger internals and other gamemodding related discussion
Post Reply
User avatar
SilverRabbit90
Table Makers
Table Makers
Posts: 214
Joined: Fri Jan 15, 2021 12:01 am
Reputation: 191

A question???

Post by SilverRabbit90 »

When i use "add" function in script for add some value to something the value increases indefinitely, how can i stop the value from increasing?

exemple:

add [ecx+000003B0],2

This function add 2 ammo indefinitely, but I want the feature to add just two to the ammo.

yeh I know I can use "mov [ecx+000003B0],999" function to set ammo to 999, but I wont add a certain amount I want.

thx

User avatar
Rhark
Expert Cheater
Expert Cheater
Posts: 3466
Joined: Tue Apr 16, 2019 1:27 am
Reputation: 1392

Re: A question???

Post by Rhark »

An easier method would be to just make a pointer from the script & use a hotkey to add 2 ammo to the pointer when pressed.

User avatar
SilverRabbit90
Table Makers
Table Makers
Posts: 214
Joined: Fri Jan 15, 2021 12:01 am
Reputation: 191

Re: A question???

Post by SilverRabbit90 »

Uhm I don't know how to make a script into a pointer XD, Can you teach me?
I need the comand for other type of values (like add a certain quantity for object in inventory, ecc...)
I learned to use Pointer and script 2 days ago XD

User avatar
Rhark
Expert Cheater
Expert Cheater
Posts: 3466
Joined: Tue Apr 16, 2019 1:27 am
Reputation: 1392

Re: A question???

Post by Rhark »

SilverRabbit90 wrote:
Sun Jan 17, 2021 11:37 pm
Uhm I don't know how to make a script into a pointer XD, Can you teach me?
I need the comand for other type of values (like add a certain quantity for object in inventory, ecc...)
I learned to use Pointer and script 2 days ago XD
This is also the wrong section to post, it should be in Cheat Engine discussions here - viewforum.php?f=16

User avatar
SilverRabbit90
Table Makers
Table Makers
Posts: 214
Joined: Fri Jan 15, 2021 12:01 am
Reputation: 191

Re: A question???

Post by SilverRabbit90 »

Ah sory I will repost it in right section

User avatar
Rhark
Expert Cheater
Expert Cheater
Posts: 3466
Joined: Tue Apr 16, 2019 1:27 am
Reputation: 1392

Re: A question???

Post by Rhark »

SilverRabbit90 wrote:
Sun Jan 17, 2021 11:45 pm
Ah sory I will repost it in right section
Don't bother, it'll get moved by an admin. No point double posting.

User avatar
SilverRabbit90
Table Makers
Table Makers
Posts: 214
Joined: Fri Jan 15, 2021 12:01 am
Reputation: 191

Re: A question???

Post by SilverRabbit90 »

Ah I had created another, but now I have deleted it, sry.

User avatar
STN
Founder
Founder
Posts: 4454
Joined: Thu Mar 02, 2017 7:48 pm
Reputation: 3594

Re: A question???

Post by STN »

SilverRabbit90 wrote:
Sun Jan 17, 2021 11:45 pm
Ah sory I will repost it in right section
Don't bother, go check up with an eye doctor instead. I say this as someone who had eye surgery done and i never make mistakes like these despite having weak vision so to make mistake like this means your vision is seriously messed up.

Post Reply

Who is online

Users browsing this forum: DotBot