Pictures On Maps?

Discussion in 'Plugin Development' started by Tagette, May 26, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Tagette

    I wonder if minecraft will allow for the setting of pixels on the maps. If so then we could draw pictures on thems! Now.. What to draw...
     
  2. Offline

    cjc343

    They do -- all you need to do is place the blocks. Also, how is this Plugin Development related?
     
  3. Offline

    Tagette

    No I meant you can set the map pixels with the server... using a plugin...

    I could see this being used in the towny plugin. Draw the borders of towns and nations on the map.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  4. Offline

    Dreadreaver

    Or create a weekly Playboy Magazine with PixelBoobs :D
     
    Shamebot and anon like this.
  5. Offline

    Tagette

    Woot MCBoobs!
     
  6. Offline

    matejdro

    It's probably client-side (like every feedback method except chat :(). Maybe by sending client block changes? So block don't change on server, but only on client.

    It could also be problematic that player did not explore whole "picture area", so he won't see all.
     
  7. Offline

    Shamebot

    Notch said you would be able to swap maps in multiplayer so there needs to be a way to set the explored area.
     
  8. Offline

    Acrobot

    I think it is actually server-side, and I will try to make some jpeg - to- map converter, if possible.
     
  9. Offline

    TTSDA

    @Acrobot
    The maps are stored inside the world folder, in dat files.
    Would be so damn cool if it could be made, new players would spawn with a map with the server rules, or there would be a map with the newest server updates. :D
     
  10. Offline

    Acrobot

    @TTSDA
    Actually, I found out which packet is that.
    It is "Map Data (0x83)"

    Now, I have to find a way to do it, or access the .dat files and read/write to them.

    EDIT: Seems like it's not yet in Bukkit
    (https://github.com/Bukkit/CraftBukkit/blob/master/src/main/java/net/minecraft/server/Packet.java)
    I will try to read and write to .dat files.

    @TTSDA
    Friday, fun.

    1st - only one chunk is loading for me
    2nd - a big tower of fences is burning in my mp world...
    3rd - I can't get map to generate....

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  11. Offline

    Tagette

    Yeah bukkit hasn't release the server for 1.6.4 yet.
     
  12. Offline

    Lolmewn

    Well, not as an RB. Ah well, i'll just wait for that :p
     
  13. Offline

    Acrobot

    Okay, my next finding (please, don't copy my idea though):
    the map files are compressed by gzip.
     
  14. Offline

    valdark

    Would be great if you could replace the map data with some of the more detailed map generator programs out there for a high res map that actually shows structures and with a slight angle so you can see height differences.
     
  15. Offline

    Tagette

    For that I think you would need to mod the client to make it have more pixels.
     
  16. Offline

    valdark

    unless you could get it to reference a different file for the pic... I haven't the coding knowledge to crack er open and check how it registers those pixels.
     
  17. Offline

    paste120

  18. Offline

    Tagette

    Is that real?

    EDIT: Lol I was watching a youtube vid in a minecraft vid on youtube.

    Insane

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  19. Offline

    Jayjay110

    FUCKING LEGENDARY, @sk89q you are soo releasing this mod, integrate it with bukkit and I will literally suck ur dick!
     
  20. Offline

    Tagette

    The great part is... NOT a mod! :D

    It's Server side!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  21. Offline

    Jayjay110

    :O NO FUCKING WAY...... @sk89q we need to talk, Im ask you how you did this, and how you use it, you are the friggen sex!
     
  22. Offline

    Tagette

    IKR Think about live streams =P
     
  23. Offline

    Jayjay110

    Aight right now Im starting to look for this, any help would be appreciated by anyone, thanks y'all :p
     
  24. Offline

    Lolmewn

    I needz aswell!
    EDIT: YAY! I'm one of the 12 highest posting members of these forums now =D
     
  25. Offline

    Shamebot

    Damn I'm working on a API (it's actually very easy), but @sk89q is beating the shit out of it.
    A few facts: there are 40 colors, including the backround, it's 128*128 pixel, you can sent a column of pixels at once.
     
  26. Offline

    Jayjay110

    really, got any source? or code snippets, im really in lack of intelligence
     
  27. Offline

    Tagette

    128 * 128 So that means no "high res" pictures. Unless you client mod.
     
  28. Offline

    paste120

    So is this exposed in bukkit at all or do we need to do some serious digging in the mc server source?
     
  29. Offline

    ichingpow

    sk89q is working on adding map hooks/calls to the bukkit API.
     
    paste120 and Jayjay110 like this.
Thread Status:
Not open for further replies.

Share This Page