pytbot-announce Mailing List for pyTBot - IRC Texas Holdem Poker Dealer
Status: Beta
Brought to you by:
protering
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <pro...@us...> - 2007-03-27 16:24:29
|
Hi all, As usual, this release fixes a few bugs and adds a feature. Please let me know if/where you're running pyTBot so I can see how it's working. Thanks! -Paul *Add tournament backup/restore capability The tourney object will pickle itself after most in-game commands. Restore the tourney using the [restore] section of pytbot.ini. You might lose the last player's action depending on how pytbot dies. *Fix behavior of 'p pot' Cause 'p pot' to call and raise the pot rather than call and bet. *Fix button behavior when one of the blinds is eliminated SB should not post after BB elimination. The button should not move after SB elimination. *Clean up color card code Unfortunately there is no standard for IRC color codes and I have reluctantly decided to drink the mIRC kool-aid. I want the background for color cards to be white, so I use the mIRC color 03,00 for green, 02,00 for blue, etc. As reported by Max, some users of irssi see blinking foreground text when using these codes. Max suggests using 15 for the background color to avoid this blinking. Personally, I find it too dark. You've got the source, so use whatever colors you want. For the record, I don't see this effect with irssi on my system (pre-release Debian etch). One day there will be a more flexible card display mechanism. Today is not that day. *Check Twisted version for proper IRC protocol import *Untabify and update dates |
From: <pro...@us...> - 2004-08-02 15:44:59
|
Release Name: 0.3.6 Notes: Yet another quick-fix release. The previous release maintained failed to strip color codes from card faces when making log and database entries. This is fixed. Changes: 2004-08-02 protering <protering@amoeba> * pytbot: Strip color from log entries * tourney.py: Strip colors from log and DB entries. |
From: <pro...@us...> - 2004-08-02 00:06:58
|
This release addresses all bugs and feature requests to date. Color cards (mIRC codes) are enabled using 'p color'. Use 'p color' again to turn off the colors. User passwords are now encrypted. You must convert current passwords to encrypted form. Here's a small python program to do the conversion (put in your database username, password, dbname): ----------8<----CUT-HERE--------------------------- import MySQLdb from string import letters, digits from random import choice from crypt import crypt db = MySQLdb.connect(user='dbuser', passwd='dbpass', db='dbname') c = db.cursor() lines = c.execute("SELECT nick,password from player") recs = c.fetchmany() for (anick, apass) in recs: salt = choice(letters+digits) + choice(letters+digits) cpswd = crypt(apass, salt) print 'updating %s' % (anick,) c.execute("UPDATE player SET password='%s' where nick='%s'" % (cpswd, anick)) ----------8<----CUT-HERE--------------------------- Please let me know if you find any errors in the new version. Thanks! -Paul Rotering |