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/13 20:24 | 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) | ||
+ | |||
Line 40: | Line 41: | ||
- '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 50: | 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 55: | 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> | ||