after sending and receiving the 03 packet on the udp port what do i need to send to get in the game?
How about looking at what the real game does?
well im not understanding the Udp packets,like whats
SEND-> 0000 06 00 00 00 1D B2 AF 01 ........
SEND-> 0000 00 00 00 00 28 C4 10 00 00 00 01 00 00 01 FF 00 ....(...........
SEND-> 0010 01 00 00 00 ....
SEND-> 0000 00 00 00 00 40 A8 10 00 01 00 02 00 00 03 FF 00 ....@...........
SEND-> 0010 01 00 00 00 ....
do
Edit - Try out the [ pre ] tags.
I got almost to the game room when i quit on it...it's pretty tough.
care to share any progress you made?
And ruin your fun?
lol well can somone atleast explain what 06 does?
warcraft iii/frozen throne TCP is much much easier than any other game i've tried...so far i've gotten to being able to host custom games, users can join, and chat, and it sends the list of users currently in the game, and when a user leaves...
Quote from: UserLoser on September 15, 2003, 03:33 PM
warcraft iii/frozen throne TCP is much much easier than any other game i've tried...so far i've gotten to being able to host custom games, users can join, and chat, and it sends the list of users currently in the game, and when a user leaves...
That's mamazing, but we're on the topic of SC/BW UDP transfer.
don't suppose anyone can help me with calculating the checksum?
storm.dll and a IDA could help you :P
It would make more sense if it's done in battle.snp, but who's counting?
Quote from: iago on September 16, 2003, 07:14 PM
It would make more sense if it's done in battle.snp, but who's counting?
Oops - i was told storm.dll! :P
I don't think it was in battle.snp but I could be wrong. Battle.snp is the interface to bncs afaik.
Quote from: St0rm.iD on September 19, 2003, 05:56 AMI don't think it was in battle.snp but I could be wrong. Battle.snp is the interface to bncs afaik.
Battle.snp sends the packet, but I havn't traced it back to see where the data comes from.
.text:1901ADE7 mov cl, 1Ch ; PacketID
.text:1901ADE9 sub esi, edx
.text:1901ADEB lea edx, [esp+1A0h+PacketBuf] ; PacketBuf
.text:1901ADEF lea eax, [eax+esi+arg_10+1] ; PacketLength
.text:1901ADF3 push eax
.text:1901ADF4 call sendPacket