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

06/27/2011 03:55 BioHazarxPaul#31
lol, yah a zoom might not be a half bad idea but i didnt see any issues with it, again very nicely done..
06/27/2011 13:51 [GM]#32
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'
06/27/2011 17:56 pro4never#33
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.
06/27/2011 20:08 nTL3fTy#34
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)
{
}
06/27/2011 20:30 [GM]#35
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 :confused:

@up i know but i get another error if i change it
06/27/2011 21:03 pro4never#36
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 :confused:

@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.
06/27/2011 21:16 [GM]#37
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 ? :confused:
06/27/2011 22:19 jakos111#38
dude can u just make a vid it will be easier like that to show us!
06/27/2011 22:35 BioHazarxPaul#39
why wouldnt you just use one button? I don't really think there is a need for 2?
06/27/2011 23:58 HaunterPwnsGengar#40
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 :D scratch that. pro4never ftw
06/28/2011 01:16 pro4never#41
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
06/28/2011 04:55 HaunterPwnsGengar#42
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 :D MineBot and HuntingBot here we come! w00t
Keep up the good work!
06/28/2011 15:06 darkopp#43
Microsoft.Visual.Studio.2010.Professional is good to use ? or express
06/28/2011 17:04 OELABOELA#44
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

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

It's from microsoft, so NO need for a virusscan and such boys.
06/28/2011 20:43 denominator#45
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.