View unanswered posts | View active topics It is currently Tue Apr 28, 2026 11:57 pm



Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
 probe script cant determine unexplored sectors? 
Author Message
Gunnery Sergeant
User avatar

Joined: Wed Aug 13, 2008 5:37 pm
Posts: 25
Location: Little Rock, Arkansas
Unread post probe script cant determine unexplored sectors?
I've using the Pack 2 probe script as well as RammaR's probe script and neither are correctly determining which sectors of mine are unexplored. Does this problem have a simple solution I am over looking?

Also, how does ZTM work now, I mean, do I just run a ZTM script while TWX is recording and TWX will automatically take the data gained into account?

Also, is there a hot key to end a script running under TWX that I can hit from within my terminal?

I'm in the dark ages here people, give me a hand :D

Bruce


Mon Aug 25, 2008 6:04 am
Profile ICQ
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post Re: probe script cant determine unexplored sectors?
It's probably more of a difference between what you are calling unexplored and what the scripts consider unexplored. I always wrote probe scripts to grab the unexplored sectors list from the game server, but those scripts may use another means, like the explored flag in the database that can be several different values. Review the SECTOR.EXPLORED system value in the script.html file. Also, more about the discrepency would help.

TWX will automatically process the ZTM data. Be sure to use a ZTM script based off of Rev's "pass" technique.

$z or $sz can be used to stop all scripts, or you can use $sk to kill a particular script. Also, some scripts have their own hotkeys.

Regards,
+EP+

_________________
Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.


Mon Aug 25, 2008 6:18 am
Profile WWW
Gunnery Sergeant
User avatar

Joined: Wed Aug 13, 2008 5:37 pm
Posts: 25
Location: Little Rock, Arkansas
Unread post Re: probe script cant determine unexplored sectors?
I read up where you suggested.

Thing is that when I tell it via the menu interface within the script 2_probe (or 2_query for that matter), and I tell it to use unexplored sectors, it just goes about it's sequential or random routine without regard to whether or not the sector is actually explored or not.

The same happened with RammaRs probe script, which actually counts up how many sectors have been found within the probe criteria and displays them before starting the script. In this case, when I tell it unexplored sectors, it comes up with ~4750 targets for the probes (this is a 5k sector universe that I have already explored ~83% of using COMPLETELY crude probe scripts that I have scripted in a language no one here uses [That being COMMO script, which I used to write a rudimentary helper back in the mid 90s and I am still familiar with it and use it when I need to accomplish something fast])

I have NOT completed a ZTM, and I am not familiar with the method which you are speaking of, if you could give a bit of details about the most proper way to ZTM for TWX, I would be much obliged.

[edit: I downloaded Cherokees Public Scripts from Grimy Trader and would using that ZTM script be sufficient? How many passes 2-6? How long does each pass take?]

Thanks for the fast response.


Mon Aug 25, 2008 6:27 am
Profile ICQ
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: probe script cant determine unexplored sectors?
Never used 2_probe before, but Ram's should work... I've used it before and it does a good job of grabbing unexp'd sectors. It's a bit slow on the distance calcs, but that's about it. If you're using the distance calcs you'll need a ztm, but if you're just using random unexplored you won't... I used to use it in games I didn't have a ztm for (usually at the end of an unlim or high turns game) and it worked fine.

And yes, CK's "6 pass" ztm is good. Prome's ztm is good too. The timing on the passes differ based on the universe, how it's laid out, and of course the size. A 10k takes about 3 hours to fully map, a 20k... I'd budget 6 hours. A 5k should take less than 2.

When it says "explored" it means the TWX database has to have it marked as explored (or probed). It will not pull data from the game, nor will it use the in-game "explored" list. So if you didn't have twxproxy loaded and set to record data it won't know that you've explored it. If you had twxproxy loaded, listening to the data as it came in and set to record (recording is an option in the pulldown menu) but it didn't... then odds are you've got a corrupted game database.

Long story short, you use a TWX:

if (SECTOR.EXPLORED[sector] <> "YES")
blah
end

Type approach for this. The explored parm has other settings and dscan hardly counts as explored.

_________________
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
Image


Mon Aug 25, 2008 7:17 am
Profile ICQ WWW
Gunnery Sergeant
User avatar

Joined: Wed Aug 13, 2008 5:37 pm
Posts: 25
Location: Little Rock, Arkansas
Unread post Re: probe script cant determine unexplored sectors?
oic.

Yeah, I had explored most of this before installing twx so I guess that makes sense. Wish you could tell it to pull from the game :(

Bruce


Mon Aug 25, 2008 7:24 am
Profile ICQ
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: probe script cant determine unexplored sectors?
Nod, one of the features I asked for a long time ago... the ability to write to the game data arrays. Then you could write a script to pull the "explored" list and update accordingly.

_________________
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
Image


Mon Aug 25, 2008 7:30 am
Profile ICQ WWW
Commander

Joined: Sun Feb 25, 2001 3:00 am
Posts: 1838
Location: Guam USA
Unread post Re: probe script cant determine unexplored sectors?
ElderProphet is right on those ways to stop scripts , All scripts & system scripts.
I set a hot key as $sx this stops all non system scripts .

A system script is one with a line in it
system script

these run in background and are harder to stop unless you use ElderProphet's way
or stop them with Stop script feature in twx.

I'm not sure , but I thought with twx's record on if you cim sectors the twx will record these as seen.
But I'll let someone confirm or refute this.

_________________
TWGS V2 Vids World on Guam Port 2002
Telnet://vkworld.ddns.net:2002
Discord @ DiverDave#8374
Vid's World Discord

Founding Member -=[Team Kraaken]=- Ka Pla

Image
Winners of Gridwars 2010
MBN Fall Tournament 2011 winners Team Kraaken
Undisputed Champions of 2019 HHT Just for showing up!

The Oldist , Longist Running , Orginal Registered Owner of a TWGS server :
Vids World On Guam


Mon Aug 25, 2008 11:41 am
Profile WWW
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: probe script cant determine unexplored sectors?
Quote:
I'm not sure , but I thought with twx's record on if you cim sectors the twx will record these as seen.


Yeh, try a sector CIM... it might work.

_________________
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
Image


Mon Aug 25, 2008 11:49 am
Profile ICQ WWW
Gameop
User avatar

Joined: Tue Sep 25, 2007 7:27 pm
Posts: 530
Location: Long Island
Unread post Re: probe script cant determine unexplored sectors?
It should work. I log in using an observer account and it lets me grab a complete map of the universe. I use it to post the maps for our ICE9 Building Games.

_________________
If you have a building game, they will come...

Proud Sysop of ICE9 TWGS
Home of Building and Non Regulated Games
http://www.oregonsouth.com/ice9
telnet://ice9-tw.com:2002


Mon Aug 25, 2008 12:56 pm
Profile
Gunnery Sergeant
User avatar

Joined: Wed Aug 13, 2008 5:37 pm
Posts: 25
Location: Little Rock, Arkansas
Unread post Re: probe script cant determine unexplored sectors?
Thanks for the help everyone.

I ran a 6 cycle ztm using Cherokees ZTM script and then exported a bubble report from TWX which after I checked about 4 of them (granted I went and checked the bigger ones) turned out to be terribly inaccurate.

Have I done something wrong here?

I've restarted a new ZTM using the "horrendously slow" 1_ZTM script that came with TWX. ETA: 7 hours or so (which is fine by me really).

But, I don't want to do it for nothing. What do you all think?

Bruce


Mon Aug 25, 2008 1:05 pm
Profile ICQ
Lieutenant Commander
User avatar

Joined: Sun Jan 29, 2006 3:00 am
Posts: 801
Location: Iowa
Unread post Re: probe script cant determine unexplored sectors?
If I were going to spend all that time..I guess I'd rather use prom's ztm, seems you get more bang for your buck.


my unsolicited .02 $ ..worth every penny

_________________
#+++
The early bird may get the worm, but the second mouse gets the cheese.
#---


Mon Aug 25, 2008 1:25 pm
Profile ICQ YIM
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post Re: probe script cant determine unexplored sectors?
TWX will grab all of the warp data visible in a CIM. It's a good practice to CIM before probing or ZTM'ing anyway.

I have a probe script and ZTM I should release. The ZTM isn't polished, but the probe script is, and is as efficient (time and money) as a probe script can be. This was the one I used in one of the TWX scripting classes from a while back.

Of course, if there were enough interest, we could do another script class, and then you could hammer something like this out yourself. You know, the "give a man a fish..., teach a man to fish..." paradigm.

+EP+

_________________
Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.


Mon Aug 25, 2008 6:02 pm
Profile WWW
Gunnery Sergeant
User avatar

Joined: Wed Aug 13, 2008 5:37 pm
Posts: 25
Location: Little Rock, Arkansas
Unread post Re: probe script cant determine unexplored sectors?
I would be interested, but it may be a bit beyond my means atm, EP. I haven't tried my hand at writing TWX scripts at all just yet, but I've been reading about it on pages like The Cabal's Secret Hideout and I can wrap my head around things like arrays. I was quite proficient with another scripting language so I imagine if I apply myself a little, that it should come fairly quickly to me.

Anyways, 40 minutes till this ZTM is done :D Hopefully, this one will paint an accurate picture of the universe for TWX. *crosses fingers*

Bruce


Mon Aug 25, 2008 7:21 pm
Profile ICQ
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: probe script cant determine unexplored sectors?
Quote:
I ran a 6 cycle ztm using Cherokees ZTM script and then exported a bubble report from TWX which after I checked about 4 of them (granted I went and checked the bigger ones) turned out to be terribly inaccurate.


Nod, it's bubble report will be different than what you see visually, and there's a size limit in twxproxy you'll need to adjust. Ck's ZTM is slightly more accurate, at 6 pass, than prome's, but not by much. Or atleast it was, I think he talked about adjusting his algo. Xide's ZTM method is horribly inaccurate, IIRC.

Quote:
TWX will grab all of the warp data visible in a CIM. It's a good practice to CIM before probing or ZTM'ing anyway.


Warp data yes, but will it update the SECTOR.EXPLORED[sector] to YES for it?

Quote:
I have a probe script and ZTM I should release. The ZTM isn't polished, but the probe script is, and is as efficient (time and money) as a probe script can be. This was the one I used in one of the TWX scripting classes from a while back.


Nod, for the most part just probe by depth from dock, removing newly explored sectors from the list as you go.

Quote:
I would be interested, but it may be a bit beyond my means atm, EP. I haven't tried my hand at writing TWX scripts at all just yet, but I've been reading about it on pages like The Cabal's Secret Hideout and I can wrap my head around things like arrays. I was quite proficient with another scripting language so I imagine if I apply myself a little, that it should come fairly quickly to me.


Think of arrays like a tall stack of boxes. You give a name to that stack, then address each box by an identifier.

Ie:
SECTOR.EXPLORED[sector]

The name of the box is SECTOR.EXPLORED and the identifier is the sector number, so you'd have...
SECTOR.EXPLORED[1] to identify the 1st box (which would correspond to sector 1), etc, etc.

_________________
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
Image


Mon Aug 25, 2008 11:29 pm
Profile ICQ WWW
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post Re: probe script cant determine unexplored sectors?
Quote:
Quote:
TWX will grab all of the warp data visible in a CIM. It's a good practice to CIM before probing or ZTM'ing anyway.
Warp data yes, but will it update the SECTOR.EXPLORED[sector] to YES for it?

If SECTOR.EXPLORED was "NO", then it would be updated to "CALC". This is true for a warp or port CIM.

_________________
Claim to Fame: only guy to ever crack the TW haggle algorithm, and fig/shield/hold price formula, twice.


Tue Aug 26, 2008 11:09 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 23 posts ]  Go to page 1, 2  Next

Who is online

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