Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Michael on December 19, 2003, 11:31 AM

Title: War3 Invite
Post by: Michael on December 19, 2003, 11:31 AM
        Case &H79
       With PBuffer
       .InsertBYTE &H6
       .SendPacket &H79
       End With

Will this accept a clan invite?
Title: Re:War3 Invite
Post by: ______ on December 19, 2003, 02:34 PM
no
Title: Re:War3 Invite
Post by: Fr0z3N on December 19, 2003, 03:18 PM
Packet ID: 0x79
Direction: Client -> Server (Sent)
Format:
(DWORD)       Cookie?
(DWORD)       Clan Tag
(STRING)       InvitingLeader
(BYTE)       Response
Remarks: This packet is sent to accept or decline an invitation to a clan.

Possible values for Response:

0x04: Decline
0x05: Cannot contact(not in channel screen) or already in clan
0x06: Accept
0x08: Cannot invite
0x09: Clan is full

it'd look more like:

with pbuffer
    .insertdword 1
    .insertdword clantag
    .insertstring leader
    .insertbyte &H6
end with

To find out the clantag and leader you'd have to use 0x79 (Received)
Title: Re:War3 Invite
Post by: Michael on December 20, 2003, 06:17 PM
Quote from: Fr0z3N on December 19, 2003, 03:18 PM
Packet ID: 0x79
Direction: Client -> Server (Sent)
Format:
(DWORD)       Cookie?
(DWORD)       Clan Tag
(STRING)       InvitingLeader
(BYTE)       Response
Remarks: This packet is sent to accept or decline an invitation to a clan.

Possible values for Response:

0x04: Decline
0x05: Cannot contact(not in channel screen) or already in clan
0x06: Accept
0x08: Cannot invite
0x09: Clan is full

it'd look more like:

with pbuffer
    .insertdword 1
    .insertdword clantag
    .insertstring leader
    .insertbyte &H6
end with

To find out the clantag and leader you'd have to use 0x79 (Received)

Hey thx but umm can you also help me with the stuff that gets sent to me for 0x79. I really suck at packets :(