Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

(mod) Sock's Render Distance Extendinator 9000

Discussion in 'Your Work' started by Sockmower, Mar 24, 2021.

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

    Sockmower Be excellent to each other CMD

    Messages:
    185
    Likes Received:
    756
    Trophy Points:
    73
    Minecraft:
    yeah it's me again the guy who started the physics shitposts and now wished he hadn't

    i'm here to make reparations in the form of a gift to you all! my render-distance-extendinator-9000! have you ever been wandering the world of wynn and wishing that the render distance was higher? but of course you have! with just a few easy steps you can now enjoy the grand mountains of aldorei, the spiraling peaks of the canyon of the lost, and the astonishing frame drops in the sky islands!

    requires 1.12.2 forge

    important information, please read before downloading:
    - The mod works by building up a cache of chunks sent to you by the server on local disk. This means that when you first install it it won't do much (or, anything really). explore more so you can cache more chunks and then when you relog, chunks you've already cached to the disk will get loaded back in when necessary.
    - When there's an update to wynn you will still have old cached chunks, so delete `[minecraft folder]\misguidedmod` so you can reset your cache unless you fancy seeing old builds everywhere
    - The source is a huge mess but if you do fancy contributing (thank you!) head over to https://github.com/Sockmower/MisguidedMod


    - Is this mod compatible with [insert other mod]?
    -> I have tested this mod with wynntils and optifine, it works fine
    - Why doesn't it work on first join
    -> The mod has to cache the files from the server to the disk first before it can inject them back in next time
    - It isn't working
    -> Send your error logs and i might consider fixing it
    - Once i have a full cache how much storage space will it use
    -> I estimate about 300-400mb

    - Game locks up for a bit on teleport
    -> idk how to really fix sorry lol, if you think you do make a pull request and i will love you forever
    - There is a memory leak in the regionCache HashMap
    -> yeah i know but i cba to fix it fixed it lol
    - You leave your threads dangling
    -> see above fixed it lol
    - This post should've gone in the "your work" section
    -> yea but i'm addicted to forum likes some mod moved it

    Anyway, I hope you enjoy!
     
    Last edited: Mar 29, 2021
  2. Screenatyouruse

    Screenatyouruse Well-Known Adventurer

    Messages:
    12
    Likes Received:
    11
    Trophy Points:
    48
    Minecraft:
    i dont need this as i have over 500 frames per second but this is great for people who have unironically have a worse pc than a potato. would recommend if your pc is like from the 2005s and you still cant afford a pc for some reason.
     
  3. ReReverse

    ReReverse Social Anxiety (no longer) in a can!

    Messages:
    794
    Likes Received:
    823
    Trophy Points:
    123
    Guild:
    Minecraft:
    Oh sweet, sounds awesome. I'll give it a try when I get a chance
     
    Castti likes this.
  4. Castti

    Castti Kookie

    Messages:
    2,247
    Likes Received:
    19,106
    Trophy Points:
    207
    Guild:
    Minecraft:
    Yoooo sick, I'll check this out
     
  5. JaydonTheWarrior

    JaydonTheWarrior Nerf tanks, buff paladin.

    Messages:
    3,119
    Likes Received:
    6,159
    Trophy Points:
    215
    Guild:
    Minecraft:
    What? This mod has nothing to do with the quality of your PC. Litteraly, the only thing I can possible think of, that in any way, explains your post is you think better pcs can set their render distance higher. Two things:
    1. Minecraft + Optfine has a Max render distance of 64, this is potentially infinite (basically)
    2. Wynncraft has a built in limit to chunks rendered, so even if you think your pc is a fucking God, it can only ever load in like 5 chucks at a time because of the server itself.
     
    Crystqllized and Pifg like this.
  6. Screenatyouruse

    Screenatyouruse Well-Known Adventurer

    Messages:
    12
    Likes Received:
    11
    Trophy Points:
    48
    Minecraft:
    consider this, the chunks are being loaded to your disks compared to ram itself. which in my theory improves with less stutters (and fps?) as some people have 4gb of ram has more frequent stutters because fromthe spaghetti code that is minecraft java itself. but i do agree with the rest of your statements.
     
  7. Pifg

    Pifg aaaaaaaaaaaa

    Messages:
    1,571
    Likes Received:
    2,602
    Trophy Points:
    162
    Guild:
    Minecraft:
    you seem to be under the impression that this mod is intended to improve performance

    that is not the case

    What its ACTUALLY supposed to do is make distant terrain visible, so even if you get 10000000000000000000000000000000000000000 frames per second this mod will still help you lol
     
    Last edited: Mar 25, 2021
  8. Pifg

    Pifg aaaaaaaaaaaa

    Messages:
    1,571
    Likes Received:
    2,602
    Trophy Points:
    162
    Guild:
    Minecraft:
    Two questions: does the render distance setting affect this mod, and how does this mod affect performance? I've been using it for a while and haven't noticed a performance drop but I figured I'd ask anyway.
     
  9. chyp5

    chyp5 untrained unprofessional idiot VIP+

    Messages:
    172
    Likes Received:
    228
    Trophy Points:
    67
    Minecraft:
    I’m assuming that it will attempt to fill in all the Chunks up to your render distance using the chunk cache, so your render distance will be the same as what you set it to, unlike how without the mod it is fixed to 8/6 or whatever it is.
     
  10. Sockmower

    Sockmower Be excellent to each other CMD

    Messages:
    185
    Likes Received:
    756
    Trophy Points:
    73
    Minecraft:
    the mod will load chunks from `clientRenderDistance + 1` away and unload them once they go out of that range. Performance hit should be relatively minimal but obviously there is a cost associated with retrieving and decompressing chunks from disk.
     
    Pifg likes this.
  11. fishcute

    fishcute fish CHAMPION Builder

    Messages:
    720
    Likes Received:
    762
    Trophy Points:
    123
    Creator Karma:
    Minecraft:
    Isn't this not allowed? I thought downloading the world wasn't allowed. If it is allowed this is cool. Any possibility of a 1.16 version? Or are you working on fixing things before doing that.
     
  12. Sockmower

    Sockmower Be excellent to each other CMD

    Messages:
    185
    Likes Received:
    756
    Trophy Points:
    73
    Minecraft:
    I've cleared this mod with the mods, it's all good. I have no plans to release a 1.16 version.
     
    fishcute likes this.
  13. Sockmower

    Sockmower Be excellent to each other CMD

    Messages:
    185
    Likes Received:
    756
    Trophy Points:
    73
    Minecraft:
    Small update to the mod

    -> Fixed minor memory leak
    -> Undangled dangling non-daemon threads
    -> Reduced amount of file handles open at once

    Download update -> https://github.com/Sockmower/MisguidedMod/releases/download/2/misguidedmod-1.0.jar

    [!] You do not need to rebuild your region cache after downloading this update, everything will just work. You do not need to delete the misguidedmod folder in your .minecraft folder for this update!
     
    Pifg likes this.
  14. Pifg

    Pifg aaaaaaaaaaaa

    Messages:
    1,571
    Likes Received:
    2,602
    Trophy Points:
    162
    Guild:
    Minecraft:
    Pog, ty!

    Also, u sure thats the update you linked? It says 1.0 which doesn't seem like an update lol
     
  15. Sockmower

    Sockmower Be excellent to each other CMD

    Messages:
    185
    Likes Received:
    756
    Trophy Points:
    73
    Minecraft:
    yeah i linked the right one i just didn't bother to change the filename/version number lol
     
    Pifg likes this.
  16. Pifg

    Pifg aaaaaaaaaaaa

    Messages:
    1,571
    Likes Received:
    2,602
    Trophy Points:
    162
    Guild:
    Minecraft:
    fair enough
     
  17. OriTheSpirit

    OriTheSpirit Feesh Time 24/7 CHAMPION

    Messages:
    899
    Likes Received:
    559
    Trophy Points:
    95
    Guild:
    Minecraft:
    being honest having 500+ fps still can't go over the server-limited render distance lols
     
  18. ImmaDonut

    ImmaDonut Well-Known Adventurer VIP

    Messages:
    63
    Likes Received:
    59
    Trophy Points:
    49
    Minecraft:
    I have optifine and wynntils and some other random small mods. The chunks dont seem to be saving. Do i need to chane something in optifine settings or my render disance?
     
    JaydonTheWarrior likes this.
  19. JaydonTheWarrior

    JaydonTheWarrior Nerf tanks, buff paladin.

    Messages:
    3,119
    Likes Received:
    6,159
    Trophy Points:
    215
    Guild:
    Minecraft:
    Same, not sure whats wrong.
     
  20. chyp5

    chyp5 untrained unprofessional idiot VIP+

    Messages:
    172
    Likes Received:
    228
    Trophy Points:
    67
    Minecraft:
    I have both of those mods as well, but the mod seems to be working. Make sure you have your render distance set in your video settings to your preference, chunks outside of your set render distance will not be loaded.
     
Thread Status:
Not open for further replies.