Subject: pkg/20070: New package games/tetrinetx
To: None <email@example.com>
From: David Ferlier <firstname.lastname@example.org>
Date: 01/26/2003 18:33:40
>Synopsis: New package games/tetrinetx
>Arrival-Date: Sun Jan 26 09:35:00 PST 2003
>Originator: David Ferlier
>Release: NetBSD 1.6
System: NetBSD hell 1.6 NetBSD 1.6 (CATAPULT) #0: Sat Dec 14 20:38:30 CET 2002 root@hell:/usr/src/sys/arch/i386/compile/CATAPULT i386
This is a tetrinet server.
I took the idea of this package from FreeBSD.
I reworked it a lot: i changed the config.h so that all the files it writes
are in /usr/pkg/share/tetrinetx (while freebsd let paths relative to the
current working directory, so it has to do a cd in a safe path and exec
the server ...); i also modified config.h and main.c so that it writes
the server pid to /var/run/tetrinetx.pid.
I also wrote a DEINSTALL script similar to the one i wrote for pts.
Finally i wrote a rc.d script, and tested it.
TetriNET is an addictive 6 player tetr*s game
What this program does is set up a TetriNET server that ordinary
TetriNET clients can connect to. It attempts to fix some of the
"glaring" holes in the TetriNET protocol that I discovered, and which
I'm sure some people use as cheats, but I now see why it is nearly
impossible to fix ;), without a modification to the client.
I've kept the server as close to the same as the original TetriNET
server, but I've added some extras that I've often wanted, such as
the "/kick" and "/ban" keywords.
Please note, this server in no way encompasses the whole game. The clients
are the ones that do most of the work, with the server just passing suitable
packets between each client, and of course adding some of it's own.
Author: Brendan Grieve (email@example.com)