• Welcome to Valhalla Legends Archive.
 

New BNLS Packets. [Proposal]

Started by Hdx, May 21, 2005, 04:51 PM

Previous topic - Next topic

Hdx

Quote'=======================================

Message ID: 'To be decided, Curently 0xFF
Message Name: BNLS_SERVERMESSAGE
Direction: S->C
Format:
   DWORD: Number of enteries 'was Type.
   STRING[]: Message.

Remarks:   This packet is simply used to allow the host of the server a way to provide information to the users of his/her server. Main reason for implamenting this is to allow the host to notify the users of upcoming downtimes, and matanance. This is sent upon connection to the server.
Curent types:
0x00: News.
0x01: Other Info.
(need more Ideas)


'=======================================

Message ID: 'To be decided, Curently 0xFF
Message Name: BNLS_SERVERMESSAGE
Direction: C->S
Format:
   [Blank]
   DWORD: Type.

Remarks: Sent to request a server message.
Current type:
0x00: News.
(need more Ideas)


'==================================

Packet ID: 'To be decided, Currently 0xFE
Packet Name: BNLS_ServerVer
Direction: S->C
Contents:
    DWORD: Current Server version.
    String: Server type*
    BOOL: Requires account authorization.
   
Reamarks: This is simply to notify what version of the Server the user is connected to. And the type of server. Current types are JBLS and BNLS. Also used to tell the client if valid Bot ID's are needed to use the server.

'========================================

Packet ID: 'To be decided, Currently 0xFE
Packet Name: BNLS_ServerVer
Direction: C->S
Contents:
    [Blank]
   
Reamarks: This is sent to request BNLS_ServerVer

'==================================

Packet ID: 'To be decided, None currently.
Packet Name: Hdx_Testing
Direction: S<->C
Format:
   Void: Information*
   
Remarks: This is simply a official packet that I can use to test anything that I want to send out. I would like 1 or 2 of these set aside, and basically any client simply ignore these.

Request withdrawn. If you see unknown packets, don't freak out, there prolly jsut testing ones.

'===================================

To stop from the last feasco. These are my Ideas. All ID#'s can be agreeded upon. Please don't bit my head off :P And from now on i'll present my ideas like this.

Also, I added a way for my server to connect to a diffrent server, requet News, save it, and then use it with it's own news.
~-~(HDX)~-~

Edit: Changed String to String[], Just makes more sence.

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

tA-Kane

#1
Quote from: HdxBmx27 on May 21, 2005, 04:51 PMAlso, I added a way for my server to connect to a diffrent server, requet News, save it, and then use it with it's own news.
A simple (and I think the best) way to do so would be to have inter-server communications require the use of the BNLS_AUTHORIZE packet sequence. Then, if the account has authority to present its own news, it can do so. Then anyone with authorization can present news, including other servers. This would also allow other servers to forward requests (and of course, sort out the results via cookies that are now in the most important packets... and cache the results of packets that don't yet have cookies) if they become bogged down.
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com

UserLoser.

I don't think these work, are you sure they're for BNLS?

MyndFyre

Quote from: UserLoser on May 21, 2005, 06:07 PM
I don't think these work, are you sure they're for BNLS?

Can you read?  I believe these are proposals.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Eric

#4
Quote from: UserLoser on May 21, 2005, 06:07 PM
I don't think these work, are you sure they're for BNLS?

Quote from: HdxBmx27These are my Ideas.

Hdx

I've added them to my server, I'm just waiting for people here to catch up with me :/ So that I can finalize them on my server.
~-~(HDX)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

UserLoser.

Quote from: HdxBmx27 on May 21, 2005, 07:33 PM
I've added them to my server, I'm just waiting for people here to catch up with me :/ So that I can finalize them on my server.
~-~(HDX)~-~

Your server isn't BNLS

MyndFyre

Quote from: UserLoser on May 21, 2005, 07:29 PM
How can they be for something, if it doesn't exist? 

BNLS exists, last I checked.

If you're referring to the new packets as what doesn't exist, that's why you make a suggestion or proposal.  Quit being a dumbass.
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Soul Taker

I don't think these packets are good ideas.  Recieving news for upcoming downtimes when you connect isn't very effective because, for instance, my current chat bot has been connected to bnet for 21 days now.  This means that unless they announced downtime 22 days ago (and I somehow remember it now), the information wouldn't ever get to me.

The packet to declare whether the server is BNLS or JBLS seems useless.  I don't see why BNLS authors would ever implement this.

The personal testing packet thing sounds like it has no place on BNLS and, thusly, has no reason to be here.

R.a.B.B.i.T

As proposed:
- The news packet is requested by the user, not sent at logon
- JBLS does NOT implement all of the BNLS functionality, which is why bots like SphtBot do not work with it.  Determining the server's implementation would allow for bots to connect, or to connect and do all the fancy stuff BNLS allows.
- Downtime doesn't usually last 21 days :X
- Personal testing doesn't belong, I agree with that.

Warrior

Even though most of these won't ever be implemented why not have just one packet with a bunch of subcommands?
Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

Arta

I agree, a personal testing message is not necessary. Test messages shouldn't survive in production versions.

The news thing seems nice enough to me. News can be useful - Myndfyre presents a scenario where it wouldn't help, but that doesn't mean that there aren't any scenarios where it would. I don't think it needs a type field though - a simple string is sufficient. Perhaps it might be nice to have multiple news entries in one message with a count field at the beginning.

Hdx

Ok well no type field.. Sounds good enough. I jsut added that so maby there could be like an emergancy type :/ but that could be salved just by saying the message is urgent.

As for the testing, I simply requested those because I didn't want people freaking out when they saw a new packet w/ no idea what it does.

As for the server type, and ver. I beleave this is necessarry, untill we find a way for both to be updated together. Because JBLS is missing a few of the public functionalitys of the original BNLS, Witch I'm in the progess of testing, and adding.

Noone has proposed and ID#'s yet :/ So 0xFE, & 0xFF are the current one I use, so don't freak out if you get thim, Also 0xFD witch is only sent upon request (it's one that i'm working on adding because BNLS already has it)
~-~(HDX)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

Arta

I'm not sure that those IDs are sensible. Someone might want to use the high bit to indicate something one day. It would be better to assign IDs sequentially.

What does Kp think, I wonder? :)

Hdx

I know there not pratical, Thats why I made this thread. So we could agree upon an ID#. Notice how none are official yet. I was asking Kp and the others what ones I should use :/
~-~(HDX)~-~

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status