|
Page 1 of 1
|
[ 10 posts ] |
|
| Author |
Message |
|
Thrawn
Commander
Joined: Fri Aug 20, 2004 2:00 am Posts: 1801 Location: Outer Rims
|
This may seem silly to ask, but is there a way to log into a specific node? What I mean is I have our TWGS ScoreKeeper bot logged in for scores, who's online, etc. Is there a way to get it to log directly to node 50 for example, or does it just grab the next node in the list open?
_________________ -Thrawn
But risk has always been an inescapable part of warfare.
--
Knight to Queen's Bishop 3
|
| Fri Sep 15, 2006 9:05 pm |
|
 |
|
Darkstarbase
Gameop
Joined: Wed Jun 07, 2006 2:00 am Posts: 241 Location: Daytona Beach, Florida
|
Why not have it log in to the admin port and you wont have to have it show up in the list.
_________________ -=Darkstarbase TWGS=- http://www.darkstarbase.com telnet://darkstarbase.no-ip.org:23 Like us on Facebook http://facebook.com/darkstarbase
|
| Fri Sep 15, 2006 9:47 pm |
|
 |
|
RexxCrow
Captain
Joined: Sat Jun 18, 2005 2:00 am Posts: 2214 Location: USA
|
As far as I know you can’t control whom gets assigned to what node, though running an Admin utility should be done on port 2003. I am working on a similar project currently based on your original idea from a few weeks ago, it has seen turned out to become more complex then originally intended, new ideas keep sprouting up and I have been having to contend with those and rewriting my code like crazy, I have one more rewrite to finish before the first release will be ready… and about 6-major bugs to work out, (I think I have fixed more of those though, have yet to run another test in the last few days though.)
My next version is going to actually log into each game and gather the info of each online player and then display it rather then working off of the information on the main TWGS login page, the next version will use the active game info to determine which games to search for online users and then go through and gather their alignment, rank, corporation info, and current ship, and each players total online time (since the script has been running), then it will convert this to display within an HTML file for uploading via FTP to you’re web-site. There will also be a planned function that gets the * and V info which can be viewed via button click for each game listing (this would expand or contract by a sub-menu that is operated by an external JS function.) This will take quite a bit of work to finish the next version though, this first barebones version I think is nearing completion, you can view the results here taken from UTW a few nights ago (it has major errors with the listed figures though):
[url="http://blackhorizontwgs.net/POANMonitor/POAN.HTML"]View POAN Monitor v1.0 Example[/url]
I also have several ideas for another version after this next one that will incorporate IP and username tracking into an admin searchable database, that will also account for game popularity, daily login averages, server active time/total hours, total user base; and a few other ideas, though this is getting into complex accounting and would take awhile to get achieve. It would be really be a helpful addition to.
Disclaimer: I only logged into UTW for testing purposes as a user, on the logic that if it works on a server with 40-70 players logged into over a dozen different games going and it works as designed then it would perfectly on any server under any condition… my only worry with this is how it will respond when it encounters a very long name that forces the ship name to wrap onto the next line, (I have noticed this causes a cutText error and crashes out the script, so far I have not been able to find a work around, granted this is rare but it could happen.) I am hopping that the new version of TW will place character limits on all interactive naming queries such as there is currently on planet names. And no UTW is not working with me on this project, so don’t even ask, heh! This is for the greater good of TW, so I am willing to make an exception. Although Darkstarbase has volunteered for initial testing so that was kewl.
_________________ Your reliance upon subjective IRM's, subjugates you through utter omission, obfuscation, and distortion of fact! Don't mess with me, I will 26 U.S.C. § 7212(a) your IRS!
|
| Fri Sep 15, 2006 10:51 pm |
|
 |
|
Thrawn
Commander
Joined: Fri Aug 20, 2004 2:00 am Posts: 1801 Location: Outer Rims
|
quote:Originally posted by Darkstarbase
Why not have it log in to the admin port and you wont have to have it show up in the list.
I use to do that, but the TWGS ScoreKeeper we built had accessed tedit by mistake and affected a game instead of logging in and pulling scores. Hence using the regular port to avoid this problem. But we did however add the global tedit password to avoid the problem and the TWGS ScoreKeeper would not do that again. So with that I could go back to using the Admin port. I use the regular because it does not matter Admin or reg a node is used, but at least players could see the TWGS ScoreKeeper online.
_________________ -Thrawn
But risk has always been an inescapable part of warfare.
--
Knight to Queen's Bishop 3
|
| Fri Sep 15, 2006 10:55 pm |
|
 |
|
Thrawn
Commander
Joined: Fri Aug 20, 2004 2:00 am Posts: 1801 Location: Outer Rims
|
quote:Originally posted by RexxCrow
As far as I know you can’t control whom gets assigned to what node, though running an Admin utility should be done on port 2003. I am working on a similar project currently based on your original idea from a few weeks ago, it has seen turned out to become more complex then originally intended, new ideas keep sprouting up and I have been having to contend with those and rewriting my code like crazy, I have one more rewrite to finish before the first release will be ready… and about 6-major bugs to work out, (I think I have fixed more of those though, have yet to run another test in the last few days though.)
My next version is going to actually log into each game and gather the info of each online player and then display it rather then working off of the information on the main TWGS login page, the next version will use the active game info to determine which games to search for online users and then go through and gather their alignment, rank, corporation info, and current ship, and each players total online time (since the script has been running), then it will convert this to display within an HTML file for uploading via FTP to you’re web-site. There will also be a planned function that gets the * and V info which can be viewed via button click for each game listing (this would expand or contract by a sub-menu that is operated by an external JS function.) This will take quite a bit of work to finish the next version though, this first barebones version I think is nearing completion, you can view the results here taken from UTW a few nights ago (it has major errors with the listed figures though):
[url="http://blackhorizontwgs.net/POANMonitor/POAN.HTML"]View POAN Monitor v1.0 Example[/url]
I also have several ideas for another version after this next one that will incorporate IP and username tracking into an admin searchable database, that will also account for game popularity, daily login averages, server active time/total hours, total user base; and a few other ideas, though this is getting into complex accounting and would take awhile to get achieve. It would be really be a helpful addition to.
Disclaimer: I only logged into UTW for testing purposes as a user, on the logic that if it works on a server with 40-70 players logged into over a dozen different games going and it works as designed then it would perfectly on any server under any condition… my only worry with this is how it will respond when it encounters a very long name that forces the ship name to wrap onto the next line, (I have noticed this causes a cutText error and crashes out the script, so far I have not been able to find a work around, granted this is rare but it could happen.) I am hopping that the new version of TW will place character limits on all interactive naming queries such as there is currently on planet names. And no UTW is not working with me on this project, so don’t even ask, heh! This is for the greater good of TW, so I am willing to make an exception. Although Darkstarbase has volunteered for initial testing so that was kewl.
I'd be interested in setting it here Rexx on the OCS TWGS and running it, unless it's not open to public. It provides good info. Maybe an option where the script can be broken down into multiple scripts per game idea. But we can chat more on that if you like.
Otherwise I'm impressed.
_________________ -Thrawn
But risk has always been an inescapable part of warfare.
--
Knight to Queen's Bishop 3
|
| Sat Sep 16, 2006 2:40 am |
|
 |
|
the reverend
Gameop
Joined: Thu Mar 08, 2001 3:00 am Posts: 886 Location: USA
|
i have a twgs monitor script that grabs clv, whosonline, and game logs as often as you want, converts them to html, and ftps them to your website. it works really well and was used for several tournaments. i haven't used it in for-friggin-ever, but if you want i could figure it out again. it's public.
_________________ twgs : telnet://twgs.thereverend.org:5023 web : http://www.thereverend.org games : http://www.thestardock.com/twgssearch/i ... verend.org helper : http://svn.thereverend.org:8080/revhelper/
|
| Sat Sep 16, 2006 3:24 am |
|
 |
|
Thrawn
Commander
Joined: Fri Aug 20, 2004 2:00 am Posts: 1801 Location: Outer Rims
|
quote: Originally posted by the reverend
i have a twgs monitor script that grabs clv, whosonline, and game logs as often as you want, converts them to html, and ftps them to your website. it works really well and was used for several tournaments. i haven't used it in for-friggin-ever, but if you want i could figure it out again. it's public.
It was a REXX script, yes? If so I have them  Good work on them.
I would like to know could we modify them? In other words, add functions, etc?
_________________ -Thrawn
But risk has always been an inescapable part of warfare.
--
Knight to Queen's Bishop 3
|
| Sat Sep 16, 2006 3:47 am |
|
 |
|
RexxCrow
Captain
Joined: Sat Jun 18, 2005 2:00 am Posts: 2214 Location: USA
|
Sure, that would be cool. All versions will be open source (TWX) for public consumption. Taking into consideration the HTML formatting involved it would be extremely difficult to make game display options for the admin to choose from, there would have to be a complete reformatting layout function for each available option, if that is what you were meaning? As far as the processes within the script though could be placed into their own resource files for use in other scripts, such as an included comma function that will place comma’s up from 1,000-999,999,999,999,999 and my personal favorite a millisecond to Hours, Minutes, and Seconds time converter, there is also an auto login/reconnect process, (I am also thinking about including a dumbbell-check for relogging redundancy protection just incase something goes haywire and causes it to crash/timeout and logon over and over, meanwhile you are out of the day and it is burning CPU, so instead if this is detected it will self terminate with an alert; still trying to think of the best way to implement something like that though; besides just a counting save variable per period of time to pass comparison.) Just wait till you see the admin view, cause it is super sweet, heh!
This does require a little setting up, but is not all that bad, it was worse until I included the Admin Configuration Menu, that made it nicer, though you will need to setup your TWX a little differently such as replacing the $ to something else such as % and will need to change your login/reconnect a bit, this script was designed to do that on its own, which I discovered some problems with TWX wanting to control this so I used save and load variables in conjunction with a stop command, so then that caused some other issues so I made a little global’s reset script to run should the original script be prematurely terminated. Your terminal will also need to have any auto logon actions seized so as to not interfere with this. I also include sound enable/disable for altering, which will play appropriately enough Trekie “Computer” sounds.
Soon as I finish up this first take, I will shoot you and Darkstarbase a copy to mess with.
_________________ Your reliance upon subjective IRM's, subjugates you through utter omission, obfuscation, and distortion of fact! Don't mess with me, I will 26 U.S.C. § 7212(a) your IRS!
|
| Sat Sep 16, 2006 3:49 am |
|
 |
|
Thrawn
Commander
Joined: Fri Aug 20, 2004 2:00 am Posts: 1801 Location: Outer Rims
|
quote:Originally posted by RexxCrow
Sure, that would be cool. All versions will be open source (TWX) for public consumption. Taking into consideration the HTML formatting involved it would be extremely difficult to make game display options for the admin to choose from, there would have to be a complete reformatting layout function for each available option, if that is what you were meaning? As far as the processes within the script though could be placed into their own resource files for use in other scripts, such as an included comma function that will place comma’s up from 1,000-999,999,999,999,999 and my personal favorite a millisecond to Hours, Minutes, and Seconds time converter, there is also an auto login/reconnect process, (I am also thinking about including a dumbbell-check for relogging redundancy protection just incase something goes haywire and causes it to crash/timeout and logon over and over, meanwhile you are out of the day and it is burning CPU, so instead if this is detected it will self terminate with an alert; still trying to think of the best way to implement something like that though; besides just a counting save variable per period of time to pass comparison.) Just wait till you see the admin view, cause it is super sweet, heh!
This does require a little setting up, but is not all that bad, it was worse until I included the Admin Configuration Menu, that made it nicer, though you will need to setup your TWX a little differently such as replacing the $ to something else such as % and will need to change your login/reconnect a bit, this script was designed to do that on its own, which I discovered some problems with TWX wanting to control this so I used save and load variables in conjunction with a stop command, so then that caused some other issues so I made a little global’s reset script to run should the original script be prematurely terminated. Your terminal will also need to have any auto logon actions seized so as to not interfere with this. I also include sound enable/disable for altering, which will play appropriately enough Trekie “Computer” sounds.
Soon as I finish up this first take, I will shoot you and Darkstarbase a copy to mess with.
My gratitude Rexx. I'll throw your name on the Credits page of the TradeWars Academy site.
_________________ -Thrawn
But risk has always been an inescapable part of warfare.
--
Knight to Queen's Bishop 3
|
| Sat Sep 16, 2006 4:08 am |
|
 |
|
RexxCrow
Captain
Joined: Sat Jun 18, 2005 2:00 am Posts: 2214 Location: USA
|
Well, I am honored… does this mean I will have to prepare an acceptance speech? [^]
_________________ Your reliance upon subjective IRM's, subjugates you through utter omission, obfuscation, and distortion of fact! Don't mess with me, I will 26 U.S.C. § 7212(a) your IRS!
|
| Sat Sep 16, 2006 4:17 am |
|
 |
|
|
Page 1 of 1
|
[ 10 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 63 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|