Jump to content
SubSpace Forum Network

Recommended Posts

Posted
It's silly in C to load a packet into a byte buffer, then call funcs to pick out the various fields (or even to do it inline). MERV does it this way also. The proper way is to define a structure that defines the packet, and use it to reference the buffer.
Posted
Yes, when you make a console app, the EXE stub sets up the running environment, creates a console, and calls main(). When you make a Win32 GUI app, the EXE stub sets up the running environment and calls WinMain(). Note that they take different parameters.
Posted

Explody, i noticed you were missing the info of two core packets.

 

0x000B Core 0x44519B Unknown

 

- 0 2 Type

 

----------------------------------------

0x000C Core 0x44521B Unknown

 

- 0 2 Type

 

 

 

 

 

Here.

 

0x0B Cancel Download *1

 

Offset Length Description

0 1 Type Byte 0x0B

 

*1 – If you were receiving a 00 0A Packet (Huge Chunk), clean the buffer, because it looks like the subgame cancelled it, also send a Cancel Download Acknowledgment.

 

0x0C Cancel Download Acknowledgment *1

 

Offset Length Description

0 1 Type Byte 0x0C

 

*1 – It’s an ACK you will get or you have to send for the confirmation of a cancelled download.

(00 0B [Cancel Download])

 

-nintendo64

Posted
And if you have just my/dust's code in there, it very well should compile.  Remember to split up the header and source files.  Its easy to tell where.

hmmm, is there supposed to be a .h, and .cpp, becuz it is a packet class, is there some way i should lay it out, it has something to do with something... i just need the solid compiled thingy, so, i need it, e-mail me at sagsag5@yahoo.com (spam time)

Guest
This topic is now closed to further replies.
×
×
  • Create New...