I've had a few people ask me before what game is such and such playing on the DMA server. I'm wondering how possible it would be to make a program or a script to write a "who's online" to a file every 30 seconds or so and have it so that people can retrieve it. Maybe even make a smart script that will see some one online that's in "ico dma client" and then fetch the program they're in and replacing ico dma client with the game they're in...
I know they're have to be a bot on the DMA server to do this, and maybe the file could even be written in to the webserver. But does any one have a clue where to start? Maybe even one that'd show who's online on the door game server would be great too!
Query program, script, etc
Moderator: Mod Squad
-
Stoneslinger76
- Posts: 427
- Joined: Wed Apr 23, 2008 12:01 pm
- Location: Kitchener, ON, Canada
- Contact:
Re: Query program, script, etc
Despains lateest rlogin update will allow you a command line switch to showMalakai wrote:I've had a few people ask me before what game is such and such playing on the DMA server. I'm wondering how possible it would be to make a program or a script to write a "who's online" to a file every 30 seconds or so and have it so that people can retrieve it. Maybe even make a smart script that will see some one online that's in "ico dma client" and then fetch the program they're in and replacing ico dma client with the game they're in...
I know they're have to be a bot on the DMA server to do this, and maybe the file could even be written in to the webserver. But does any one have a clue where to start? Maybe even one that'd show who's online on the door game server would be great too!
what module or name you want displayed in the who's on. Not sure if is wg3xxNT only.
Stoneslinger
telnet://theswampbbs.net or http://theswampbbs.net
telnet://theswampbbs.net or http://theswampbbs.net
The problem with a script would be that it'd have to run from the main server, possibly have 1 hidden bot on the main server and another hidden or public bot on the main server.
There may be another way though. Could there be like a modified finger server on the DMA server and then a globals mod that would gather the information on the main server and post it to people who use the global command?
it sucks not knowing how to program.. never know what kind of funky ideas I could come up with
There may be another way though. Could there be like a modified finger server on the DMA server and then a globals mod that would gather the information on the main server and post it to people who use the global command?
it sucks not knowing how to program.. never know what kind of funky ideas I could come up with
Re: Query program, script, etc
the first part is easy writing to file every X ticks using rtkick, problem with the update is if the file is opened it cannot be deleted and rewritten.Malakai wrote:I've had a few people ask me before what game is such and such playing on the DMA server. I'm wondering how possible it would be to make a program or a script to write a "who's online" to a file every 30 seconds or so and have it so that people can retrieve it. Maybe even make a smart script that will see some one online that's in "ico dma client" and then fetch the program they're in and replacing ico dma client with the game they're in...
I know they're have to be a bot on the DMA server to do this, and maybe the file could even be written in to the webserver. But does any one have a clue where to start? Maybe even one that'd show who's online on the door game server would be great too!
Re: Query program, script, etc
currently it is however i am making progress compiling the DOS ico modules.Stoneslinger76 wrote:Despains lateest rlogin update will allow you a command line switch to showMalakai wrote:I've had a few people ask me before what game is such and such playing on the DMA server. I'm wondering how possible it would be to make a program or a script to write a "who's online" to a file every 30 seconds or so and have it so that people can retrieve it. Maybe even make a smart script that will see some one online that's in "ico dma client" and then fetch the program they're in and replacing ico dma client with the game they're in...
I know they're have to be a bot on the DMA server to do this, and maybe the file could even be written in to the webserver. But does any one have a clue where to start? Maybe even one that'd show who's online on the door game server would be great too!
what module or name you want displayed in the who's on. Not sure if is wg3xxNT only.
MajorTCP has text variables that allow module text strings.
ICO dma should have a text variable option, ill play with it and make a dos addon that catches /# and does it my way.Malakai wrote:The problem with a script would be that it'd have to run from the main server, possibly have 1 hidden bot on the main server and another hidden or public bot on the main server.
There may be another way though. Could there be like a modified finger server on the DMA server and then a globals mod that would gather the information on the main server and post it to people who use the global command?
it sucks not knowing how to program.. never know what kind of funky ideas I could come up with
my rlogin client just replaces the core, after discussing several things with Rick we found it best not to do anythign that requires new core components compiled, so all i do is use a /# replacement module i wrote.Malakai wrote:I'm thinking now the easiest way to query the DMA server would be to get a who's online mod on the dma server, something that could run on a page as a module.
The problem would be finding a module that isn't just made for the global who's online command...
it has an option to choose any text string ya wish to display the users, like you could put on your menu
"Type /WHO For A List Of Users Online"
and make /WHO the text string.