Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full rendered just a part #2522

Closed
elessday opened this issue Jun 19, 2019 · 15 comments
Closed

Full rendered just a part #2522

elessday opened this issue Jun 19, 2019 · 15 comments
Labels
Bug Report Render Issues Tracker for all issues related to black bars or not fully generated maps upon chunk generation

Comments

@elessday
Copy link

elessday commented Jun 19, 2019

Hi,

I downloaded Dynmap-3.0-beta-4-spigot.jar this morning and try a /dynmap fullrender
But after like 10minutes it just rendered a small part of my map and got this message :

"Full render of 'MYMAP' finished"

It rendered flat, cave and surface, but just a part.

I tried with world name at the end of command, but it did the same. Like 300-500 blocks around worldspawn

I tried this one too, but same thing
/dynmap radiusrender 999999999

I'm on last version of spigot

@elessday elessday changed the title Fullrender just a part Full rendered just a part Jun 19, 2019
@WeltensiedlerDE
Copy link

WeltensiedlerDE commented Jun 21, 2019

Same for me. Using Spigot 1.14.2 with Worldborder Plugin and have a new created world with a border radius of 3000 and only flat. WB Fill and Trim are done, restarting the server and starting fullrender of the world.

[03:40:19] [Dynmap Render Thread/INFO]: Full render of map 'flat' of 'Farmwelt' completed - 29101 tiles rendered (156,38 msec/map-tile, 120,17 msec per render)

Screenshot_1

@maciejnierzwicki
Copy link

Same - Paper 1.14.2

1

@WeltensiedlerDE
Copy link

This is a version with a world generated with EWG, radius 4500:

Screenshot_2

@korvyr
Copy link

korvyr commented Jun 24, 2019

I actually ended up having to write the below bash script to iterate over my entire map. First it loaded a section of chunks, then told dynmap to render it, then moved to the next section. World border's fill doesn't work as the map is already generated. Dynmap just doesn't see the chunks, and doesn't recognize it as needing to be rendered.

#!/bin/bash
#10752 / 48 = 224 | 5376 / 48 = 112
for xi in {-224..224}; do
for zi in {-112..112}; do
x=$[xi*48]
z=$[zi*48]
/bin/screen -S minecraft -p 0 -X stuff "forceload add $x $z $[x+48] $[z+48]^M"
sleep 2
/bin/screen -S minecraft -p 0 -X stuff "forceload remove all^M"
/bin/screen -S minecraft -p 0 -X stuff "dynmap radiusrender world $[x+24] $[z+24] 24^M"
done
sleep 5
done

You could try something similar.

@WeltensiedlerDE
Copy link

WeltensiedlerDE commented Jun 24, 2019

Yes, I notiticed that chunks would be renderer if there are enough blockchanges in it. I will try something simmilar with a self-written plugin.

@WeltensiedlerDE
Copy link

So, I've tried it nowm but it wouldn't work. I've written your code in a plugin and trued it, but it wouldn't update the map. I've tried it manually and teleporting me to an area the map was not renndered and made a manual radiusrender and also not working. It updates, if I make some blockchanges, but not if only the chunks are loaded.

@Teumaat
Copy link

Teumaat commented Jun 28, 2019

This is off topic but I was wondering, why are you using a plugin like WorldBorder? Why would you want to constrain your players like that?

@WeltensiedlerDE
Copy link

Since yesterday i'm using 1.14.3 and have made a worldborder fill again followed by a dynmap fullrender again, but nothing happens. Must it be a completly new generated world to fix this issue in 1.14.3?

Why i'm using Worldborder plugin? Ths is a funny question. Because of saving memory, because of saving time for rendering, because of general administrative reasons.

@WeltensiedlerDE
Copy link

Any progress due to the render errors with 1.14.x ? The Problem appears still with a newly generated world with 1.14.3.

@ghost
Copy link

ghost commented Jul 6, 2019

I also have been experiencing this issue and after investigating the issue I found that PaperLib is outdated.
PaperLib has not yet been updated to 1.14 and that's why WorldBorder was not loading chunks correctly.
In my modified version of WorldBorder I replaced all use of PaperLib with direct paper api access.
The benefit is now all chunks are loaded correctly and map is full on dynmap, but only on PaperSpigot.
My modified version of WorldBorder is only compatible with PaperSpigot, not Spigot or CraftBukkit.
WorldBorder modified to support Paper 1.14.3 + Dynmap 1.14.3

Before using modified WorldBorder
After using modified WorldBorder
The only issue remaining for me is an unknown lighting issue that none of my friends can reproduce.

@WeltensiedlerDE
Copy link

I found another solution. Just fill with worldborder fill with the arguments /wb fill world freq pad true.

The argument true forces worldborder to fill the chunk, wether the chunk was allready loaded or not. This takes much more time to fill an on my vServer with 8GB RAM the server crashes one time at around 90% with a radius of 5000, but the dynmap fullrender works afterwards correctly.

Before:
59970002-bf90a100-955b-11e9-992a-fceecef67edd

After (in the finding progress, I switched from a round to a square border)
Screenshot_1

@patrix87
Copy link

This is a problem with WorldBorder not properly filling all chunks because it runs out of memory but it thinks all the chunks are created.

@Charkel
Copy link

Charkel commented Jul 19, 2019

I am NOT using worldboarders and I cannot finish more than a fraction of the map before it says [INFO]: Full render of 'YOURWORLD' finished.

@ghost
Copy link

ghost commented Jul 19, 2019

Charkel then it's working as expected. Dynmap doesn't load chunks, it only renders what has been loaded before. You need to use WorldBorder for the full render of the map.

@FedUpWith-Tech FedUpWith-Tech added Bug Report Render Issues Tracker for all issues related to black bars or not fully generated maps upon chunk generation labels Jul 31, 2020
@FedUpWith-Tech FedUpWith-Tech changed the title Full rendered just a part [Collection] Fullrender not rendering all chunks on pregenerated non-world painter maps Aug 19, 2021
@FedUpWith-Tech FedUpWith-Tech changed the title [Collection] Fullrender not rendering all chunks on pregenerated non-world painter maps Full rendered just a part Aug 20, 2021
@FedUpWith-Tech
Copy link
Collaborator

Duplicate of #2485

@FedUpWith-Tech FedUpWith-Tech marked this as a duplicate of #2485 Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Render Issues Tracker for all issues related to black bars or not fully generated maps upon chunk generation
Projects
None yet
Development

No branches or pull requests

8 participants