Skip to content

Schumix/Schumix2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Usually configuration files belongs to the addons made by me. These are also generated in the Configs folder and you can modify them there.
  • Furthermore, a bot command was placed in the code. That command composed by the primary name. For example: schumix2, help The structure of the command is important: <primary nick>, command
  • There are functions belongs to the code which can be turned on and off. These are controllable by the administrator only. Description about the functions: $help function (With the configured prefix, of course)
  • If it has been already mentioned, you can add admin with the console for first. admin add <admin name> Then you will get a password which have to be sent to the bot in a private message like this: $admin access <password> If you want to change it than: $admin newpassword <old> <new>
  • And finally the console commands. You can get the list with te help command. The rest can be obtained as like the irc commands. Type the name of the command than the subcommand after the help command.
  • If anything missed I can help on the irc.rizon.net server on the #schumix, #schumix2 or #hun_bot channels.
  • In Yaml configs, all the data which contains special characters (#,$) have to be placed between quotation marks "" otherwise the program try to
    interpreting them and cause an error.
  • I hope you will like the bot. :)