The only reason I ask you guys is that I cannot program well (except some PHP and mIRC scripts) and do not have a compiler and don't want to go through the nightmare of installing a C compiler on windows.
I'd like Armagetron to support COM calls, so that other programs (such as mIRC) can get certain data from the game (for away playing game scripts, etc.). Data like, the server connected to, server address, how many players on server, etc.
If anybody could help me out here, it would be much appreciated.
something I would like for myself
-
- On Lightcycle Grid
- Posts: 16
- Joined: Mon Oct 10, 2005 6:02 am
- Location: N. Sanity Beach
something I would like for myself
--Hyper
irc.enterthegame.com #null
irc.enterthegame.com #null
-
- On Lightcycle Grid
- Posts: 16
- Joined: Mon Oct 10, 2005 6:02 am
- Location: N. Sanity Beach
Because COM is worthless? 
The direction we're going right now is to expose a web service, SOAP or xml-rpc or something like that. There's an embedded web server in cvs head that will be used for that, and I'll probably start hacking on it again in the next couple of weeks (that or I'll take on the configuration system again). I've been trying not to get too far away from the 0.2.8 branch in cvs head, and pretty busy otherwise, so not a whole lot of work has been done in this area.
But yeah, I'm definitely looking at ways to control the server from other programs, and this isn't one of our "throw python at it (means it goes on the list of things that might get done)" solutions, it's actually in progress.

The direction we're going right now is to expose a web service, SOAP or xml-rpc or something like that. There's an embedded web server in cvs head that will be used for that, and I'll probably start hacking on it again in the next couple of weeks (that or I'll take on the configuration system again). I've been trying not to get too far away from the 0.2.8 branch in cvs head, and pretty busy otherwise, so not a whole lot of work has been done in this area.
But yeah, I'm definitely looking at ways to control the server from other programs, and this isn't one of our "throw python at it (means it goes on the list of things that might get done)" solutions, it's actually in progress.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden
-
- On Lightcycle Grid
- Posts: 16
- Joined: Mon Oct 10, 2005 6:02 am
- Location: N. Sanity Beach
Aha. See, the problem with using a com object is that com is, erm, platform-restricted. I'm not fundamentally opposed to having it, but I'd like to see a more neutral solution.
The web server should work for the client too, but the problem with that is that it's a poke-it service, i.e. it doesn't do anything unless you poke it, which isn't suitable for what you're wanting to do.
OTOH, there is a long-term vision of putting python in there, and then you could write up some python (or reasonable facsimile thereof) to provide what you're wanting.
Other than that, there hasn't been any discussion about this that I know of.
The web server should work for the client too, but the problem with that is that it's a poke-it service, i.e. it doesn't do anything unless you poke it, which isn't suitable for what you're wanting to do.
OTOH, there is a long-term vision of putting python in there, and then you could write up some python (or reasonable facsimile thereof) to provide what you're wanting.
Other than that, there hasn't been any discussion about this that I know of.
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden
-
- On Lightcycle Grid
- Posts: 16
- Joined: Mon Oct 10, 2005 6:02 am
- Location: N. Sanity Beach
maybe a good starting point would be to put a server info file in the var/ directory? output server name, ip, number of players, etc. into the file. and rewrite it every round or something to that effect.
then any number of things could be done with that file, ie PERL, PHP, mIRC, whatever.
if this doesn't get enough support, maybe someone could just help me modify the source and recompile?
then any number of things could be done with that file, ie PERL, PHP, mIRC, whatever.
if this doesn't get enough support, maybe someone could just help me modify the source and recompile?
--Hyper
irc.enterthegame.com #null
irc.enterthegame.com #null
-
- On Lightcycle Grid
- Posts: 16
- Joined: Mon Oct 10, 2005 6:02 am
- Location: N. Sanity Beach