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-08-28 10:57:52

gaberilde
Member
Joined: 2015-03-01
Posts: 25

Can somebody tell me all the ee c# commands

Can somebody tell me all the everybodyedits commands for c#
examples of some i found out:

conn.Send("say", "message here");
conn.Disconnect();
others? like using keys or changing room names....

Offline

#2 2015-08-28 11:23:39

Jabatheblob1
Member
Joined: 2015-03-01
Posts: 856

Re: Can somebody tell me all the ee c# commands


If you would like me to make a bot for you, go here.

Offline

Wooted by:

#3 2015-08-28 11:27:17

skullz17
Member
Joined: 2015-02-15
Posts: 6,699

Re: Can somebody tell me all the ee c# commands

http://capasha.com/eeinformation.php

The ones under "Send" are the messages your bot can send to do stuff. You do conn.Send("string", other parameters here).

I probably got something wrong, but that's my understanding.


m3gPDRb.png

thx for sig bobithan

Offline

#4 2015-08-28 13:35:04, last edited by gaberilde (2015-08-28 13:35:16)

gaberilde
Member
Joined: 2015-03-01
Posts: 25

Re: Can somebody tell me all the ee c# commands

Jabatheblob1 wrote:


hi why dosent this code work


            if (m.Type == "liked")
            {
                conn.Send("say", "[GabrieloBot] player like");
            }

Offline

#5 2015-08-28 14:12:45

AlphaJon
Member
From: Who knows
Joined: 2015-07-21
Posts: 1,297

Re: Can somebody tell me all the ee c# commands

gaberilde wrote:
Jabatheblob1 wrote:


hi why dosent this code work


            if (m.Type == "liked")
            {
                conn.Send("say", "[GabrieloBot] player like");
            }

To receive this message to have to send the "like" message from the same connection (or at least from the same account used by the bot).
You can't know when someone else likes (to avoid "like to edit" worlds)

Offline

#6 2015-08-28 18:15:18

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

Re: Can somebody tell me all the ee c# commands

My site doesn't have all commands yet.

Offline

#7 2015-08-28 19:55:01

Vitalijus
Member
From: Lithuania
Joined: 2015-02-15
Posts: 1,384
Website

Re: Can somebody tell me all the ee c# commands


wn7I7Oa.png

Offline

#8 2015-08-28 20:16:10

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

Re: Can somebody tell me all the ee c# commands

Those should be added already. But there are commands in the game that I haven't added yet.

Offline

#9 2015-08-31 11:37:23

gaberilde
Member
Joined: 2015-03-01
Posts: 25

Re: Can somebody tell me all the ee c# commands

sorry for being a pain but how do you do player/admin/banlists

Offline

#10 2015-08-31 12:42:04

AlphaJon
Member
From: Who knows
Joined: 2015-07-21
Posts: 1,297

Re: Can somebody tell me all the ee c# commands

gaberilde wrote:

sorry for being a pain but how do you do player/admin/banlists

You have to code it yourself (or get an already made one).
You will need to store liste for admins/banned players, then read from the chat (for the !commands) and if sent by an admin, send a chat message with the real command, like "/giveedit nameofplayer", "/save" etc.

Offline

#11 2015-08-31 14:31:05

gaberilde
Member
Joined: 2015-03-01
Posts: 25

Re: Can somebody tell me all the ee c# commands

Jonathan1003 wrote:
gaberilde wrote:

sorry for being a pain but how do you do player/admin/banlists

You have to code it yourself (or get an already made one).
You will need to store liste for admins/banned players, then read from the chat (for the !commands) and if sent by an admin, send a chat message with the real command, like "/giveedit nameofplayer", "/save" etc.

can you give me the already coded one or tell me how to do it so when u write something like !test it says Hello (your username)

Offline

#12 2015-08-31 16:45:14

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

Re: Can somebody tell me all the ee c# commands

Why do you not learn C#? If you learn it you will know how to make banlist and adminlist.
Using a textdocument/MySQL/XML to store it on. And using a list to handle the bans/admins.

You should also look at these tutorials http://forums.everybodyedits.com/viewtopic.php?id=26763

Offline

Wooted by:

#13 2015-08-31 19:52:04, last edited by gaberilde (2015-08-31 19:52:26)

gaberilde
Member
Joined: 2015-03-01
Posts: 25

Re: Can somebody tell me all the ee c# commands

capasha wrote:

Why do you not learn C#? If you learn it you will know how to make banlist and adminlist.
Using a textdocument/MySQL/XML to store it on. And using a list to handle the bans/admins.

You should also look at these tutorials http://forums.everybodyedits.com/viewtopic.php?id=26763

I know how to do the list themselfs but dont know to detect who sent the command to check if there on the list?
PS:how to use facebook connect or is it no longer possible?

Offline

#14 2015-08-31 23:29:04, last edited by capasha (2015-08-31 23:29:50)

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

Re: Can somebody tell me all the ee c# commands

http://pastebin.com/vBCGhPwY look at this code how I coded it.
Edit: Feel free to use the account how much you want, it's just a test account anyway.

Offline

#15 2015-09-01 11:36:13, last edited by gaberilde (2015-09-01 11:53:13)

gaberilde
Member
Joined: 2015-03-01
Posts: 25

Re: Can somebody tell me all the ee c# commands

capasha wrote:

http://pastebin.com/vBCGhPwY look at this code how I coded it.
Edit: Feel free to use the account how much you want, it's just a test account anyway.

Im sorry. But i cannot understand your code way to compilcated so as your job you need to add some SIMPLE code (simplest you can find/know)
to work with my project/source as your code dosent match mine so it will not work. My sorce currently contains: ban list, admin list, abilty to add/remove, can connect/disconnect,  My source DOSENT contain (please add these in your simplest fourm and works with the current code.)  People banned on rejoin after adding to list, commands requiring admin access. You can download and fix my source here. ( http://jmp.sh/3jCV5Ea ) PLEASE Resend in source format thank you

Notice: i am still trying to figure out and implent your code in my source. By the time you see this i might have figured the command thing out. Or i might not have so still try it dosent matter if i figured it out.

Edit: Figured out ban on join but havent figured out admin only commands so just do that.

Offline

#16 2015-09-01 14:05:00, last edited by AlphaJon (2015-09-01 14:11:42)

AlphaJon
Member
From: Who knows
Joined: 2015-07-21
Posts: 1,297

Re: Can somebody tell me all the ee c# commands

gaberilde wrote:

-- snip --

Im sorry. But i cannot understand your code way to compilcated so as your job you need to add some SIMPLE code (simplest you can find/know)
to work with my project/source as your code dosent match mine so it will not work. My sorce currently contains: ban list, admin list, abilty to add/remove, can connect/disconnect

-- snip --

No offense, but you won't learn properly if you ask people around to make the code for you. You may in this case as well ask for finished bots (if you search the forums you will find people who make simple bot requets).

If it is too difficult fou you, try going with a simpler project (for example, coding a snakebot for EE is easy, you just have to read sent messages for blocks and replace green basic blocks with red, and red with empty/erasing the block). This will help you understand better the EE message structure, and you will be later able to code harder things.
By the way, for blocks, you have to put a 10ms delay after each block sent, for that you have System.Threading.Thread.Sleep(10);

Offline

Wooted by:

#17 2015-09-01 19:47:35

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

Re: Can somebody tell me all the ee c# commands

gaberilde wrote:
capasha wrote:

http://pastebin.com/vBCGhPwY look at this code how I coded it.
Edit: Feel free to use the account how much you want, it's just a test account anyway.

Im sorry. But i cannot understand your code way to compilcated so as your job you need to add some SIMPLE code (simplest you can find/know)
to work with my project/source as your code dosent match mine so it will not work. My sorce currently contains: ban list, admin list, abilty to add/remove, can connect/disconnect,  My source DOSENT contain (please add these in your simplest fourm and works with the current code.)  People banned on rejoin after adding to list, commands requiring admin access. You can download and fix my source here. ( http://jmp.sh/3jCV5Ea ) PLEASE Resend in source format thank you

Notice: i am still trying to figure out and implent your code in my source. By the time you see this i might have figured the command thing out. Or i might not have so still try it dosent matter if i figured it out.

Edit: Figured out ban on join but havent figured out admin only commands so just do that.

I'm not going to code it for you in your source. You need to learn it self.
And the code I did, was easy. If you don't understand it, then learn C# a little more.

Offline

Wooted by: (4)

#18 2015-09-02 13:59:28

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

Re: Can somebody tell me all the ee c# commands

gaberilde wrote:
capasha wrote:

http://pastebin.com/vBCGhPwY look at this code how I coded it.
Edit: Feel free to use the account how much you want, it's just a test account anyway.

Im sorry. But i cannot understand your code way to compilcated so as your job you need to add some SIMPLE code (simplest you can find/know)
to work with my project/source as your code dosent match mine so it will not work. My sorce currently contains: ban list, admin list, abilty to add/remove, can connect/disconnect,  My source DOSENT contain (please add these in your simplest fourm and works with the current code.)  People banned on rejoin after adding to list, commands requiring admin access. You can download and fix my source here. ( http://jmp.sh/3jCV5Ea ) PLEASE Resend in source format thank you

Notice: i am still trying to figure out and implent your code in my source. By the time you see this i might have figured the command thing out. Or i might not have so still try it dosent matter if i figured it out.

Edit: Figured out ban on join but havent figured out admin only commands so just do that.

This is the whole source I did. With bans and admins in a GUI. Look through the code, take piecies, learn you something or whatever.
http://www.mediafire.com/download/5fa53 … minBan.zip

Offline

capasha1441198768537773

Board footer

Powered by FluxBB

[ Started around 1732463123.1804 - Generated in 0.098 seconds, 13 queries executed - Memory usage: 1.73 MiB (Peak: 1.97 MiB) ]