Valhalla Legends Forums Archive | Battle.net Bot Development | Proxy support with VB

AuthorMessageTime
erase
Has anyone implemented proxy support for their bot? (VB)
If so, I'd like to know how you went about it.
Thanks
December 22, 2002, 3:27 PM
SiMi
hrm if you mean Socks, Yes i can add that
If you need the source contact me
December 22, 2002, 3:46 PM
Grok
Is VB proxy code not posted on documents or botdev to do that?  I'm sure it was in the past.  Let me know.  If not, I'm pretty sure I can find it and post it again.
December 22, 2002, 4:36 PM
dRAgoN
It was on your main page at one point.

~l)ragon
December 23, 2002, 12:55 AM
Spht
Are you referring to this?
http://botdev.valhallalegends.com/documents/vbsocks5.html
December 23, 2002, 11:57 AM
Atom
'Copy ip long into a struct with 4 byte members
     Dim server As Long
     server = inet_addr(ServerList.Text)
     CopyMemory INet(0), server, 4

     sGet = sGet & Chr(INet(0)) & Chr(INet(1)) & Chr(INet(2)) & Chr(INet(3))
     Dim sPort1, sPort2 As Long

i dont know what hes doin here
December 24, 2002, 2:15 AM
Skywing
[quote]'Copy ip long into a struct with 4 byte members
     Dim server As Long
     server = inet_addr(ServerList.Text)
     CopyMemory INet(0), server, 4

     sGet = sGet & Chr(INet(0)) & Chr(INet(1)) & Chr(INet(2)) & Chr(INet(3))
     Dim sPort1, sPort2 As Long

i dont know what hes doin here
[/quote]
That's converting an IP address in dotted quad format to a DWORD inside of a VB string.
December 24, 2002, 10:58 PM
MesiaH
Yes, most anything u see in vb that uses copymemory has to do with turning an integer into a dword or something like that
December 25, 2002, 10:45 PM
0xeRb
that source doesnt work.
December 26, 2002, 10:03 PM
Atom
[quote]that source doesnt work.[/quote]
its not a source its  a doc, you prolly copied it as is you...
December 27, 2002, 3:47 AM
Celica
Can somone fix that doc and put it more indepth? The reason is because when you send the first thing to the proxy you receave Chr(0) and Chr(4) but when you receive that you send another thing using the same winsock and receive chr(0) so it binds up with the first chr(0) receave...
December 28, 2002, 4:05 PM

Search