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-03 21:47:59, last edited by capasha (2015-08-11 20:57:06)

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

[Release] Simple bot. Someone that want it?

So I coded this bot to AMDs. Because he "really needs it". Which ends in doesn't want it.

Login Methods:

EverybodyEdits
Kongregate
Facebook
ArmorGAmes.


Other things.

Banlist with reason (MySQL)
Adminlist (MySQL)
WinList (MySQL)
Adds a sign there it says how many time YOU have won. When you touch it at a certain position.
Players win when they touch the crown. A new round will start after that.


Commands
!newround -  Starts a new round.
!exit -  Makes the bot quit.
!name <title> -  Changes the room-title to title.
!admin <nick> -  Adds nick to the adminlist.
!kick <nick> [reason] -  Kicks nick from the room.
!ban <nick> [reason] -  Bans nick from the room.
!edit <nick> -  Gives nick edit rights.
!redit <nick> -  Removes edit rights from nick.
!score [nick] - Shows the score for nick, or you.
!cmds  - Shows the commands.

Before downloading and run the bot, like you think its just connect and have fun. Which it's not.
You need to get a MySQL database before you do anything else. Go to http://capasha.com/capasha/mysqlhowto/
And start follow the tutorial. You need to add Admins and Winners too.

Added the download for the bot here: http://www.mediafire.com/download/vmnf2 … nubbot.zip (Don't forget to use MySQL database with ban, admins and winners)
Added the sourcecode for download here: http://www.mediafire.com/download/vsdem … source.zip


#### MySQL ####

Table: Bans
Column: Name - (CHAR)
Column1: Reason - (CHAR)

Table: Admins
Column: Name - (CHAR)

Table: Winners
Column: Name - (CHAR)
Column1: Wins - (INT)


Ok. So i did a tutorial how to use MySQL and how to use it in C#.

How to setup MySQL Database for free: http://capasha.com/capasha/mysqlhowto/
How to read, update, delete the MySQL data: http://pastebin.com/KVbtzYfS



If anyone want it. Just write it in the thread. I will give out the sourcecode too.

Edit: Big thanks to EEJesse for the support on MySQL and wins saving/loading.

Offline

#2 2015-08-04 00:04:39, last edited by Hexagon (2015-08-04 00:11:14)

Hexagon
Member
Joined: 2015-04-22
Posts: 1,213

Re: [Release] Simple bot. Someone that want it?

I'd like to have this bot. I'm interested in how the MySQL bits work, because I don't have a server installed at the moment.

Offline

#3 2015-08-04 02:18:32

Kirby
Member
Joined: 2015-04-04
Posts: 4,307

Re: [Release] Simple bot. Someone that want it?

Wow I made a world that needs this exact bot. May I have a copy?

Offline

#4 2015-08-04 02:28:25

SmittyW
Member
Joined: 2015-03-13
Posts: 2,085

Re: [Release] Simple bot. Someone that want it?

Sure, I'm interested. Are you going to edit it in the main post?

Offline

#5 2015-08-04 02:32:47

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

Re: [Release] Simple bot. Someone that want it?

Sure why not


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#6 2015-08-04 03:31:23

Anch
Member
Joined: 2015-02-16
Posts: 5,447

Re: [Release] Simple bot. Someone that want it?

I made the same bot for AMDS and he didn't use it.
//forums.everybodyedits.com/img/smilies/sad

Offline

#7 2015-08-04 03:58:13

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

Re: [Release] Simple bot. Someone that want it?

just host the link for downloading (source code included) ^-^

Offline

#8 2015-08-04 04:45:42

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

Re: [Release] Simple bot. Someone that want it?

anch159 wrote:

I made the same bot for AMDS and he didn't use it.
//forums.everybodyedits.com/img/smilies/sad

That's why I stopped making bots for people... that and I'm lazy.


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#9 2015-08-04 05:29:39

rold1212
Member
Joined: 2015-06-01
Posts: 76

Re: [Release] Simple bot. Someone that want it?

same thing here, I'm definitely interested on how MySQL works with C#..


image4.png?uid=2141348&m=3
Yep, I am nub \(*w*\)

Offline

#10 2015-08-04 21:14:27

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

Re: [Release] Simple bot. Someone that want it?

Ok. So i did a tutorial how to use MySQL and how to use it in C#.
The bot with source is coming tomorrow.

How to setup MySQL Database for free: http://capasha.com/capasha/mysqlhowto/
How to read, update, delete the MySQL data: http://pastebin.com/KVbtzYfS

Offline

Wooted by:

#11 2015-08-04 21:23:40

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

Re: [Release] Simple bot. Someone that want it?

anch159 wrote:

I made the same bot for AMDS and he didn't use it.
//forums.everybodyedits.com/img/smilies/sad

Yeah. I don't really have mood to make anything to him anymore.

Offline

#12 2015-08-05 16:05:56

SmittyW
Member
Joined: 2015-03-13
Posts: 2,085

Re: [Release] Simple bot. Someone that want it?

capasha wrote:

Ok. So i did a tutorial how to use MySQL and how to use it in C#.
The bot with source is coming tomorrow.

How to setup MySQL Database for free: http://capasha.com/capasha/mysqlhowto/
How to read, update, delete the MySQL data: http://pastebin.com/KVbtzYfS

Thank you so much. This tutorial is great! //forums.everybodyedits.com/img/smilies/big_smile
also give my thanks to jesse.

Offline

#13 2015-08-05 18:01:21

mrjawapa
Corn Man 🌽
From: Ohio, USA
Joined: 2015-02-15
Posts: 5,840
Website

Re: [Release] Simple bot. Someone that want it?

I'll take it, if you don't mind.


Discord: jawp#5123

Offline

#14 2015-08-05 18:06:27, last edited by ParadoxInTheVoid (2015-08-05 18:06:58)

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

Re: [Release] Simple bot. Someone that want it?

It'd be cool to take a look at the MySQL, I could learn something from that.
EDIT: I also would like the bot.


signature.png

Offline

#15 2015-08-07 22:27:39, last edited by capasha (2015-08-07 22:28:08)

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

Re: [Release] Simple bot. Someone that want it?

Added the bot to the first post.

Offline

#16 2015-08-07 23:02:30

Hexagon
Member
Joined: 2015-04-22
Posts: 1,213

Re: [Release] Simple bot. Someone that want it?

Using new MySqlConnection() and close() is hard on the ol' server for every request, but that works though.

Offline

#17 2015-08-12 23:45:49

Cyral
Member
From: United States
Joined: 2015-02-15
Posts: 2,269

Re: [Release] Simple bot. Someone that want it?

If you don't need an external DB, you can also download something like XAMPP which will provide phpMyAdmin and a MySQL server. One of the neat things about databases in C# is since all the vendor specific classes extend from DbConnection, DbCommand, etc, you can write methods which can use any DB provider depending on the connection string. (Which means you can embed SQLite into bots, and have an option to also connect to MySQL)


Player Since 2011. I used to make bots and stuff.

Offline

Wooted by:
Cyral1439419549529926

Board footer

Powered by FluxBB

[ Started around 1732466487.3696 - Generated in 0.088 seconds, 14 queries executed - Memory usage: 1.58 MiB (Peak: 1.75 MiB) ]