View unanswered posts | View active topics It is currently Thu Apr 23, 2026 1:13 am



Reply to topic  [ 30 posts ]  Go to page Previous  1, 2
 ScoreKeeper v1.0- Uploaded to Grimy's 
Author Message
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post Re: ScoreKeeper v1.0- Uploaded to Grimy's
Yes, Toyman and I were discussing that too. I forgot to take into account the TWGS time out factor when filling in the information. I may switch it around so the menu will fire up first and allow the SysOp to fill in the info. Then when you press S to start, it connects.

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Thu Apr 02, 2009 9:15 am
Profile
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: ScoreKeeper v1.0- Uploaded to Grimy's
Helix wrote:
I get disconnected from the server and the script restarts before I can change any settings with no game letter, maybe thats part of my problem

Helix


Mine was timing out as well. Stop the server, Press Server, then Configure, go to Settings tab and change the Inactivity Timeout from 45 to 600 that should give you enough time to fill out the info. Mine kept doing the same thing and it was starting to P**S me OFF :) That should I help I was having the same issue using ProGameInfo.cts now both work fine.

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Thu Apr 02, 2009 11:47 am
Profile ICQ YIM WWW
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post Re: ScoreKeeper v1.0- Uploaded to Grimy's
Helix wrote:
Thrawn,

Any idea why the status window would look like this?

All of the settings seem to be correct after loading the settings but it still shows
'0' in the status window. See the attachment

Helix


I tasked Daala to code my other project while I worked on producing your error and I got your answer. When you first start the script and load your settings from before, then press D to delete, the delete function only deletes the text files. When I return to the menu I see my settings still inputted. When I pressed S to start the script, I got the same as you with the zeros appearing. I went back and re-entered my settings and when I started again all was fine.

It seems that I will need to make a couple of modifications to how I have the settings saving/deleting/displaying. When you press the keys to input your info, it writes that to a text file as soon as you are done with that one setting. When you are loading, it will load the files that are present. When you delete, it will delete all the text files. I'll look at making sure when settings are deleted, it clears the menu as well so no info shows rather than keeping the info you typed in.

Hope that made sense for you.

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Thu Apr 02, 2009 12:20 pm
Profile
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post Re: ScoreKeeper v1.0- Uploaded to Grimy's
Legion wrote:
what does this keep score of?


It is a SysOp script designed to keep scores of their game(s) and posts html files of the scores, and produces a TWGS Online Activity html file to show who is online. In other words, produces information from their TWGS to their website.

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Thu Apr 02, 2009 12:22 pm
Profile
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post Re: ScoreKeeper v1.0- Uploaded to Grimy's
V'Ger wrote:
Thrawn,

Just a suggestion, with sysbot, I created a subdirectory for it to throw all of its files. It might be useful to do something like that for scorekeeper in order to easily find and modify the files if need be.


I have the required text files going to the \data directory, but perhaps your method is a good idea. I'll look at that too.

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Thu Apr 02, 2009 12:24 pm
Profile
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: ScoreKeeper v1.0- Uploaded to Grimy's
Thanks Thrawn,

I do appreciate your help. I am going home to a 3 day weekend. I am sure I can get it dialed in.

Can I put the entries in the files before and just load them with no ill effects?

Helix

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?


Thu Apr 02, 2009 7:35 pm
Profile WWW
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post Re: ScoreKeeper v1.0- Uploaded to Grimy's
Helix wrote:
Thanks Thrawn,

I do appreciate your help. I am going home to a 3 day weekend. I am sure I can get it dialed in.

Can I put the entries in the files before and just load them with no ill effects?

Helix


No problem Helix. Always glad to help out.
The files are (place in twxproxy\data directory):

onlinepath.txt --> path and filename of the online HTML file (ex: w:\webserver\htdocs\outpost-4\tradewars\twgs\online\twgs_online.html)

scorepath.txt --> path only to place score HTML files (ex: w:\webserver\htdocs\outpost-4\tradewars\twgs\scores\)

site.txt --> Your site name (ex: Outpost-4 TradeWars)

timer.txt --> choices are 15, 30, 45 (these are in minutes)

timezone.txt --> your timezone (ex: PST)

games.txt --> game letters to run scores on what games. Place letter on seperate line (ex: line 1=a, line 2=c, etc...)

I could have included these files in the archive and instruct the SysOp to place in the \data directory and they could edit them. I will do that for the next release to make it easier.

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Thu Apr 02, 2009 7:57 pm
Profile
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: ScoreKeeper v1.0- Uploaded to Grimy's
Okay I got it running. Here is what I found out:

1. The settings have to be entered through the menu. When I manually edited the files, the script couldn't read them correctly

2. Because of the inactivity timeout, cut and paste is your friend.

3. Until Thrawn sets the script to load the menu and then connect, type really, really fast.

The files are on the Active Games page of my website

Thanks Thrawn!!!

Helix

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?


Fri Apr 03, 2009 1:56 am
Profile WWW
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: ScoreKeeper v1.0- Uploaded to Grimy's
[quote="Helix"]Okay I got it running. Here is what I found out:

1. The settings have to be entered through the menu. When I manually edited the files, the script couldn't read them correctly

2. Because of the inactivity timeout, cut and paste is your friend.

3. Until Thrawn sets the script to load the menu and then connect, type really, really fast.

The files are on the Active Games page of my website

I posted this yesterday you must have missed it - (timeout fix)
Mine was timing out as well. Stop the server, Press Server, then Configure, go to Settings tab and change the Inactivity Timeout from 45 to 600 that should give you enough time to fill out the info. Mine kept doing the same thing and it was starting to P**S me OFF :) That should I help I was having the same issue using ProGameInfo.cts now both work fine.

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Fri Apr 03, 2009 6:48 am
Profile ICQ YIM WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: ScoreKeeper v1.0- Uploaded to Grimy's
Thrawn

After using it for a couple days.... The only feature I could wish for is that the script would reconnect to the server after being disconnected and once reconnected, just pick up where it left off.

5 or 6 times a day I look at the server and see that the script had to reconnect to the server and so it started a second session of itself and just hangs. Not sure if my server is causing the disconnects or whether the scipt itself is timing out and getting disconnected.

Thanks again for the great addition to the sysop tools.

Helix

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?


Sun Apr 05, 2009 7:20 pm
Profile WWW
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post Re: ScoreKeeper v1.0- Uploaded to Grimy's
Helix wrote:
Thrawn

After using it for a couple days.... The only feature I could wish for is that the script would reconnect to the server after being disconnected and once reconnected, just pick up where it left off.

5 or 6 times a day I look at the server and see that the script had to reconnect to the server and so it started a second session of itself and just hangs. Not sure if my server is causing the disconnects or whether the scipt itself is timing out and getting disconnected.

Thanks again for the great addition to the sysop tools.

Helix


I have the reconnect feature in place, but as I was releasing it I noticed that I have it connecting then going to the menu. I'm working on the next release where the menu is first, then it connects and runs. If you press the ~ key it will go to the menu, then resume. If it disconnects, it will reconnect, read the data files and resume. I'll also be placing the reconnect feature in the scores section in case it disconnects during a score run; reconnect is only available while it's running the twgs_online script at this time.

I've only had one instance where my ScoreKeeper had a second instance running when it hung. However I'll examine that aspect as well to make certain I did not miss something.

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Sun Apr 05, 2009 10:38 pm
Profile
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: ScoreKeeper v1.0- Uploaded to Grimy's
I just changed the time to 1 hour (and started it just a minute after extern). Maybe that will make a difference.

Helix

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?


Sun Apr 05, 2009 11:03 pm
Profile WWW
Commander
User avatar

Joined: Fri Aug 20, 2004 2:00 am
Posts: 1801
Location: Outer Rims
Unread post Re: ScoreKeeper v1.0- Uploaded to Grimy's
Per the request of Helix and Toyman, I have pushed my other projects aside and have been working on a second release of the ScoreKeeper. I should have it ready within a week (or sooner) if all goes well. I want to thank Singularity for giving me some direction on the next release. It is really appreciated.

The next release will focus on the following:

* On connection, SysOp enters data via menu.
* On reconnection (if connection lost), ScoreKeeper will reconnect and if the files are available it will resume without SysOp intervention and resume the timer before scores are run. If files are not available, it will go to the menu.
* Removed the scores_# scripts as the ScoreKeeper script will now pull the scores.
* No longer will require an Observer account for each game for ScoreKeeper.
* Will keep the twgs_online and status mods for now.

I appreciate the input and will hopefully have this completed as soon as Daala and I are completed our final testing.

_________________
-Thrawn

But risk has always been an inescapable part of warfare.

--

Knight to Queen's Bishop 3


Tue Apr 07, 2009 12:26 am
Profile
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: ScoreKeeper v1.0- Uploaded to Grimy's
Sounds like some good changes I look forward to testing it out. I know the guys writing this don't hear it enough but thanks all the hard work is appreciated.

_________________
T0yman (Permanently Retired since 2012)
Proverbs 17:28 <-- Don't know it, most should it would stop a lot of the discussions on here.


Tue Apr 07, 2009 6:06 am
Profile ICQ YIM WWW
Ambassador
User avatar

Joined: Wed Nov 12, 2008 8:57 am
Posts: 3554
Location: Long Beach, CA
Unread post Re: ScoreKeeper v1.0- Uploaded to Grimy's
Looking forward to testing it out, and not making scorekeeper observer accts :)

_________________
Helix
Do I really look like a guy with a plan? You know what I am? I'm a dog chasing cars.
Lest we forget
I had to ask myself WWSGD?


Tue Apr 07, 2009 6:53 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 30 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 36 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

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.