www.ClassicTW.com
http://classictw.com/

Tunnel Finder (Not dead ends or Bubbles)
http://classictw.com/viewtopic.php?f=15&t=34491
Page 1 of 1

Author:  Hammer_2 [ Wed Dec 03, 2014 5:59 am ]
Post subject:  Tunnel Finder (Not dead ends or Bubbles)

Hi All,

I'm back playing twars and am trying re-arm myself the modern tradewars way; with scripts!

Is there a publicly available script to find tunnels?

Meaning a set of sectors with two entrances, not one.

Cheers,

Hammer_1 (formally Hammer but I've lost that email address).

Author:  Cruncher [ Wed Dec 03, 2014 9:07 pm ]
Post subject:  Re: Tunnel Finder (Not dead ends or Bubbles)

I use the bubble finder in Swath. It finds tunnels and bubbles with dead-ends.

Author:  Hammer_2 [ Wed Dec 03, 2014 9:47 pm ]
Post subject:  Re: Tunnel Finder (Not dead ends or Bubbles)

So it does.. staring me right in the face.

Carry on, go about your business people!

Cheers Cruncher

Author:  LoneStar [ Wed Dec 03, 2014 11:22 pm ]
Post subject:  Re: Tunnel Finder (Not dead ends or Bubbles)

To answer your question, download the zip file a player named Helix put together:

https://dl.dropboxusercontent.com/u/673 ... p_v102.zip

look for my grid maker script thingy. Don't forget to let me know how awesome the script pack is. :)

Author:  Hammer_2 [ Mon Feb 16, 2015 3:07 am ]
Post subject:  Re: Tunnel Finder (Not dead ends or Bubbles)

LoneStar wrote:
look for my grid maker script thingy. Don't forget to let me know how awesome the script pack is. :)


Oh yeah, forgot to come back and say twas Awesome!

Not so awesome for the competition however :)

Author:  Kaus [ Wed Feb 18, 2015 11:53 am ]
Post subject:  Re: Tunnel Finder (Not dead ends or Bubbles)

Hammer_2 wrote:
LoneStar wrote:
look for my grid maker script thingy. Don't forget to let me know how awesome the script pack is. :)


Oh yeah, forgot to come back and say twas Awesome!

Not so awesome for the competition however :)


That depends on your competition *EG*

Author:  ElderProphet [ Sat Feb 21, 2015 12:02 pm ]
Post subject:  Re: Tunnel Finder (Not dead ends or Bubbles)

Hammer_2, I'd love to see you attempt a tunnel finder script of your own. That was the kind of script that I began writing, and quickly found how rewarding scripting could be.

The logic for a simple 3-sector-tunnel finder was something like:
start at sector 1
if this sector has 2 warps, check the adjacent sectors to see if they both have 2 warps.
if so, mark all 3 sectors as a tunnel
increment the sector number and repeat the tests.

Presenting the tunnels in a useful fashion is probably harder than finding them. But give it a shot and see how it turns out.

+EP+

Author:  Hammer_2 [ Tue Feb 24, 2015 2:41 am ]
Post subject:  Re: Tunnel Finder (Not dead ends or Bubbles)

Yep, did all that eventually EP,

Was just a case I'm just getting back into Tradewars and was more interested in winning a game than writing scripts.

I've made the tunnel finder and various other scripts since now.

I however still haven't bothered (and won't) with a haggling script because yours runs nicely over the top of mine to handle haggling! so thanks again for that awesome piece of scripting.

Cheers,

Hammer_2 (formerly Hammer but don't have that email address)

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/