[MISC] Dynmap v1.7-alpha-2 - Real-time Minecraft maps [1.2.5 through 1.5.2R0.1+]

Discussion in 'Plugin Releases' started by Mike Primm, Jan 15, 2011.

     
  1. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    *** AS I AM NOW SUPPORTING MORE THAN JUST BUKKIT WITH DYNMAP, THE MAIN SUPPORT THREAD IS NOW ON MINECRAFTFORUMS.NET - FOR QUICKEST SUPPORT, PLEASE BEGIN USING THIS THREAD ***

    For downloads of the latest Bukkit version (which is also appropriate for Tekkit Classic), go to our dev.bukkit.org page.

    This post has been edited 96 times. It was last edited by Mike Primm May 3, 2013.
  2.  
  3. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    As clearly nothing has changed with our stuff in the past few hours, I need to know what changed on your part - what code are you running (CB, other plugins).
  4. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Honestly don't know how towny handles chat - we report chat events that we see: there is no specific way to tell that a chat event is 'general chat' versus anything else.
  5. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Block IDs I posted are all what it takes to work with Tekkit 2.1.1, based on the various plugin configuration files for that distribution. Nothing in that list was obsolete or otherwise added for anything other that what I saw and checked in Tekkit 2.1.1.
  6. Offline

    ShootToMaim

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ?
  7. Offline

    nubpro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Mike Primm

    The virtual time of the world is really cool, can you create a plugin only for that?
    I'm pretty excited to implement them to my site.
    Please :3
  8. Offline

    FrancescoTG

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hi! This plugin is useful, but I have a question:
    My server hasn't a dedicated IP Address: 46.105.117.223:25583
    I tried to install dynmap, but I don't know how to enter the Dynamic Map. I tried to go on:
    - 46.105.117.223:25583:8123
    - 46.105.117.223.25583:8123
    - 46.105.117.223:8123
    Which is the correct IP to enter the dynamic map?
    Thanks for all your support.
  9. Offline

    anderstender

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It works fine, however why does it show like 6 random chunks only (in the localhost:8123)? The rest of the world is shown blank do you know why?
  10. Offline

    ChrysWhyte

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Because it only draws chunks where changes have happened. When you first run it you must use the dynmap fullrender command. Look at the documentation.
  11. Offline

    Claryn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You can't see the server chat on the map, but players in-game can see the chat from the map.
    NO errors in the console.
    I'm using Dynmap with Towny and factions and I got EssentialsChat
  12. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you be more specific as to what you'd like to see? Do you want a URL for just the clock?
  13. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    46.105.117.223:8123 would be the default - other ones aren't valid URL format. If you are on a hosted box, you may need to set to another port (lots of folks use us, so port conflicts are common).
  14. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Factions, by default, has a conflict - specifically, the 'colored-by-relationship' feature causes all normal chat events to be cancelled and handled directly by Factions. To fix that, set chatTagRelationColored to false in the factions configuration.
  15. Offline

    Claryn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thank you :)
  16. Offline

    Claryn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    So no way to keep the colors AND the chat? :(
  17. Offline

    Kuwoobie

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm having a bit of a problem...

    When I type my server's IP into the address bar, followed by port :8123, my browser displays someone elses Dynamap... Apparently someone has the same IP on a different port, and there is a conflict. How do I fix this?
  18. Offline

    Mime21

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey my DynMap is set up an all but the live map doesnt show the Speach Bubles when people in my server talk!

    psl help!
  19. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Nope - if Factions cancels the chat event, I can't process it.
  20. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You need to change the port setting in configuration.txt (webserver-port) to another unused value.
  21. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Are the chat messages showing in the chat message box, but not as balloons? If they aren't showing both places, you probably have a plugin conflict (see recent posts about this).
  22. Offline

    imaxorz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Rendering above 127?

    I've changed the maximumheight: 256 in world.txt for the maps that are rendered.

    However when running the server I got the following errors:

    Code:
     2012-05-01 12:31:34 [SEVERE] [dynmap] Exception during render job: world=creative, map=null
    2012-05-01 12:31:34 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 16
    2012-05-01 12:31:34 [SEVERE]at org.bukkit.craftbukkit.CraftChunkSnapshot.getBlockTypeId(CraftChunkSnapshot.java:56)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.bukkit.NewMapChunkCache$OurMapIterator.getBlockTypeID(NewMapChunkCache.java:108)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.kzedmap.DefaultTileRenderer.scan(DefaultTileRenderer.java:466)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.kzedmap.DefaultTileRenderer.render(DefaultTileRenderer.java:216)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.kzedmap.KzedMap.render(KzedMap.java:239)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.kzedmap.KzedMapTile.render(KzedMapTile.java:113)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.MapManager$FullWorldRenderState.processTile(MapManager.java:624)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.MapManager$FullWorldRenderState.run(MapManager.java:570)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.MapManager$DynmapScheduledThreadPoolExecutor$1.run(MapManager.java:184)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.MapManager$DynmapScheduledThreadPoolExecutor$2.run(MapManager.java:200)
    2012-05-01 12:31:34 [SEVERE]at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    2012-05-01 12:31:34 [SEVERE]at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    2012-05-01 12:31:34 [SEVERE]at java.util.concurrent.FutureTask.run(Unknown Source)
    2012-05-01 12:31:34 [SEVERE]at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
    2012-05-01 12:31:34 [SEVERE]at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    2012-05-01 12:31:34 [SEVERE]at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2012-05-01 12:31:34 [SEVERE]at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    2012-05-01 12:31:34 [SEVERE]at java.lang.Thread.run(Unknown Source)
    2012-05-01 12:31:34 [INFO] /84.155.233.225:50983 lost connection
    2012-05-01 12:31:34 [INFO] /81.236.236.10:55329 lost connection
    2012-05-01 12:31:34 [SEVERE] [dynmap] Exception during render job: world=creative, map=null
    2012-05-01 12:31:34 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 16
    2012-05-01 12:31:34 [SEVERE]at org.bukkit.craftbukkit.CraftChunkSnapshot.getBlockTypeId(CraftChunkSnapshot.java:56)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.bukkit.NewMapChunkCache$OurMapIterator.getBlockTypeID(NewMapChunkCache.java:108)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.kzedmap.DefaultTileRenderer.scan(DefaultTileRenderer.java:466)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.kzedmap.DefaultTileRenderer.render(DefaultTileRenderer.java:216)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.kzedmap.KzedMap.render(KzedMap.java:239)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.kzedmap.KzedMapTile.render(KzedMapTile.java:113)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.MapManager$FullWorldRenderState.processTile(MapManager.java:624)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.MapManager$FullWorldRenderState.run(MapManager.java:570)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.MapManager$DynmapScheduledThreadPoolExecutor$1.run(MapManager.java:184)
    2012-05-01 12:31:34 [SEVERE]at org.dynmap.MapManager$DynmapScheduledThreadPoolExecutor$2.run(MapManager.java:200)
    2012-05-01 12:31:34 [SEVERE]at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    2012-05-01 12:31:34 [SEVERE]at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    2012-05-01 12:31:34 [SEVERE]at java.util.concurrent.FutureTask.run(Unknown Source)
    2012-05-01 12:31:34 [SEVERE]at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
    2012-05-01 12:31:34 [SEVERE]at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    2012-05-01 12:31:34 [SEVERE]at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2012-05-01 12:31:34 [SEVERE]at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    2012-05-01 12:31:34 [SEVERE]at java.lang.Thread.run(Unknown Source)
    


    Am I missing something?
  23. Offline

    Mike Primm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Try 0.38 dev build.
  24. Offline

    octoberasian

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I've installed DynMap and followed all the instructions to the 'T' since I have a web server on the same server as the Minecraft server. That way the map tiles save directly to the web directory.

    However, I keep getting this error everytime I try to load the map:

    http://www.mmo-notepad.com/ase_img/screenshots/Screenshot-2012-05-01_15.06.08.png

    I've followed these instructions: https://github.com/webbukkit/dynmap/wiki/Setting-up-without-the-Internal-Web-Server

    Code:
    Change the following:
     
      - class: org.dynmap.InternalClientUpdateComponent
        sendhealth: true
        allowwebchat: true
        webchat-interval: 5
      #- class: org.dynmap.JsonFileClientUpdateComponent
      #  writeinterval: 1
      #  sendhealth: true
      #  allowwebchat: false
    To:
     
      #- class: org.dynmap.InternalClientUpdateComponent
      #  sendhealth: true
      #  allowwebchat: true
      #  webchat-interval: 5
      - class: org.dynmap.JsonFileClientUpdateComponent
        writeinterval: 1
        sendhealth: true
        allowwebchat: false
    This however doesn't create a JSON configuration file: "standalone/dynmap_world.json".

    Only these files are in the standalone folder:
    [IMG]

    Have I missed something or did I make a mistake in the configuration.txt file?

    I know the map rendered since there are tiles in the "/tiles" folder.


    Any help is greatly appreciated. Thank you.
  25. Offline

    freethemice

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey, I really like you plugin!! My problume is, that I'm writing a plugin and want it to use dynmap, but I can't get it to work with it. is there a tutorial i can look at? I've been threw all the source code and stuff. can you help?
  26. Offline

    Silarn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No, that wasn't the problem. The particular dev version of .38 I was using was missing a / in the tilespath required to make the tiles.php work. I was merely stating that you could fix this by adding the / after the = in the config.js (which looks a bit odd), adding it to the default directory path to the tiles folder in the tiles.php, or adding it when the php code combines the tiles path with the rest of the code needed to retrieve the individual region folders.

    I haven't looked at the .38 dev build since I found the issue, so I don't know if you fixed it or not.
  27. Offline

    Silarn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @octoberasian
    Two possibilities base on what you have provided,
    Make sure
    Code:
      - class: org.dynmap.ClientConfigurationComponent
    is NOT commented out. This is near the start of the configuration and will prevent the plugin from writing any configuration at all anywhere.

    And also,
    Code:
    # The path where the tile-files are placed.
    tilespath: path/to/webserver/dynmap/tiles
     
    # The path where the web-files are located.
    webpath: path/to/webserver/dynmap
    Make sure those are uncommented and pointing to your webserver. Use double backslashes under Windows.

    This post has been edited 1 time. It was last edited by Silarn May 2, 2012.
  28. Offline

    GunGuyGunner

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have just tried to set up the login support for Dynmap but its not working.

    If I go to the main link to the Dynmap page I get a could not connect to that page message. If I go to login.html it takes me to the page but clicking the buttons doesn't work. As soon as I added the "protected:true" into the worlds.txt the dynmap no longer works. Anything I'm doing wrong?
  29. Offline

    NKarmios

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    After many struggles, I think I might have my dynmap working. The problem is, whenever I connect to it, I get an almost empty page with Directory:/ at the top
    I am using port forwarding correctly.

    Thanks.
  30. Offline

    NKarmios

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    After many struggles, I think I might have my dynmap working. The problem is, whenever I connect to it, I get an almost empty page with Directory:/ at the top.
    I am using port forwarding correctly.

    Thanks.
  31. Offline

    freethemice

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I see the layer on the menu, but I don't see the marker, what I'm I doing wrong?

    Code:
       
                api = (DynmapAPI)dynmap;
                markerapi = api.getMarkerAPI();
                if(markerapi == null) {
                    return;
                }
     
                Mset = markerapi.getMarkerSet("rsp.markerset");
                if(Mset == null)
                    Mset = markerapi.createMarkerSet("rsp.markerset", "Spawns", null, false);
                else
                    Mset.setMarkerSetLabel("Spawns");
                if(Mset == null) {
                    this.logger.info(pdffile.getName() + " Error creating marker set!");
                    return;
                }
         
             
                Mset.setMinZoom(0);
                Mset.setLayerPriority(10);
                Mset.setHideByDefault(false);
     
                CircleMarker m =  Mset.createCircleMarker("world_1", "test2", false, "world", 0, 65, 0, 100, 100, false);
         
                int fc = 0xFF0000;
                m.setLineStyle(3, 0.8, fc);     
                m.setFillStyle(0.35, fc);     
         
              

    This post has been edited 1 time. It was last edited by freethemice May 2, 2012.
  32. Offline

    octoberasian

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The bottom part with the path was already commented out and set. The same for the one above.

    I've uploaded my configuration .txt file, maybe you can find where I went wrong.

    Again, thank you for the help.

    EDIT: config.js file as well

    Code:
    var config = {
        // For internal server or proxying webserver.
        //url : {
        //    configuration: 'up/configuration',
        //    update: 'up/world/{world}/{timestamp}',
        //    sendmessage: 'up/sendmessage',
        //    login: 'up/login',
        //    register: 'up/register',
        //    tiles : 'tiles/'
        //},
     
        // // For proxying webserver through php.
        // url: {
        // configuration: 'up.php?path=configuration',
        // update: 'up.php?path=world/{world}/{timestamp}',
        // sendmessage: 'up.php?path=sendmessage',
        // login: 'up.php?path=login',
        // register: 'up.php?path=register',
        // tiles : 'tiles/'
        // },
     
        // // For proxying webserver through aspx.
        // url: {
        // configuration: 'up.aspx?path=configuration',
        // update: 'up.aspx?path=world/{world}/{timestamp}',
        // sendmessage: 'up.aspx?path=sendmessage',
        // login: 'up.aspx?path=login',
        // register: 'up.aspx?path=register',
        // tiles : 'tiles/'
        // },
     
        // // For standalone (jsonfile) webserver (no login security)
        url: {
        configuration: 'standalone/dynmap_config.json?_={timestamp}',
        update: 'standalone/dynmap_{world}.json?_={timestamp}',
        sendmessage: 'standalone/sendmessage.php',
        login: 'standalone/login.php',
        register: 'standalone/register.php',
        tiles : 'tiles/'
        },
     
        // // For standalone (jsonfile) webserver (login security)
        // url: {
        // configuration: 'standalone/configuration.php',
        // update: 'standalone/update.php?world={world}&ts={timestamp}',
        // sendmessage: 'standalone/sendmessage.php',
        // login: 'standalone/login.php',
        // register: 'standalone/register.php',
        // tiles : 'standalone/tiles.php/'
        // },
    };
    

    This post has been edited 1 time. It was last edited by octoberasian May 2, 2012.

Share This Page