Query program, script, etc

Major BBS or Worldgroup - get and give support here.

Moderator: Mod Squad

Post Reply
Malakai
Posts: 636
Joined: Thu Apr 20, 2006 6:02 pm
Location:

Query program, script, etc

Post by Malakai »

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!

Stoneslinger76
Posts: 427
Joined: Wed Apr 23, 2008 12:01 pm
Location: Kitchener, ON, Canada
Contact:

Re: Query program, script, etc

Post by Stoneslinger76 »

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!
Despains lateest rlogin update will allow you a command line switch to show
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

Malakai
Posts: 636
Joined: Thu Apr 20, 2006 6:02 pm
Location:

Post by Malakai »

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

Malakai
Posts: 636
Joined: Thu Apr 20, 2006 6:02 pm
Location:

Post by Malakai »

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...

User avatar
dspain
Posts: 2102
Joined: Sun May 07, 2006 10:38 pm
Location: richmond,virginia
Contact:

Re: Query program, script, etc

Post by dspain »

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!
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.

User avatar
dspain
Posts: 2102
Joined: Sun May 07, 2006 10:38 pm
Location: richmond,virginia
Contact:

Re: Query program, script, etc

Post by dspain »

Stoneslinger76 wrote:
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!
Despains lateest rlogin update will allow you a command line switch to show
what module or name you want displayed in the who's on. Not sure if is wg3xxNT only.
currently it is however i am making progress compiling the DOS ico modules.

MajorTCP has text variables that allow module text strings.

User avatar
dspain
Posts: 2102
Joined: Sun May 07, 2006 10:38 pm
Location: richmond,virginia
Contact:

Post by dspain »

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
ICO dma should have a text variable option, ill play with it and make a dos addon that catches /# and does it my way.

User avatar
dspain
Posts: 2102
Joined: Sun May 07, 2006 10:38 pm
Location: richmond,virginia
Contact:

Post by dspain »

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...
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.

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.

Post Reply