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 2016-11-20 11:26:56

Anatoly
Guest

A lot of unknown errors

jT4ukSk.png

I have searched for the fixes, but didn't really understood how i should fix it.

#2 2016-11-20 14:09:50

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: A lot of unknown errors

I don't know which version of PlayerIO dll you are using.

But to login to facebook it should look like this:

client = PlayerIO.QuickConnect.FacebookOAuthConnect("everybody-edits-su9rn58o40itdbnw69plyw", "accesstoken", null, null);

Join or create the room:

con = client.Multiplayer.CreateJoinRoom("PW01", "Everybodyedits" + client.BigDB.Load("config", "config")["version"], false, null, null);

Offline

#3 2016-11-20 14:44:04

Anatoly
Guest

Re: A lot of unknown errors

I have still some errors. What shall i do with DeathMark.MainClass.client and DeathMark.MainClass.con

#4 2016-11-20 15:09:23

Srna
Member
Joined: 2015-02-26
Posts: 220

Re: A lot of unknown errors

You need this for dictionary:

using System.Collections.Generic;

Offline

#5 2016-11-20 15:51:00, last edited by capasha (2016-11-20 15:59:18)

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: A lot of unknown errors

Srna wrote:

You need this for dictionary:

using System.Collections.Generic;

Yes that too. But he doesn't need to use the dictionary's in the login and connect code.

AnatolyEE wrote:

I have still some errors. What shall i do with DeathMark.MainClass.client and DeathMark.MainClass.con

client is for joining a world, reading a database and some more things.
con is for reading and sending messages.

If you look at https://github.com/Tunous/EverybodyEditsProtocol you can do much more.

Anyway. Why have you added comments on region?
Kinda pointless to even have regions if you comment them.

Looks like you have problem with con and client too.
Try to set the variables to static.

Offline

#6 2016-11-20 18:55:49

Zumza
Member
From: root
Joined: 2015-02-17
Posts: 4,656

Re: A lot of unknown errors

What IDE is that?


Everybody edits, but some edit more than others

Offline

#7 2016-11-20 18:58:18, last edited by drunkbnu (2016-11-20 18:59:49)

drunkbnu
Formerly HG
Joined: 2017-08-16
Posts: 2,306

Re: A lot of unknown errors

You need to make static elements so you can use them on any void of the class. Try:

static Client cli;
static Connection con;

Offline

#8 2016-11-20 19:32:06

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: A lot of unknown errors

Zumza wrote:

What IDE is that?

Isn't it MonoDevelop?

Offline

Wooted by:

#9 2016-11-20 19:33:21, last edited by Gosha (2016-11-20 19:33:32)

Gosha
Member
From: Russia
Joined: 2015-03-15
Posts: 6,211

Re: A lot of unknown errors

HG here they are
OlKQ974.png

Offline

#10 2016-11-20 19:35:37

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: A lot of unknown errors

Gosha wrote:

You found them. You are good at finding things.

Offline

#11 2016-11-20 21:50:09

Myst
Guest

Re: A lot of unknown errors

can you add this too?
"con.Send("say", "/kick kittro36")

#12 2016-11-20 21:54:50

drunkbnu
Formerly HG
Joined: 2017-08-16
Posts: 2,306

Re: A lot of unknown errors

Gosha wrote:

He needs to make them static, not public.

Offline

#13 2016-11-21 18:19:59

Myst
Guest

Re: A lot of unknown errors

capasha wrote:

I don't know which version of PlayerIO dll you are using.

But to login to facebook it should look like this:

client = PlayerIO.QuickConnect.FacebookOAuthConnect("everybody-edits-su9rn58o40itdbnw69plyw", "accesstoken", null, null);

Join or create the room:

con = client.Multiplayer.CreateJoinRoom("PW01", "Everybodyedits" + client.BigDB.Load("config", "config")["version"], false, null, null);


EEAnatoly tryed me to post this. and he using this "accestoken", idk what this is...

EEAnatoly's problems

#14 2016-11-21 19:31:54

MartenM
Member
From: The Netherlands
Joined: 2016-03-31
Posts: 978
Website

Re: A lot of unknown errors

1. Decide to transfer your ee account from fb to EE.
2. pm staff
3. ???
4. Profit, you will have an easy login to your bot and you can use custom clients.


lm3hgg8.jpg

Ingame: marten22        My steam: MartenM

Offline

Wooted by: (2)

#15 2016-11-21 20:50:30

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: A lot of unknown errors

gp68 wrote:
capasha wrote:

I don't know which version of PlayerIO dll you are using.

But to login to facebook it should look like this:

client = PlayerIO.QuickConnect.FacebookOAuthConnect("everybody-edits-su9rn58o40itdbnw69plyw", "accesstoken", null, null);

Join or create the room:

con = client.Multiplayer.CreateJoinRoom("PW01", "Everybodyedits" + client.BigDB.Load("config", "config")["version"], false, null, null);


EEAnatoly tryed me to post this. and he using this "accestoken", idk what this is...

EEAnatoly's problems

Serious. "accestoken" is only an example. He need his own facebook accesstoken.
Or like martenm said, move from facebook to simple login.

Offline

Wooted by:

#16 2016-11-22 18:38:04

Anatoly
Guest

Re: A lot of unknown errors

KAkbbGJ.png

*I am using my EE.COM acount

#17 2016-11-22 19:04:24, last edited by capasha (2016-11-22 19:06:10)

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: A lot of unknown errors

AnatolyEE wrote:

http://i.imgur.com/KAkbbGJ.png

*I am using my EE.COM acount

Have you tried with public static Connection con;?

Also if you don't understand the orange text. Which even say what is wrong.
How are you going to succeed with programming?

Offline

#18 2016-11-22 19:22:44

Anatoly
Guest

Re: A lot of unknown errors

capasha wrote:
AnatolyEE wrote:

http://i.imgur.com/KAkbbGJ.png

*I am using my EE.COM acount

Have you tried with public static Connection con;?

Also if you don't understand the orange text. Which even say what is wrong.
How are you going to succeed with programming?

That's like previouslier. It has no errors but bot does not connect to game. He is just invisibl,e

#19 2016-11-22 19:25:45

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: A lot of unknown errors

AnatolyEE wrote:
capasha wrote:
AnatolyEE wrote:

http://i.imgur.com/KAkbbGJ.png

*I am using my EE.COM acount

Have you tried with public static Connection con;?

Also if you don't understand the orange text. Which even say what is wrong.
How are you going to succeed with programming?

That's like previouslier. It has no errors but bot does not connect to game. He is just invisibl,e

Are you using the same login information as your current account? If not, you would see the bot. But that will work when you send init to the server.

Offline

#20 2016-11-22 21:14:54, last edited by Vinyl Melody (2016-11-22 21:16:18)

Vinyl Melody
Formerly BananaMilkShake
Joined: 2016-06-19
Posts: 616

Re: A lot of unknown errors

That orange thingy is just a warning.
Idk, I think it's correct enough...

Edit: Check the Email, Pass and WorldID. Maybe even GameID
It happend to me also on some nub bots I'm making.

lmao im dumb //forums.everybodyedits.com/img/smilies/big_smile


cb0de83627.png
Thanks to: Ernesdo (Current Avatar), Zoey2070 (Signature)

Very inactive, maybe in the future, idk.

Offline

#21 2016-11-22 21:21:29

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

Re: A lot of unknown errors

Make sure you also add "con.Send("init");" and when you recieve "init" to send "init2"

Offline

Wooted by: (3)

#22 2016-11-24 16:13:47

Anatoly
Guest

Re: A lot of unknown errors

^ Not understanding, please show me an example (if i won't be banned by hummerz5 for not-understanding)

#23 2016-11-24 16:17:16

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: A lot of unknown errors

AnatolyEE wrote:

^ Not understanding, please show me an example (if i won't be banned by hummerz5 for not-understanding)

Oeewj3Z.png


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#24 2016-11-24 16:57:47

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: A lot of unknown errors

AnatolyEE wrote:
Koya wrote:
AnatolyEE wrote:

^ Not understanding, please show me an example (if i won't be banned by hummerz5 for not-understanding)

http://i.imgur.com/Oeewj3Z.png

No errors but he doesn't connect //forums.everybodyedits.com/img/smilies/sad

Then give us your code. Use pastebin.com. We can't help if you are only going to say "no errors".

Offline

#25 2016-11-24 17:01:26

Anatoly
Guest

Re: A lot of unknown errors

//as a happy reminder: Do not show password or email for anti-hacks

using System;
using PlayerIOClient;

namespace DeathMark
{
	class MainClass
	{
		public static Connection con;
		static Client client;

		static void Main (string[] args)
		{
			Console.ForegroundColor = ConsoleColor.Green;
			Console.WriteLine("Deathmark");
			client = PlayerIO.QuickConnect.SimpleConnect("everybody-edits-su9rn58o40itdbnw69plyw", "email", "password", null);
			con = client.Multiplayer.JoinRoom("PWoeeqnQSMb0I", null);

			con.OnMessage += OnMessage;
			con.Send("init");
		}

		private static void OnMessage(object sender, Message e)
		{
			switch(e.Type) {
			case "init":
				con.Send("init2");
				break;
			case "init2":
				Console.ForegroundColor = ConsoleColor.Cyan;
				Console.WriteLine("Connected!");
				break;
			}
		}
	}
}
Anatoly1480004975636347

Board footer

Powered by FluxBB

[ Started around 1732735328.4275 - Generated in 0.174 seconds, 12 queries executed - Memory usage: 1.78 MiB (Peak: 2.03 MiB) ]