Exporting Global Info and more

Idea and code exchange. Porting and new development talk here!

Moderator: Mod Squad

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

Exporting Global Info and more

Post by Stoneslinger76 »

Below is Quoted from http://www.classictw.com "sysop discussion"
John Pritchett wrote:Right. But what I was thinking is that Rick could probably very easily create a simple WG module that would act as an interface with TWGS, a sort of go-between that would then pass on commands to TWGS in a way that it understands. That's the beauty of having small bridge programs. I don't need to bloat TWGS with support for all of the different possible door/module systems, and I can allow TWGS to run in a way that takes more advantage of the specific features of a particular BBS.

The benefits of this are obvious for WG. But for other BBSs, using door.sys drop files in particular, it would just add a small amount of integration that's not possible with Telnet and RLogin. Just as an example, if a player has 10 minutes left on the BBS and starts TWGS, TWGS doesn't know it. They can't be warned and the shutdown won't be graceful. That kind of thing.
Just wanted to get your thoughts about what JP is trying to achieve with a small bridge program between WG and TWGS v2. The bridge will also work to convert other bbs's door.sys/doorinfo.def files so twgs v2 works with other older door based bbs software.

His main goal is to get the global's output and time left from wg to users in twgs v2. Is it possible to make a module that would do this or would his program need to be logged in and the relay info to twgs v2, or can updates be made to the rlogin/telnet module to pass "user time left", "bbs shut down" and some other globals?
Stoneslinger
telnet://theswampbbs.net or http://theswampbbs.net

frcorey
Posts: 414
Joined: Sat Jul 08, 2006 10:52 pm

Re: Exporting Global Info and more

Post by frcorey »

Stoneslinger76 wrote:Below is Quoted from http://www.classictw.com "sysop discussion"
John Pritchett wrote:Right. But what I was thinking is that Rick could probably very easily create a simple WG module that would act as an interface with TWGS, a sort of go-between that would then pass on commands to TWGS in a way that it understands. That's the beauty of having small bridge programs. I don't need to bloat TWGS with support for all of the different possible door/module systems, and I can allow TWGS to run in a way that takes more advantage of the specific features of a particular BBS.

The benefits of this are obvious for WG. But for other BBSs, using door.sys drop files in particular, it would just add a small amount of integration that's not possible with Telnet and RLogin. Just as an example, if a player has 10 minutes left on the BBS and starts TWGS, TWGS doesn't know it. They can't be warned and the shutdown won't be graceful. That kind of thing.
Just wanted to get your thoughts about what JP is trying to achieve with a small bridge program between WG and TWGS v2. The bridge will also work to convert other bbs's door.sys/doorinfo.def files so twgs v2 works with other older door based bbs software.

His main goal is to get the global's output and time left from wg to users in twgs v2. Is it possible to make a module that would do this or would his program need to be logged in and the relay info to twgs v2, or can updates be made to the rlogin/telnet module to pass "user time left", "bbs shut down" and some other globals?
that shouldn't be too hard for a programmer.
just will have to read a open btreive database for use data. he could write a wg modual that will do it.
but he would need versions for both the older btrieve wg and the newer sql wg systems.

Ragtop
Posts: 118
Joined: Wed May 07, 2008 12:35 am
Location: Louisville, KY
Contact:

Post by Ragtop »

I would like to see the communication go both ways. Global messages/pages from the BBS forwarding to the players in TWGS and fighter messages, etc from TW forwarding to players who are in other modules, the way HVS TW does.
Ragtop
The Adept BBS
http://www.adeptbbs.com
telnet://adeptbbs.com

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

Re: Exporting Global Info and more

Post by Stoneslinger76 »

frcorey wrote: that shouldn't be too hard for a programmer.
just will have to read a open btreive database for use data. he could write a wg modual that will do it.
but he would need versions for both the older btrieve wg and the newer sql wg systems.
So I should arrange to meet JP in Windsor, ON Canada and lend him a dev server with wg the wg dev kit.. :P

Just kidding but willing, I am not sure how familiar with the WG style of programing he is. He did not think porting twgs v2 to c +++++++ or wg dev kit format would be a good idea. Altho the wee program he talks about..???
Stoneslinger
telnet://theswampbbs.net or http://theswampbbs.net

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

Post by Stoneslinger76 »

Ragtop wrote:I would like to see the communication go both ways. Global messages/pages from the BBS forwarding to the players in TWGS and fighter messages, etc from TW forwarding to players who are in other modules, the way HVS TW does.
It would be much more effecient to have twgs v2 run like any other wg module. But, I dont think that will happen as JP has refused the port to wg already. What JP is purposeing is some sort of go between program for not only WG but the old school "door" based bbs's.

How to implement such a wee program for both wg and old school "door.sys" and "dorinfo.def" is what I think he's after.
Weather its possible to achieve both goals in 1 program, I dobt it is possible due to the inherent nature of the WG globals and other propritary enviroment WG runs in. It would be really cool to see something allow for info flow between twgs v2 and wg and the "old school door based bbs's"
Stoneslinger
telnet://theswampbbs.net or http://theswampbbs.net

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

Re: Exporting Global Info and more

Post by dspain »

Stoneslinger76 wrote:Below is Quoted from http://www.classictw.com "sysop discussion"
John Pritchett wrote:Right. But what I was thinking is that Rick could probably very easily create a simple WG module that would act as an interface with TWGS, a sort of go-between that would then pass on commands to TWGS in a way that it understands. That's the beauty of having small bridge programs. I don't need to bloat TWGS with support for all of the different possible door/module systems, and I can allow TWGS to run in a way that takes more advantage of the specific features of a particular BBS.

The benefits of this are obvious for WG. But for other BBSs, using door.sys drop files in particular, it would just add a small amount of integration that's not possible with Telnet and RLogin. Just as an example, if a player has 10 minutes left on the BBS and starts TWGS, TWGS doesn't know it. They can't be warned and the shutdown won't be graceful. That kind of thing.
Just wanted to get your thoughts about what JP is trying to achieve with a small bridge program between WG and TWGS v2. The bridge will also work to convert other bbs's door.sys/doorinfo.def files so twgs v2 works with other older door based bbs software.

His main goal is to get the global's output and time left from wg to users in twgs v2. Is it possible to make a module that would do this or would his program need to be logged in and the relay info to twgs v2, or can updates be made to the rlogin/telnet module to pass "user time left", "bbs shut down" and some other globals?
twgs has rlogin support, nuff said.

set it up on the same machine as the bbs.

install my rlogin daemon so you can use a port other than 512/513/514 for wg.

set the twgs port to 513.

rlogi9n from the bbs to the twgs server and it will take your bbs username as the login.

its no different than it being another module, the user will not see any differences either.

i do it right now with a synchronet networked message server for users to read fidonet and rimenet message bases, looks like its part of the worldgroup forum system i get emails about how im doing it all the time.
its just a simple rlogin to another application.

Ragtop
Posts: 118
Joined: Wed May 07, 2008 12:35 am
Location: Louisville, KY
Contact:

Post by Ragtop »

I don't think this is the issue. He is talking about global messages flowing from the BBS to the TWGS. Unless I am mistaken, this will not happen through rlogin. System messages do not go through rlogin and if I try to page someone in there, it gives a message saying the user can't receive pages at the moment.

I agree, the ideal solution is for TWGS to be ported to WG but that's not likely to happen. Barring that, some kind of module to forward messages to and from door programs would be a good alternative. Unless your rlogin module can be modified to allow this capability. That would eliminate the need for any new module to do this.
Ragtop
The Adept BBS
http://www.adeptbbs.com
telnet://adeptbbs.com

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

Post by dspain »

Ragtop wrote:I don't think this is the issue. He is talking about global messages flowing from the BBS to the TWGS. Unless I am mistaken, this will not happen through rlogin. System messages do not go through rlogin and if I try to page someone in there, it gives a message saying the user can't receive pages at the moment.

I agree, the ideal solution is for TWGS to be ported to WG but that's not likely to happen. Barring that, some kind of module to forward messages to and from door programs would be a good alternative. Unless your rlogin module can be modified to allow this capability. That would eliminate the need for any new module to do this.
Well I could accomplish this by removing the flag from the user channel injecting the message and returning the flag..
Anyone running a rlogin gateway wanna test this lemme know.

Ragtop
Posts: 118
Joined: Wed May 07, 2008 12:35 am
Location: Louisville, KY
Contact:

Post by Ragtop »

I can test it for you. I am currently running an rlogin gateway to TWGS. Wouldn't it be easier and probably more effective to remove the busy flag and just leave it off? User could then be contacted/alerted any time they are rloginned out (is that a word?).
Ragtop
The Adept BBS
http://www.adeptbbs.com
telnet://adeptbbs.com

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

Post by dspain »

Ragtop wrote:I can test it for you. I am currently running an rlogin gateway to TWGS. Wouldn't it be easier and probably more effective to remove the busy flag and just leave it off? User could then be contacted/alerted any time they are rloginned out (is that a word?).
yeah thats what im thinking about doing removing the flag when you rlogin out and if it was on when you return turn it back on.

im gonna compile it here in a bit see how it goes.

i got it just sending random test messages every 5 seconds.

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

Post by dspain »

Ragtop wrote:I would like to see the communication go both ways. Global messages/pages from the BBS forwarding to the players in TWGS and fighter messages, etc from TW forwarding to players who are in other modules, the way HVS TW does.
my recent compile works as far as messages.
for tw data to forward to the user on the bbs that would
require twgs coding as well cause i would have no way of knowing whats going on to send it back to the wg server.

but global messages work good right now.

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

Post by dspain »

Stoneslinger76 wrote:
Ragtop wrote:I would like to see the communication go both ways. Global messages/pages from the BBS forwarding to the players in TWGS and fighter messages, etc from TW forwarding to players who are in other modules, the way HVS TW does.
It would be much more effecient to have twgs v2 run like any other wg module. But, I dont think that will happen as JP has refused the port to wg already. What JP is purposeing is some sort of go between program for not only WG but the old school "door" based bbs's.

How to implement such a wee program for both wg and old school "door.sys" and "dorinfo.def" is what I think he's after.
Weather its possible to achieve both goals in 1 program, I dobt it is possible due to the inherent nature of the WG globals and other propritary enviroment WG runs in. It would be really cool to see something allow for info flow between twgs v2 and wg and the "old school door based bbs's"
yeah for wg it was easy as removing some flags injecting the messages and restorng the flags.

for the other bbs software im not too sure how to go about this.

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

Post by dspain »

Ragtop wrote:I can test it for you. I am currently running an rlogin gateway to TWGS. Wouldn't it be easier and probably more effective to remove the busy flag and just leave it off? User could then be contacted/alerted any time they are rloginned out (is that a word?).
well you could go about this for the rlogin client but it could pose a problem in non twgs situations.

so all i did was have the injection routine remove the flag send the message and restore it that way on a normal rlogin exit it can still do its normal flag stuff.

i may change this later to be a "TradeWars Messenger" since all the other wg modules are internal and dont need a tunnel.

the nly other problem i foresee is if sysops start using the Ether Tele-Arena and i have to do it with that too.

but right now twgs is the only external game i think sysops are running.

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

Re: Exporting Global Info and more

Post by Stoneslinger76 »

dspain wrote:
twgs has rlogin support, nuff said.

set it up on the same machine as the bbs.

install my rlogin daemon so you can use a port other than 512/513/514 for wg.

set the twgs port to 513.

rlogi9n from the bbs to the twgs server and it will take your bbs username as the login.

its no different than it being another module, the user will not see any differences either.

i do it right now with a synchronet networked message server for users to read fidonet and rimenet message bases, looks like its part of the worldgroup forum system i get emails about how im doing it all the time.
its just a simple rlogin to another application.
Yes I have been running your rlogin module update long before TWGS v2 beta began. It helped get the rlogin problems of previous twgs fixed for v2.It was tested on many carious port #'s and command line strings.

What he is after is a module to send the globals, time left, etc from wg to twgsv2. I dont think what he is after is possible, you'd know better than me if its possible.
Stoneslinger
telnet://theswampbbs.net or http://theswampbbs.net

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

Post by Stoneslinger76 »

Ragtop wrote:I don't think this is the issue. He is talking about global messages flowing from the BBS to the TWGS. Unless I am mistaken, this will not happen through rlogin. System messages do not go through rlogin and if I try to page someone in there, it gives a message saying the user can't receive pages at the moment.

I agree, the ideal solution is for TWGS to be ported to WG but that's not likely to happen. Barring that, some kind of module to forward messages to and from door programs would be a good alternative. Unless your rlogin module can be modified to allow this capability. That would eliminate the need for any new module to do this.
Yes globals and system messages.
Stoneslinger
telnet://theswampbbs.net or http://theswampbbs.net

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

Post by Stoneslinger76 »

dspain wrote:
Ragtop wrote:I don't think this is the issue. He is talking about global messages flowing from the BBS to the TWGS. Unless I am mistaken, this will not happen through rlogin. System messages do not go through rlogin and if I try to page someone in there, it gives a message saying the user can't receive pages at the moment.

I agree, the ideal solution is for TWGS to be ported to WG but that's not likely to happen. Barring that, some kind of module to forward messages to and from door programs would be a good alternative. Unless your rlogin module can be modified to allow this capability. That would eliminate the need for any new module to do this.
Well I could accomplish this by removing the flag from the user channel injecting the message and returning the flag..
Anyone running a rlogin gateway wanna test this lemme know.

Yup will do if you can make it.
Stoneslinger
telnet://theswampbbs.net or http://theswampbbs.net

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

Post by Stoneslinger76 »

dspain wrote: well you could go about this for the rlogin client but it could pose a problem in non twgs situations.

so all i did was have the injection routine remove the flag send the message and restore it that way on a normal rlogin exit it can still do its normal flag stuff.

i may change this later to be a "TradeWars Messenger" since all the other wg modules are internal and dont need a tunnel.

the nly other problem i foresee is if sysops start using the Ether Tele-Arena and i have to do it with that too.

but right now twgs is the only external game i think sysops are running.
Yes that would be cool, nice to hear you have some output happening.
It would probably be best to make it as "twgs messenger" module as to not mess up the rlogin module and others.
Stoneslinger
telnet://theswampbbs.net or http://theswampbbs.net

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

Re: Exporting Global Info and more

Post by dspain »

Stoneslinger76 wrote:Below is Quoted from http://www.classictw.com "sysop discussion"
John Pritchett wrote:Right. But what I was thinking is that Rick could probably very easily create a simple WG module that would act as an interface with TWGS, a sort of go-between that would then pass on commands to TWGS in a way that it understands. That's the beauty of having small bridge programs. I don't need to bloat TWGS with support for all of the different possible door/module systems, and I can allow TWGS to run in a way that takes more advantage of the specific features of a particular BBS.

The benefits of this are obvious for WG. But for other BBSs, using door.sys drop files in particular, it would just add a small amount of integration that's not possible with Telnet and RLogin. Just as an example, if a player has 10 minutes left on the BBS and starts TWGS, TWGS doesn't know it. They can't be warned and the shutdown won't be graceful. That kind of thing.
Just wanted to get your thoughts about what JP is trying to achieve with a small bridge program between WG and TWGS v2. The bridge will also work to convert other bbs's door.sys/doorinfo.def files so twgs v2 works with other older door based bbs software.

His main goal is to get the global's output and time left from wg to users in twgs v2. Is it possible to make a module that would do this or would his program need to be logged in and the relay info to twgs v2, or can updates be made to the rlogin/telnet module to pass "user time left", "bbs shut down" and some other globals?
i can writer something like this too, where his tw program can access the user data.

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

Post by dspain »

Stoneslinger76 wrote:
dspain wrote: well you could go about this for the rlogin client but it could pose a problem in non twgs situations.

so all i did was have the injection routine remove the flag send the message and restore it that way on a normal rlogin exit it can still do its normal flag stuff.

i may change this later to be a "TradeWars Messenger" since all the other wg modules are internal and dont need a tunnel.

the nly other problem i foresee is if sysops start using the Ether Tele-Arena and i have to do it with that too.

but right now twgs is the only external game i think sysops are running.
Yes that would be cool, nice to hear you have some output happening.
It would probably be best to make it as "twgs messenger" module as to not mess up the rlogin module and others.
yeah it removes the flag injects the message and sets the flag back all in a split second then when you exit normally it does its normal exit stuff.
only problem right now is the fact there is no way to return a message.

so if i send you a global message of hello, you see:

[Global message from Sysop]
hello

and you have no way to respond.

Ragtop
Posts: 118
Joined: Wed May 07, 2008 12:35 am
Location: Louisville, KY
Contact:

Post by Ragtop »

I doubt there's any way to do this from your end. It probably will require programming from the TWGS side. I know in HVS Tradewars, you have to hit the - key to access global commands. Unless JP wants to add that in (and I doubt he does) we probably won't be able to add that functionality.

What I would like to see is messages generated by TWGS being sent back through rlogin. In HVS, if you were sittiing in teleconference and someone attacked your fighters, you would get a page from TW notifying you of the attack and could jump in and defend. But this would probably also require coding from TWGS.
Ragtop
The Adept BBS
http://www.adeptbbs.com
telnet://adeptbbs.com

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

Post by Stoneslinger76 »

dspain wrote: so if i send you a global message of hello, you see:

[Global message from Sysop]
hello

and you have no way to respond.
I dont think JP intends to get that part done for a bit as he is very busy tweaking and fixing minor bugs in twgs.
Would be great to have it reguardless of response back from inside twgs.
Atleast the user inside twgs would know "the sysop said hi".
Or thier assets in the HVS tw game were being attacked :)
Stoneslinger
telnet://theswampbbs.net or http://theswampbbs.net

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

Post by dspain »

Stoneslinger76 wrote:
dspain wrote: so if i send you a global message of hello, you see:

[Global message from Sysop]
hello

and you have no way to respond.
I dont think JP intends to get that part done for a bit as he is very busy tweaking and fixing minor bugs in twgs.
Would be great to have it reguardless of response back from inside twgs.
Atleast the user inside twgs would know "the sysop said hi".
Or thier assets in the HVS tw game were being attacked :)
well i have Tradewars vII the source and all which is the one that was ported to javascript for synchronet.

i could always port it to WG, just gotta get in touch with tis Chris Skerrick fellow and make sure hes ok with it.

then the server could tell ya, email ya, whatever.

i have also remodified the rlogin client to disable message blocking if you pass a parameter of -B

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

Post by Stoneslinger76 »

dspain wrote:
i have also remodified the rlogin client to disable message blocking if you pass a parameter of -B


"Tradewars Messenger" its online at the swamp bbs and working great. It will send all send all system messages, pages, logon-logoff notices. If you play on a Worldrgoup bbs that is also running the HVS(mbbs) tradewars you will even recive in twgs v2 meesage relating to your assets being attacked in the hvs game.

Users can turn off the various messages to TWGS with the toggle switch from any menu on the bbs (not within twgs).
For help hit '?
Logon messages 'LOGON
Logoff messages 'LOGOFF
all off/on `OFF or `ON


Most of the twgs players I spoken to so far are enjoying the feature.
Big thanks to Dspain :D
Stoneslinger
telnet://theswampbbs.net or http://theswampbbs.net

Questman
Posts: 629
Joined: Sat Apr 01, 2006 9:48 pm
Location: Raleigh, NC
Contact:

Post by Questman »

Be careful, Dan -- John owns all rights to all things TW.

And yes, this bridge type of program absolutely could work as long as there was an interface for it in the destination software (TWGS).

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

Post by dspain »

Questman wrote:Be careful, Dan -- John owns all rights to all things TW.

And yes, this bridge type of program absolutely could work as long as there was an interface for it in the destination software (TWGS).
yeah im working with john directly

Questman
Posts: 629
Joined: Sat Apr 01, 2006 9:48 pm
Location: Raleigh, NC
Contact:

Post by Questman »

OK

Post Reply