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

Script ---- checkSector.ts
https://mail.black-squirrel.com/viewtopic.php?f=15&t=17558
Page 1 of 1

Author:  Promethius [ Sun Jul 23, 2006 4:51 am ]
Post subject: 

< deleted >

Author:  Singularity [ Sun Jul 23, 2006 5:56 am ]
Post subject: 

If you're clearing all avoids why not use the getDistance function? It's much faster than a CF plot.

Author:  Promethius [ Sun Jul 23, 2006 7:43 am ]
Post subject: 

quote:Originally posted by Singularity

If you're clearing all avoids why not use the getDistance function? It's much faster than a CF plot.



Actually I just rechecked it and I am only setting and then clearing the single avoid. I'm not sure why I thought I was clearing all avoids. I probably should clear all avoids prior to running any plots.

The CF plots pretty much give the shortest distance. I was thinking with getDistance (when I don't have a ZTM) that I might get bad data on the distances and the CF plot would take care of that.

Author:  Singularity [ Sun Jul 23, 2006 8:01 am ]
Post subject: 

send " c v 0 * y y q "

Anyway... CF plots would work if you had a bad ztm, I rarely do tho. Guess if you're in an unlim early on you might need that, dunno. getDistance uses the same algo that TW uses, it's just a lot faster because of the 500ms delay added to plots.

Author:  Parrothead [ Sun Jul 23, 2006 9:12 pm ]
Post subject: 

if getdistance has no data for a correct answer from database it returns "-1"
I use this as a branch to do plots only if i need them.
Just a thuoght.

Author:  Singularity [ Sun Jul 23, 2006 10:46 pm ]
Post subject: 

Partial data is the problem. Even 1 warp out would be enough for getDistance to plot, even tho the plotted course would be incorrect and the hop count would be wrong (it wouldn't be the shortest distance).

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