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 


HELP ME IN THE CODING

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
sreeragh2009
Cheater
Reputation: 0

Joined: 21 Oct 2014
Posts: 33
Location: UNKNOWN

PostPosted: Tue Oct 21, 2014 6:02 am    Post subject: HELP ME IN THE CODING Reply with quote

I am learning to code in auto assembler. Now here is my problem.
I found an address which hold guns bullets. From what write to the address i got the address as EBX. Now what i want to do is ; see this first
address{ EBX+5FA } holds value 128(byte) and 128 is reload speed value.
i want to change it to 255(byte) for more reload speed
how to do it ? In auto assembler ?
i tried
Code:
push [ebx+000005FA],128

And voila GAME CRASHES
please tell me a fix and also tell how to get that number in byte because in 4 byte its a larger value. I tried that value in the same code above still game Crashes. What am i doing wrong ?. BTW CHEAT ENGINE IS THE MOST AWESOME SOFTWARE EVER MADE !!! Very Happy
AND THANKS IN ADVANCE Very Happy

_________________
PROFESSIONAL "LEARNER"
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25295
Location: The netherlands

PostPosted: Tue Oct 21, 2014 6:15 am    Post subject: Reply with quote

Code:

push [ebx+000005FA],128 ?


Quote:

And voila GAME CRASHES

How is that even possible? CE can't compile that instruction as it's not valid.


Anyhow, assuming you made a typo and meant to post mov instead of push
then replace the 128 with #128, else you'll write the value 296

And since it is a single byte, access it using a single byte size
mov byte ptr [ebx+5fa],#128

And just to be sure, you do understand how to do code injections ?

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
sreeragh2009
Cheater
Reputation: 0

Joined: 21 Oct 2014
Posts: 33
Location: UNKNOWN

PostPosted: Tue Oct 21, 2014 8:05 am    Post subject: Sorry for being an idiot Reply with quote

I'm sorry for being idiot. I'm not so good with auto assembler. I went through many tutorials but i barely understand any of it. So I'm a hit and try kind of person.Thanks for giving the quick reply though. yeah "push" was a typo. I will definitely try your code. BTW does # means byte ? and why do we put "byte ptr" ? sorry im not so good. I still have created successful hacks with auto assembler though. This one was more difficult one. I don't know much about code injection also. If only could you point me to the right direction to a good guide will be helpful though. Will post soon the results.

RESULTS ( Forum said i cant double post yet...so i edited this one )

i tried your code. Still didnt work. Game crashed again.
my problem :

i auto assemble edit | game crashes
i nop the code | game crashes

only way is to manually open ce find bullet number address. add 5FA to address and change the value. I tried everthing i know. so pls help me.
Thanks in advance.
Very Happy

_________________
PROFESSIONAL "LEARNER"
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
sreeragh2009
Cheater
Reputation: 0

Joined: 21 Oct 2014
Posts: 33
Location: UNKNOWN

PostPosted: Wed Oct 22, 2014 2:26 am    Post subject: Reply with quote

I figured it out bro. Your Code was the hint. VERY VERY THANKS FOR YOUR HELP. Very Happy Very Happy Very Happy
_________________
PROFESSIONAL "LEARNER"
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
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