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 


about C# Script

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

Joined: 17 Jun 2006
Posts: 225
Location: CheatEngine Forum

PostPosted: Fri Mar 07, 2008 10:47 am    Post subject: about C# Script Reply with quote

Isit possible to make a cheat table out of it?
Back to top
View user's profile Send private message
Overload
Master Cheater
Reputation: 0

Joined: 08 Feb 2008
Posts: 293

PostPosted: Fri Mar 07, 2008 10:56 am    Post subject: Reply with quote

no.

CheatTables are made in Assembly. I am not even sure if C# can read/write process memory. I think it can, but it gets very complicated. And even if you were to write a script, CE would need to be modified to read C# scripts instead of Assembly.

_________________
Blog

Quote:
Rhys says:
you can be my maid
Rhys says:
ill buy you a french maid outfit
Tyler says:
Sounds good
Rhys says:
ill hold you to that
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 472

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

PostPosted: Fri Mar 07, 2008 11:25 am    Post subject: Reply with quote

It's c++ script, not c#

anyhow, it is possible:
Code:

injectdll(undercdll.dll)

alloc(myCscript, 4096)
loadbinary(myCscript,filenameofscript)

alloc(mycave,4096)

mycave:
push myCscript
call underc_executescript



Or instead of loadbinary another way to put in a c-script would be:
myCscript:
db 'line1;',13,10
db 'line2;',13,10

But that's probably too annoying to write

_________________
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
kaysakado
How do I cheat?
Reputation: 0

Joined: 02 Mar 2008
Posts: 5

PostPosted: Fri Mar 07, 2008 7:34 pm    Post subject: Reply with quote

If you were to do that technique, where would you place the script file? In CE's folder, or in the game's folder?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 472

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

PostPosted: Fri Mar 07, 2008 7:48 pm    Post subject: Reply with quote

The current working dir.
(I know it's a bit obscure and I should have added an extra check for the main ce folder)

anyhow, if the table is in the main ce folder, and you only open that ct, it'll get the script from the main ce folder
If the script is in a subfoder and you open it with open, the script will have to be in that folder as well

And exact file paths should work as well,. (but then it'll be a less portable)

_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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