www.ClassicTW.com
https://mail.black-squirrel.com/

One ways
https://mail.black-squirrel.com/viewtopic.php?f=14&t=29319
Page 1 of 1

Author:  Timberwolf [ Mon Aug 23, 2010 10:40 pm ]
Post subject:  One ways

Before I bang Bot Wars on the beta server , probably this weekend, I have a quick question regarding the one way setting when banging a game.

In all my test games, I've left the one way percentage at default...I thought that was ok...but I've found several one ways that caused me some problems. For example, I would move a colt to another sector when doing SST and discover it's a one way and I'm 14 hops away from the other colt instead of 4 or 5 like it was supposed to be.

I found quite a few one ways like that.

So I like to ask you players - do you like a lot of one ways or do you prefer to see them at a minimum?

Feedback is appreciated and I'll take all feedbacks into consideration when I bang the game this weekend.

Author:  Singularity [ Mon Aug 23, 2010 10:57 pm ]
Post subject:  Re: One ways

Timberwolf wrote:
In all my test games, I've left the one way percentage at default...I thought that was ok...but I've found several one ways that caused me some problems. For example, I would move a colt to another sector when doing SST and discover it's a one way and I'm 14 hops away from the other colt instead of 4 or 5 like it was supposed to be.


When doing SST setup, you want to plot between all of the ports.
Like if you have 3 ports, plot from:
A to B
A to C
B to A
C to A
B to C
C to B

Timberwolf wrote:
So I like to ask you players - do you like a lot of one ways or do you prefer to see them at a minimum?


Regular one-way settings are fine.

Author:  Promethius [ Mon Aug 23, 2010 11:53 pm ]
Post subject:  Re: One ways

Might try something like this, and if you do, let me know if it works. ;)

Code:
echo ANSI_11 "Enter the all sectors to use for SST/SDT"
getConsoleInput $stealSectors

replaceText $stealSectors "," " "

getword $stealSectors $sectors 1
setVar $cnt 1
while ($sectors <> 0)
        setVar $sSectors[$cnt] $sectors
      add $cnt 1
      getword $stealSectors $sectors $cnt
end
setVar $i 1
setVAr $j 1
while ($i < $cnt)
       while ($j < $cnt)
           if ($j <> $i)
              getDistance $dist $sSectors[$i] $sSectors[$j]
              echo ANSI_12 "*Distance from " $sSectors[$i] " to " $sSectors[$j] " is " $dist
              getDistance $dist $sSectors[$j] $sSectors[$i]
              echo ANSI_12 "*Distance from " $sSectors[$j] " to " $sSectors[$i] " is " $dist
           end
           add $j 1
       end
      add $i 1
      setVar $j 1
end

Author:  Singularity [ Tue Aug 24, 2010 12:25 am ]
Post subject:  Re: One ways

Hehe. I had a similar idea, but wanted to use the bot and CF plots incase we didn't have a ZTM...

Attached in a zip. Read the TS, drop the .cts into a mombot folder.

Note: The forum really needs to accept .TS and .CTS files directly.

Attachments:
maxdist.zip [3.62 KiB]
Downloaded 255 times

Author:  Promethius [ Tue Aug 24, 2010 9:31 am ]
Post subject:  Re: One ways

Singularity wrote:
Hehe. I had a similar idea, but wanted to use the bot and CF plots incase we didn't have a ZTM...

Attached in a zip. Read the TS, drop the .cts into a mombot folder.

Note: The forum really needs to accept .TS and .CTS files directly.


Yeah, the forum file types that are acceptable need to be changed. Not accepting the .ts and .cts is a bit much.

I like the CF plots, that is a good idea. The version I wrote just returns a -1 and the distances may not be correct if there isn't a a ztm. I tested the one I wrote a bit ago, and it seems to work - amazing to me after yesterday's ride and celebration.

Author:  Timberwolf [ Tue Aug 24, 2010 4:10 pm ]
Post subject:  Re: One ways

Thanks, guys. I didn't think to plot the SST sectors. I SHOULD have thought of that. Much appreciated..so I'll leave the one way setting at default then. And I agree - .cts and .ts file types should be accepted , but nothing a little workaround with a zip or rar file can fix for now. Many scripts are usually bundled with a readme or help file anyways.

Again, thanks :)

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