add new perspective
NBS-Paste opened this issue · 36 comments
I need help adding a new perspective. I want one like the surface perspective but on the left side
https://github.com/webbukkit/dynmap/wiki/HD-Map-Configuration
You'd need to add a new map using the dmap mapadd command, with instead of the default perspective the one you want, so for example: /dmap mapadd world:surface2 perspective:iso_NW_60_hires title:"Surface 2" prefix:t2 shader:stdtexture lighting: shadows mapzoomin:1
Is this the opposite of the surface view?
https://github.com/webbukkit/dynmap/wiki/HD-Map-Configuration.
i put in the command and then di /dynmap fullrender world surface2 but it said it wasnt defined/loaded
closing issue bc user did not respond here, and didn't reply to the answer in discord.
- What command did you use, 2. What was the output, 3. You didn't respond on the answer given to you on discord so the support question so it was assumed fixed.
I use the command you gave me. It then said the map was created, so I tried to render the new view.
I figured on the discord it was more how to do it so I didn’t need to respond. I tried it and it still didn’t work.
I use the command you gave me. It then said the map was created, so I tried to render the new view.
It said that the map didn’t exist.
I used /dmap mapadd world:surface2 perspective:iso_NW_60_hires title:"Surface 2" prefix:t2 shader:stdtexture lighting: shadows mapzoomin:1
the output was it said the map was created but I couldn’t get it to render.
invalid syntax. https://github.com/webbukkit/dynmap/wiki/Commands
invalid syntax. https://github.com/webbukkit/dynmap/wiki/Commands
I just tired putting in the command again and it gave me this
[09:41:54 INFO]: Perspective not found: iao_NW_60_hires
[09:41:54 INFO]: If you are done editing map data, run '/dynmap pause none' to resume rendering
it has been five minutes and it has only said [09:48:50 INFO]: Full render starting on world 'World'...
Is this normal when adding a new view?
it is rendering my flat view rather than my new view. Is there a way to get it to render my new view first?
You failed to copy the proper command earlier, so no, with your competence, no it isn't
I just tried /dynmap fullrender world:surface2 and it gave me this
[10:08:54 ERROR]: [dynmap] Exception during render job: world=World, map=org.dynmap.hdmap.HDMap@b0ad53c
[10:08:54 WARN]: java.lang.IndexOutOfBoundsException: Index 3 out of bounds for length 3
[10:08:54 WARN]: at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)
[10:08:54 WARN]: at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)
[10:08:54 WARN]: at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)
[10:08:54 WARN]: at java.base/java.util.Objects.checkIndex(Objects.java:385)
[10:08:54 WARN]: at java.base/java.util.ArrayList.get(ArrayList.java:427)
[10:08:54 WARN]: at Dynmap-3.5-beta-1-spigot.jar//org.dynmap.DynmapWorld.getMapState(DynmapWorld.java:550)
[10:08:54 WARN]: at Dynmap-3.5-beta-1-spigot.jar//org.dynmap.hdmap.IsoHDPerspective.render(IsoHDPerspective.java:1271)
[10:08:54 WARN]: at Dynmap-3.5-beta-1-spigot.jar//org.dynmap.hdmap.HDMapTile.render(HDMapTile.java:91)
[10:08:54 WARN]: at Dynmap-3.5-beta-1-spigot.jar//org.dynmap.MapManager$FullWorldRenderState.processTile(MapManager.java:810)
[10:08:54 WARN]: at Dynmap-3.5-beta-1-spigot.jar//org.dynmap.MapManager$FullWorldRenderState.run(MapManager.java:726)
[10:08:54 WARN]: at Dynmap-3.5-beta-1-spigot.jar//org.dynmap.MapManager$DynmapScheduledThreadPoolExecutor$1.run(MapManager.java:234)
[10:08:54 WARN]: at Dynmap-3.5-beta-1-spigot.jar//org.dynmap.MapManager$DynmapScheduledThreadPoolExecutor$2.run(MapManager.java:252)
[10:08:54 WARN]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:577)
[10:08:54 WARN]: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[10:08:54 WARN]: at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
[10:08:54 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[10:08:54 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[10:08:54 WARN]: at java.base/java.lang.Thread.run(Thread.java:1589)
[10:08:56 WARN]: [MorePotions] Plugin MorePotions v1.8 generated an exception while executing task 6
java.lang.NoSuchMethodError: 'org.bukkit.entity.Player[] org.bukkit.Server.getOnlinePlayers()'
at com.ells1231.Stats.Metrics.postPlugin(Metrics.java:335) ~[MorePotions.jar:?]
at com.ells1231.Stats.Metrics.access$4(Metrics.java:328) ~[MorePotions.jar:?]
at com.ells1231.Stats.Metrics$1.run(Metrics.java:223) ~[MorePotions.jar:?]
at org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.3.jar:git-Paper-349]
at org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.19.3.jar:git-Paper-349]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.19.3.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1589) ~[?:?]
you cannot run dual fullrenders on the same world, wait untill the original one finished
Just stumbled upon this.
@JurgenKuyper kudos for showing so much patience, even though your frustration was showing a bit at some points. xD