Question about sending chunks in multiplayer

my friend went on his main pc, generated chunks w chunky, put the world onto his 24/7 home lab server, he has DH installed on the server. i installed DH and joined but i aint getting a lot of chunks sent šŸ¤” he generated 20k chunks with chunky. does he have to do anything so that they get sent to me through DH? and is it possible for him to limit the upload speed? because otherwise his inet gonna die for like a long time i guess bc it takes a long time to send? We are on Fabric, 1.21.10, barely any mods other than DH and basic optimization.
60 Replies
jelly
jellyOP•2w ago
No description
jelly
jellyOP•2w ago
also is this DH related?
jelly
jellyOP•2w ago
@Skillnoob_
No description
jelly
jellyOP•2w ago
No description
jelly
jellyOP•2w ago
do i have to enable progress? doesnt show either way šŸ¤”
Skillnoob_
Skillnoob_•2w ago
oh god 1.21.10 f3 menu press f3 + f6 and enable the dh info there
jelly
jellyOP•2w ago
🤣
jelly
jellyOP•2w ago
No description
jelly
jellyOP•2w ago
No description
jelly
jellyOP•2w ago
what the helly could it be my friend forgot to install DH? 😭 or does he need a specific server version of the mod? i think he just has the default DH install
Miki_P98
Miki_P98•2w ago
Ask him if the DH command is present on the server
jelly
jellyOP•2w ago
ye im askin
Miki_P98
Miki_P98•2w ago
Or provide server sdie logs
jelly
jellyOP•2w ago
would it also be possible that i just grab the world, i generate 20k chunks with chunky and somehow save it for myself? without him having to send 20k chunks LODs to me?
Miki_P98
Miki_P98•2w ago
!chunky
YAGPDB.xyz
YAGPDB.xyz•2w ago
Using Chunky to pregenerate for DH is not recommended for several reasons. The first one is the swiss cheese that might show up when using chunky while DH is installed. The second reason is that it's pointless, as DH has a build in pregenerator that is better integrated than chunky: - It saves space by only storing LODs, not normal chunks - It is faster to use DH's pregenerator to generate the LODs than first using chunky to generate the normal chunks, and then using DH to convert the normal chunks to LODs - It is part of DH, and therefore always/only called when DH needs it - Chunky calculates it's radius in blocks, confusing the user if they are not aware of this Distant Horizons' built-in LOD pregenerator is enabled by default, and can be sped up or slowed down by changing the Cpu Load in DH's settings, or disabled by turning off Distant Generation. If you want to pregenerate both LODs and normal chunks, set the Distance Generator Mode to Full under Advanced, World Generator. This will of course take up quite a lot more storage space. Make sure you have C2ME installed if you want to use Full, as the generation speed will be crap if you don't. Note, this also applied to other similar pregeneration mods.
Miki_P98
Miki_P98•2w ago
You could just use the DH built-in generator if you had the world
jelly
jellyOP•2w ago
oh so if he only used chunky with 20k chunks that would be a problem?
Miki_P98
Miki_P98•2w ago
If DH was not installed when Chunky was running, that is not the problem
jelly
jellyOP•2w ago
mh ok wait
Miki_P98
Miki_P98•2w ago
But Chunkyt does not generate LODs
jelly
jellyOP•2w ago
oh i see OH
Miki_P98
Miki_P98•2w ago
So server DH still has to do LOD generation for each request from your client
jelly
jellyOP•2w ago
so DH cannot send anything
Miki_P98
Miki_P98•2w ago
It will just generate it and send it after
jelly
jellyOP•2w ago
he says DH is 100% on the server he isnt home right now
Miki_P98
Miki_P98•2w ago
Well not if the client does not recognize that server side DH is present
jelly
jellyOP•2w ago
oki my friend will check later if DH is installed and if not will install it. Since he has run chunky with 20k chunks, DH will then automatically generate LODs and send them to me? thank u for help šŸ™šŸ»
Miki_P98
Miki_P98•2w ago
No, it will only generate the LODs when it is told to do that, either by your client requests or when forced with a DH pregen command
jelly
jellyOP•2w ago
oh i see my friend already generated the chunks. how does he generate LODs now? is generating chunks or LODs the thing that needs a lot of power?
Miki_P98
Miki_P98•2w ago
Chunk generation is the way slower part
jelly
jellyOP•2w ago
how long would it take to generate LODs for 20k chunks on a really really bad pc? should he generate the LODs on his main pc? and then move the world and LODs to the server or is it fine to generate LODs on the weak server?
Miki_P98
Miki_P98•2w ago
No idea Depends on how patient you are
jelly
jellyOP•2w ago
if he generating LODs on his main pc, can he move the LOD files from pc to server?
Miki_P98
Miki_P98•2w ago
yes !lodstored
YAGPDB.xyz
YAGPDB.xyz•2w ago
Single Player: - Overworld: .minecraft/saves/WORLD_NAME/data/DistantHorizons.sqlite - Nether: .minecraft/saves/WORLD_NAME/DIM-1/data/DistantHorizons.sqlite - End: .minecraft/saves/WORLD_NAME/DIM1/data/DistantHorizons.sqlite - Custom Dimensions: .minecraft/saves/WORLD_NAME/DIMENSION_FOLDER/data/DistantHorizons.sqlite Multiplayer: - .minecraft/Distant_Horizons_server_data/SERVER_NAME/ Server Mod - Overworld: SERVER_FOLDER/world/data/DistantHorizons.sqlite - Nether: SERVER_FOLDER/world/DIM-1/data/DistantHorizons.sqlite - End: SERVER_FOLDER/world/DIM1/data/DistantHorizons.sqlite - Custom Dimensions: SERVER_FOLDER/world/DIMENSION_FOLDER/data/DistantHorizons.sqlite Server Plugin All dimensions in one file: SERVER_FOLDER/plugins/DHSupport/data.sqlite NOTE: Sometimes there might be 2 additional files next to the main one with extensions .sqlite-wal and .sqlite-shm If there are, all 3 should be treated as a single file, a.k.a. moved, deleted, backed-up always together! If you don't, the database will become corrupted.
jelly
jellyOP•2w ago
whats the command to generate LODs?
Miki_P98
Miki_P98•2w ago
As long as the server is modded, and not using the DH plugin
jelly
jellyOP•2w ago
it is using the DH mod šŸ¤”
Miki_P98
Miki_P98•2w ago
/dh pregen
jelly
jellyOP•2w ago
im confused now
Miki_P98
Miki_P98•2w ago
Use the autocomplete don't know the full command
jelly
jellyOP•2w ago
ah ok wait im confused can u not just move the LODs to the server if it uses DH mod?
Miki_P98
Miki_P98•2w ago
yes
jelly
jellyOP•2w ago
yes, you cannot? or yes you can?
Miki_P98
Miki_P98•2w ago
yes you can
jelly
jellyOP•2w ago
oh oki
Miki_P98
Miki_P98•2w ago
mod to mod you can move the DB mod to plugin and vice versa you cannot
jelly
jellyOP•2w ago
oh wait there's a plugin? im so confused
Miki_P98
Miki_P98•2w ago
yes
jelly
jellyOP•2w ago
pause okay question for the server to send LODs to the clients does the server need the mod or the plugin?
Miki_P98
Miki_P98•2w ago
either
jelly
jellyOP•2w ago
ok understood so
Skillnoob_
Skillnoob_•2w ago
Mod is for fabric/(neo)forge. Plugin is for bukkit/paper or other plugin based servers
jelly
jellyOP•2w ago
my friend runs the mod on the server. my friend runs the mod on his client. i run the mod on my client. my friend generated chunks in singleplayer and put them onto the server. my friend now generates the LODs in singleplayer on his pc and puts them on the server. my friend also saves the LODs on his client, so he doesnt have to download them. when i join the server I will get the LODs sent to me from his server? if he sends me the world i can also generate LODs myself and/or he can give me a USB stick irl with the LODs? But I also need the chunks to generate the LODs myself, correct? we use fabric, so its mod. nice. @Miki_P98 my friend generated the chunks with chunky while he had DH installed. the server crashed afterwards so he deleted DH. He just put it back on and now I think I am downloading chunks?
jelly
jellyOP•2w ago
can u tell based on this screenshot/
No description
jelly
jellyOP•2w ago
No description
jelly
jellyOP•2w ago
So we get warnings because he used chunky. Can we just use DH pregen now to resolve the warnings and such? Can we avoid the swiss cheese from chunky incase it happens in the future? Can we delete the already preloaded chunks from chunky and just redo it with DH? The SERVER_FOLDER/world/data/DistantHorizons.sqlite file is 160mb. Is that correct? I also keep disconnecting and I don't know why. šŸ¤” i was only on 4gb ram, i increased to 8
Miki_P98
Miki_P98•2w ago
It only happens when Chunky runs while DH is installed You can just remove Chunky to not run it by accident and you should be fine

Did you find this page helpful?