Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 01:59

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

Advertisement



[Teaching Units] ProxyParadise! A step by step proxy tutorial!

Discussion on [Teaching Units] ProxyParadise! A step by step proxy tutorial! within the CO2 Programming forum part of the Conquer Online 2 category.

Closed Thread
 
Old 06/27/2011, 03:55   #31
 
BioHazarxPaul's Avatar
 
elite*gold: 0
Join Date: Nov 2005
Posts: 548
Received Thanks: 93
lol, yah a zoom might not be a half bad idea but i didnt see any issues with it, again very nicely done..
BioHazarxPaul is offline  
Old 06/27/2011, 13:51   #32
 
elite*gold: 0
Join Date: Dec 2007
Posts: 1,326
Received Thanks: 539
iam having an annoying error with mining

PHP Code:
        private void button2_Click(object senderClient C)
        {
            
C.Mining true;

            
Console.WriteLine("Mining is" C.Mining);
        }
        private 
void button3_Click(object senderClient C)
        {
            
C.Mining false;

            
Console.WriteLine("Mining is" C.Mining);
        } 
PHP Code:
            // 
            // button3
            // 
            
this.button3.Location = new System.Drawing.Point(21945);
            
this.button3.Name "button3";
            
this.button3.Size = new System.Drawing.Size(9123);
            
this.button3.TabIndex 1;
            
this.button3.Text "Stop Mining";
            
this.button3.UseVisualStyleBackColor true;
            
this.button3.Click += new System.EventHandler(this.button2_Click);
            
// 
            // button2
            // 
            
this.button2.Location = new System.Drawing.Point(4845);
            
this.button2.Name "button2";
            
this.button2.Size = new System.Drawing.Size(9423);
            
this.button2.TabIndex 0;
            
this.button2.Text "Start Mining";
            
this.button2.UseVisualStyleBackColor true;
            
this.button2.Click += new System.EventHandler(this.button2_Click); 
it says that there is no overload for 'button2_Click' 'button3_Click' and matches delegate 'System.EventHandler'
[GM] is offline  
Old 06/27/2011, 17:56   #33
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
this.button3.Click += new System.EventHandler(this.button2_Click);

Should be button3_Click lol.


There's no reason to have two buttons though... Just do C.Mining = !C.Mining and change the button text based on what it is.
pro4never is offline  
Old 06/27/2011, 20:08   #34
 
nTL3fTy's Avatar
 
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
Quote:
Originally Posted by [GM] View Post
it says that there is no overload for 'button2_Click' 'button3_Click' and matches delegate 'System.EventHandler'
You get that error because your handler method doesn't match the signature of the System.EventHandler delegate, which is:
Code:
public delegate void EventHandler(object sender, EventArgs e);
You need to change your handler method's signature to match that, ex:
Code:
private void button2_Click(object sender, EventArgs e)
{
}
nTL3fTy is offline  
Thanks
1 User
Old 06/27/2011, 20:30   #35
 
elite*gold: 0
Join Date: Dec 2007
Posts: 1,326
Received Thanks: 539
Quote:
Originally Posted by pro4never View Post
this.button3.Click += new System.EventHandler(this.button2_Click);

Should be button3_Click lol.


There's no reason to have two buttons though... Just do C.Mining = !C.Mining and change the button text based on what it is.
still not working, the problem is i have to change this

Code:
 private void button3_Click(object sender, Client C)
to this:

Code:
 private void button3_Click(object sender, EventArgs C)
but this way it will say that 'System.EventArgs' does not contain a definition for 'Mining' and no extension method 'Mining' accepting a first argument of type 'System.EventArgs' could be found, and i don't know how to make a button text based on what it is

@up i know but i get another error if i change it
[GM] is offline  
Old 06/27/2011, 21:03   #36
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by [GM] View Post
still not working, the problem is i have to change this

Code:
 private void button3_Click(object sender, Client C)
to this:

Code:
 private void button3_Click(object sender, EventArgs C)
but this way it will say that 'System.EventArgs' does not contain a definition for 'Mining' and no extension method 'Mining' accepting a first argument of type 'System.EventArgs' could be found, and i don't know how to make a button text based on what it is

@up i know but i get another error if i change it
No offense but duhhh.

You can't pass a Client object into it, it doesn't work like that.

Example would be setting a Client as active (selectable via say... a dropdown menu or w/e) and use THAT for the actual settings controlled from the buttons.
pro4never is offline  
Old 06/27/2011, 21:16   #37
 
elite*gold: 0
Join Date: Dec 2007
Posts: 1,326
Received Thanks: 539
Quote:
Originally Posted by pro4never View Post
No offense but duhhh.

You can't pass a Client object into it, it doesn't work like that.

Example would be setting a Client as active (selectable via say... a dropdown menu or w/e) and use THAT for the actual settings controlled from the buttons.
lol excuse my ignorance, iam trying to actually make something

would u explain more how can i set a Client as active via an example, please ?
[GM] is offline  
Old 06/27/2011, 22:19   #38
 
elite*gold: 0
Join Date: Aug 2010
Posts: 52
Received Thanks: 2
dude can u just make a vid it will be easier like that to show us!
jakos111 is offline  
Old 06/27/2011, 22:35   #39
 
BioHazarxPaul's Avatar
 
elite*gold: 0
Join Date: Nov 2005
Posts: 548
Received Thanks: 93
why wouldnt you just use one button? I don't really think there is a need for 2?
BioHazarxPaul is offline  
Thanks
1 User
Old 06/27/2011, 23:58   #40
 
HaunterPwnsGengar's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 21
Received Thanks: 0
pro4never i love you. just thought id tell you that. also awesome guide. gunna try and making a hunting bot with the help of your current and hopefully future guides. id make a mining but i hate mining bots :/ hunting ftw scratch that. pro4never ftw
HaunterPwnsGengar is offline  
Old 06/28/2011, 01:16   #41
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by jakos111 View Post
dude can u just make a vid it will be easier like that to show us!
What he's doing is like a full unit into the future.... so yahhh
pro4never is offline  
Old 06/28/2011, 04:55   #42
 
HaunterPwnsGengar's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 21
Received Thanks: 0
0 errors ;D Followed guide and worked perfect. Obviously. But maaaaan that stuff is confusing xD So Ill have to watch the video a few times in order for my brain to obsorb what I just watched. Cant wait for the next guides to come out MineBot and HuntingBot here we come! w00t
Keep up the good work!
HaunterPwnsGengar is offline  
Old 06/28/2011, 15:06   #43
 
darkopp's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 127
Received Thanks: 10
Microsoft.Visual.Studio.2010.Professional is good to use ? or express
darkopp is offline  
Old 06/28/2011, 17:04   #44
 
OELABOELA's Avatar
 
elite*gold: 223
Join Date: Dec 2007
Posts: 1,076
Received Thanks: 257
Quote:
Originally Posted by darkopp View Post
Microsoft.Visual.Studio.2010.Professional is good to use ? or express
You can download it free from the interwebs



It's from microsoft, so NO need for a virusscan and such boys.
OELABOELA is offline  
Old 06/28/2011, 20:43   #45
 
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
Code:
[Loader]
IPAddress=192.168.0.192
LoginPort=9959
GamePort=5816
Website=http://www.whocares.com
Code:
public partial class GUI : Form
    {
       public static Dictionary<string, GameUser> Clients = new Dictionary<string, GameUser>();
        //So, we now have our LISTENERS. We need to know what happens when something connects though!
        public static string GameIP = "";//we're actually going to be reading this from the auth response packet so leave it blank for now.
        public static ushort GamePort = 5816;
        public static string AuthIP = "208.96.34.46";
        public static string ProxyIP = "192.168.0.192";
        public static string EncryptionKey = "DR654dt34trg4UI6";
        public GameUser selectedChar = null;
        public GUI()
        {
This is how I used it for alchemy, and I can get a login success BUT I also get an error when it tries to login to the game server with a 10 error? I tried using my external IP also and yes ports are open lol.
denominator is offline  
Closed Thread


Similar Threads Similar Threads
[Request]Step By Step Tutorial To Setup DB Bot On ZSZC
06/03/2010 - SRO Private Server - 1 Replies
Exactly What Title Say's :) Right i got it working but now when i login the sro client jsut closes



All times are GMT +1. The time now is 02:00.


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.