Register for your free account! | Forgot your password?

You last visited: Today at 17:47

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



C# Help

Discussion on C# Help within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2009
Posts: 11
Received Thanks: 0
C# Help

I'm currently learning C# and would like to know what is needed to make background clicks on CO, like what namespaces and functions. I was also wondering if anyone could give me the source for a C# memory based bot(even if its old and doesn't work anymore) so I could take a look at it and see how it works. Any help will be appreciated =)
supered is offline  
Old 04/30/2010, 19:29   #2
 
elite*gold: 0
Join Date: Apr 2006
Posts: 35
Received Thanks: 9
Quote:
Originally Posted by supered View Post
I'm currently learning C# and would like to know what is needed to make background clicks on CO, like what namespaces and functions. I was also wondering if anyone could give me the source for a C# memory based bot(even if its old and doesn't work anymore) so I could take a look at it and see how it works. Any help will be appreciated =)
To make background clicks in CO, learn to use packets. Then you can send packets to the client telling it whatever you want done.

I am assuming, from your post, that you have experience using macro programs in Conquer.

Just remember:

A macro is a program, not the actual language that wrote the program. C# is the language you will be using to write the features of the bot or macro. There is no simple command that you type into it like... LeftClick (365,487). The macro was programmed to send a packet with that information for you. In C#, you will have to send the packet yourself.

For a good start, go look at the code in SirHooks V.01



It is outdated, but will give you a decent guide to go by.
MasterFletch is offline  
Thanks
1 User
Old 04/30/2010, 22:51   #3
 
elite*gold: 0
Join Date: Apr 2009
Posts: 11
Received Thanks: 0
Thanks a lot for your help, that's exactly what I wanted to know. As for the SirHooks source, I know they released it on that thread but the link is dead =(
supered is offline  
Old 05/01/2010, 02:37   #4
 
elite*gold: 0
Join Date: Apr 2006
Posts: 35
Received Thanks: 9
Quote:
Originally Posted by supered View Post
Thanks a lot for your help, that's exactly what I wanted to know. As for the SirHooks source, I know they released it on that thread but the link is dead =(
Ah, that's too bad.

I think they started encrypting around version .8.

See, if you can get anything before then. If you can, you might still get a peek at some stuff you are interested in.
MasterFletch is offline  
Old 05/02/2010, 06:46   #5
 
gabrola's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 1,039
Received Thanks: 1,335
Quote:
Originally Posted by MasterFletch View Post
To make background clicks in CO, learn to use packets. Then you can send packets to the client telling it whatever you want done.

I am assuming, from your post, that you have experience using macro programs in Conquer.

Just remember:

A macro is a program, not the actual language that wrote the program. C# is the language you will be using to write the features of the bot or macro. There is no simple command that you type into it like... LeftClick (365,487). The macro was programmed to send a packet with that information for you. In C#, you will have to send the packet yourself.

For a good start, go look at the code in SirHooks V.01



It is outdated, but will give you a decent guide to go by.
Packets have nothing to do with background clicks, for background clicks you'll need to use the SendMessage native function with WM_MOUSEDOWN and WM_MOUSEUP parameters.
gabrola is offline  
Thanks
1 User
Old 05/03/2010, 02:33   #6
 
elite*gold: 0
Join Date: Apr 2009
Posts: 11
Received Thanks: 0
Quote:
Originally Posted by gabrola View Post
Packets have nothing to do with background clicks, for background clicks you'll need to use the SendMessage native function with WM_MOUSEDOWN and WM_MOUSEUP parameters.
Yea that makes more sense lol I did a quick search about it and found some info on it, thanks a lot! It doesn't look so hard so I might be able to make a simple skill leveler soon =D
supered is offline  
Reply




All times are GMT +1. The time now is 17:48.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.