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 


Finding address for a no-spread hack

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

Joined: 23 Sep 2010
Posts: 6

PostPosted: Thu Sep 23, 2010 11:13 pm    Post subject: Finding address for a no-spread hack Reply with quote

Hey guys, I've been trying to find a way to make a no-spread in this shooter. It's the usual spread system, shoot=spread, move=spread.

I can't seem to find the address, I have no clue what kind of value it could have.

I just go with a 4byte and sometimes I find it, but it's never the same address between sessions, like once the match is over, I can't reuse the same address.

So I'm lead to believe that I'm just changing the value of the visual spread circle, and not the actual value used when calculating the shot.

I don't know if this is server side, hopefully it's not.

I've tried doing unknown 4byte, value increased, value decreased, value unchanged, and repeat, but this time around I'm not even finding any usable addresses, I lock the remaining 40-60 (bad) and it either does nothing or a locked value crashes the game.

I hope you guys can help me out.
Back to top
View user's profile Send private message
noko_112
Grandmaster Cheater
Reputation: 0

Joined: 09 Jun 2009
Posts: 585

PostPosted: Fri Sep 24, 2010 12:50 am    Post subject: Reply with quote

Try also float and double
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 893

PostPosted: Fri Sep 24, 2010 3:37 am    Post subject: Reply with quote

Also check to see if the unrandomizer has any affect on shot spread.
Back to top
View user's profile Send private message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Fri Sep 24, 2010 12:52 pm    Post subject: Reply with quote

Float should work, as most shooters I've dealt with if you look at the scripting engine of the game, the spread is float based.
_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
tase
How do I cheat?
Reputation: 0

Joined: 23 Sep 2010
Posts: 6

PostPosted: Fri Sep 24, 2010 2:39 pm    Post subject: Reply with quote

Alright, I found it twice, I was freezing it and it kept going back. I don't know if it was just visuals tho, I didn't see anything change in the shooting.

But the addresses changed, first it was 0x136BBD6C, then it was 0x0190AADC.

I followed those addresses in OllyDBG and the first time it was a OR AL,27, the second one kept changing, from RETN to other things, sometimes it wasn't a precise command.
Back to top
View user's profile Send private message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Fri Sep 24, 2010 3:55 pm    Post subject: Reply with quote

That could possibly be the randomness of the spread.
_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
tase
How do I cheat?
Reputation: 0

Joined: 23 Sep 2010
Posts: 6

PostPosted: Sat Sep 25, 2010 1:02 am    Post subject: Reply with quote

The randomness of the spread?

How do I find the correct address?
Back to top
View user's profile Send private message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Sat Sep 25, 2010 8:58 am    Post subject: Reply with quote

Once you have located the code for the spread try using aobscan() to find the next instance.
_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
tase
How do I cheat?
Reputation: 0

Joined: 23 Sep 2010
Posts: 6

PostPosted: Sat Sep 25, 2010 12:20 pm    Post subject: Reply with quote

I don't have the source for the game =/

EDIT: Oic, aobscan() is part of Cheat Engine. Tho I have no clue how to use it =/
Back to top
View user's profile Send private message
Teh1337Bix
Cheater
Reputation: 3

Joined: 22 Mar 2010
Posts: 37
Location: Australia

PostPosted: Sun Sep 26, 2010 8:09 am    Post subject: Reply with quote

By code he means the dissasembly.
Back to top
View user's profile Send private message
tase
How do I cheat?
Reputation: 0

Joined: 23 Sep 2010
Posts: 6

PostPosted: Sun Sep 26, 2010 3:58 pm    Post subject: Reply with quote

I haven't found the code for the spread, I'm still trying to find it.

What I said above was that I found the address in CE, froze them, it was doing it, but when I went to that address in OllyDBG, the ASM instructions where not the same.
Back to top
View user's profile Send private message
Teh1337Bix
Cheater
Reputation: 3

Joined: 22 Mar 2010
Posts: 37
Location: Australia

PostPosted: Sun Sep 26, 2010 11:53 pm    Post subject: Reply with quote

tase wrote:
but when I went to that address in OllyDBG, the ASM instructions where not the same.


After reading that and your other post I don't think you understand it fully. The ASM instructions you're talking about are just the ASM representation of the bytes that store the spread value, they aren't executed by the CPU and don't actually mean anything other than the spread value. What you are looking for is the code that changes the address, you can find this by right clicking on the spread value and clicking "find out what writes to this address"
Back to top
View user's profile Send private message
AhMunRa
Grandmaster Cheater Supreme
Reputation: 27

Joined: 06 Aug 2010
Posts: 1117

PostPosted: Mon Sep 27, 2010 10:09 am    Post subject: Reply with quote

To make it rework at ever iteration (every run of the game) you will most likely need to use the aobscan() function to locate the address that is writing the spread data. This is most likely why you could not find it in Olly.

Once you have the address what you do is copy down the previous 3 instructions, your main line that actually writes the spread data, and the next 3 lines. Open up Olly and perform a search for that series of commands you should find it fairly easily.

_________________
<Wiccaan> Bah that was supposed to say 'not saying its dead' lol. Fixing >.>
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Mon Sep 27, 2010 10:51 am    Post subject: Reply with quote

Teh1337Bix wrote:
tase wrote:
but when I went to that address in OllyDBG, the ASM instructions where not the same.


After reading that and your other post I don't think you understand it fully. The ASM instructions you're talking about are just the ASM representation of the bytes that store the spread value, they aren't executed by the CPU and don't actually mean anything other than the spread value. What you are looking for is the code that changes the address, you can find this by right clicking on the spread value and clicking "find out what writes to this address"


Teh1337Bix is right. You have tried to disassemble the value itself. You need to find the code which is accessing to the address as He described.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
tase
How do I cheat?
Reputation: 0

Joined: 23 Sep 2010
Posts: 6

PostPosted: Mon Sep 27, 2010 8:57 pm    Post subject: Reply with quote

Got it

The opcode that writes it is pretty "unique". Already found it again on a next session thanks for CE.

Problem is that it doesn't seem to do anything for the actual shooting spread. The spread indicator stays tight, but the shots are still spread out.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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