Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!ames!sun-barr!rutgers!att!alberta!calgary!cpsc!msw From: msw@cpsc.ucalgary.ca (Mark Williams) Newsgroups: comp.sources.games.bugs Subject: Problems getting multi-player xtrek for X.V11.R2 working Keywords: xtrek, multi-player Message-ID: <1309@cs-spool.calgary.UUCP> Date: 8 May 89 17:32:10 GMT Sender: news@calgary.UUCP Lines: 46 I'm having some problems with xtrek: (if this has been covered before apologies and could some kind soul email me the solutions %). Machine: NFS Suns 3/50 3/60 3/75 running from 3/180 and Sun4. All running Sun4.0 OS Game: xtrek v1.2 Problems: 1) I don't have access to the root passwd so I'm unable to put the following lines into the required /etc files: xtrek stream tcp wait games /usr/games/lib/xtrek/in.xtrekd in.xtrekd ---> inetd.conf xtrek 5701/tcp xtrek # take a guess ---> services What I had to do was change main.c so that it always grabs port 5701 i.e.: xtrekAddress.sin_port = 5701 Is this the right solution to run the daemon without using the /etc stuff? 2) The game runs fine if you play it by yourself but no-one else can enter the same game from another machine. When someone else types xtrek it either throws up the xtrek on the 's machine or complains that it can't access the display (Problems with display ). I've traced the problem to the line: if ((p->display = XOpenDisplay(p->p_monitor)) == NULL) { in newwin. I didn't compile X with -g so I can't debug any further than this (I want to avoid re-compiling with -g as it *only* takes 8 hours). What do I have to do to get more than one player in the same system? All help much appreciated. Thanks in advance, Mark Williams In reality: msw@cpsc.UCalgary.CA or ...!{uunet!ubc-cs, utai}!calgary!msw