I have another quick patch file, this has a couple of noteworthy changes.
http://pastebin.com/66ZSfi4d
MaxPlayers is sent with Login packet (but limited to 255 as the MP protocol uses a single byte for this part of the packet) and so long as your MaxPlayers is 64 or less (i think) the scoreboard will actually show up.
I also created a static enum in the cWindow header for the different windows that come up, this gets rid of the 0 1 2 etc values for setting the window type making it easier to add the other 3 types of special containers.
I also updated all the www.minecraft.net for authentication as the minecraft client/server as of 1.0.0 use session.minecraft.net
Also thanks to Lapayo for the Protocol page, it was most helpful to "complete" the maxplayers aspect and will be more helpful with lots of other things.
http://pastebin.com/66ZSfi4d
MaxPlayers is sent with Login packet (but limited to 255 as the MP protocol uses a single byte for this part of the packet) and so long as your MaxPlayers is 64 or less (i think) the scoreboard will actually show up.
I also created a static enum in the cWindow header for the different windows that come up, this gets rid of the 0 1 2 etc values for setting the window type making it easier to add the other 3 types of special containers.
I also updated all the www.minecraft.net for authentication as the minecraft client/server as of 1.0.0 use session.minecraft.net
Also thanks to Lapayo for the Protocol page, it was most helpful to "complete" the maxplayers aspect and will be more helpful with lots of other things.