Giter Club home page Giter Club logo

eebottutorials's Introduction

EEBotTutorials

The new "How to create an EE bot?" book. No videos, just text.

What is a bot?

A bot is a tool designed to do stuff automatically. In the case of EE, a bot allows you to do things that would be annoying to have to do manually, such as snakes, digging, bosses, etc.

What do you need to create a bot?

All what you do actually need is knowledge. There is no sense in having tools you don't know how to use.

Tools

EE Bots are usually written in the C# programming language, because the server host PlayerIO provides a C# SDK for this purpose. Therefore, the best is to use this language. Let's go to the list of programs.

  • .NET Framework: It's the framework that will allow you to run C# programs, as well as the bots we are going to create.
    • Mono (Recommended): An open-source implementation of Microsoft .NET Framework, for all the operative systems.
    • Microsoft .NET Framework: Software framework designed to run on Windows. Not cross-platform.
  • Compiler: It's the tool we are going to use to create and build our bots. Please read the information below the list before selecting a compiler
    • MonoDevelop (Recommended): An open-source, cross-platform compiler that supports C# along with Gtk#, a cross-platform GUI toolkit.
    • Visual Studio: A compiler for Windows programs, by Microsoft. It supports C# along with Windows Forms, Windows' default GUI toolkit.

I want to create a bot with a nice GUI

GUIs are what most of people are used to. It makes it easier and more organized for coders to create programs for novices. You may think that having a clean, good-looking GUI is the main part here, but the main part is actually which GUI toolkit you have to use.

  • Gtk# (Recommended): An open-source, multi-platform GUI toolkit for both frameworks Mono and Microsoft .NET.
  • Windows Forms: The default GUI toolkit included on Microsoft .NET Framework. It only supports Windows.

If you want to create a cross-platform bot with GUI that can be used in both Windows and Linux, then your best choice is to use MonoDevelop and Gtk#. It will just require Windows users to install Gtk#, and Linux users to install Mono, which is easy and clearly better than Wine.

If you want to create a classic, Windows-only bot with Windows Forms, then your option is to download Visual Studio. You are going to need a Microsoft Account to install the software. Also note that Visual Studio is very heavy. The minimal installation weights aprox. 2 GB, compared to MonoDevelop, which just weights 200 MB. Only Windows users who have Microsoft .NET Framework will be able to run the program properly (Mono doesn't support Windows Forms, Linux users can use Wine but it'll run and look bad). Again, I recommend you to use MonoDevelop and Gtk# for your bot with GUI.

I want to create a console bot

If all what you want to do is a simple console app, then you are free to choose any of the frameworks and compilers. I personally recommend Mono and MonoDevelop, but that doesn't matter since console apps will be cross-platform (unless you somehow call the Windows API, which is in most of the cases useless, and simply annoying, so please keep a pure .NET app).

I have everything ready, let's go code

Here are the basic steps on how to create your new EE Bot. All these examples will use console applications

eebottutorials's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.