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

Re: [pbmserv-dev] New guy strikes back



On Tue, Jun 28, 2005 at 03:34:27PM -0500, Michael Hammond wrote:
> Hooray!
> 
> Found the man file for make - found the -f switch for the input file.  I
> pulled down the entire PBMServ source directory and ran Richard's makefile
> for the PBMServ.  After clipping out the shogi and zertz games (they didn't
> want to compile), everything built.
> 
> Tried to run gomoku, but got a complaint that it needed the PBMHome variable
> set.  That has been set.
> 
> Now when I try to run gomoku I get this fun message: 
> 
> $ ./gomoku move 101 hal ibm g8
> Segmentation fault (core dumped)
> 
> Ideas?  It's occurred to me that the server doesn't have a user identity for
> me, nor has game 101 been created yet.  

setup $PBMHOME

Under that you need

	$PBMHOME/etc/users

It's a list of entries like

	#userid:password:name:unused:email-address
	test3:test3:Test User Account "3":0:rrognlie+test3@gamerz.net
	test4:test4:Test User Account "4":0:rrognlie+test4@gamerz.net

You also need

	$PBMHOME/games/GAMETYPE  (where GAMETYPE for gomoku is "Gomoku")

Also create

	$PBMHOME/games/GAMETYPE/.board

put a number in that file... any number.   

To start a game

	$ ./gomoku challenge USER1 USER2

it'll create the board in $PBMHOME/games/Gomoku, increment
$PBMHOME/games/Gomoku/.board and notify both players.

-- 
 /  \__  | Richard Rognlie / Sendmail Ninja / Gamerz.NET Lackey
 \__/  \ | http://www.gamerz.net/~rrognlie    <rrognlie at gamerz.net>
 /  \__/ | 
 \__/    | Forgive and Forget...  but keep a list of names