Valhalla Legends Archive

Programming => Battle.net Bot Development => Battle.net Bot Development References => Topic started by: ChR0NiC on February 29, 2004, 04:55 PM

Title: Packet 0x78 Information
Post by: ChR0NiC on February 29, 2004, 04:55 PM
LoL.......I think I messed up a clan using this packet incorrectly.....


Packet ID: 0x78
Direction: Client -> Server (Sent)
Format:
(DWORD)       Cookie
(STRING)       Target User
Remarks: Remove a member from your clan, only shaman or chieftain can send this packet


I used a Null Terminated ;) String For the Target User Because I basically copied and pasted from my promote code. And it literally disbanded the clan....and I was a shaman...


With pBuffer
   .InsertDWORD &H0
   .InsertNTString frmMain.W3Clan.SelectedItem.text
   .SendPacket frmMain.sckBnet, &H78
End With


Is what I did, which I then changed to


With pBuffer
   .InsertDWORD &H0
   .InsertNonNTString frmMain.W3Clan.SelectedItem.text
   .SendPacket frmMain.sckBnet, &H78
End With


I am too afraid to try it again, so is my second version of the Remove from clan code correct?? I don't wanna disband another clan.

So yeah, if you wanna mess up someone's clan....use my first code =P
Title: Re:Help With 0x78
Post by: UserLoser. on February 29, 2004, 05:01 PM
You must have been selected, because 0x73 disbands a clan, while 0x78 removes a user from a clan
Title: Re:Help With 0x78
Post by: ChR0NiC on February 29, 2004, 05:47 PM
Quote from: UserLoser. on February 29, 2004, 05:01 PM
You must have been selected, because 0x73 disbands a clan, while 0x78 removes a user from a clan

I did 0x78, because I haven't coded 0x73 yet, plus only a cheftain can disband a clan, I was a shaman.
Title: Re:Help With 0x78
Post by: tA-Kane on February 29, 2004, 08:14 PM
Quote from: UserLoser. on February 29, 2004, 05:01 PMYou must have been selected, because 0x73 disbands a clan, while 0x78 removes a user from a clan

Quote from: ChR0NiC on February 29, 2004, 05:47 PMI did 0x78, because I haven't coded 0x73 yet, plus only a cheftain can disband a clan, I was a shaman.

I think you missed what UserLoser said: Maybe you had yourself selected? Maybe you removed yourself from the clan?
Title: Re:Help With 0x78
Post by: ChR0NiC on February 29, 2004, 09:47 PM
Quote from: tA-Kane on February 29, 2004, 08:14 PM
I think you missed what UserLoser said: Maybe you had yourself selected? Maybe you removed yourself from the clan?

I wish that were the case, the leader of the clan messaged me 1 minute later asking me what I had done, as the clan had been disbanded, and the cheftain was not logged on at the time of this occurance, being all my fault.
Title: Re:Help With 0x78
Post by: tA-Kane on February 29, 2004, 11:26 PM
Perhaps Battle.net disbands the clan if you send invalid data, or cause some sort of database error?

Very weird.

Have you done the obvious thing and try to reproduce what you did, with a dummy clan (since you don't want to do it again with your real clan)?