Platform | Configuration | Build status | Downloads |
---|---|---|---|
Ubuntu | Debug | None | |
Windows | Debug |
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#.
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.
Download missing submodules: git submodule update --init --recursive
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.
When using Visual Studio you only need to open SchumixVS.sln
.
Choose the configuration that fits for you and compile it.
Open the Schumix.sln
file.
Choose the configuration that fits for you and compile it.
Install the mono-xbuild
package or from source mono
.
Than run the build.sh
command and the code is compiled.
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.
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.
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.
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.
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. :)
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.
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.
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.
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. :)
- 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. :)