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.
Pages: 1
Hi !
*I'm from Poland so sorry for my English !*
This is my problem :
TY for help !
Offline
If you read the error given to you, you can see that you use wrong/insufficient parameters.
You can see what parameters are possible by clicking in front of the '(' from SimpleConnect.
In this case that won't get you much further and I'll just give you the answer:
Add a parameter with 'null'.
There are also a couple suggestions I can give you regarding to how to post coding problems, but I'll do that once I'm on my laptop.
Offline
The 4th parameter by the method has to be satisfied (or seduced, more mature) by null.
shh i have returned
Offline
client = PlayerIO.QuickConnect.SimpleConnect("everybody-edits-su9rn58o40itdbnw69plyw", email_TextBox.Text, password_TextBox.Text, null);
Offline
thanks all !
Now i have next problem... :/
When my bot connected to my map he should say "Connected", but display this error :
Odwołanie do obiektu nie zostało ustawione na wystąpienie obiektu. -> Object reference not set to an instance of an object.
Offline
Offline
Can you more specifically write where i must this write ?!
I have similar in button :
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, null);
con = client.Multiplayer.CreateJoinRoom(worldId_TextBox.Text, "public", true, new Dictionary<string, string>(), new Dictionary<string, string>());
con.Send("init");
con.OnMessage += new MessageReceivedEventHandler(handlemsg);
isConnected = true;
connect_Button.Text = "Disconnect";
}
catch (PlayerIOError oops)
{
MessageBox.Show(Convert.ToString(oops), "PlayerIO Error!", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
catch (Exception oops2)
{
MessageBox.Show(Convert.ToString(oops2), "Error!", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
else
{
isConnected = false;
say("Goodbye");
con.Disconnect();
connect_Button.Text = "Connect";
}
}
Offline
Offline
You need to change public to Everybodyedits.
Example code, coded as a console: http://pastebin.com/hWZXBSfX
Offline
I change "public" to "Everybodyedits191" and that WORK !
THANKS ALL FOR HELP !!
Offline
I change "public" to "Everybodyedits191" and that WORK !
I don't recommend that you change it to Everybodyedits191, as it will break once EE updates. Change it to "Everybodyedits" + client.BigDB.LoadAsync("config", "config")["version"]
Offline
LoadAsync?
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
Xrecion wrote:I change "public" to "Everybodyedits191" and that WORK !
I don't recommend that you change it to Everybodyedits191, as it will break once EE updates. Change it to "Everybodyedits" + client.BigDB.LoadAsync("config", "config")["version"]
LoadAsync?
^
I usually use Load. what's the difference between the two?
Unless LoadAsync doesn't exist.
Offline
it doesnt exist(i think, im still using version 2.2.0 ), loadasync reminds me of loading SQL tables with php
if you can read this....good for you
Offline
Lol, LoadAsnyc is what you get when you use BotBits
Use Load*
I have never thought of programming for reputation and honor. What I have in my heart must come out. That is the reason why I code.
Offline
Pages: 1
[ Started around 1732483991.4205 - Generated in 0.100 seconds, 12 queries executed - Memory usage: 1.68 MiB (Peak: 1.9 MiB) ]