• Welcome to Valhalla Legends Archive.
 

Proxy support with VB

Started by erase, December 22, 2002, 09:27 AM

Previous topic - Next topic

erase

Has anyone implemented proxy support for their bot? (VB)
If so, I'd like to know how you went about it.
Thanks

SiMi

#1
hrm if you mean Socks, Yes i can add that
If you need the source contact me

Grok

#2
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.

l)ragon

#3
It was on your main page at one point.

~l)ragon
*^~·.,¸¸,.·´¯`·.,¸¸,.-·~^*ˆ¨¯¯¨ˆ*^~·.,l)ragon,.-·~^*ˆ¨¯¯¨ˆ*^~·.,¸¸,.·´¯`·.,¸¸,.-·~^*

Spht

#4

Atom

#5
'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
I am back! aINC is dead, ThinkTank PRO is alive.
VB, JAVA, ASM, C, its all yummy to me.

Skywing

#6
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
That's converting an IP address in dotted quad format to a DWORD inside of a VB string.

Mesiah / haiseM

#7
Yes, most anything u see in vb that uses copymemory has to do with turning an integer into a dword or something like that
]HighBrow Innovations
Coming soon...

AIM Online Status: 

0xeRb

#8
that source doesnt work.

Atom

#9
Quotethat source doesnt work.
its not a source its  a doc, you prolly copied it as is you...
I am back! aINC is dead, ThinkTank PRO is alive.
VB, JAVA, ASM, C, its all yummy to me.

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...