Pages: 1 2
Author Topic: More *fun* ASM!  (113,446 Views)
Offline (Unknown gender) Rusky

Resident Troll
Joined: Feb 2008
Posts: 954
View profile WWW
Reply #15 Posted on: January 29, 2009, 12:18:34 AM
So don't be stupid and put hackable things in your online game client.
Offline (Unknown gender) score_under

Member
Joined: Aug 2008
Posts: 308
View profile
Reply #16 Posted on: January 29, 2009, 05:14:01 PM
X/Y values. There's no way to avoid that, without experiencing inhumane amounts of lag.
Offline (Unknown gender) Rusky

Resident Troll
Joined: Feb 2008
Posts: 954
View profile WWW
Reply #17 Posted on: January 29, 2009, 10:54:09 PM
you can, however, keep it mostly hack-free. validate the x and y values every few seconds so they can't just teleport all over the place. and so on.
Offline (Unknown gender) Josh @ Dreamland

Prince of all Goldfish
Developer
Joined: Feb 2008
Posts: 2,950
View profile
Reply #18 Posted on: January 30, 2009, 02:58:47 AM
I have a better idea, which I intend to employ in ENIGMA.

Since it's open source, I may as well tell you all, as I am confident there's not much you can do without knowing address range:

Create a small allocated heap (say 2KB).
X and Y are int*
every so often,
int* old = x;
x= stackstart+4*(rand()%512);
*x = *old;
old = y;
y= stackstart+4*(rand()%512);
while (y==x) y= stackstart+4*(rand()%512);
*y = *old;

I'm thinking about giving ENIGMA  a manager for variables of this sort. Honestly, the only way you're getting this value is carefully watching in a disassembler. Which, er, I'd say 98% of twelve-year-olds with Cheat Engine can't do.
Offline (Unknown gender) score_under

Member
Joined: Aug 2008
Posts: 308
View profile
Reply #19 Posted on: January 30, 2009, 06:51:39 PM
Quote from: Josh @ Dreamland on January 30, 2009, 02:58:47 AMI'm thinking about giving ENIGMA a manager for variables of this sort. Honestly, the only way you're getting this value is carefully watching in a disassembler. Which, er, I'd say 98% of twelve-year-olds with Cheat Engine can't do.
True, but make an option to disable it too ;)

New crash:
pushfd
mov byte[esp+1],1
popfd


New thing to guess about: (Assume all registers start at 0)
00402D42   > /0FBAF9 00     BTC ECX,0
00402D46   . |72 03         JB SHORT 00402D4B
00402D48   . |40            INC EAX
00402D49   .^ EB F7         JMP SHORT 00402D42
00402D4B > > |48            DEC EAX
00402D4C   .^\EB F4         JMP SHORT 00402D42

What does that infinite loop do in each of its iterations?
Pages: 1 2