View unanswered posts | View active topics It is currently Sat Dec 27, 2025 3:42 am



Reply to topic  [ 2 posts ] 
 Sweeper Script 
Author Message
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Sweeper Script
I have been testing and adding option's for several days with no problems. This version is only for 2.10, if there are more changes in T-Edit I will keep this updated.
If there is a feature that someone would like added please let me know I will add what I can.
Use= Login T-Edit - E > (Game Letter) Start Script. Select options you want from the menu below. Title bar will show the number of sectors it will be sweeping. Since this script can remove planets from sectors I have markers set in each sector it sweeps as a warning:
Sector : 18897 in Planets/Limps/Mines/NavHaz - Check Rules!.
Beacon : 1 Toll Fig anything else will be removed!

Those can be edited and changed in the script lines 21 & 22. I considered making them part of the menu but I was trying to keep the menu limited to normal changes. But if someone wants it added let me know.
When the script is done with it's run it let's you know it has finished using the following message.
"Currently Running The Butler, Sweeping 155 Sectors on a 120 min Delay!"

-------====== The Butler ver 1.1 Sweeping 155 Sectors =======--------
A) Sweep Nav Haz (Y or N) :Y
B) Sweep List of Figs (Y or N) :Y
C) Number of Figs (1 default) :1
D) Sweep List of Mines (Y or N) :Y
E) Sweep List of Limpets (Y or N) :Y
F) Sweep List for Planets (Y or N) :Y
T) Delay between runs (default 120min) :120
S) Start!
X) Stop & Exit Script!
>
Script reads a text file named "tb.txt" from the root of TWX (folder) and sweeps the sectors you select. I normally sweep 4 out from SD, MSL's and Class 0's.

Sector Listing in tb.txt is listed in the following format.
6021
7710
12513
18897
Attachment:
File comment: The Butler ver 1.1
The_Butler.ts [5.94 KiB]
Downloaded 424 times

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


Sat Sep 17, 2011 6:21 pm
Profile ICQ YIM WWW
Veteran Op
User avatar

Joined: Sat Dec 29, 2007 5:06 pm
Posts: 2059
Location: Oklahoma
Unread post Re: Sweeper Script
Another version that does exactly the same thing but offer's a few minor changes. No Menu like the above since this one is designed to run without a telnet window. Make changes to the variables using Notepad or other text editor as I explain the attached instruction. Has a setting for servers that are closing games from let's say 11pm to 1am, the script will not sweep during these hours. I am not 100% sure if you close from 1am to 3am, I have not tested but would be more than happy to add if someone needs it. I have ran this script for 1 week with absolutely NO issues.

Reason for change - I might be Gameop for a building game and the server will be down for a significant amount of time & was requested to not have the script using a port if not actually running. Options I should have had in the original version but just never had a reason until now.
Attachment:
The_Butler_Unattendedv1.1u.ts [3.98 KiB]
Downloaded 399 times

Instruction and Variable descriptions:
Attachment:
The Butler 1.1u.doc [37.5 KiB]
Downloaded 435 times

_________________
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 Oct 28, 2011 5:31 pm
Profile ICQ YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

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