• Welcome to Valhalla Legends Archive.
 

help with bot

Started by tony, January 14, 2003, 08:31 AM

Previous topic - Next topic

tony

Hey when i try to run my bot after about 2 hours i get a error that reads: run-time error 40020. invalid operation at current state. dose anyone know how to fix this? it on a spam but it it says it right when it says connecting to MCP.

Grok

#1
Maybe this.  Hope it helps, spammer.

WSAEINPROGRESS (10036)

Operation now in progress.

A blocking operation is currently executing. Windows Sockets only allows a single blocking operation to be outstanding per task (or thread), and if any other function call is made (whether or not it references that or any other socket) the function fails with the WSAEINPROGRESS error.

** If not that, then possibly this:

WSA_IO_PENDING (OS dependent)

Overlapped operations will complete later.

The program has initiated an overlapped operation which cannot be completed immediately. A completion indication will be given at a later time when the operation has been completed.

** My guess is the former.

Yoni

#2
Invalid operation at current state? Sounds like a VB error, you didn't specify what language you use though?

Also, you didn't specify whether you have the source of the said bot or are using a binary.

Mesiah / haiseM

#3
meh..

if socket.state = 7 then
    do whatever u were origionally doing
end if

]HighBrow Innovations
Coming soon...

AIM Online Status: 

Yoni

#4
7? Eww? What are symbolic constants for? :-/

Grok

#5
symbolic constants are for symbolically representing constants.

glad to be of help to you, Yoni.

Mesiah / haiseM

#6
socket states in vb, simplified:

0 = closed
1 = open
2 = listening
3 = pending request
4 = resolving host name
5 = done resolving host name
6 = connecting to remote host
7 = connected to remote host
8 = closing connection to remote host
9 = error
]HighBrow Innovations
Coming soon...

AIM Online Status: 

Yoni

#7
thx Grok ::)

RhiNo

#8
thanx MesiaH that just helped me quite a bit now

SiMi

#9
heh , i know gj MesiaH

Mesiah / haiseM

#10
ok guys, dont forget the </sarcasm>
]HighBrow Innovations
Coming soon...

AIM Online Status: