Posted: Wed Jul 19, 2006 1:33 am Post subject: [Net-Oscar] Couldn't set win32 blocking
When I run a perl aimbot signon script I get the following error:
Couldn't set win32 blocking: unknown error.
The perl script is:
Code:
#!/usr/bin/perl
use Net::OSCAR;
use Win32;
my $aimbot = Net::OSCAR->new(capabilities => [qw(extended_status typing_status)]);
$aimbot->signon("username_here", "password_here");
Why am I getting this error? I turned of Windows Firewall and I don't think Zone Alarm is doing it, although I wouldn't eliminate Zone Alarm as a possible source for the problem.
Net::OSCAR wasn't made for Windows. It uses the POSIX module, for instance, which doesn't work on Linux. So, in its code, it was programmed to look for compatibility issues like this, and it happens to think the Win32 blocking error is fatal.
Go to the file and line number where that error is at (or if it doesn't specify, search its modules' sources for "win32" and you'll find it)... and change the "or die" part to "or warn" to turn this error into a warning and not a fatal error.
That should fix it and it'll work on Windows. _________________ Current Site (2008) http://www.cuvou.com/