Page 1 of 1

A question???

Posted: Sun Jan 17, 2021 11:01 pm
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

Re: A question???

Posted: Sun Jan 17, 2021 11:28 pm
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.

Re: A question???

Posted: Sun Jan 17, 2021 11:37 pm
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

Re: A question???

Posted: Sun Jan 17, 2021 11:42 pm
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

Re: A question???

Posted: Sun Jan 17, 2021 11:45 pm
by SilverRabbit90
Ah sory I will repost it in right section

Re: A question???

Posted: Sun Jan 17, 2021 11:47 pm
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.

Re: A question???

Posted: Mon Jan 18, 2021 12:47 am
by SilverRabbit90
Ah I had created another, but now I have deleted it, sry.

Re: A question???

Posted: Mon Jan 18, 2021 5:17 am
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.