On Mon, Oct 6, 2008 at 3:10 AM, Lee Begg <[EMAIL PROTECTED]> wrote: > On Fri, 03 Oct 2008 07:58:33 Aaron Mavrinac wrote: >> Mithro and I are working on including the single-player mode wizard in >> an upcoming release soon. > > Does it actually use the config protocol?
Not yet. Right now, it just configures the server on the command line and hopes everything works. I'll be working on the first piece of that soon, though. It will check in the XML file if the server supports the protocol (coming soon), and if so, it will talk to the server to make sure everything was started correctly. If I can get it done soon enough and it works relatively bug-free I hope to include it in the release. > Is that page completely up to date? I noticed references to init files at the > bottom, which I thought had gone now. Nope, you're right, I've updated the instructions. They won't be necessary soon in any case. Mithro: One of the instructions is to switch the libtpclient-py submodule of tpclient-pywx over to the singleplayer branch. Is that kosher? Is there a better way to do that (like, if I clone the singleplayer branch of tpclient-pywx, can it automatically use the singleplayer branch of libtpclient-py for the submodule)? > Why can't it just assume the program is on the path? Maybe prompt if it's not > found? I should have mentioned that in most cases, such as with tpserver-cpp on UNIX platforms, that will work (and you can feel free to just assume path in your XML file for it). Anything that doesn't install to path should probably install a wrapper script there at least. However, daneel-ai, for example, references files (by path) for its rulesets, and I need a way to point to those. Or not. It's up to whoever maintains the servers and AIs really -- all I care about is that if I run the commandstring text from any CWD, it works. :) Also, I'm not sure what the situation is with Windows, we probably need to point to an absolute path for binaries there. Prompting if something in the XML files isn't found may not be a bad idea in general. I'll keep it in mind. > I am planning to do a release in the next week or so. I don't think there is > much else but this to be done. > > I'll be putting together my first pass on this tonight. Looks good, thanks! Nitpick: I think you may want to leave the absolute path thing out (as per above) because, simplicity aside, I can see this causing a problem with the Gentoo ebuild right off the bat. Sorry. ;) -- Aaron Mavrinac www.mavrinac.com PGP Public Key: http://www.mavrinac.com/pgp.asc _______________________________________________ tp-devel mailing list [email protected] http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel
