Valhalla Legends Forums Archive | Battle.net Bot Development | BNLS Problem?

AuthorMessageTime
Pedlar
Im using CSocket to connect and i do
[code]
sckBNLS.Connect "bnls.valhallalegends.com", 9367
AddChat vbRed, "Conecting..."
[/code]

But it never connects to it. i have
[code]
Private Sub sckBNLS_OnConnect()
AddChat vbGreen, "Connected!"
End Sub
[/code]

But it never calls it. it jus sits there.
May 1, 2005, 8:18 PM
Pedlar
if i ping bnls.valhallalegends.com i get:

[quote]
Pinging bnls.valhallalegends.com [63.161.183.205] with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 63.161.183.205:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
[/quote]
May 1, 2005, 8:20 PM
Myndfyr
Don't know what to tell you.  I have no problems:
[code]
E:\Documents and Settings\Rob>ping bnls.valhallalegends.com

Pinging bnls.valhallalegends.com [63.161.183.205] with 32 bytes of data:

Reply from 63.161.183.205: bytes=32 time=85ms TTL=117
Reply from 63.161.183.205: bytes=32 time=96ms TTL=117
Reply from 63.161.183.205: bytes=32 time=110ms TTL=117
Reply from 63.161.183.205: bytes=32 time=102ms TTL=117

Ping statistics for 63.161.183.205:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 85ms, Maximum = 110ms, Average = 98ms

E:\Documents and Settings\Rob>tracert bnls.valhallalegends.com

Tracing route to bnls.valhallalegends.com [63.161.183.205]
over a maximum of 30 hops:

  1    <1 ms    <1 ms    <1 ms  192.168.1.1
  2    29 ms    30 ms    30 ms  (edited out)

  3    30 ms    29 ms    29 ms  192.168.100.1
  4    31 ms    31 ms    31 ms  192.168.10.2
  5    30 ms    30 ms    31 ms  phx-edge-01.inet.qwest.net [205.171.129.73]
  6    30 ms    30 ms    30 ms  tmp-core-01.inet.qwest.net [205.171.129.5]
  7    42 ms    42 ms    42 ms  bur-core-02.inet.qwest.net [205.171.13.45]
  8    41 ms    42 ms    41 ms  bur-brdr-01.inet.qwest.net [205.171.13.50]
  9    46 ms    46 ms    47 ms  sl-bb22-ana-6-2.sprintlink.net [144.232.9.237]
10    73 ms    73 ms    72 ms  sl-bb22-fw-10-1.sprintlink.net [144.232.9.250]
11    73 ms    73 ms    74 ms  sl-gw22-fw-0-0.sprintlink.net [144.232.0.131]
12    85 ms    97 ms    97 ms  sl-vpnsys-1-0.sprintlink.net [144.232.221.26]
13    87 ms    91 ms    98 ms  63.161.183.205

Trace complete.
[/code]
May 1, 2005, 8:37 PM
QwertyMonster
[quote author=Pedlar link=topic=11448.msg110694#msg110694 date=1114978682]
Im using CSocket to connect and i do
[code]
sckBNLS.Connect "bnls.valhallalegends.com", 9367
AddChat vbRed, "Conecting..."
[/code]
[/quote]
It prob wont make much difference but try this:
sckBNLS.close
sckBNLS.RemoteIP = "bnls.valhallalegends.com"
sckBNLS.RemotePort = 9367
sckBNLS.Connect

It wont make much difference but atleast try it
May 1, 2005, 8:43 PM
KkBlazekK
Does your router allow packets on port 9367?
May 1, 2005, 8:46 PM
iago
[quote author=Blaze link=topic=11448.msg110699#msg110699 date=1114980408]
Does your router allow packets on port 9367?
[/quote]

I've never heard of a router blocking egress (outgoing) packets.  A firewall might, though.  If you have a firewall, make sure it isn't blocking that port.

Also make sure you didn't map bnls.valhallalegends.com to a weird ip. 

Perhaps it was down but it's ok now?
May 1, 2005, 10:08 PM
UserLoser.
http://www.userloser.net/serverstatus/?status

Those are not my servers, they are just subdomains set up pointing to IP addresses
May 1, 2005, 10:46 PM
KkBlazekK
[quote author=iago link=topic=11448.msg110710#msg110710 date=1114985326]
[quote author=Blaze link=topic=11448.msg110699#msg110699 date=1114980408]
Does your router allow packets on port 9367?
[/quote]
I've never heard of a router blocking egress (outgoing) packets.
[/quote]
Couldn't the connection accepted response be filtered out?
May 1, 2005, 10:56 PM
Pedlar
EDIT]: Removed my ip from the trace route.

[code]C:\Documents and Settings\default>tracert bnls.valhallalegends.com

Tracing route to bnls.valhallalegends.com [63.161.183.205]
over a maximum of 30 hops:

  1    4 ms    8 ms    7 ms  192.168.0.1
  2    24 ms    24 ms    24 ms  (EDIT)
  3    *    gw.Sprint.shoreham.net [65.161.90.1]  reports: Destination net unr
eachable.

Trace complete.
[/code]

Thats the Trace Route for it. I can connect to bnls with stealthbot, but not with tis

[Edit]: This is odd...
[code]
C:\Documents and Settings\default>ping bnls.valhallalegends.com

Pinging bnls.valhallalegends.com [63.161.183.205] with 32 bytes of data:

Request timed out.
Reply from 65.161.90.1: Destination net unreachable.
Reply from 65.161.90.1: Destination net unreachable.
Reply from 65.161.90.1: Destination net unreachable.

Ping statistics for 63.161.183.205:
    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
[/code]
May 1, 2005, 11:07 PM
Pedlar
Also i open Port 9367 on my firewall.
May 1, 2005, 11:14 PM
KkBlazekK
[quote author=Pedlar link=topic=11448.msg110727#msg110727 date=1114988846]
[Edit]: This is odd...
[code]
C:\Documents and Settings\default>ping bnls.valhallalegends.com

Pinging bnls.valhallalegends.com [63.161.183.205] with 32 bytes of data:

Request timed out.
Reply from 65.161.90.1: Destination net unreachable.
Reply from 65.161.90.1: Destination net unreachable.
Reply from 65.161.90.1: Destination net unreachable.

Ping statistics for 63.161.183.205:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
[/code]
[/quote]
Its pinging it at port 80, not 9367 & I don't know about that time out.
May 1, 2005, 11:14 PM
Pedlar
i can connect to bnls.valhallalegends.com on port 80, but not port 9367
May 1, 2005, 11:21 PM
KkBlazekK
Are you using Service Pack 2?
May 1, 2005, 11:30 PM
Pedlar
no im using SP1
May 1, 2005, 11:31 PM
KkBlazekK
Do you use a router?
May 1, 2005, 11:34 PM
Pedlar
yea i use a D-LINK router.

I got it working, i dont know how...but i got it working...I fiddled aroudn with some stuff
May 1, 2005, 11:37 PM
Myndfyr
[quote author=Blaze link=topic=11448.msg110735#msg110735 date=1114990493]
Do you use a router?
[/quote]

Blaze, the incoming data wouldn't be filtered if he's using an outgoing TCP connection.  His PC initialized the connection; if it were connection-less (like UDP) the router might filter it.
May 1, 2005, 11:54 PM
Pedlar
Ok ii made the sckBNLS into a Winsock. i was using CSocket. as a winsock it worked
May 2, 2005, 12:03 AM
Pedlar
Ok now i have a new problem >.<

I get [code] CONNECTED
Sent Packet.
Closed[/code]

and the code im using is:
[code]
Private Sub ws_Connect()
Dim P As New Packet
AddChat vbGreen, "CONNECTED"
        P.InsertNonNTString ""
        P.wsend ws, &HE, pbnls
End Sub
[/code]
May 2, 2005, 12:26 AM
Archangel
Ok, you dont need to logon to BNLS, you just need to connect and send the packet you want.

But if you got Account on BNLS go for it.

[code]
    Dim P As Packet
    Set P = New Packet
[/code]

[code]
    P.InsertNonNTString ""
[/code]

Ok, why doing that? just send packet.
May 2, 2005, 12:45 AM
KkBlazekK
http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=177

Do not send an empty string, send your bnls account.. if you have one that is. If you don't, just ignore 0x0E & 0x0F
May 2, 2005, 1:16 AM
Pedlar
if i bypass 0x0E what should i send inplace of it?
May 2, 2005, 11:45 PM
KkBlazekK
Just ignore them. You do not need to send anything inplace of them. Continue on to whatever you were doing on bnls.
May 2, 2005, 11:47 PM
Archangel

This might help: http://www.valhallalegends.com/yoni/bnlsprotocolspec.txt
May 2, 2005, 11:59 PM

Search