Running a Python based Poker bot
From SHellium Wiki
This is a short guide to installing and running a simple Python based poker bot on Shellium!
Installing
- Download the poker script.
wget http://ircpoker.com/pytbot-0.3.9f.tgz
- You now need to unarchive the file using:
tar -xvvzf pytbot-0.3.9f.tgz
You should now have a directory called pytbot-0.3.9f
- Change directory
cd pytbot-0.3.9f/
Configuration
- Time to edit the tiny config file, this is pretty easy. Use a editor of your choice.
emacs pytbot.ini
[host] localaddre: myport localhost: localhost [IRC] # remote host and port host: irc.server.of.your.choice.com port: 6667 # nick to use and channel to join nick: dealer channel: channel (without #!) [restore] #filename:t.backup # Uncomment the filename option to attempt to restore a tournament # from the given file. [restore] #filename:t.backup [version] number: 0.3.9f name: pyTBot-NO_DB
Finallize the installation and run for good!
- Execute it once to make sure it works
./pytbot
Now the bot connect to ircserver and channel of your choice. Wait some minutes...
- You can use nohup:
nohup ./pytbot
Then close your ssh shell, it should keep running.
If you want more options about nohup read: http://en.wikipedia.org/wiki/Nohup
Once it's in your channel just say p help to get a notice of all the commands etc. The bot is text intensive, I'd recommend using it in it's own channel!
Attention!: You should use a server without flood protection!
Enjoy the poker!