Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2015-07-18 02:47:17

Gooberg
Member
From: Andromeda Galaxy
Joined: 2015-02-26
Posts: 81

GooBot connection error

Hello! I am Gooberg123 in-game and I am creating a rather complicated bot that will make life easier for me.

I am having trouble with the connection though //forums.everybodyedits.com/img/smilies/mad

Here's my code:

private void Connect_button_Click(object sender, EventArgs e)
        {
            CheckForIllegalCrossThreadCalls = false;
            if (!isConnected)
            {
                try
                {
                    client = PlayerIO.QuickConnect.SimpleConnect("everybody-edits-su9rn58o40itdbnw69plyw", Email_textBox.Text, Password_textBox.Text);
                    con = client.Multiplayer.CreateJoinRoom(WorldID_textBox.Text, "public", true, new Dictionary<string, string>(), new Dictionary<string, string>());
                    con.Send("init");
                    con.Send("init2");
                    con.OnMessage += new MessageReceivedEventHandler(handlemsg);
                    isConnected = true;
                    Connect_button.Text = "Disconnect";

Here is my error:

No overload for method "SimpleConnect" takes 3 arguments

Please get back soon

And thanks (I bet it's something really easy and/or dumb


Owner of GooCrew
GooCrew Worlds:
GooCrew Art World

Offline

#2 2015-07-18 03:26:05, last edited by Xfrogman43 (2015-07-18 03:27:04)

Xfrogman43
Member
From: need to find a new home
Joined: 2015-02-15
Posts: 4,174

Re: GooBot connection error

client = PlayerIO.QuickConnect.SimpleConnect("everybody-edits-su9rn58o40itdbnw69plyw", Email_textBox.Text, Password_textBox.Text , null);
You need

, null

at the end.


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#3 2015-07-18 03:54:26

Gooberg
Member
From: Andromeda Galaxy
Joined: 2015-02-26
Posts: 81

Re: GooBot connection error

Thanks so much for the help and the quick reply.


Owner of GooCrew
GooCrew Worlds:
GooCrew Art World

Offline

#4 2015-07-18 04:29:21

ParadoxInTheVoid
Member
From: ̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺̺
Joined: 2015-02-18
Posts: 341

Re: GooBot connection error

Also, don't  put con.Send("init2"); after con.Send("init"); Do:

if (m.Type == "init") {
con.Send("init2");
}

signature.png

Offline

eeisold1437193346522483

Board footer

Powered by FluxBB

[ Started around 1715778551.5 - Generated in 0.030 seconds, 10 queries executed - Memory usage: 1.44 MiB (Peak: 1.55 MiB) ]