• Welcome to Valhalla Legends Archive.
 

Help With 0x7D Please.....

Started by ChR0NiC, March 06, 2004, 03:01 PM

Previous topic - Next topic

ChR0NiC

Well I can get the names easily, but it's the ranks and online/offline status I cannot seem to get.


Public Sub GetPacket0x7D(Data As String)
'Receive Clan List
Dim Split0x7D() As String

If frmMain.W3Clan.ListItems.Count > 0 Then frmMain.W3Clan.ListItems.Clear

Split0x7D = Split(Mid$(Data, 6), Chr(0), -1)
For i = 0 To UBound(Split0x7D)
If Len(Split0x7D(i)) <> 0 Then
If Mid(StrToHex(Split0x7D(i)), 1, 1) <> "0" Or Split0x7D(i) = "" Then
frmMain.W3Clan.ListItems.Add , , Split0x7D(i)
End If
End If
Next i

End Sub


Is what I have to far, I am pretty confused on how to grab the clan ranks of each member and their status....So if anyone can help me out.

And SPHT please stop deleting my posts everytime I ask for help on 0x7D.

Spht

Quote from: ChR0NiC on March 06, 2004, 03:01 PM
And SPHT please stop deleting my posts everytime I ask for help on 0x7D.

I only recall you asking about it once, here. I think you're highly confused.

ChR0NiC

#2
Quote from: Spht on March 06, 2004, 04:08 PM
I only recall you asking about it once, here. I think you're highly confused.

Actually you have modified 2 of my posts before, when I asked for help, and since you modified out some of the essential information I decided to remove the posts.

Spht

Quote from: ChR0NiC on March 06, 2004, 04:13 PM
Quote from: Spht on March 06, 2004, 04:08 PM
I only recall you asking about it once, here. I think you're highly confused.

Actually you have modified 2 of my posts before, when I asked for help, and since you modified out some of the essential information I decided to remove the posts.

So you destroyed your own evidence? Great case you have running here.

ChR0NiC

Quote from: Spht on March 06, 2004, 04:32 PM
I only recall you asking about it once, here. I think you're highly confused.

Quote from: ChR0NiC on March 06, 2004, 04:13 PM
Actually you have modified 2 of my posts before, when I asked for help, and since you modified out some of the essential information I decided to remove the posts.

Quote from: Spht on March 06, 2004, 04:08 PM
So you destroyed your own evidence? Great case you have running here.

Yes, well, I suppose my evidence is kind of out the window so to speak....
Regardless SPHT, I apologize for the accusations. And I ask once again, please can I get some help on 0x7D ?

ChR0NiC

So is anyone gonna help me ?? Or am I just wasting my time waiting by the computer for an answer.

Kp

Quote from: ChR0NiC on March 06, 2004, 06:56 PMSo is anyone gonna help me ?? Or am I just wasting my time waiting by the computer for an answer.

Yes.  You've been here long enough to know that help is not instantaneously supplied, even when people feel like helping.  Work on the problem while waiting for advice, or switch to another part of the project.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

Eric

#7
Quote
Packet ID: 0x7D
Direction: Server -> Client (Received)
Format:
Help (DWORD)       Cookie
(BYTE)       Number of Members

For each member:
(STRING)       Username
(byte Rank)
(BYTE)       Status
(BYTE)       Unknown (0)
Remarks: Contains the members of a clan.

Possible values for Status:

0x00: Offline
0x01: Online

Possible values for Rank:

0x00: Initiate that has been in the clan for less than one week
0x01: Initiate that has been in the clan for over one week
0x02: Member
0x03: Officer
0x04: Leader
Arta, typo in BnetDocs: (byte Rank).

ChR0NiC, the rank would be 1 byte over from the ending of the username and the status would be 2 bytes over, taking into consideration that the ending of the username would include the null terminator.

ChR0NiC

Quote from: ChR0NiC on March 06, 2004, 06:56 PMSo is anyone gonna help me ?? Or am I just wasting my time waiting by the computer for an answer.

Quote from: Kp on March 06, 2004, 07:02 PM
Yes.  You've been here long enough to know that help is not instantaneously supplied, even when people feel like helping.  Work on the problem while waiting for advice, or switch to another part of the project.

Well, I have asked for help a few times on this one topic, and I can't really move forward with my project without figuring this out. And I am not having any luck figuring out the member's ranks and their online/offline status

ChR0NiC

Quote from: LoRd[nK] on March 06, 2004, 07:05 PM
ChR0NiC, the rank would be 1 byte over from the ending of the username, taking into consideration that the ending of the username would include the null terminator.

Thanks for the suggestion and most likely the correct answer, I'll work with it. I'm glad someone finally explained it for me.

ChR0NiC

#10
I have worked with it, and have already got the ranks working, but I am having a little trouble with the status....but I think I can figure it, I had it but then I changed something and it disappeared =P

OK I got it all figured out.....but it's not 100% accurate for some reason.
So I compared it to Eternal Chat, and it has the same problem.

Spht

Quote from: ChR0NiC on March 06, 2004, 07:50 PM
I have worked with it, and have already got the ranks working, but I am having a little trouble with the status....but I think I can figure it, I had it but then I changed something and it disappeared =P

OK I got it all figured out.....but it's not 100% accurate for some reason.
So I compared it to Eternal Chat, and it has the same problem.

EternalChat does not have the same problem as you because you're detecting things in a totally odd way, and it doesn't surprise me that it doesn't work 100% of the time.

Battle.net will sometimes send you online status for people who are actually offline, SoulTaker could tell you that he observed this behaviour on Blizzard's Warcraft III client several times.

MyndFyre

#12
A typo in Bnetdocs is no excuse to be a moron.  I don't think I ever noticed it, let alone let it mess me up.  Isn't it obvious what (Byte Rank) should mean, when there is no variable over to the right, ESPECIALLY when you're trying to determine rank?!?
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.

ChR0NiC

Quote from: Spht on March 07, 2004, 01:24 PM
EternalChat does not have the same problem as you because you're detecting things in a totally odd way, and it doesn't surprise me that it doesn't work 100% of the time.

Battle.net will sometimes send you online status for people who are actually offline, SoulTaker could tell you that he observed this behaviour on Blizzard's Warcraft III client several times.

Um......ok
Well, than I guess it's Blizzards fault.
But I have 3 clans to test with, and one of them I am getting incorrect ranks. Usually where the ranks are is blank I think...

ChR0NiC

Quote from: Myndfyre on March 07, 2004, 02:51 PM
A typo in Bnetdocs is no excuse to be a moron.  I don't think I ever noticed it, let alone let it mess me up.  Isn't it obvious what (Byte Rank) should mean, when there is no variable over to the right, ESPECIALLY when you're trying to determine rank?!?

Ok stop with the flaming, you seem to think that everyone should be pro and if they aren't, they have no place on these forums. Stop being such a tight ass.