| View previous topic :: View next topic |
| Author |
Message |
akumakuja28 Master Cheater
Reputation: 16
Joined: 28 Jun 2015 Posts: 432
|
Posted: Wed Dec 16, 2015 4:16 am Post subject: |
|
|
| sjl002 wrote: | | Please help me. |
Post what your trying to do. Infinite health, some other code.
What are you trying to do?
Honestly you dont need to jump to new code for any basic code that has a VISIBLE value associated with it.
Want infinite health use the pointer scan.
So really whats your reasoning for needing to write in code.
Have you checked that your injection point is NOT a shared opcode.
Whats the opcode's before and after the one your jumping?
How did you find the opcode that your using for the jump?
Have you done breakpoint testing to see where your new code causes the crash?
Can you explain to all of us what your trying to accomplish?
Can provide what your new code will do in game?
Is it possible to get a screen shot and post it?
Is it possible to use copy and paste and show us the surrounding opcode's?
Can you make me a sandwich?
How are you injecting code. AOB scan can have hiccups and attach to the wrong code.
Have you done a jump without any new code added to see if crash still occurs.
MORE INFORMATION is needed. _________________
|
|
| Back to top |
|
 |
sjl002 Master Cheater
Reputation: 0
Joined: 31 Aug 2013 Posts: 305
|
Posted: Wed Dec 16, 2015 8:54 am Post subject: |
|
|
Do is the following script ,code cave?
| Code: |
[ENABLE]
aobscan(INJECT,unique AOB"xx xx xx xx xx xx xx") // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
x
x
x
x
x
jmp return
INJECT:
jmp code
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db xx xx xx xx xx
unregistersymbol(INJECT)
dealloc(newmem)
|
|
|
| Back to top |
|
 |
Studio80 Advanced Cheater
Reputation: 2
Joined: 12 Sep 2012 Posts: 83
|
Posted: Wed Dec 16, 2015 12:17 pm Post subject: |
|
|
You only need to do an AoB scan if the adress is DMA, which means the adres changes everytime when you restart the game.
Else just stick to a code injection (like how I explained it in my previous post).
Before you enable that code keep an eye on the adres trough memory view and see if it changes. If it does check if it injects the code properly. If you did do something wrong (like messed up with the bytes) you will see something strange.
Please post those instructions here it will be much easier for us to help you out, we need more information. |
|
| Back to top |
|
 |
akumakuja28 Master Cheater
Reputation: 16
Joined: 28 Jun 2015 Posts: 432
|
Posted: Wed Dec 16, 2015 1:40 pm Post subject: |
|
|
| Studio80 wrote: | You only need to do an AoB scan if the adress is DMA, which means the adres changes everytime when you restart the game.
. |
No, you just explained a pointer. AOB stands for array of bytes. Cheat engine scans the executable for a pre determined array of bytes and inject's code to that location. AOB scan is necessary when a game may receive updates or your working with more then one version of the exe file in question.
IF you want to just make what you call a "Code Cave" that multiple people have told you not to.
simply make a script write.
| Code: |
[enable]
alloc(new_memory_YDKH_2_Access,666)
[disable]
dealloc(new_memory_YDKH_2_Access)
|
_________________
|
|
| Back to top |
|
 |
Studio80 Advanced Cheater
Reputation: 2
Joined: 12 Sep 2012 Posts: 83
|
Posted: Wed Dec 16, 2015 1:53 pm Post subject: |
|
|
| I explained how code injections work. I wrote before I don't use those scripts this is how I used to do code injection for game trainers and some cracks. As he asked for it. |
|
| Back to top |
|
 |
akumakuja28 Master Cheater
Reputation: 16
Joined: 28 Jun 2015 Posts: 432
|
Posted: Wed Dec 16, 2015 2:03 pm Post subject: |
|
|
| Studio80 wrote: | | I explained how code injections work. I wrote before I don't use those scripts this is how I used to do code injection for game trainers and some cracks. As he asked for it. |
Ok. Well what happens when your game gets updated?
Look idk what this guy is trying to do. But you cant tell him things that are wrong.
Do you know what hes trying to do?  _________________
|
|
| Back to top |
|
 |
Studio80 Advanced Cheater
Reputation: 2
Joined: 12 Sep 2012 Posts: 83
|
Posted: Wed Dec 16, 2015 2:15 pm Post subject: |
|
|
LOL. I was responding to:
| sjl002 wrote: | | but what code cave work? |
I believe he wanted to know how a code injection works in a simple form. This works with static adresses and also with many programs some refer to it as inline patching.
If the game gets updated lets say the adress changes then it won't work then you need to do the AoB scan. But it does work with older games and applications. I have no idea on what hes trying to achieve.
And to be honest my English isn't the best either lol. |
|
| Back to top |
|
 |
akumakuja28 Master Cheater
Reputation: 16
Joined: 28 Jun 2015 Posts: 432
|
Posted: Wed Dec 16, 2015 2:24 pm Post subject: |
|
|
| Studio80 wrote: | LOL. I was responding to:
| sjl002 wrote: | | but what code cave work? |
I believe he wanted to know how a code injection works in a simple form. This works with static adresses and also with many programs some refer to it as inline patching.
If the game gets updated lets say the adress changes then it won't work then you need to do the AoB scan. But it does work with older games and applications. I have no idea on what hes trying to achieve.
And to be honest my English isn't the best either lol. |
Yeah it does my DMC table I didnt use AOB cause I knew no update was ever coming.
Why would he keep asking about code caves when like 4 people have told him thats not what it is. idk _________________
|
|
| Back to top |
|
 |
Studio80 Advanced Cheater
Reputation: 2
Joined: 12 Sep 2012 Posts: 83
|
Posted: Wed Dec 16, 2015 2:31 pm Post subject: |
|
|
Well thats the part I don't understand. In my opinion the question is pretty vague. He asked about code caves. Well shall we call it a quit? The subject is slowly changing here lol  |
|
| Back to top |
|
 |
akumakuja28 Master Cheater
Reputation: 16
Joined: 28 Jun 2015 Posts: 432
|
Posted: Wed Dec 16, 2015 2:43 pm Post subject: |
|
|
| Studio80 wrote: | Well thats the part I don't understand. In my opinion the question is pretty vague. He asked about code caves. Well shall we call it a quit? The subject is slowly changing here lol  |
Lol I am already into now. I need to know now to satisfy my OCD _________________
|
|
| Back to top |
|
 |
|