Valhalla Legends Forums Archive | Battle.net Bot Development | Logging Stuff

AuthorMessageTime
VeBee
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        RichTextBox1.Text = "Connecting..."
        Dim myClient As System.Net.Sockets.TcpClient
        Dim monitor As System.Net.Sockets.NetworkStream
        myClient = New System.Net.Sockets.TcpClient
        myClient.Connect("useast.battle.net", 6112)
        monitor = myClient.GetStream()
        RichTextBox1.Text = Convert.ToString(monitor)
    End Sub

im an extreme newb. what exactly have i done above? If im right it will like, connect, then get a stream of packets and put them in the textbox.

problem is when i ran it nothing happened.

once again me is newb.
August 4, 2006, 9:52 PM
HeRo
[quote author=VeBee link=topic=15493.msg156522#msg156522 date=1154728339]
what exactly have i done above?
[/quote]

So I'm guessing you didn't write this yourself.

[quote author=VeBee link=topic=15493.msg156522#msg156522 date=1154728339]
problem is when i ran it nothing happened.
[/quote]

Are you even clicking 'Button1'?
August 4, 2006, 10:25 PM
ShadowDancer
        myClient.Connect("useast.battle.net", 6112)
        monitor = myClient.GetStream()
        RichTextBox1.Text = Convert.ToString(monitor)

the client must send 2 messages before you be able to see something.

check this link http://bnetdocs.valhallalegends.com/sequence.php and use one sniffer to see how a bnet client does it

offtopic: hero your post seems allways the same... do u use templates?
August 4, 2006, 10:39 PM
VeBee
a even bigger question i have is, how do i send a packet using vb.net?
August 4, 2006, 10:42 PM
HeRo
[quote author=VeBee link=topic=15493.msg156526#msg156526 date=1154731338]
a even bigger question i have is, how do i send a packet using vb.net?

[/quote]

I hope you have a packet buffer.

[quote author=ShadowDancer link=topic=15493.msg156525#msg156525 date=1154731183]
offtopic: hero your post seems allways the same... do u use templates?
[/quote]
No.
August 4, 2006, 11:03 PM
VeBee
ok where do i retreive a packet buffer?

is a packet buffer just a list of packets?
August 4, 2006, 11:10 PM
l2k-Shadow
[quote author=VeBee link=topic=15493.msg156529#msg156529 date=1154733006]
ok where do i retreive a packet buffer?

is a packet buffer just a list of packets?
[/quote]

You obviously have very little clue about what you are doing, I suggest going https://davnit.net/bnet/vL/index.php?topic=9278.0 here before continuing.
August 4, 2006, 11:17 PM
K
[quote author=VeBee link=topic=15493.msg156522#msg156522 date=1154728339]
        NetworkStream monitor = myClient.GetStream()
        RichTextBox1.Text = Convert.ToString(monitor)
[/quote]

This is probably one of the greatest lines of code I've seen recently.
August 5, 2006, 12:17 AM
Myndfyr
[quote author=K link=topic=15493.msg156533#msg156533 date=1154737060]
[quote author=VeBee link=topic=15493.msg156522#msg156522 date=1154728339]
        NetworkStream monitor = myClient.GetStream()
        RichTextBox1.Text = Convert.ToString(monitor)
[/quote]

This is probably one of the greatest lines of code I've seen recently.
[/quote]
If only it was Working As Intended[sup]TM[/sup].....
August 5, 2006, 2:55 AM
VeBee
lol are you guys making fun of me? :P

Anyways i went to that web page for vb, and its for vb not vb.net.

but it did help explain tcp/ip.

And i dont know how to send packets yet.
August 5, 2006, 3:38 AM
HeRo
[quote author=VeBee link=topic=15493.msg156540#msg156540 date=1154749119]
lol are you guys making fun of me? :P

Anyways i went to that web page for vb, and its for vb not vb.net.

but it did help explain tcp/ip.

And i dont know how to send packets yet.
[/quote]
https://davnit.net/bnet/vL/index.php?action=search
Search: Packet buffer
August 5, 2006, 3:43 AM
VeBee
my spider made a eek sound when i did my search. i dont think im ready to use a packet buffer.

well i got to goto bed. ill be back tommorow.
August 5, 2006, 4:04 AM
HeRo
[quote author=VeBee link=topic=15493.msg156542#msg156542 date=1154750666]
my spider made a eek sound
[/quote]
That really confused me.
August 5, 2006, 4:34 AM

Search