On Tue, 15 Mar 2016, Black Rider <softwarewo...@use.startmail.com> wrote:
> El Sun, 13 Mar 2016 20:17:00 +0100, Theo Buehler escribió:
>
>> On Sun, Mar 13, 2016 at 02:06:54PM -0500, Edgar Pettijohn wrote:
>>> On current I get the following when starting 'hack'
>>>
>>> "Cannot get status of hack"
>>>
>>> It worked on 5.8 release.  Just wanted to see if anyone else had the
>>> same problem.
>>
>> hack, hunt, phantasia and sail are either completely broken or mostly
>> broken since they had their setgid bits removed almost 4 months ago:
>>
>> http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/games/hack/Makefile
>>
>> so far, nobody has stepped up to fix them and I think you're the first
>> to mention it on the list.
>
> From the link:
>
> "score file features must be removed, or
> rewritten to use private files"
>
> That can be ok for some games, but Phantasia stores the game status in
> common files that must be accesible/writeable by the players, I think.
> You obviously cannot make them private, because that destroys inter-
> terminal games, and you cannot remove the common data because it is the
> game status data.

The rest of the gamedev world seems to handle this situation by
splitting the game into a client and a server part.

The client handles whatever the player is supposed to witness with their
eyes, and communicates with the server using some network protocol. The
server accepts client input, executes the game logic, keeps the game
state, updates connected clients, and keeps scores.

This would probably be a major rewrite for most games.

K.

Reply via email to