whats the ip and port for BNLS also wut format do i need to send info to the server?
I finally got everything down...
Quote from: UnderCover on October 11, 2004, 07:34 AM
I finally got everything down...
Guess you figured it out then!
If not (:P), try the BNLS spec, which you can find via Skywing's profile or something.
dang............
I thought i had it down but then it liked screwed up....
anyone know the ip/port and the format of the string?
Quote from: UnderCover on October 11, 2004, 07:44 AManyone know the ip/port and the format of the string?
Yes. Soul Taker even told you where to find the address information, even though it's been talked about so much I'm surprised you don't know it from memory. As for the format of the string, what string? There's dozens, probably hundreds, of format strings useful relating to battle.net and the clients which use it.
The BNLS Server is located at
bnls.valhallalegends.com:9367 or
63.161.183.202:9367.
The alternate server is
www.valhallalegends.com:9367 or
63.161.183.207:9367.
Hope this helps.
thx for help but i have a question on the formatted data on what is sent to the server...
i read the format in the documenttaiton but tired it and it didn;t really work...
can anyone give me an example of a string u would send to the server?
Quote from: UnderCover on October 11, 2004, 02:15 PMcan anyone give me an example of a string u would send to the server?
Sure. "foo".
Or "bar"!
lol i meant a working string
lol like
\x03 or something sending cd key/username/password wutever to the server...
Quote from: UnderCover on October 12, 2004, 01:46 PM
lol i meant a working string
lol like
\x03 or something sending cd key/username/password wutever to the server...
First of all, there's really nothing quite as annoying as people putting "..."s all through their posts. Makes it sound like you think the person reading it should be telepathic and know what you want
before you even say it. Or that they're stupid. Just a pet peeve of sorts.
Moving right along, I don't know if PHP has any constructs or functions that let you put the raw bytes of a number in a string without hardcoding it (\x##, as you said). Although the PHP Manual (http://www.php.net/manual)
might be a good place to look if such a thing exists. If you
do want to hard-code it, you should be able to use the BNLS protocol specification (http://www.valhallalegends.com/yoni/BNLSProtocolSpec.txt) to figure things out; it wouldn't be terribly complicated.
I mean, this is besides the point that PHP is probably
totally unsuited to whatever you want to do with BNLS.
Quote from: UnderCover on October 12, 2004, 01:46 PMlol i meant a working string
\x03 or something sending cd key/username/password wutever to the server...
Your post opens one of several possibilities, none terribly desirable.
1) You have no clue whatsoever about what you're doing. We don't like people asking us questions when they don't even understand the question.
2) You know exactly what you want and asked us anyway. We don't like people asking questions to which they already know the answer with certainty.
3) You have an inkling of what to do and dismissed our answer out of hand without trying it. If you had tried it, you would know that "foo" is a perfectly good and functional string.
I could go on, but I think you get the point.
http://www.valhallalegends.com/yoni/BNLSProtocolSpec.txt