View previous topic :: View next topic |
Author |
Message |
acgofficial Cheater Reputation: 0
Joined: 14 Aug 2018 Posts: 36
|
Posted: Mon Aug 20, 2018 4:02 am Post subject: [CALL]I urgent need ask for help |
|
|
I have to call instructions thoroughly disappointed.
I don't know how to write code into the "CALL"
I use the debug. Exe software to test whether the CALL instruction code is correct.
In the CALL CALL label instructions, before that I use PUSH instruction incoming parameters.
CALL it a RET instruction, POP instructions executed outside, after the end of the process execution code, found no problem.
Then I changed another way of thinking, will PUSH and POP instructions are commented out, CALL CALL label instructions, found no problem.
I completely don't understand why use CheatEngine CALL CALL label instructions will the game crash.
File.asm<My code is like this:
//1
Main:
mov dx,9
mov bx,4
push dx
push bx
call CallCode
mov cx,ax
;pop dxss
;pop bx
mov ax,4c00h
int 21h
CallCode:
mov ax,dx
sub ax,bx
ret
//2
Main:
mov dx,9
mov bx,4
push dx
push bx
call CallCode
mov cx,ax
pop dx
pop bx
mov ax,4c00h
int 21h
CallCode:
mov ax,dx
sub ax,bx
ret
They are the result of the values are the same, but will not collapse, I CALL instructions more and more difficult to understand its meaning.
help me..
CE the CEAA Script,I Post Png..Look...
Description: |
|
Filesize: |
85.53 KB |
Viewed: |
1653 Time(s) |
|
|
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Mon Aug 20, 2018 10:23 am Post subject: |
|
|
you cant use interrupts while in usermode.
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote: | i am a sweetheart. |
|
|
Back to top |
|
|
acgofficial Cheater Reputation: 0
Joined: 14 Aug 2018 Posts: 36
|
Posted: Mon Aug 20, 2018 6:27 pm Post subject: |
|
|
OldCheatEngineUser wrote: | you cant use interrupts while in usermode. |
Could you please write an essay about the "CALL" code.
I want to see.
|
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Mon Aug 20, 2018 11:17 pm Post subject: |
|
|
nothing special, call label .. do stuff and ret.
Code: | main:
; ...
call somelabel
; ...
somelabel:
; ...
; do stuff
; ...
ret |
note: ensure every PUSHed value is POPed before the RET, otherwise expect a crash.
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote: | i am a sweetheart. |
|
|
Back to top |
|
|
acgofficial Cheater Reputation: 0
Joined: 14 Aug 2018 Posts: 36
|
Posted: Thu Aug 23, 2018 11:35 pm Post subject: |
|
|
OldCheatEngineUser wrote: | nothing special, call label .. do stuff and ret.
Code: | main:
; ...
call somelabel
; ...
somelabel:
; ...
; do stuff
; ...
ret |
note: ensure every PUSHed value is POPed before the RET, otherwise expect a crash. |
Help me.
I don't know how to use the CALL.
Picture is my own understanding.
A total of five parameters.
When I perform collapses,CEAA Script is:
alloc(newmen,256)
CreateThread(newmen)
newmen:
mov edi,0
mov edx,1
push 00
mov eax,0
push eax
mov ecx,2B68235C
call Terraria.ItemText::NewText
Description: |
|
Filesize: |
16.24 KB |
Viewed: |
1562 Time(s) |
|
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Thu Aug 23, 2018 11:56 pm Post subject: |
|
|
Before you can call .net code you first need to attach the thread to the .net runtime so it's thread local storage (TLS) gets initialized properly.
I currently am not sure how to do that in .net (though there are some exports that can help I bet)
What you can do is do some code injection in a spot you know is executed often and call your code there
_________________
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 |
|
|
acgofficial Cheater Reputation: 0
Joined: 14 Aug 2018 Posts: 36
|
Posted: Fri Aug 24, 2018 4:34 am Post subject: |
|
|
Dark Byte wrote: | Before you can call .net code you first need to attach the thread to the .net runtime so it's thread local storage (TLS) gets initialized properly.
I currently am not sure how to do that in .net (though there are some exports that can help I bet)
What you can do is do some code injection in a spot you know is executed often and call your code there |
But,I can't understand the Call still, I have practiced many times over.As long as once the injected code, will immediately game crash.
Don't know if you can send me write about CEAA CALL code and clear code comments.
I've been stuck in this level 1 year, still can't use the CALL.
I am very stupid, I need some help to Others improve the progress of the progress.
Can you send me some code and clear code comments?
I would be very grateful to you, the great program online.
|
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Fri Aug 24, 2018 1:50 pm Post subject: |
|
|
it seems you dont understand assembly in general, try to find a good learning source.
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote: | i am a sweetheart. |
|
|
Back to top |
|
|
|