From: brian g. <bg...@us...> - 2003-05-02 21:12:30
|
On Fri, 2 May 2003, Douglas S. Blank wrote: > I need some help in order to have students complete their projects soon. > A couple of questions: > > 1. It appears that a user can only have one version of Stage running at > a time; is that correct? If so, I assume it is because of the > /tmp/userIO files. Or maybe we are not running Stage correctly? We start > stage up like: > > stage worldfile > > (with stage and player in the path) and connect onto it with our own > Python-based player. Should we use the -n flag, or something else? > > 2. Multiple users don't seem to be able to run their own versions of > Stage without getting binding errors. Surely we must be doing something > wrong here. Each user starts their own version of Stage as per above > with their own worldfile and different ports, but when stage starts, it > gives "unable to bind" errors. > > If you have any hints or suggestions please help. Thanks! > hi Doug, I think that the Stage flag you're looking for is '-p <port>'. See, Stage is also listening on a particular port, and unless you tell it different, it will always listen on 6601 (hence your binding errors). So, each user should pick a different port and pass it to Stage on the command line. Btw, this will all get much easier relatively soon. I've recently implemented a name-server functionality and the ability for Player to auto-assign ports. That way, you can pretty much ignore such port management issues. brian. |