Thread: [htsserver-cvs] CVS update: pyhtsserver
Status: Abandoned
Brought to you by:
uh1763
|
From: Uwe H. <uh...@us...> - 2001-09-12 22:44:23
|
Date: Wednesday September 12, 2001 @ 15:44 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv17818 Log Message: * Initial CVS import. Status: Vendor Tag: vendor Release Tags: start N pyhtsserver/COPYING N pyhtsserver/README N pyhtsserver/AUTHORS N pyhtsserver/ChangeLog N pyhtsserver/NEWS N pyhtsserver/TODO N pyhtsserver/INSTALL N pyhtsserver/htsserver N pyhtsserver/Makefile N pyhtsserver/docs/PROTOCOL N pyhtsserver/docs/HACKING N pyhtsserver/src/cmdline.py N pyhtsserver/src/htsserver.py N pyhtsserver/src/net.py N pyhtsserver/src/protocol.py N pyhtsserver/src/config.py N pyhtsserver/src/misc.py N pyhtsserver/src/log.py N pyhtsserver/src/.cvsignore N pyhtsserver/src/g.py N pyhtsserver/src/helpstrings.py N pyhtsserver/src/gamedata.py N pyhtsserver/src/goods.py N pyhtsserver/src/towns.py N pyhtsserver/src/connections.py N pyhtsserver/src/players.py N pyhtsserver/src/transporters.py No conflicts created by this import [input file was '-'] |
|
From: Uwe H. <uh...@us...> - 2001-09-13 03:12:58
|
Date: Wednesday September 12, 2001 @ 20:12 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv20636 Modified Files: ChangeLog TODO Log Message: * TODO: Removed resolved items. * docs/htsserver.6: Added file. * src/cmdline.py: Remove cruft. * src/connections.py, src/players.py, src/protocol.py: Remove all those getfoo() and setfoo() functions. They're really just overhead. Simply use the variable directly. * src/htsserver.py: Do not even start the server if we are root or have the group 'root'. Running htsserver as root is strongly discouraged! Do not allow running with a port <= 1024, as this would need root permissions. Check if we have write permissions for the logfile. If not, print an error message and exit. * src/log.py: Catch the IOError exception of write() and flush(). =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.2 Thu Sep 13 03:12:56 2001 Repository revision: 1.2 /cvsroot/htsserver/pyhtsserver/ChangeLog,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) =================================================================== File: TODO Status: Up-to-date Working revision: 1.2 Thu Sep 13 03:12:56 2001 Repository revision: 1.2 /cvsroot/htsserver/pyhtsserver/TODO,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) |
|
From: Uwe H. <uh...@us...> - 2001-09-13 18:41:36
|
Date: Thursday September 13, 2001 @ 11:41
Author: uh1763
Update of /cvsroot/htsserver/pyhtsserver
In directory usw-pr-cvs1:/tmp/cvs-serv4403
Modified Files:
ChangeLog INSTALL Makefile README TODO htsserver
Log Message:
* INSTALL, Makefile, htsserver: Fixed the installation procedure (changed
some paths). Besides, install the manpage in /usr/local/man/man6.
* README: Document the new mailinglist htsserver-users.
* TODO: Updates.
* src/cmdline.py: Removed cruft.
* src/misc.py: Check for OSError *and* IOError. Assing /dev/null to
stdin, stdout and stderr.
* src/net.py: Cosmetic changes. Remove the respective connection when a
player disconnects (via 'quit') from the server.
* src/players.py: Add the flag 'is_admin', which is unused at the moment.
Remove the useless login() and logout() methods.
* src/protocol.py: Lots of fixes.
* addplayer(): Cosmetic changes. Improved locking.
* delplayer(): Better locking. If the player which shall be deleted is
logged in, log him out.
* login(): Check if we are already logged in as any player, and also
check whether anybody else is already logged in as the
player we wanted to log in (shouldn't happen though, except
someone finds out your password). Simplified code.
* logout(): The code was ugly. It's much better + shorter now.
* passwd(): Replace "xxx" with "534", the return code which should be used.
* quit(): If we're logged in, logout. Better locking.
* p(): Prettier output. Do not print the passwords of the players anymore.
This was done for debugging purposes.
* c(): Better locking. Print our playername, if we're logged in.
===================================================================
File: ChangeLog Status: Up-to-date
Working revision: 1.3 Thu Sep 13 18:41:33 2001
Repository revision: 1.3 /cvsroot/htsserver/pyhtsserver/ChangeLog,v
Existing Tags:
start (revision: 1.1.1.1)
vendor (branch: 1.1.1)
===================================================================
File: INSTALL Status: Up-to-date
Working revision: 1.2 Thu Sep 13 18:41:33 2001
Repository revision: 1.2 /cvsroot/htsserver/pyhtsserver/INSTALL,v
Existing Tags:
start (revision: 1.1.1.1)
vendor (branch: 1.1.1)
===================================================================
File: Makefile Status: Up-to-date
Working revision: 1.2 Thu Sep 13 18:41:33 2001
Repository revision: 1.2 /cvsroot/htsserver/pyhtsserver/Makefile,v
Existing Tags:
start (revision: 1.1.1.1)
vendor (branch: 1.1.1)
===================================================================
File: README Status: Up-to-date
Working revision: 1.2 Thu Sep 13 18:41:33 2001
Repository revision: 1.2 /cvsroot/htsserver/pyhtsserver/README,v
Existing Tags:
start (revision: 1.1.1.1)
vendor (branch: 1.1.1)
===================================================================
File: TODO Status: Up-to-date
Working revision: 1.3 Thu Sep 13 18:41:33 2001
Repository revision: 1.3 /cvsroot/htsserver/pyhtsserver/TODO,v
Existing Tags:
start (revision: 1.1.1.1)
vendor (branch: 1.1.1)
===================================================================
File: htsserver Status: Up-to-date
Working revision: 1.2 Thu Sep 13 18:41:33 2001
Repository revision: 1.2 /cvsroot/htsserver/pyhtsserver/htsserver,v
Existing Tags:
start (revision: 1.1.1.1)
vendor (branch: 1.1.1)
|
|
From: Uwe H. <uh...@us...> - 2001-09-14 23:22:51
|
Date: Friday September 14, 2001 @ 16:22 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv29361 Modified Files: ChangeLog Log Message: * src/htsserver.py, log.py: Move the check whether the logfile is given with an absolute path to log.init(), where it belongs to. * src/htsserver.py: The check if we have write permissions to the logfile would fail if the logfile doesn't exist. I completely removed the test, as log.init() already (implicitely) checks whether we can write to the logfile. Index the dict g.towns by ID, not by townname. * src/players.py: Add a 'transporters' attribute. * src/protocol.py: Every new player now gets a random amount of money. Every new player also gets two transporters; each of them is located in a randomly chosen town and has randomly chosen capacity and money. Fix a bug: We need to copy.deepcopy() the players into the 'players' dict, just saying 'g.players[name] = player' will only store a reference to the player, which is not what we want... The 'g' command now displays information about all transporters of each player. It also shows how much money every player has got. * src/transporters.py: Removed the attribute 'id'. The attribute 'goods' is [] per default, now. =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.4 Fri Sep 14 23:22:48 2001 Repository revision: 1.4 /cvsroot/htsserver/pyhtsserver/ChangeLog,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) |
|
From: Uwe H. <uh...@us...> - 2001-09-16 13:06:59
|
Date: Sunday September 16, 2001 @ 6:06 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv11538 Modified Files: ChangeLog TODO Log Message: * TODO: Removed resolved items. * src/cmdline.py: Check if the port is a number between 1025 and 65535. Check if the argument given to --port is a number at all. Fixed a bug: We must use int() on opt[1], as it's a string but needs to be an integer. * src/config.py: Set the default loglevel to 3 (DEBUG). * src/g.py: Removed cruft. * src/helpstrings.py: Added helpstrings for transporter_drive() and transporter_set_name(). * src/htsserver.py: If loglevel is 0 (NONE) then do not even open/create the logfile. Neither try to write anything in the logfile, of course. * src/log.py: Ensure that log.log is only called with level being either 0, 1, 2 or 3. Bugfix: Log nothing if level == 0. Added cleanup(). * src/misc.py: Simplified daemonize(). Added is_number(). * src/net.py: Most log.log calls now use log.DEBUG, here. * src/protocol.py: Added transporter_drive() and transporter_set_name(). addplayer(): I changed my mind. Index transporters by id, again. logout(): Fixed a bug which would cause locking problems... c(): Display the ID of the transporter, too. * src/transporters.py: Re-added the 'id' attribute. =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.5 Sun Sep 16 13:06:55 2001 Repository revision: 1.5 /cvsroot/htsserver/pyhtsserver/ChangeLog,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) =================================================================== File: TODO Status: Up-to-date Working revision: 1.4 Sun Sep 16 13:06:55 2001 Repository revision: 1.4 /cvsroot/htsserver/pyhtsserver/TODO,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) |
|
From: Uwe H. <uh...@us...> - 2001-09-17 13:45:42
|
Date: Monday September 17, 2001 @ 6:45 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv30841 Modified Files: ChangeLog Log Message: * src/connections.py: Added the attributes rfile and wfile to Connection. They're used for reading/writing data from/to that connection. * src/helpstrings.py: Documented 'chat'. * src/misc.py: Bugfix in tokenize_line(): Do *not* just cut away any characters other than digits, letters and '_'... * src/net.py: Added send(). * src/protocol.py: Added chat(). This allows any player to send a chat message to a player, to a list of players or to all players who are logged in. * servercmds.py: Added file. Added the server-command 'chat'. =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.6 Mon Sep 17 13:45:38 2001 Repository revision: 1.6 /cvsroot/htsserver/pyhtsserver/ChangeLog,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) |
|
From: Uwe H. <uh...@us...> - 2001-09-17 17:16:03
|
Date: Monday September 17, 2001 @ 10:16 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv24188 Modified Files: ChangeLog TODO Log Message: * TODO: Removed resolved items. Added one item. * src/net.py: Use net.send() everywhere, which will log everything sent. send(): Improved locking. * src/protocol.py: Broadcast 'player_logged_in', 'player_logged_out', 'transporter_arrived' and 'transporter_left'. Fixed a cut'n'paste error. * src/servercmds.py: Added the server-commands 'player_logged_in', 'player_logged_out', 'transporter_arrived' and 'transporter_left'. =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.7 Mon Sep 17 17:15:54 2001 Repository revision: 1.7 /cvsroot/htsserver/pyhtsserver/ChangeLog,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) =================================================================== File: TODO Status: Up-to-date Working revision: 1.5 Mon Sep 17 17:15:55 2001 Repository revision: 1.5 /cvsroot/htsserver/pyhtsserver/TODO,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) |
|
From: Uwe H. <uh...@us...> - 2001-09-20 22:00:22
|
Date: Thursday September 20, 2001 @ 15:00 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv9625 Modified Files: ChangeLog Log Message: * src/config.py: Added the config-option 'adminpassword'. * src/connections.py: Added attribute 'is_admin'. * src/misc.py: Added is_valid_playername(), is_valid_transportername() and adminpassword_is_correct(). * src/players.py: Removed attribute 'is_admin'. * src/protocol.py: Added the commands 'adminlogin' and 'adminlogout'. addplayer(): Check if the given playername is valid. delplayer(): Send a 'You are being logged out. Your player will be deleted.' message to the player who will be deleted... transporter_set_name(): Check if the given transportername is valid. quit(): Broadcast the 'player_logged_out' servercommand to everyone, if the player has to be logged out... shutdown(): Only the admin may shutdown the server. * src/servercmds.py: Added the 'shutdown' servercommand. =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.8 Thu Sep 20 22:00:19 2001 Repository revision: 1.8 /cvsroot/htsserver/pyhtsserver/ChangeLog,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) |
|
From: Uwe H. <uh...@us...> - 2001-09-24 23:13:46
|
Date: Monday September 24, 2001 @ 16:13 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv26122 Modified Files: ChangeLog TODO Log Message: * TODO: Removed resolved items. * src/helpstrings.py: Documented the commands money_t_p and money_p_t. * src/htsserver.py, src/misc.py, src/net.py, src/protocol.py: Change all 'foo = foo + 1' constructs to 'foo += 1' as this is supported by Python 2.0 or better... * src/protocol.py: Implement the commands money_t_p and money_p_t. Small cosmetic change in p(). =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.9 Mon Sep 24 23:13:44 2001 Repository revision: 1.9 /cvsroot/htsserver/pyhtsserver/ChangeLog,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) =================================================================== File: TODO Status: Up-to-date Working revision: 1.6 Mon Sep 24 23:13:44 2001 Repository revision: 1.6 /cvsroot/htsserver/pyhtsserver/TODO,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) |
|
From: Uwe H. <uh...@us...> - 2001-09-30 20:40:02
|
Date: Sunday September 30, 2001 @ 13:40 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv12704 Modified Files: ChangeLog Log Message: * src/g.py: Added towns_lock. * src/htsserver.py: Create the g.towns_lock lock. * src/net.py: Small safety fix. * src/protocol.py: login(): Better PROTOCOL conformance. Send init data upon every player login. Added send_init_data(). =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.10 Sun Sep 30 20:39:59 2001 Repository revision: 1.10 /cvsroot/htsserver/pyhtsserver/ChangeLog,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) |
|
From: Uwe H. <uh...@us...> - 2001-11-08 14:51:52
|
Date: Thursday November 8, 2001 @ 6:51 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv18090 Modified Files: ChangeLog README TODO Log Message: * README, TODO: Small fixes. * src/helpstrings.py: Added documentation for buy_town_t and sell_t_town. * src/net.py: Improved format of the sent/rcvd log messages. * src/protocol.py: Added buy_town_t (needs some more fixing) and sell_t_town (which is not yet implemented). Moved command_dict to the end of the file. * src/towns.py: Added the Town method 'good'. * src/transporters.py: Added the Transporter methods 'freecapacity' and 'good'. =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.11 Thu Nov 8 14:51:50 2001 Repository revision: 1.11 /cvsroot/htsserver/pyhtsserver/ChangeLog,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) =================================================================== File: README Status: Up-to-date Working revision: 1.3 Thu Nov 8 14:51:50 2001 Repository revision: 1.3 /cvsroot/htsserver/pyhtsserver/README,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) =================================================================== File: TODO Status: Up-to-date Working revision: 1.7 Thu Nov 8 14:51:50 2001 Repository revision: 1.7 /cvsroot/htsserver/pyhtsserver/TODO,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) |
|
From: Uwe H. <uh...@us...> - 2001-11-13 12:26:51
|
Date: Tuesday November 13, 2001 @ 4:26 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv5043 Modified Files: ChangeLog Log Message: * src/cmdline.py, src/config.py, src/connections.py, src/g.py, src/gamedata.py, src/goods.py, src/helpstrings.py, src/log.py, src/misc.py, src/net.py, src/players.py, src/protocol.py, src/servercmds.py, src/towns.py, src/transporters.py: Removed '#!/usr/bin/env python2' from all files which are not executed directly. * src/cmdline.py: Removed unused imports. Use g.BUGREPORTS. * src/cmdline.py, src/protocol.py: Replaced usage of is_number() by isdigit(). * src/g.py: Added BUGREPORTS. * src/misc.py: Removed is_number(). =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.12 Tue Nov 13 12:26:44 2001 Repository revision: 1.12 /cvsroot/htsserver/pyhtsserver/ChangeLog,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) |
|
From: Uwe H. <uh...@us...> - 2002-02-14 20:03:25
|
Date: Thursday February 14, 2002 @ 12:03 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv6591 Modified Files: AUTHORS ChangeLog Makefile README Log Message: * AUTHORS: Small fix. * Makefile, README, docs/htsserver.6, src/cmdline.py, src/config.py, src/connections.py, src/g.py, src/gamedata.py, src/goods.py, src/helpstrings.py, src/htsserver.py, src/log.py, src/misc.py, src/players.py, src/protocol.py, src/servercmds.py, src/towns.py, src/transporters.py: Updated 'Copyright' date to 2002. * docs/htsserver.6, src/helpstrings.py: Fixed typos. * src/cmdline.py: Fixed decription of --loglevel. * src/log.py: Removed useless code. * src/players.py: Made some parts of the code shorter/clearer. =================================================================== File: AUTHORS Status: Up-to-date Working revision: 1.2 Thu Feb 14 20:03:19 2002 Repository revision: 1.2 /cvsroot/htsserver/pyhtsserver/AUTHORS,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.13 Thu Feb 14 20:03:19 2002 Repository revision: 1.13 /cvsroot/htsserver/pyhtsserver/ChangeLog,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) =================================================================== File: Makefile Status: Up-to-date Working revision: 1.3 Thu Feb 14 20:03:19 2002 Repository revision: 1.3 /cvsroot/htsserver/pyhtsserver/Makefile,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) =================================================================== File: README Status: Up-to-date Working revision: 1.4 Thu Feb 14 20:03:19 2002 Repository revision: 1.4 /cvsroot/htsserver/pyhtsserver/README,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) |
|
From: Uwe H. <uh...@us...> - 2002-06-07 23:01:51
|
Date: Friday June 7, 2002 @ 16:01 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv25242 Modified Files: ChangeLog AUTHORS INSTALL Makefile NEWS README TODO htsserver Log Message: * AUTHORS: Added Daniel Reutter <re...@in...>. * INSTALL, Makefile, NEWS, README, TODO, htsserver, docs/HACKING, docs/htsserver.6: Small updates and fixes. * docs/PROTOCOL: Rewrite from scratch. * docs/SPECIFICATION: Added file. =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.14 Fri Jun 7 23:01:45 2002 Repository revision: 1.14 /cvsroot/htsserver/pyhtsserver/ChangeLog,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) =================================================================== File: AUTHORS Status: Up-to-date Working revision: 1.3 Fri Jun 7 23:01:45 2002 Repository revision: 1.3 /cvsroot/htsserver/pyhtsserver/AUTHORS,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) =================================================================== File: INSTALL Status: Up-to-date Working revision: 1.3 Fri Jun 7 23:01:45 2002 Repository revision: 1.3 /cvsroot/htsserver/pyhtsserver/INSTALL,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) =================================================================== File: Makefile Status: Up-to-date Working revision: 1.4 Fri Jun 7 23:01:45 2002 Repository revision: 1.4 /cvsroot/htsserver/pyhtsserver/Makefile,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) =================================================================== File: NEWS Status: Up-to-date Working revision: 1.2 Fri Jun 7 23:01:45 2002 Repository revision: 1.2 /cvsroot/htsserver/pyhtsserver/NEWS,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) =================================================================== File: README Status: Up-to-date Working revision: 1.5 Fri Jun 7 23:01:45 2002 Repository revision: 1.5 /cvsroot/htsserver/pyhtsserver/README,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) =================================================================== File: TODO Status: Up-to-date Working revision: 1.8 Fri Jun 7 23:01:45 2002 Repository revision: 1.8 /cvsroot/htsserver/pyhtsserver/TODO,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) =================================================================== File: htsserver Status: Up-to-date Working revision: 1.3 Fri Jun 7 23:01:45 2002 Repository revision: 1.3 /cvsroot/htsserver/pyhtsserver/htsserver,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) |
|
From: Uwe H. <uh...@us...> - 2002-06-07 23:19:13
|
Date: Friday June 7, 2002 @ 16:19 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv29604 Modified Files: ChangeLog Log Message: * src/connections.py: Smaller changes. Added the class variable 'highest'. Added the methods recv(), send() and close(), which are not completely implemented, yet. * src/g.py: Removed cruft. Email address for bugreports is hts...@li... now. * src/gamedata.py: Removed most content, needs to be re-designed. * src/goods.py: There's a buy_price and sell_price now. Added calculate_buy_price() and calculate_sell_price(). * src/helpstrings.py: Removed lots of strings, as the network protocol needs a major re-design. * src/htsserver.py: Update to use the new classes etc. * src/log.py: Encapsulate all the logging code in the class Log. * src/net.py: Added a preliminary version of the new networking framework. This needs a lot more work. * src/players.py: The class Player is more generic now. There are two subclasses of Player: HumanPlayer and AIPlayer. =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.15 Fri Jun 7 23:19:11 2002 Repository revision: 1.15 /cvsroot/htsserver/pyhtsserver/ChangeLog,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) |
|
From: Uwe H. <uh...@us...> - 2002-06-07 23:25:30
|
Date: Friday June 7, 2002 @ 16:25 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv30988 Modified Files: ChangeLog Log Message: * src/locations.py, src/tradepartners.py: Added files. * src/towns.py, src/transporters.py: Removed files. The classes Town and Transporter are in src/tradepartners.py now. =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.16 Fri Jun 7 23:25:29 2002 Repository revision: 1.16 /cvsroot/htsserver/pyhtsserver/ChangeLog,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) |
|
From: Uwe H. <uh...@us...> - 2002-06-07 23:29:07
|
Date: Friday June 7, 2002 @ 16:29 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv31658 Modified Files: ChangeLog Log Message: * src/protocol.py, src/servercmds.py: Emptied files. These need to be re-designed. =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.17 Fri Jun 7 23:29:07 2002 Repository revision: 1.17 /cvsroot/htsserver/pyhtsserver/ChangeLog,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) |
|
From: Uwe H. <uh...@us...> - 2002-06-12 11:26:45
|
Date: Wednesday June 12, 2002 @ 4:26 Author: uh1763 Update of /cvsroot/htsserver/pyhtsserver In directory usw-pr-cvs1:/tmp/cvs-serv25597 Modified Files: ChangeLog Log Message: * docs/PROTOCOL: Commands and arguments are separated by whitespace. Documented a few user commands and server commands. * src/connections.py: Added Connection.all and Connection.maxid. Added Connection.selfdestruct(). Smaller fixes. * src/g.py: Added 'socket'. Removed a few dicts, those are in the respective classes now (Foo.all dicts). * src/htsserver.py: Dop not start the server if the default password is used. Fix logging code. Start the main loop. * src/log.py: Reverted the recent changes (it wasn't a good idea). * src/misc.py: Moved is_valid_playername() to player.py. * src/net.py: Redesign. Added create_socket() and loop(). This needs a lot more work... * src/players.py: Added Player.maxid and Player.all. Smaller fixes. * src/protocol.py: Added a prototype of addplayer(). Doesn't work yet. * src/tradepartners.py: Added TradePartner.maxid and TradePartner.all. * src/triggers.py: Added file. =================================================================== File: ChangeLog Status: Up-to-date Working revision: 1.18 Wed Jun 12 11:26:42 2002 Repository revision: 1.18 /cvsroot/htsserver/pyhtsserver/ChangeLog,v Existing Tags: start (revision: 1.1.1.1) vendor (branch: 1.1.1) |