This shows you the differences between the selected revision and the current version of the page.
howtos:how_do_you_install_the_on_linux 2008/12/09 20:32 | howtos:how_do_you_install_the_on_linux 2013/12/07 22:07 current | ||
---|---|---|---|
Line 7: | Line 7: | ||
* 7zip for linux | * 7zip for linux | ||
* screen (optional) | * screen (optional) | ||
+ | |||
+ | |||
===== Procedure ===== | ===== Procedure ===== | ||
Line 12: | Line 14: | ||
- Login into your server | - Login into your server | ||
- Install the required mono-packages (please refer to the documentation of your distribution on how to do this) | - Install the required mono-packages (please refer to the documentation of your distribution on how to do this) | ||
+ | <code> | ||
+ | Here are the list of mono-packages under Debian: | ||
+ | |||
+ | ii libmono-accessibility2.0-cil 1.9.1+dfsg-1~bpo40+1 Mono Accessibility library | ||
+ | ii libmono-corlib1.0-cil 1.9.1+dfsg-1~bpo40+1 Mono core library (1.0) | ||
+ | ii libmono-corlib2.0-cil 1.9.1+dfsg-1~bpo40+1 Mono core library (2.0) | ||
+ | ii libmono-data-tds2.0-cil 1.9.1+dfsg-1~bpo40+1 Mono Data Library | ||
+ | ii libmono-mozilla0.2-cil 1.9.1+dfsg-1~bpo40+1 Mono Mozilla library | ||
+ | ii libmono-security2.0-cil 1.9.1+dfsg-1~bpo40+1 Mono Security library | ||
+ | ii libmono-sharpzip2.84-cil 1.9.1+dfsg-1~bpo40+1 Mono SharpZipLib library | ||
+ | ii libmono-sqlite2.0-cil 1.9.1+dfsg-1~bpo40+1 Mono Sqlite library | ||
+ | ii libmono-system-data2.0-cil 1.9.1+dfsg-1~bpo40+1 Mono System.Data Library | ||
+ | ii libmono-system-web2.0-cil 1.9.1+dfsg-1~bpo40+1 Mono System.Web Library | ||
+ | ii libmono-system2.0-cil 1.9.1+dfsg-1~bpo40+1 Mono System libraries (2.0) | ||
+ | ii libmono-winforms2.0-cil 1.9.1+dfsg-1~bpo40+1 Mono System.Windows.Forms library | ||
+ | ii libmono0 1.9.1+dfsg-1~bpo40+1 libraries for the Mono JIT | ||
+ | ii libmono2.0-cil 1.9.1+dfsg-1~bpo40+1 Mono libraries (2.0) | ||
+ | ii mono-common 1.9.1+dfsg-1~bpo40+1 common files for Mono | ||
+ | ii mono-gac 1.9.1+dfsg-1~bpo40+1 Mono GAC tool | ||
+ | ii mono-jit 1.9.1+dfsg-1~bpo40+1 fast CLI JIT/AOT compiler for Mono | ||
+ | ii mono-runtime 1.9.1+dfsg-1~bpo40+1 Mono runtime | ||
+ | |||
+ | </code> | ||
- Download the PikkuBot exe file ([[:download|Link]]) | - Download the PikkuBot exe file ([[:download|Link]]) | ||
- Extract the exe file with 7zip | - Extract the exe file with 7zip | ||
- 'cd' to the PikkuBot directory (i.e.: cd pikkubot-299) | - 'cd' to the PikkuBot directory (i.e.: cd pikkubot-299) | ||
- **Type "touch NOGUI.dat" to prevent GUI usage** | - **Type "touch NOGUI.dat" to prevent GUI usage** | ||
+ | - //Replace the System.Data.SQLite.DLL in the Bot-Directory with the one from the sqlite/linux directory// | ||
- Start the bot by invoking it with the mono binary: \\ mono PikkuBot.exe [Bot first name] [Bot last name] [Bot pass] [Master first name] [Master last name] [optional: "Sim"] [optional: region coordinates] | - Start the bot by invoking it with the mono binary: \\ mono PikkuBot.exe [Bot first name] [Bot last name] [Bot pass] [Master first name] [Master last name] [optional: "Sim"] [optional: region coordinates] | ||
Line 26: | Line 52: | ||
For reattaching a screen session, use the command 'screen -r'. | For reattaching a screen session, use the command 'screen -r'. | ||
+ | |||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
Line 31: | Line 58: | ||
It's not the end of the world if things are not working. This is a small list to check before reporting a bug: | It's not the end of the world if things are not working. This is a small list to check before reporting a bug: | ||
+ | |||
+ | ==== General checks ==== | ||
+ | - Check the mono libraries - make sure they are all available and up to date (matching your mono core) | ||
+ | - Check for broken links | ||
+ | - Check the SL Account of the bot - is it available? | ||
+ | - Check your bot license. Maybe you need to purge a slot? | ||
+ | - Check if you have the right libsqlite3.so.0 installed in /usr/lib | ||
+ | |||
+ | ==== Pikkubot specific checks (it has worked before™) ==== | ||
- Check for running PikkuBots and own mono threads and kill them if needed | - Check for running PikkuBots and own mono threads and kill them if needed | ||
- Check the version of the bot and make sure you're having a recent version as old versions are not maintained anymore | - Check the version of the bot and make sure you're having a recent version as old versions are not maintained anymore | ||
+ | - Check for the NOGUI.dat file | ||
+ | - Check the System.Data.SQLite.DLL in the Bot-Directory. Is it the one from the sqlite/linux directory? | ||
+ | |||
+ | ==== LD_LIBRARY_PATH ==== | ||
+ | To avoid problems with your inventory under mono, please set the LD_LIBRARY_PATH before you start the bot: | ||
+ | <code> | ||
+ | # export LD_LIBRARY_PATH=[PATH TO MONO DIRECTORY]/lib | ||
+ | </code> | ||