• Welcome to Valhalla Legends Archive.
 

Packet 0x78 Information

Started by ChR0NiC, February 29, 2004, 04:55 PM

Previous topic - Next topic

ChR0NiC

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

UserLoser.

You must have been selected, because 0x73 disbands a clan, while 0x78 removes a user from a clan

ChR0NiC

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.

tA-Kane

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?
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

ChR0NiC

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.

tA-Kane

#5
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)?
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