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 


[CALL]I urgent need ask for help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
acgofficial
Cheater
Reputation: 0

Joined: 14 Aug 2018
Posts: 36

PostPosted: Mon Aug 20, 2018 4:02 am    Post subject: [CALL]I urgent need ask for help Reply with quote

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



Sad 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..

Sad CE the CEAA Script,I Post Png..Look...



@FG%(VM99O~)YU5B_8SGPDO.jpg
 Description:
 Filesize:  85.53 KB
 Viewed:  1653 Time(s)

@FG%(VM99O~)YU5B_8SGPDO.jpg


Back to top
View user's profile Send private message Send e-mail
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Mon Aug 20, 2018 10:23 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
acgofficial
Cheater
Reputation: 0

Joined: 14 Aug 2018
Posts: 36

PostPosted: Mon Aug 20, 2018 6:27 pm    Post subject: Reply with quote

OldCheatEngineUser wrote:
you cant use interrupts while in usermode.


Could you please write an essay about the "CALL" code.
Surprised I want to see.
Back to top
View user's profile Send private message Send e-mail
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Mon Aug 20, 2018 11:17 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
acgofficial
Cheater
Reputation: 0

Joined: 14 Aug 2018
Posts: 36

PostPosted: Thu Aug 23, 2018 11:35 pm    Post subject: Reply with quote

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



1.png
 Description:
 Filesize:  16.24 KB
 Viewed:  1562 Time(s)

1.png


Back to top
View user's profile Send private message Send e-mail
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25288
Location: The netherlands

PostPosted: Thu Aug 23, 2018 11:56 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
acgofficial
Cheater
Reputation: 0

Joined: 14 Aug 2018
Posts: 36

PostPosted: Fri Aug 24, 2018 4:34 am    Post subject: Reply with quote

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.


Sad 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?
Wink I would be very grateful to you, the great program online.
Back to top
View user's profile Send private message Send e-mail
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Fri Aug 24, 2018 1:50 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
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