Valhalla Legends Forums Archive | Battle.net Bot Development | help please

AuthorMessageTime
TeEhEiMaN
For some reason vb 6 is crashin after i click run and then connect with my bot, then stop the program or close it. Only happends when i connect, not when i do anything eles. I can run the bot and mess with setup or any other forums and stop it and nothin happen, so what do u think the problem is?

Thanks
February 29, 2004, 1:47 AM
o.OV
You could try debugging ..

Place a Breakpoint in the sub
that runs when you click Connect.
Then use F8 to step into EVERY LINE
until you are in channel or you have crashed.
That will reveal which line is causing your bot to crash.
February 29, 2004, 3:08 AM
TeEhEiMaN
no bugs come up, what do u suggest next?
February 29, 2004, 3:24 AM
LoRd
Most likely the bug wouldn't be appearing during code execution, since it only occurs when closing the program. There's only three possibilities that I know of that would be causing this, and they are:
1.) Your objects are not being closed properly or being closed at all.
2.) There is something being called on Form_Unload() that is causing your program to freeze.
3.) There is a bug in your copy of Visual Studio.
February 29, 2004, 3:43 AM
Stealth
It probably has something to do with an API call.. they can screw the IDE up fairly easily.

If it just FREEZES, try hitting CTRL+BREAK (the Break key is above Page Up) and seeing if it's infinitely looping.
February 29, 2004, 4:31 AM
o.OV
After reading LoRd[nK]'s post..
I realized I misread your post.

Place the BreakPoint at Form_Unload instead.
February 29, 2004, 4:32 AM

Search