View unanswered posts | View active topics It is currently Fri May 01, 2026 12:54 pm



Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3
 Script Request Area 
Author Message
Lieutenant

Joined: Fri Apr 05, 2002 3:00 am
Posts: 580
Location: USA
Unread post 
My unexplored sector scout is close.
It goes to all unseen.
I may add the option to go to all ufigged.
That isnt a bad idea.
If I ever get the time to script.

_________________
My scripts can be downloaded at http://www.grimytrader.com/.
Ore *****.
Even in my signature it's blocked out.


Tue Oct 03, 2006 11:37 am
Profile ICQ YIM
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post 
Code:
# -----------------------------------------------
# Dnyarri's insanely simple unfigged sectors report.
# -----------------------------------------------

setVar $file GAMENAME & "_unfigged-sectors.txt"
delete $file
gosub :get_figs
setVar $idx 10
while ($idx <= SECTORS)
     if ($figlist[$idx] < 1)
          write $file $idx
     end
     add $idx 1
end
echo ANSI_14 "File written!*"

# -----------------------------------------------
halt
# -----------------------------------------------

:get_figs
     setVar $fig_str ""
     setVar $line_idx 1
     setVar $figged_cnt 0
     setArray $figlist SECTORS
     setVar $figfile "_ck_" & GAMENAME & ".figs"
     fileExists $exists $figfile
     if ($exists = 0)
           echo "**No fig data found - Halting*"
           halt
     end
     echo ANSI_14 "*One moment please, loading fig list.*"

:read_a_fig_line
     read $figfile $file_line $line_idx
     if ($file_line = EOF) OR ($file_line = "EOF")
           goto :end_of_fig_file
     else
           setVar $fig_str $fig_str & " " & $file_line
     end
     add $line_idx 1
     goto :read_a_fig_line
:end_of_fig_file

:process_fig_str
     # echo "Figline: " $fig_str "*"
     setVar $funky_temp_idx 1
     while ($funky_temp_idx <= SECTORS)
           getword $fig_str $wordy $funky_temp_idx
           if ($wordy > 0)
                  setVar $figlist[$wordy] 1
                  add $figged_cnt 1
           end
           add $funky_temp_idx 1
     end
     :out_of_fig_loop

:end_of_fig_read
echo ANSI_14 $figged_cnt & " figged sectors read.*"
return


Reads CK's fig file, spits out a list of unfigged sectors. Works in 2.03, prolly works in 2.02, definately works in 2.04.

_________________
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


Tue Oct 03, 2006 12:04 pm
Profile ICQ WWW
Ensign
User avatar

Joined: Sun May 29, 2005 2:00 am
Posts: 234
Location: USA
Unread post 
Thanks Sing, I needed that.

_________________
Today just proved it again, ETERNALLY NOOB <grin>
IMNSHO and YMMV as always,

Dan

"The greastest lesson in life is to know that even fools are right sometimes" Winston Churchill
"A person who never makes mistakes seldom makes anything else." Christine Friberg
"Above all, remember that you are the master architect. If a chart gives you a result that you don't like, throw the book out the window and make your own choices!"World Builders Guidebook, 1996, TSR Inc., Page 3


Tue Oct 03, 2006 2:53 pm
Profile
Commander

Joined: Wed Apr 14, 2004 2:00 am
Posts: 1324
Location: USA
Unread post 
Thank you sing.
And yes, EP, I know I need to sit in on a few of those.
Did you record any of them?

_________________
Infecting others with a Polymorphic Virus since 1975.

Curing ignorance and terminal stupidity since 1999.

Questioning the intellectual abilities of three digit annual salary earners since 2015.


Tue Oct 03, 2006 3:07 pm
Profile WWW
Lieutenant J.G.

Joined: Mon Sep 22, 2003 2:00 am
Posts: 486
Location: USA
Unread post 
Thanks Sing that was a great demonstration of what I am
trying to do with this thread.

We need to have more then 1 place to get these scripts JIC....

Now if we have to we can make script requests a Header of its
own and then have seperate threads for the posting and
discussion of specific classes of scripts, ie..
Informative, Planets, Ports, Reds, Blues, and Combat.
If there is an interest for this I will get it done.

btw, jic = just in case : )

_________________
C.E.O. Corp Noble House
Sysop - Zentock's Realm TWGS
Co-Sysop - Vulcans Forge TWGS

Admin.
Vulcans Forge Forums
Vulcans Forge TeamSpeak


Wed Oct 04, 2006 12:06 pm
Profile ICQ
Gameop
User avatar

Joined: Thu Aug 24, 2006 2:00 am
Posts: 1737
Location: USA
Unread post 
Interested here. I like this thread but a little more organization never hurts.

_________________
American soldiers don't fight because they hate what's in front of them...they fight because they love what's behind them.
http://www.runawayproton.com <-- Expired
telnet://runawayproton.dyndns.org:223 V2.20b Games <-- Expired
http://www.twsubspace.com <-- Expired
Teamspeak 3 50.23.212.53:4196 <-- Expired
Just a has been now.


Wed Oct 04, 2006 1:05 pm
Profile WWW
Warrant Officer

Joined: Fri Aug 30, 2002 2:00 am
Posts: 72
Unread post 
quote:Originally posted by Runaway Proton

I as a sysop would like the ability to bang a game, and explore it out without filling the universe with figs. People coming into a game don't like to find it "preloaded"
JTWAT has a "ship-Explore" script that will explore without trading or dropping figs.

_________________
"Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety." -Benjamin Franklin-


Thu Oct 26, 2006 5:02 pm
Profile ICQ YIM WWW
Lieutenant

Joined: Sun May 09, 2004 2:00 am
Posts: 630
Location: USA
Unread post 
quote:Originally posted by ElderProphet

quote:Originally posted by Hiro

I believe Wotok and Wabbit is the same person.
Zero chance of that.

I believe it was Wotok who created and posted the Context syntax file. I encourage TWX Scripters to consider TextPad. I found it simpler, and it can be configured with a black background, unlike Context. If there is interest, I could post my TextPad syntax file for TWX 2.04 on Grimy.

+EP+


YES, it was Wotok who turned me on to ConTEXT way back, But if EP
has something simple-er its worth a look! but dont have a link to get it?

_________________
The Last Honest player in Tradewars!


Thu Oct 26, 2006 7:14 pm
Profile ICQ YIM
Commander
User avatar

Joined: Tue Oct 07, 2003 2:00 am
Posts: 1134
Location: Augusta, GA
Unread post 
I'll try to post the syntax file to Grimy this week, and maybe a few screen shots of my setup. The black background was Traitor's idea, but once you've used your text editor that way... there's just no going back.

Heh, I think I've heard the brothers say that... once you go black, you never go back.

+EP+

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


Sun Oct 29, 2006 4:54 pm
Profile WWW
Lieutenant J.G.
User avatar

Joined: Sun Mar 13, 2005 3:00 am
Posts: 387
Location: USA
Unread post 
Heh, I think I've heard the brothers say that... once you go black, you never go back.

Because the white boys won't let ya.
Sorry if this offends anyone...

_________________
Find out just what any people will quietly submit to and you have the exact measure of the injustice and wrong which will be imposed on them. Frederick Douglas


Mon Oct 30, 2006 2:43 am
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 40 posts ]  Go to page Previous  1, 2, 3

Who is online

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