| Author |
Message |
|
Cruncher
Ambassador
Joined: Fri Feb 23, 2001 3:00 am Posts: 4016 Location: USA
|
 Blocked port report
I haven't seen this report offered in Swath or public TWX scripts (yet)
This was a report I enjoyed using that was in TWHelper, basically just reading the CIM file, and telling you if a port you've already visited was not reporting now - enemy fig blocking port report.
Is there anything like this available publically?
_________________
BOTE 1998 Champs: Team Fament HHT 2015 Champs: Cloud09 Big Game 2016 Champs: Draft team HHT 2018 Champs: Rock Stars Big Game 2019 Champs: Draft Team
Classic Style Games Here: telnet://crunchers-twgs.com:2002 Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm Blog with current server info: http://cruncherstw.blogspot.com Discord: https://discord.gg/4dja5Z8 E-mail: Cruncherstw@gmail.com FaceBook: http://www.facebook.com/CrunchersTW
|
| Sun Mar 27, 2011 11:27 am |
|
 |
|
Helix
Ambassador
Joined: Wed Nov 12, 2008 8:57 am Posts: 3554 Location: Long Beach, CA
|
 Re: Blocked port report
Try this one 
_________________ 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?
Last edited by Helix on Tue Mar 29, 2011 9:58 pm, edited 1 time in total.
|
| Sun Mar 27, 2011 11:35 am |
|
 |
|
Promethius
Ambassador
Joined: Mon Feb 09, 2004 3:00 am Posts: 3141 Location: Kansas
|
 Re: Blocked port report
Cruncher wrote: I haven't seen this report offered in Swath or public TWX scripts (yet)
This was a report I enjoyed using that was in TWHelper, basically just reading the CIM file, and telling you if a port you've already visited was not reporting now - enemy fig blocking port report.
Is there anything like this available publically? Something like the below might work for you: Code: # blocked ports delete gameName & "blockedPort.txt" setArray $ports SECTORS setVar $i 11 setVar $pass 1 :begin send "^rq" setTextTrigger done :done ": ENDINTERROG" setTextLineTrigger port :port "%" pause :getPorts
:port setTextLineTrigger port :port "%" getword currentline $portNum 1 setVar $ports[$portNum] $portNum pause :done killtrigger port while ($i <= SECTORS) if (port.exists[$i]) if ($ports[$i] = 0) # below is just to set for certain warps out - add to line above # and (sector.warpcount[$i] = 1) getsector $i $chkSector # ignore alien space getwordpos $chkSector.Constellation $pos "Space" if ($pos = 0) write gameName & "blockedPort.txt" $i end end end add $i 1 end
_________________
/ Promethius / Enigma / Wolfen /
"A man who has no skills can be taught, a man who has no honor has nothing."
|
| Sun Mar 27, 2011 1:51 pm |
|
 |
|
Cruncher
Ambassador
Joined: Fri Feb 23, 2001 3:00 am Posts: 4016 Location: USA
|
 Re: Blocked port report
Thanks guys, can't wait to try them out in my new TWGS game. Started one today, 500 sector universe, 250 turns deepest bbl is 2 sectors. Turn management is vital 
_________________
BOTE 1998 Champs: Team Fament HHT 2015 Champs: Cloud09 Big Game 2016 Champs: Draft team HHT 2018 Champs: Rock Stars Big Game 2019 Champs: Draft Team
Classic Style Games Here: telnet://crunchers-twgs.com:2002 Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm Blog with current server info: http://cruncherstw.blogspot.com Discord: https://discord.gg/4dja5Z8 E-mail: Cruncherstw@gmail.com FaceBook: http://www.facebook.com/CrunchersTW
|
| Sun Mar 27, 2011 10:22 pm |
|
 |
|
Scrat
Chief Warrant Officer
Joined: Sun Jan 20, 2008 5:15 am Posts: 142
|
 Re: Blocked port report
Or you could just use the Sector Finder tool in Swath. Just set the port type to "Blocked".
|
| Mon Mar 28, 2011 12:27 pm |
|
 |
|
Cruncher
Ambassador
Joined: Fri Feb 23, 2001 3:00 am Posts: 4016 Location: USA
|
 Re: Blocked port report
Scrat wrote: Or you could just use the Sector Finder tool in Swath. Just set the port type to "Blocked". Very cool, thank you! I'm going to have to explore Swath more thoroughly.
_________________
BOTE 1998 Champs: Team Fament HHT 2015 Champs: Cloud09 Big Game 2016 Champs: Draft team HHT 2018 Champs: Rock Stars Big Game 2019 Champs: Draft Team
Classic Style Games Here: telnet://crunchers-twgs.com:2002 Web page from 1990's: https://web.archive.org/web/20170103155645/http://tradewars.fament.com/Cruncher/tradewar.htm Blog with current server info: http://cruncherstw.blogspot.com Discord: https://discord.gg/4dja5Z8 E-mail: Cruncherstw@gmail.com FaceBook: http://www.facebook.com/CrunchersTW
|
| Mon Mar 28, 2011 3:29 pm |
|
 |
|
ElderProphet
Commander
Joined: Tue Oct 07, 2003 2:00 am Posts: 1134 Location: Augusta, GA
|
 Re: Blocked port report
That's a really long post Helix. My preference would be short code snippets in posts, longer scripts in attached files. I'm just saying...
Prom, that is a nice routine. Another example of cleverly using the TWX database.
_________________ Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.
|
| Tue Mar 29, 2011 1:23 pm |
|
 |
|
Helix
Ambassador
Joined: Wed Nov 12, 2008 8:57 am Posts: 3554 Location: Long Beach, CA
|
 Re: Blocked port report
The forum doesn't allow .ts file attachments.
H
_________________ 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 Mar 29, 2011 3:48 pm |
|
 |
|
Singularity
Veteran Op
Joined: Thu Jun 02, 2005 2:00 am Posts: 5558 Location: USA
|
 Re: Blocked port report
Ooo, good reminder. See if you can upload .ts and .cts now.
_________________ May the unholy fires of corbomite ignite deep within the depths of your soul...
1. TWGS server @ twgs.navhaz.com 2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads 3. Open IRC chat @ irc.freenode.net:6667 #twchan 4. Parrothead wrote: Jesus wouldn't Subspace Crawl.
*** SG memorial donations via paypal to: dpocky68@booinc.com
|
| Tue Mar 29, 2011 4:20 pm |
|
 |
|
Helix
Ambassador
Joined: Wed Nov 12, 2008 8:57 am Posts: 3554 Location: Long Beach, CA
|
 Re: Blocked port report
the .ts attached just fine
_________________ 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 Mar 29, 2011 9:58 pm |
|
 |
|