| View previous topic :: View next topic |
| Author |
Message |
SXGuy I post too much
Reputation: 0
Joined: 19 Sep 2006 Posts: 3551
|
Posted: Tue Apr 03, 2007 10:27 am Post subject: |
|
|
| Quote: | Shouldnt the compare or je to [hack] be switched?
your doing a cmp to see if it is 00, then jump if equal to [hack] that injects 00 again |
not really no, its on or off depending on what value is assigned to the pointer.
but apart from that, its probably wrong anyway, its hard to tell without they guy explaining more.
if he wants two hot keys to change the script between 2 different values (which is what im guessing he wants) its abit silly, cos you can do it with 1 hotkey, and just have it change depending if its on or off.
use the disable section to change value, somthing like this.
| Code: |
[enable]
alloc(hack,4)
label(return)
hack:
mov eax,0
ORIGINAL OPCODES HERE
jmp return
YOURADDRESS:
jmp hack
return:
[disable]
YOURADDRESS:
mov eax,1 //add the change under disable as well
ORIGINAL OPCODES HERE
dealloc(hack,4)
|
so basically its like this, when the AA is ticked, or hotkeyd to activate, the moves 0 into EAX, when its disabled, or again, hotkeyd to deactivate, it will change EAX to 1.
2 values, 1 hotkey.
just make sure, if you want to reset the address correctly when your done without restarting MS, remove "mov eax,1" from disable, activate/deactive.
_________________
Proud member of "The DACEF" (Distruction Against Criminal Egotistical Forces"
Sign up today and receive your free "I Hate x0r Badge" |
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Tue Apr 03, 2007 11:38 am Post subject: |
|
|
| Yeah that one looks allot better, I still think the other script was passing the same byte is was comparing tho.
|
|
| Back to top |
|
 |
SXGuy I post too much
Reputation: 0
Joined: 19 Sep 2006 Posts: 3551
|
Posted: Tue Apr 03, 2007 11:56 am Post subject: |
|
|
no, it was comparing a value in on and then adding the same value to eax.
the value of on and off, are inputted by the user, its not carrying any bytes from memory.
unless your talking about the one where i added the db for on and off, then yeah that shouldnt be there
_________________
Proud member of "The DACEF" (Distruction Against Criminal Egotistical Forces"
Sign up today and receive your free "I Hate x0r Badge" |
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Tue Apr 03, 2007 12:00 pm Post subject: |
|
|
Wooooooooooooooooooot!
Man we are dangerous lol...
I guess this guy just abandoned his own thread and we took it smooth over LMAO
|
|
| Back to top |
|
 |
SXGuy I post too much
Reputation: 0
Joined: 19 Sep 2006 Posts: 3551
|
Posted: Tue Apr 03, 2007 12:04 pm Post subject: |
|
|
yeah looks like it.
im not gonna watch this thread anymore
laters.
_________________
Proud member of "The DACEF" (Distruction Against Criminal Egotistical Forces"
Sign up today and receive your free "I Hate x0r Badge" |
|
| Back to top |
|
 |
!i ou i! Grandmaster Cheater
Reputation: 0
Joined: 14 Jun 2004 Posts: 629
|
Posted: Wed Apr 04, 2007 3:46 pm Post subject: |
|
|
K, ill tell ya what it is..
I updated a Cseax based rusher for a Jump Quest, and to make that script work, i got to manually add a address. And that address' value is at 0 when it is off, and at 1 when its on..
And im creating a bot with that hack, but at a point, I want to turn it off, click on something, and turn it on.. And that's where my problem is.
|
|
| Back to top |
|
 |
SXGuy I post too much
Reputation: 0
Joined: 19 Sep 2006 Posts: 3551
|
Posted: Wed Apr 04, 2007 5:17 pm Post subject: |
|
|
ok so set the pointer your adding to have a value of 0 until its activated.
like
| Code: | [enable]
alloc(somthingelse,4)
registersymbol(somthingelse)
alloc(change,4)
somthingelse:
db 0
change:
mov [somthingelse],1
original opcodes here
hackaddress:
jmp change
[disable]
dealloc(somthingelse,4)
unregistersymbol(somthingelse)
dealloc(change,4)
|
this wont work, but you can see what i mean by making the address 0 until its activated, which is then made into 1
_________________
Proud member of "The DACEF" (Distruction Against Criminal Egotistical Forces"
Sign up today and receive your free "I Hate x0r Badge" |
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Thu Apr 05, 2007 12:52 pm Post subject: |
|
|
| What are you writing the bot in?
|
|
| Back to top |
|
 |
!i ou i! Grandmaster Cheater
Reputation: 0
Joined: 14 Jun 2004 Posts: 629
|
Posted: Thu Apr 05, 2007 3:56 pm Post subject: |
|
|
K, thanks for the help, I understand some parts, so imma just go and try to find a solution myself.
~Closed~
|
|
| Back to top |
|
 |
|