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 


[C#]asm scripts in VC# ?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Wiw3K
Grandmaster Cheater
Reputation: 0

Joined: 09 Jul 2006
Posts: 762
Location: Poland.

PostPosted: Thu Dec 18, 2008 10:50 am    Post subject: Reply with quote

Zerith wrote:
You used FindWindow with both the Class and the Window ...Neutral,
use just the class.

Remember though, you need to nop ALL the bytes in that address.
And yes, it will work in case 0x000001337 exists.

if i want put here ex. Vac... its fck hard. Better i should learn Visual C++ and use __asm ?? Confused
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Thu Dec 18, 2008 10:55 am    Post subject: Reply with quote

You may find it easier to use the Process class, then take a look at the GetProcessesByName method to get your process handle.
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Thu Dec 18, 2008 11:19 am    Post subject: Reply with quote

nothing wrong with using findwindow with both class and window name.
Back to top
View user's profile Send private message
Wiw3K
Grandmaster Cheater
Reputation: 0

Joined: 09 Jul 2006
Posts: 762
Location: Poland.

PostPosted: Thu Dec 18, 2008 12:00 pm    Post subject: Reply with quote

Slugsnack wrote:
nothing wrong with using findwindow with both class and window name.

yea i dont know what slovach is talking about xd.

C# is good for making a trainers like Tick,Adress Change, Done...

i will use C++ instead C# because i need to put long asm script.
Back to top
View user's profile Send private message
Spawnfestis
GO Moderator
Reputation: 0

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Thu Dec 18, 2008 12:05 pm    Post subject: Reply with quote

Wiw3K wrote:
Slugsnack wrote:
nothing wrong with using findwindow with both class and window name.

yea i dont know what slovach is talking about xd.

C# is good for making a trainers like Tick,Adress Change, Done...

i will use C++ instead C# because i need to put long asm script.

As been recommended 2000 times without you even paying the least attention to anyone, they also said you can make the actual 'hack' in C++ and then call the function from your library to your C# project.

_________________

CLICK TO HAX MAPLESTORAY ^ !!!!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Stylo
Grandmaster Cheater Supreme
Reputation: 3

Joined: 16 May 2007
Posts: 1073
Location: Israel

PostPosted: Thu Dec 18, 2008 12:07 pm    Post subject: Reply with quote

what slovach explained to you was that instead using API's to get the process's Id, C# has already a Process class built inside the language
add Diagnostics system to your project and then you can get the process id
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Thu Dec 18, 2008 12:14 pm    Post subject: Reply with quote

my post was actually commenting on zerith's post. i was looking at the page though and went off to do something else and by the time i returned and posted a bunch of people had posted in the middle :p
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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