Jun. 18, 2019

Hello der,  Guest
Trader Name:
Password:
 | Home | Forum List | Active Threads | Search:
Page: of 1   
Script Feedback > Thanks LoneStar!  
<< Thread >>
Subscribed:  
crosby

Joined: Dec 2005

posted: 10/07/2007 at 04:46 AM Post #1

A big thanks goes out to LoneStar for his LSECT script!  What an idea, a script writing another script!  Absolutely INSPIRED my man!!  Thanks for releasing that, opening up possibilities...

I gotta ask, for discussion purposes at least, why a separate script is needed here?  I mean the main script makes a huge macro which will quickly colo.. Once it has been sent, the main script is done, right?  Why can't the main just set back and watch the action once the mac is sent.  I mean, it could disconnect as easily as the Neo-script?

Thanks for your time!


Scripts writing scripts.. their self awareness is close!  Be giving 'em email addresses soon.
LoneStar


Joined: Jul 2006

posted: 10/10/2007 at 09:12 PM Post #2

Thanks a lot for the kudos. Though script idea was original, I think both Mind Dagger and Singularity deserve the of credit since I've learned a great deal from studying their work especially the M()MBot.


The only way to cancel a burst-macro (in the case of LSECT, a potentially very large Burst), is to disconnect from the Server. As the Macro-burst is being sent to the Server, disconnecting from the Server can only be done by using $C (TWX commands to manually disconnect), or as I eventually figured out, utilizing a seperate Script. Strangely, the Script that sent the Macro-burst cannot achieve a Disconnect until the burst has completed. So I devised a support script that would detect a few of the most common problems associated with Express-Col'n by issuing a DISCONNECT command which does stop the Macro-burst in its tracks.

The inspiration and reason for the main-script spawning a support script was ease of use by the couple of friends I gave copies too --as opposed to handing out two separate scripts.

Hope this sheds some light.

edited by: lonestar on 10/10/2007 at 09:22 PM

The Joker's Always Smiling in Every Hand That's De
crosby

Joined: Dec 2005

posted: 10/11/2007 at 06:17 AM Post #3

ahh, ok, I didn't know that; about the macro sending script not being able to disconnect.  That's curious, but darn nice workaround!  I'm sure there are other applications for a script spawning another script...will hafta keep it in mind.

Thanks for the info!
ElderProphet
TWX Development Team

Joined: Mar 2005

posted: 10/15/2007 at 06:19 PM Post #4

Instead of sending a large macro to be queued against the server, I advise you keep only a few seconds of action queued against the server, steadily feeding additional commands as the server works through those queued.  I've done this with ZTM scripts where I queue the first 5 plots (2 seconds), then feed it another plot request as it completes a plot.  In this way, the server is never waiting on input, but the delay to break out of the macro is only 2 seconds.

+EP+

Haggle Blog-> http://jroller.com/page/ElderProphet
LoneStar


Joined: Jul 2006

posted: 10/17/2007 at 07:27 AM Post #5

Nods EP. ck's ztm does that as well (macro bursts course plots).  However sending 'chunks' of a macro would have a small yet  cumulative inpack on speed during a Col-race --the key essential to matching -sometimes beating- TWarp col'n.


The Joker's Always Smiling in Every Hand That's De
Script Feedback >  Thanks LoneStar!
<< Thread >>
Subscribed:  
 | Home | Forum List | Active Threads | Search:
Page: of 1   

"why hello der matey! have a sit and buy me an ale, eh?" -- The Grimy Old Trader

The Grimy Trader is best viewed at 1024x768 resolution -- this page was generated in: 0.469 seconds.