View unanswered posts | View active topics It is currently Sat Apr 18, 2026 10:50 pm



Reply to topic  [ 6 posts ] 
 twx db updates on fig hit/destroy 
Author Message
Ensign
User avatar

Joined: Tue Jul 21, 2009 2:37 pm
Posts: 241
Location: Ottawa, Canada
Unread post twx db updates on fig hit/destroy
Are there scripts that will update the twx db when figs are killed? Which ones? I would have thought swath would do it as long as you had parsing on, but it doesn't seem to.


Mon Aug 31, 2009 6:35 pm
Profile
Ambassador
User avatar

Joined: Mon Feb 09, 2004 3:00 am
Posts: 3141
Location: Kansas
Unread post Re: twx db updates on fig hit/destroy
Hotblack Desiato wrote:
Are there scripts that will update the twx db when figs are killed? Which ones? I would have thought swath would do it as long as you had parsing on, but it doesn't seem to.


Your best bet is to write a script that uses sectorparameters to update when fighters are killed. This works well unless a corpie is gridding because you don't update a newly gridded sector unless you rebuild your list. Read the help file on parameters and you will find that it is easy to write.

_________________
               / Promethius / Enigma / Wolfen /

"A man who has no skills can be taught, a man who has no honor has nothing."


Mon Aug 31, 2009 7:31 pm
Profile ICQ
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: twx db updates on fig hit/destroy
Mombot does this, fyi. Several scripts out there do.

Swath only updates on scan, not on hits.

_________________
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 31, 2009 8:28 pm
Profile ICQ WWW
Commander

Joined: Sun Feb 25, 2001 3:00 am
Posts: 1838
Location: Guam USA
Unread post Re: twx db updates on fig hit/destroy
Vid's Quick figs write paramiters and out put files in 3 main formats used by other scripts.
Vid's Fighits removes them when extern runs as well as player/alien hits.

There are some grid scripts that will place the paramiter back so its seen as figs/mines are placed.
Otherwise you will have to do refresh once in awhile.

But your question was to remove .. so that would be fighit.cts

your welcome to re-invent the wheel if you want tho.

_________________
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


Tue Sep 01, 2009 12:57 am
Profile WWW
Ensign
User avatar

Joined: Tue Jul 21, 2009 2:37 pm
Posts: 241
Location: Ottawa, Canada
Unread post Re: twx db updates on fig hit/destroy
Promethius wrote:
Your best bet is to write a script that uses sectorparameters to update when fighters are killed. This works well unless a corpie is gridding because you don't update a newly gridded sector unless you rebuild your list. Read the help file on parameters and you will find that it is easy to write.


Thanks, that's what I figured, but my problem is the text to trigger on ... that particular line starts with a variable, and the string doesn't look very unique. I guess I might have to trigger on the previous line...

Singularity wrote:
Mombot does this


What? Really? I use mombot... do i have to change a setting or something? I'll have to test it... if it's been doing it for me all along I'll be really surprised.

Also, can i get swath to update sector parms from twx automatically? It would be nice if the map was always as up-to-date as possible...

Vid Kid wrote:
But your question was to remove .. so that would be fighit.cts


Cool, thanks Vid that's pretty much what I was looking for, I'll try it out. Only problem is the .cts, since I want to M()M-ify it ... but if mombot does this already then it's all moot.


Tue Sep 01, 2009 5:19 pm
Profile
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: twx db updates on fig hit/destroy
Quote:
What? Really? I use mombot... do i have to change a setting or something? I'll have to test it... if it's been doing it for me all along I'll be really surprised.


It does half of it. There's a routine "removeFigFromData" that gets called anytime a bwarp, pwarp, or twarp fails. It doesn't update on fighit, but that'd be a tiny thing to add. Just make a daemon that does it or something.

Quote:
Also, can i get swath to update sector parms from twx automatically? It would be nice if the map was always as up-to-date as possible...


Nah. Wouldn't that be nice.

_________________
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 Sep 01, 2009 6:49 pm
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

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