• Welcome to Valhalla Legends Archive.
 

sc/bw games

Started by Killa, September 14, 2003, 05:18 PM

Previous topic - Next topic

Killa

after sending and receiving the 03 packet on the udp port what do i need to send to get in the game?

Spht

How about looking at what the real game does?

Killa

#2
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.

Banana fanna fo fanna

I got almost to the game room when i quit on it...it's pretty tough.

Killa

care to share any progress you made?

iago

This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Killa

lol well can somone atleast explain what 06 does?

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

Spht

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.

Killa

don't suppose anyone can help me with calculating the checksum?

UserLoser

storm.dll and a IDA could help you :P

iago

It would make more sense if it's done in battle.snp, but who's counting?
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


UserLoser

#12
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

Banana fanna fo fanna

I don't think it was in battle.snp but I could be wrong. Battle.snp is the interface to bncs afaik.

Camel

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