• Welcome to Valhalla Legends Archive.
 

Winsock error?

Started by WiLD, June 14, 2006, 02:42 AM

Previous topic - Next topic

WiLD

My bot runs off BNLS (im yet to figure out war3 hash  :-X) and it connects and works fine while at home, but i brought it here to work and it doesnt seem to even connect to BNLS. Im guessing its a problem with the winsocks component, perhapes a different version or something?
What makes it weirder though is i brought my copy of visual studio to work and installed that (which should install/replace winsocks component, correct?) but i was still getting the same problem.


[17:37:11] [BNLS] Connecting...
[17:37:11] [BNLS] Connected.
[17:37:11] [BNLS] Sending authorization information...
[17:37:11] [BNLS] Disconnected.


Anyone have any idea on what the problem could be?

I dont believe it to be a router/firewall problem cause i have the exact same router at home with similar settings and there is no firewall at either location.
=_=  &&  g0dFraY  &&  -=Templar=-  @USWest

rabbit

A router is a firewall.  Anyway, if it was an error, you'd get the error callback.  Check your port settings.
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

WiLD

Quote from: rabbit on June 14, 2006, 06:25 AM
A router is a firewall.  Anyway, if it was an error, you'd get the error callback.  Check your port settings.

..meh.

By definition a firewall is a system that protects the data in a private network, while a router is a device that routes data among networks. Main difference between firewall and router is in number of features and price. That is what you meant right?  ;)

Anyways, I dont believe anything is using the ports. The only difference between the router at work and my home is the WAN type i believe, which wont make a difference.

I have tried on several different computers here at work and end up with the same result, i am beginning to think it might be a router issue but i do believe they are the same.
=_=  &&  g0dFraY  &&  -=Templar=-  @USWest

rabbit

The router may be blocking the ports is my point.  You'll have to open them up to allow data through.
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

WiLD

Im looking at router config now and no ports at all are blocked. I doubt anyone here has any experience with it since its an Australian brand but its a Netcomm NB1300.
I think my best bet is to take a look at my router config at home and see what ive got different.

Starcraft works fine here (work).
=_=  &&  g0dFraY  &&  -=Templar=-  @USWest

rabbit

Try not sending the BNLS auth packets then, they are no longer required.
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Grok

Quote from: WiLD on June 14, 2006, 02:42 AM
My bot runs off BNLS (im yet to figure out war3 hash  :-X) and it connects and works fine while at home, but i brought it here to work and it doesnt seem to even connect to BNLS. Im guessing its a problem with the winsocks component, perhapes a different version or something?
What makes it weirder though is i brought my copy of visual studio to work and installed that (which should install/replace winsocks component, correct?) but i was still getting the same problem.


[17:37:11] [BNLS] Connecting...
[17:37:11] [BNLS] Connected.
[17:37:11] [BNLS] Sending authorization information...
[17:37:11] [BNLS] Disconnected.


Anyone have any idea on what the problem could be?

That looks like a protocol-specific problem.  If you're reaching BNLS and connecting, your data is not blocked on the ports being used.  The disconnect happens when you send data.  Are you logging the replies properly?  BNLS should disconnect after it sends your reply, as your business with it is finished.  Maybe you got the reply and just didn't handle it?

WiLD

I figured it out.
The computer(s) i was using had their regional settings set to Korean, when i changed it back to english it seemed to work fine.

...grr, now korean programs wont work, such as CDSpace  >:(

Ahwell.

Thanks guys
=_=  &&  g0dFraY  &&  -=Templar=-  @USWest