[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pbmserv-dev] gamecnts.php



Paul van Wamelen wrote:

List.php?Go reads PBMHOME/etc/Go.list to count the number of games.
Go.list gets modified by UpdateGameList in game.cpp everytime someone
makes a move. You probably don't have entries in Go.list on your
server yet?

No. It's not that - there are entries there. In fact, I did get a little further. I discovered that the paths were all over the place, and not at all using PBMHOME. I have had to edit a LOT of files to correct the paths, but still don't have it quite working yet. I've only been able to get as far as, for example, "Go game 101 does not exist." After that, the paths seemed to become even more labyrinthine, with no mention, anywhere, of PBMHOME.

From within my main directory, I have a "pbmserv" subdirectory. Underneath that, are bin, data, etc, games, help, history, newgames, ratings, src, standings, and tmp (all at the same level). In the games directory, there is a subdirectory for each of the games I'm testing, with the first letter of the name capitalized. Within each game directory are the numbered game files, the compiled, all-lower-case-named program for email operation (which all work fine from the command line with a substitute for sendmail to cat to the tty), and the php program for the game, for which the first letter of the name is capitalized.