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.
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.
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.
meh..
if socket.state = 7 then
do whatever u were origionally doing
end if
7? Eww? What are symbolic constants for? :-/
symbolic constants are for symbolically representing constants.
glad to be of help to you, Yoni.
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
thx Grok ::)
thanx MesiaH that just helped me quite a bit now
heh , i know gj MesiaH
ok guys, dont forget the </sarcasm>