This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Windrop - Gametiger tcl script problem

Old posts that have not been replied to for several years.
Locked
C
CloudHopper

Post by CloudHopper »

I'm running a Windrop. I was trying to run the gametiger.tcl script (which you can find in the slennox's archives). I also added the http.tcl script and sourced in the conf file.

The http.tcl scripts works fine and he uses it to handle the ::http::geturl command from the gametiger script but i keep getting the same TCL error:

"TCL error [pub:flood]: couldn't open socket: connection timed out"

The flood procedure however is working ok (i tested this). I'm trying to find out how i can look up the socket settings and modify e.g. timeout.

I couldn't find anything saying Windrop supports this feature.

Here is the syntax i used and where the error occurs:

# Get the file
set url "http://www.gametiger.net/search?player=[lindex $args 0]]&game=cstrike""
set outfl [open $tigerfile w]
http::geturl $url -channel $outfl
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The http script, uses Tcl sockets to get download the web-page.

The error you are getting, is this socket timeing out on connect.
C
CloudHopper

Post by CloudHopper »

Ok, now I know it's a tcl-socket timing out. How can check if the tcl-sockets function properly on my windrop?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Locate a web-site, with quick tatency times, and get the http package to download a page from that site.
t
thetaphi

Post by thetaphi »

Could it be that you need a HTTP-Proxy?
Z
Zsac
Voice
Posts: 15
Joined: Sun Nov 17, 2002 10:12 pm

Post by Zsac »

my new version of the script found at the below link catches the timeouts.
Locked