Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: SubLiminaL_WolF on May 12, 2003, 08:23 PM

Title: is my 0x50 ok?
Post by: SubLiminaL_WolF on May 12, 2003, 08:23 PM
im not sure if it needs more or w/e cuz i checked the revision and it sayd that the mpq is null with is not possible so im thinkin it has sumtin to do with bnet not sending the mpq

tick = GetTickCount();
send(s, "\x1", 1, 0);
packetbuf.insert((int)0);
packetbuf.insert("68XI", 4); //platform
packetbuf.insert("PXES", 4); //product
packetbuf.insert((int)0xc7); //version byte
packetbuf.insert((int)0);
packetbuf.insert((int)0);
packetbuf.insert((int)0);
packetbuf.insert((int)0);
packetbuf.insert((int)0);
packetbuf.insert("USA"); //country abbreviation
packetbuf.insert("United States"); //country name
packetbuf.sendpacket(s, 0x50);
Title: Re:is my 0x50 ok?
Post by: tA-Kane on May 12, 2003, 08:40 PM
Quote from: SubLiminaL_WolF on May 12, 2003, 08:23 PMim thinkin it has sumtin to do with bnet not sending the mpq
-1 to SubLiminaL_WolF for having a l33t-ified name and for not knowing how to use a packetlogger

As for checking to see whether or not your 0x50 code is correct, you should consult BnetDocs:
http://www.valhallalegends.com/arta/bnetdocs/content.php?id=50&Sender=C

[Kp edit: fixed quote tags not to corrupt thread.]
Title: Re:is my 0x50 ok?
Post by: Camel on May 12, 2003, 11:19 PM
+1 to kane for totally fucking up the quote

[edit] and the thread along with it
Title: Re:is my 0x50 ok?
Post by: Banana fanna fo fanna on May 14, 2003, 02:50 PM
Wolf you suck. Die.
Title: Re:is my 0x50 ok?
Post by: Camel on May 14, 2003, 10:24 PM
Quote
[Kp edit: fixed quote tags not to corrupt thread.]

aww, :(