• Welcome to Valhalla Legends Archive.
 

Clan Message Code

Started by RealityRipple, September 19, 2006, 02:21 AM

Previous topic - Next topic

RealityRipple

Ok, I've been trying to figure out where the mistake is here:

Constants: http://bnetdocs.valhallalegends.com/consts.php?Type=o&Set=clan&Lang=cpp

Message Codes: http://bnetdocs.valhallalegends.com/content.php?Section=d&id=11

SID_CLANINVITATIONRESPONSE: http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=378

The first one says 0x04 is Decline, and 0x05 is Unavailable
The second one says 0x04 is Declined (meaning it's the response from bnet), and 0x05 is Decline (meaining it's what the client sends)
The last one says 0x04 is the one to send for decline.
Also, SID_CLANCREATIONINVITATION ( http://bnetdocs.valhallalegends.com/content.php?Section=m&Code=398 ) has a "Status" Byte with no documentation. I guess it's the same as SID_CLANINVITATIONRESPONSE's Response Byte, even with different naming. Can someone explain all this to me?

UserLoser

Status codes remain static across all of the clan messages.  Meaning, if 4 is deny invitation in one message, then it's deny invitation in all messages.  I'm not quite sure what you're asking.

RealityRipple

It contradicts itself though. the message codes page says 5 is to decline and 4 is declined, as in the target user has declined the request, where other things say 4 is to decline.

UserLoser

In short, BnetDocs contains no mistake last time I checked.

RealityRipple

...So is the flag for sending a decline 4 or 5?

Kp

Quote from: RealityRipple on September 22, 2006, 09:48 PM
...So is the flag for sending a decline 4 or 5?

Yes (based on what you posted).
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

RealityRipple

Do you guys enjoy being smart asses about everything?

Here: Which flag is the correct flag for sending a Decline response?

l2k-Shadow

Quote from: RealityRipple on September 22, 2006, 10:24 PM
Do you guys enjoy being smart asses about everything?

Here: Which flag is the correct flag for sending a Decline response?

Why don't you packet log the client?
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.

Hdx

Quote from: l2k-Shadow on September 22, 2006, 10:30 PM
Quote from: RealityRipple on September 22, 2006, 10:24 PM
Do you guys enjoy being smart asses about everything?

Here: Which flag is the correct flag for sending a Decline response?

Why don't you packet log the client?
He has stated many times that he dosen't ahve the client >.<
I would do it for him, but my comp is messing up.
Would someone please Post a full log of everything so that we can use it as a referance?
~-~(HDX)~-~

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

l2k-Shadow

#9
alright sorry about that then, here:

C->S 0x71 (CREATE CLAN)

0030                  ff 71 8b 00 01 00 00 00 6c 32  .H.....q......l2
0040   75 74 68 6c 65 73 73 20 4b 69 6c 6c 61 7a 00 00  uthless Killaz..
0050   6b 32 6c 09 6c 32 6b 2d 73 68 61 64 6f 77 35 00  k2l.l2k-shadow5.
0060   6c 32 6b 2d 73 68 61 64 6f 77 36 00 6c 32 6b 2d  l2k-shadow6.l2k-
0070   73 68 61 64 6f 77 37 00 6c 32 6b 2d 73 68 61 64  shadow7.l2k-shad
0080   6f 77 38 00 6c 32 6b 2d 73 68 61 64 6f 77 39 00  ow8.l2k-shadow9.
0090   6c 32 6b 2d 73 68 61 64 6f 77 31 30 00 6c 32 6b  l2k-shadow10.l2k
00a0   2d 53 68 61 64 6f 77 32 00 6c 32 6b 2d 53 68 61  -Shadow2.l2k-Sha
00b0   64 6f 77 34 00 6c 32 6b 2d 53 68 61 64 6f 77 33  dow4.l2k-Shadow3
00c0   00                                               .


C->S 0x72 (DECLINE CLAN CREATE)

0030                  ff 72 19 00 a0 7d 08 00 00 6b  .......r...}...k
0040   32 6c 6c 32 6b 2d 53 68 61 64 6f 77 31 00 04     2ll2k-Shadow1..

C->S 0x72 (ACCEPT CLAN CREATE)

0030                  ff 72 19 00 ad 7d 08 00 00 6b  .Yw....r...}...k
0040   32 6c 6c 32 6b 2d 53 68 61 64 6f 77 31 00 06     2ll2k-Shadow1..

C->S 0x79 (DECLINE CLAN INVITE)

0030                  ff 79 19 00 d5 7d 08 00 00 6b  ..A....y...}...k
0040   32 6c 6c 32 6b 2d 53 68 61 64 6f 77 31 00 04     2ll2k-Shadow1..

C->S 0x79 (ACCEPT) CLAN INVITE)

0030                  ff 79 19 00 d5 7d 08 00 00 6b  ..A....y...}...k
0040   32 6c 6c 32 6b 2d 53 68 61 64 6f 77 31 00 06     2ll2k-Shadow1..


So client sends 0x04 to decline, 0x06 to accept.
Quote from: replaced on November 04, 2006, 11:54 AM
I dunno wat it means, someone tell me whats ix86 and pmac?
Can someone send me a working bot source (with bnls support) to my email?  Then help me copy and paste it to my bot? ;D
Já jsem byl určenej abych tady žil,
Dával si ovar, křen a k tomu pivo pil.
Tam by ses povídaj jak prase v žitě měl,
Já nechci před nikym sednout si na prdel.

Já nejsem z USA, já nejsem z USA, já vážně nejsem z USA... a snad se proto na mě nezloběj.


MyndFyre

Quote from: RealityRipple on September 23, 2006, 12:16 AM
Thank you! http://bnetdocs.valhallalegends.com/content.php?Section=d&id=11 needs to be updated...
Uh, no:

Quote
0x00: Success
0x01: In use
0x02: Too soon
0x03: Not enough members
0x04: Invitation was declined
0x05: Decline
0x06: Accept
0x07: Not authorized
0x08: User not found
0x09: Clan is full
0x0A: Bad tag
0x0B: Bad name
4 is decline, 6 is accept.  Looks *exactly* like what l2k-Shadow said.
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.

RealityRipple

Quote0x04: Invitation was declined
0x05: Decline
4 implies that it is a response. the invitation was declined. Also, 5 doesn't show up as delcine anywhere else that i can see.

MyndFyre

Quote from: RealityRipple on September 23, 2006, 03:17 AM
5 doesn't show up as delcine anywhere else that i can see.
You don't even have the fucking client!
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.

RealityRipple

I was talking about in bnetdocs....