Im using CSocket to connect and i do
sckBNLS.Connect "bnls.valhallalegends.com", 9367
AddChat vbRed, "Conecting..."
But it never connects to it. i have
Private Sub sckBNLS_OnConnect()
AddChat vbGreen, "Connected!"
End Sub
But it never calls it. it jus sits there.
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),
Don't know what to tell you. I have no problems:
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.
Quote from: Pedlar on May 01, 2005, 03:18 PM
Im using CSocket to connect and i do
sckBNLS.Connect "bnls.valhallalegends.com", 9367
AddChat vbRed, "Conecting..."
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
Does your router allow packets on port 9367?
Quote from: Blaze on May 01, 2005, 03:46 PM
Does your router allow packets on port 9367?
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?
http://www.userloser.net/serverstatus/?status
Those are not my servers, they are just subdomains set up pointing to IP addresses
Quote from: iago on May 01, 2005, 05:08 PM
Quote from: Blaze on May 01, 2005, 03:46 PM
Does your router allow packets on port 9367?
I've never heard of a router blocking egress (outgoing) packets.
Couldn't the connection accepted response be filtered out?
EDIT]: Removed my ip from the trace route.
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.
Thats the Trace Route for it. I can connect to bnls with stealthbot, but not with tis
[Edit]: This is odd...
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
Also i open Port 9367 on my firewall.
Quote from: Pedlar on May 01, 2005, 06:07 PM
[Edit]: This is odd...
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
Its pinging it at port 80, not 9367 & I don't know about that time out.
i can connect to bnls.valhallalegends.com on port 80, but not port 9367
Are you using Service Pack 2?
no im using SP1
Do you use a router?
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
Quote from: Blaze on May 01, 2005, 06:34 PM
Do you use a router?
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.
Ok ii made the sckBNLS into a Winsock. i was using CSocket. as a winsock it worked
Ok now i have a new problem >.<
I get CONNECTED
Sent Packet.
Closed
and the code im using is:
Private Sub ws_Connect()
Dim P As New Packet
AddChat vbGreen, "CONNECTED"
P.InsertNonNTString ""
P.wsend ws, &HE, pbnls
End Sub
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.
Dim P As Packet
Set P = New Packet
P.InsertNonNTString ""
Ok, why doing that? just send packet.
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
if i bypass 0x0E what should i send inplace of it?
Just ignore them. You do not need to send anything inplace of them. Continue on to whatever you were doing on bnls.
This might help: http://www.valhallalegends.com/yoni/bnlsprotocolspec.txt