C# Help

04/29/2010 23:55 supered#1
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 =)
04/30/2010 19:29 MasterFletch#2
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

[Only registered and activated users can see links. Click Here To Register...]

It is outdated, but will give you a decent guide to go by.
04/30/2010 22:51 supered#3
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 =(
05/01/2010 02:37 MasterFletch#4
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.
05/02/2010 06:46 gabrola#5
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

[Only registered and activated users can see links. Click Here To Register...]

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.
05/03/2010 02:33 supered#6
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!:handsdown: It doesn't look so hard so I might be able to make a simple skill leveler soon =D