Alt.Binz forum

Alt.Binz (English) => Help => Topic started by: SytheZN on June 22, 2010, 11:16:57 pm

Title: Automation - Disconnect\Reconnect
Post by: SytheZN on June 22, 2010, 11:16:57 pm
Just a thought...

the server I'm using occasionally connects badly, giving me [430]'s all over until I reconnect...

To give you an overview, using 10 threads, 8 will connect fine, but 2 will return 430 on every article.

Is there any way I can get Alt.Binz to disconnect and reconnect or disable and enable the offending threads
automatically when I get 430's?
Title: Re: Automation - Disconnect\Reconnect
Post by: Hecks on June 22, 2010, 11:41:31 pm
Not as such.  You could perhaps try adding the same server as a backup to itself, then at least it will retry for the phantom missing articles over a new connection. 

430  No such article found

The best solution of course is to get a proper provider.
Title: Re: Automation - Disconnect\Reconnect
Post by: SytheZN on June 23, 2010, 09:12:10 am
Yeah I would... If there were one nearby.

Is there any scripting support in alt.binz?
Title: Re: Automation - Disconnect\Reconnect
Post by: Hecks on June 23, 2010, 09:23:14 am
You can toggle Connect programmatically by replacing <connect>false</connect> with <connect>true</connect> in the altbinz_status.xml file (see Setup -> Miscellaneous #2).  I'm not sure there's enough status info there for you to do what you want, though.  You'd probably need to parse the log file for errors. 

Try the backup suggestion above first. ;)
Title: Re: Automation - Disconnect\Reconnect
Post by: Rdl on June 23, 2010, 11:24:45 am
Backup suggestion should do the job
Title: Re: Automation - Disconnect\Reconnect
Post by: SytheZN on June 23, 2010, 09:04:44 pm
Hmmm... Thanks.

Using the backup server thing is great, only it sometimes takes 8-10 reconnection attempts before i get the thread working.

The problem with using the Connect button is it kills all the threads, not just the ones returning errors.

I'm a programmer by day, so I think I'll write my own client... Can I count on you guys for help with the protocol?
Title: Re: Automation - Disconnect\Reconnect
Post by: Rdl on June 24, 2010, 07:30:56 am
Plenty info on the internet.

Lock