-- loading maps and communicating with the minecraft client.
i want to know -everything- don't care the language, i'm mediocre in everything except VB (which SUX) and some cpp. -- no way i'm using vb for this so cpp is preferred but any language i'll use :smile.gif:
I've looked at these scripts and they don't seem to hard. Other than the fact i have no clue where to start or what to even do.
I know the abstract concepts too, but i want to know HOW -- i tried JTE and RedShift, i sorta had to leave before i could ask redshift anything, was going to town. havn't seen him since. JTE said it was in perl and i really didn't feel like perl...
Minecraft Client sends UDP packets to the IP/Port of the server.
It will request the map data which the file is then sent in GZIP Compressed from to the client (this is the green bar part) which then unpacks the data and loads the chunks into the level. When a block is changed the client will set a UDP packet indicating the change which the server then updates.
All map updates are done locally on the server. Which is why unless you code the server to have water physics, water is always frozen. So on so forth.
I'm pretty sure it's the client that requests the last updates from the server rather than the server forcing them on the client.
Also, the server sends a heartbeat to the master server via the gateway page heartbeat.jsp
What else do you need to know? If you want specific packet information I can't give you that.
I suppose you are making your own minecraft server? Good luck with that, I'm working own one in python at the moment(heh private use).
to get you started:
1. download wpepro
2. set wpepro options to accept WSA socket 2.0 packets
3. start up the java minecraft server
4. Set java.exe as your target and click play
5. open up the client page and point it to your server
3. blindly figure out the format because we sure as hell aren't going to make this any easier for you :biggrin.gif:
Hmm. When you set up your internet connection, it's possible that your ISP put you on different settings then where they should be. Or it's possible that you messed up the drop down menus. I just got a new one and it had one like "connection type:" and a drop down that changed the dropdown below. >.< Buttons in HTML work wonders unless you are a cheap host.