Valhalla Legends Forums Archive | Battle.net Bot Development | Need help with Reconnection code for vb

AuthorMessageTime
Christ
Whats a Good,Fast but realible Source code for reconnecting, say, i want to reconnect fast to a server, and login just as fast any ideas where to start?
April 13, 2003, 10:50 PM
haZe
Learn how to walk before you run. If you don't know how to reconnect it after it's connected, then you either
1) stole code
or
2) had someone else make the bot for you
But, I'll tell you anyways.
[code]
Winsock1.Close
Winsock1.Connect "server", 6112
[/code]
-1 for turning visual basic into visual bot studio
April 14, 2003, 12:15 AM
FiReGoD
christ, are you using cleanslatebot or? plz describe better
April 14, 2003, 2:30 AM
Spht
[quote author=haze the cow link=board=17;threadid=1034;start=0#msg7748 date=1050279352]
Learn how to walk before you run. If you don't know how to reconnect it after it's connected, then you either
1) stole code
or
2) had someone else make the bot for you
But, I'll tell you anyways.
[code]
Winsock1.Close
Winsock1.Connect "server", 6112
[/code]

-1 for turning visual basic into visual bot studio
[/quote]

All insults ever deemed on someone from this forum summed up right here. Truly amazing.
April 14, 2003, 12:21 PM
Zakath
What is this craze for "reconnecting fast," anyway? Seems extremely pointless to me.
April 14, 2003, 3:24 PM
St0rm.iD
Can we just ban this punk now?
April 14, 2003, 11:58 PM
Arta
[quote author=Zakath link=board=17;threadid=1034;start=0#msg7821 date=1050333841]
What is this craze for "reconnecting fast," anyway? Seems extremely pointless to me.
[/quote]


Floodbots.
April 15, 2003, 12:52 AM
ILurker
You wouldn't want a fast reconnecting bot for a floodbot, you'd want it to join/laave games fast, --Slowly reconnecting would decrease the chance of getting ipbanned (I think) ;)
April 15, 2003, 1:02 AM
kamakazie
If a flood bot joined/leaved games then it could get banned from a channel thus defeating the purpose (if there is one :-\) of that type of bot.
April 15, 2003, 1:50 AM
ILurker
That's what lord]zer0['s floodbot does, The bot joins and leaves a game over 10 times in less than a second and disconnects
April 15, 2003, 2:03 AM
Etheran
damn, I can't smite haze enough in a day, once isn't enough for me!
April 15, 2003, 5:55 AM
Christ
This isn't for a floodbot, its for Warrnet, being that drops happen and the only thing you can rely on to get ops is, speed/a good reconnecting bot. IS the reason i want some help, if anyone could supply a code better then what was supplied above, cause i've already used it, and ..it's slow.
April 15, 2003, 11:19 PM
St0rm.iD
Leave.
-1 to haze for being a hypocrite.
April 15, 2003, 11:35 PM
haZe
[quote author=St0rm.iD link=board=17;threadid=1034;start=0#msg7924 date=1050449706]
Leave.
-1 to haze for being a hypocrite.
[/quote]
-1 to st0rm for accusing me falsely.
April 16, 2003, 12:34 AM
Zakath
+1 to st0rm for being smited unjustly by haze
-1 to haze for smiting st0rm in response to something that was true
April 16, 2003, 12:51 AM
St0rm.iD
[quote author=haze the cow link=board=17;threadid=1034;start=0#msg7931 date=1050453297]
[quote author=St0rm.iD link=board=17;threadid=1034;start=0#msg7924 date=1050449706]
Leave.
-1 to haze for being a hypocrite.
[/quote]
-1 to st0rm for accusing me falsely.
[/quote]

Like that hurts my karma at all. I like low karma, remember?
April 16, 2003, 1:47 AM
Christ
Can i get some fucken help..plz? ::)
April 16, 2003, 3:08 AM
Kp
[quote author=Christ link=board=17;threadid=1034;start=15#msg7937 date=1050462539]
Can i get some fucken help..plz? ::)
[/quote]Given that you've now admited you want this for warnet, I'd place the odds of help as being rather slim. :)
April 16, 2003, 3:23 AM
Zakath
[quote author=Christ link=board=17;threadid=1034;start=15#msg7937 date=1050462539]
Can i get some fucken help..plz? ::)
[/quote]

The main problem is that most people disapprove of the concept of this "fast reconnection" fad. Hence, they aren't very willing to do a lot about it.
April 16, 2003, 4:09 AM
ILurker
Just do this,
[code]Winsockname.close
Winsockname.connect Server 6112
[/code]

If your using bnls then do this,
[code]Cleanslatebot1.disconnect
Cleanslatebot1.connect[/code]

Getting rid of a few things in your connection may help reduce lag, for example, UDP, or Lagspoof, And make sure your not using timers to connect.

It's not very difficult, and I don't see why other people are having a hard time helping you...
April 16, 2003, 3:18 PM
Kp
[quote author=™ILurker™ link=board=17;threadid=1034;start=15#msg7953 date=1050506299]
[code]Winsockname.close
Winsockname.connect Server 6112
[/code]
If your using bnls then do this,
[code]Cleanslatebot1.disconnect
Cleanslatebot1.connect[/code]
It's not very difficult, and I don't see why other people are having a hard time helping you...
[/quote]I have a BNLS based client, but it doesn't use CleanSlateBot or Winsock. Your code seems not to work then...? :)

Also, it's not so much a problem of having difficulty helping him; it's a problem of having difficulty figuring why he deserves help at all.
April 16, 2003, 9:54 PM
Christ
Uhh right PK, ur cool, i'm just someone asking help, and i was told here i'd get it, i didn't know PPL Flamed on others for no apparent reason. I dont care if this was just used to sit in a fucken channel, i'm not floodbotting and whats wrong wtih warrnet anyway, kindof run to do if your bored..I asked for help, not for anyone to stick their cocks in their asses and flame me.
April 16, 2003, 10:41 PM
ILurker
Winsockname.connect serverip, 6112 ****

And It's only 6112 for bnet, That's what he was asking for.
April 16, 2003, 10:41 PM
Christ
Lurker i've already tried that, that code sucks ass...its not fast enough.
April 16, 2003, 10:42 PM
St0rm.iD
Leave. No one wants you here anyway.
April 16, 2003, 10:50 PM

Search