-- 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:
hehe sorry, i lost my ability to count past 5 in a freak accident involving a blender and a stapler jk xD
the first 2 packets that are received/sent are pretty easy to figure out, but i've been trying to figure out the 3rd for a while o.O, its a toughy *cough*level sending*cough*
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.
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.
Liam.
Ask JTE, he might help if you want to do this sort of thing.
I know some of the abstract concepts behind how it works, but non of the nitty-gritty stuff.
Quality of output = Skill * Effort
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.
Quality of output = Skill * Effort
Quality of output = Skill * Effort
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:
the first 2 packets that are received/sent are pretty easy to figure out, but i've been trying to figure out the 3rd for a while o.O, its a toughy *cough*level sending*cough*
And I was pretty sure it's UDP. You can browse the forums and check if you want.
It's not, it's TCP. I set up a packet sniffer (written in C++) using TCP, worked just fine.