Schumix / Schumix2

Schumix2 C# IRC Bot and Framework
http://schumix.eu
GNU General Public License v3.0
7 stars 3 forks source link

Schumix2 Bitdeli Badge

Platform Configuration Build status Downloads
Ubuntu Debug Build Status None
Windows Debug Build status dwn_windows

Statement

This code is intended to relay its predecessor. It is lay new basis and got many newness. More faster and reliable than Schumix. The code is written in c#.

Platforms

The bot has compatibility with windows and linux systems. It might be run on Mac OS X but it's haven't been tested yet. Under Windows the .NET Framework 4.0 or higher is recommended. Under Mono at least the 2.10.8.1 or higher is needed.

Run source / Compile

SubModule

Download missing submodules: git submodule update --init --recursive

Windows

Monodevelop / Xamarin Studio

When using Monodevelop / Xamarin Studio the gettext is needed for translating the language files.
Download and install it. http://gnuwin32.sourceforge.net/packages/gettext.htm
The compiling is simple. Open the Schumix.sln file.
Choose the configuration that fits for you and compile it.

Visual Studio

When using Visual Studio you only need to open SchumixVS.sln.
Choose the configuration that fits for you and compile it.

Linux

Open the Schumix.sln file.
Choose the configuration that fits for you and compile it.

Linux terminal

Install the mono-xbuild package or from source mono.
Than run the build.sh command and the code is compiled.

Code commissioning

Navigate to the Run folder and than to the appropriate folder for the configuration file.
Run the exe.
The program will generate its own config file.
If any problem occurs then create a Configs named folder and copy the Schumix.yml file from the Configs folder into it.

Install

Use this option only if you want to innstal the bot like a program.
Attention! Administrative permissions probably needed at the final stage of install.

Archlinux

Attention!!! Root permission needed for that.
Run the ./createarchlinuxpkg.sh command.
When it's done a schumix.pkg.tar.xz (the name will be similar) named file will be created.
Install it with the sudo pacman -U schumix2.pkg.tar.xz command (the packet name will be similar) and it's all ready.
Run the bot with the schumix command.

Debian / Ubuntu

Attention!!! Root permission needed for that.
For the first step, switch to fakeroot mode.
Type the fakeroot command for that.
After that run the ./createdebianpkg.sh command.
When it's done a schumix.deb named file will be created.
Install it with the sudo dpkg -i schumix.deb command and it's all ready.
Run the bot with the schumix command.

Windows

Navigate to the Installer folder.
Run the Schumix.iss named file.
When it's done a Setup.exe file will be created.
Run this and complete the install.
I guess I don't need to explain more. :)

Config settings

To adjust the configs navigate to the Share/doc/Configs folder and open the Schumix.md file.
This is the description for the main config.
Reading the description is necessary because the bot can't be started correctly without it.
After that you can take a look at the other descriptions but they aren't required for starting the bot.

Database configuration

MySql

If you want to use a mysql based database set the <MySql><Enabled>false</Enabled> permission to true.
After that, fill the database from the Sql folder.
If any kind of correction or update will come you don't need to refill the whole database.
Only update it from the Updates folder with the appropriate version number.

SQLite

If you want to use an SQLite based database set the <SQLite><Enabled>false</Enabled> permission to true.
Then copy the Schumix.db3 file from the Sql folder next to the exe.
You can rename or move it but you have to change the name or the path in the config file.
If any kind of correction or update will come you don't need to refill the whole database.
Only update it from the Updates folder with the appropriate version number.

Attention!

Only one database can be active. If there is'n an active database or there are two active database the code will crash and stop running.

If you are all done with it than you just need to launch and use the code. :)

Trivia