Valhalla Legends Forums Archive | Battle.net Bot Development | sc/bw games

AuthorMessageTime
Killa
after sending and receiving the 03 packet on the udp port what do i need to send to get in the game?
September 14, 2003, 10:18 PM
Spht
How about looking at what the real game does?
September 14, 2003, 10:42 PM
Killa
well im not understanding the Udp packets,like whats

[pre]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 ....[/pre]


do


Edit - Try out the [ pre ] tags.
September 14, 2003, 11:52 PM
St0rm.iD
I got almost to the game room when i quit on it...it's pretty tough.
September 15, 2003, 12:48 AM
Killa
care to share any progress you made?
September 15, 2003, 1:36 AM
iago
And ruin your fun?
September 15, 2003, 3:32 AM
Killa
lol well can somone atleast explain what 06 does?
September 15, 2003, 7:59 PM
UserLoser
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...
September 15, 2003, 8:33 PM
Spht
[quote author=UserLoser link=board=17;threadid=2707;start=0#msg21341 date=1063657992]
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]

That's mamazing, but we're on the topic of SC/BW UDP transfer.
September 15, 2003, 9:54 PM
Killa
don't suppose anyone can help me with calculating the checksum?
September 16, 2003, 10:25 PM
UserLoser
storm.dll and a IDA could help you :P
September 16, 2003, 10:38 PM
iago
It would make more sense if it's done in battle.snp, but who's counting?
September 17, 2003, 12:14 AM
UserLoser
[quote author=iago link=board=17;threadid=2707;start=0#msg21463 date=1063757641]
It would make more sense if it's done in battle.snp, but who's counting?
[/quote]

Oops - i was told storm.dll! :P
September 17, 2003, 11:41 PM
St0rm.iD
I don't think it was in battle.snp but I could be wrong. Battle.snp is the interface to bncs afaik.
September 19, 2003, 10:56 AM
Camel
[quote author=St0rm.iD link=board=17;threadid=2707;start=0#msg21685 date=1063969018]I don't think it was in battle.snp but I could be wrong. Battle.snp is the interface to bncs afaik.[/quote]
Battle.snp sends the packet, but I havn't traced it back to see where the data comes from.
[code].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[/code]
September 19, 2003, 8:38 PM

Search