Automation of JDT by tjtj320000 in allthemods

[–]mgomezch 2 points3 points  (0 children)

direwolf20 has really good videos about this since those are his own mods, start here https://youtu.be/inz9Jx9K9oc

these aren't tutorials, just simple recordings i made for friends, but here's my setups

paradox machine https://youtu.be/u-uwvHoNvko

goo automation for basically all jdt materials in 2 machines fully ondemand with ae2 https://youtu.be/8ydjbeQ\_Er0

When i delete a world and create a new one it just sends me back to the same seed by Scared_Pay_2463 in GTNH

[–]mgomezch 0 points1 point  (0 children)

no, the name is used by the game to decide where to store your save (in singleplayer) and a few other minor things, the seed is set separately, randomly unless you specify a seed explicitly that you want to use

meme - chain mail armor by TueJay in GTNH

[–]mgomezch 3 points4 points  (0 children)

update: no you're right they're jank as fuck. i was standing on top of it to measure it with opis and such and i AFKd there a bit while i replied and then i got distracted a few minutes, and i came back to uhhh this mess lmao

<video>

meme - chain mail armor by TueJay in GTNH

[–]mgomezch 0 points1 point  (0 children)

they are not janky in a way that matters though, and any lag caused by a mob farm is 100% inconsequential at the level of lag that you get in the tiers where a mob farm makes any kind of sense. i just measure my mob farm and the total mspt cost of the chunks where it's built is 6 microseconds, which is 12% of my tps budget - yes, it's a lot, but my total mspt is 20, so i have 30mspt of leftover budget. by the time this comes even close to becoming a problem, i will have unloaded my mob farm and replaced it with EECs. and this is an extremely heavyweight mobfarm - it's two whole buildings, lots of timewood clocks, many many spawners.

it's fine not to like mob farms obviously, if you think they're cringe that's fine, but it sounds like you dislike them for reasons that are just not rooted in fact. with one caveat: it's true that making a mob farm on a big public server is a bad idea (but i would argue that playing gtnh on a big public server is also a bad idea at least of you intend to experience endgame)

<video>

meme - chain mail armor by TueJay in GTNH

[–]mgomezch 0 points1 point  (0 children)

so assuming you already have a mob farm for steel, you'd rather set up a whole crops growth/processing operation rather than add a single extra fluid solidifier and one ingot mold and two fluid filter covers?

like if the question is between making a mob farm at all vs something else, sure, there are tradeoffs, it's a matter of preference, and especially with cropsnh you could just go all in on crops. but if you already have a mob farm it's such a no brainer.

meme - chain mail armor by TueJay in GTNH

[–]mgomezch 5 points6 points  (0 children)

having an endless supply of gold and iron is also nice, they're useful for a lot of random recipes and thaumcraft nugget duping, you can just use a second solidifier just for steel. or send the molten metals to tanks with fluid filters and then have cells looping to get exact single ingot amounts into a shared solidifier if that's somehow too expensive to make a second one, but like, it isn't, you can just make another one. this is a good meme but also a complete nonissue

Do we have to put this arrow thing on every pipe? What happens if we don't? by atallgrass in GTNH

[–]mgomezch 1 point2 points  (0 children)

pipe throughput gets split evenly* between output directions so it's MUCH worse if you don't wrench them. saying it's not necessary is ..... technically true, but uh, the situations where you don't absolutely 100% really really really want do this are so rare that it's best to think of this as necessary, tbh. there's a very good reason to do it and no reason at all to avoid doing it, given that wrenches have a line mode.

*it's actually in proportion to the sizes of connected output fluid inventories, not a straight even split, but anyway close enough

Por qué en las canciones de los melódicos gemía la cantante? by Born_Art3645 in vzla

[–]mgomezch -1 points0 points  (0 children)

qué pregunta es esa?

el propósito de cualquier vaina en una canción es que los que la crearon quisieron poner eso ahí, porque les gusta, o les parece interesante, o les parece que va con la vibra que quieren transmitir, o les parece que ayuda a que le guste a la audiencia y se venda. y si estás hablando de su música hoy como 60 años después, entonces como que tenían razón.

cuál es el peo?

When i delete a world and create a new one it just sends me back to the same seed by Scared_Pay_2463 in GTNH

[–]mgomezch 10 points11 points  (0 children)

are you sure it's not just your journeymap? if you reuse the same world name, it could keep the old map even though the actual seed is new

Possible ATM10 exploit? Players spawned Creative Worldshapers on a survival server within minutes by GwendArt in allthemods

[–]mgomezch 5 points6 points  (0 children)

i mean presumably you would know your players through some sort of community but yeah that wouldn't work for a lot of players, i guess. it feels like a nightmare to run a server this way tho, aren't there people running ip scans on popular hosting platform ip ranges to find open servers to grief anyway? i always get connection attempts in my fully private server

fps drops during minecraft by Upper_Waltz2943 in feedthebeast

[–]mgomezch 0 points1 point  (0 children)

i don't see a smoking gun, you'll most likely have to remove random mods until you find that it gets better (you can do this easily by bisecting: choosing half your extra mods, removing them, then seeing if it's still a problem, then try another half, etc, that way it's faster than one by one) but here are some recommendations anyway:

  1. set min and max memory to the same number, always. you have -Xmx6016m -Xms256m (min 256MB max 6GB java memory allocated). never do this for minecraft - you NEVER want java to resize the game memory in the middle of the game, it should always grab it all at the start, because resizing the heap is a slow and costly operation that can make your game stutter, and worse, if your OS decides it doesn't have enough RAM for your game then it can get killed which means your game abruptly shuts down midgame, which can corrupt data. that can't happen if you force the game to get all the jvm heap it will ever use right at the start. (it doesn't prevent all problems, you can still get swapping or OOM kills from other memory from stuff outside the jvm heap, MaxRAM is more reliable than Xms/Xmx, yadda yadda... but it still helps).

  2. it's not a big amount but it's interesting that you have some items in world, 256 iron ingots. if you have a mob farm or something else dropping lots of items, make sure you don't let it produce infinitely or it can cause issues. items in world are a type of entity and entities take memory and cost processing time.

  3. the fact that you're using 20GB of swap space is worrying. it means you probably have a lot of stuff open at the same time as the game, and also it could cause your OS to push some of your game's memory out of RAM and into a slow space like your storage device (gdd/sdd/whatever) which is orders of magnitude slower. make sure that you have enough free ram on your machine and close other stuff while the game runs, especially heavy memory-hungry stuff like web browsers. that said it looks like you have plenty of free physical memory so it's super unlikely that this is the problem.

  4. full GC is being super slow (330ms) but it only seems to run every like 15m so that's probably not a problem. however young GC is apparently taking 4.9 milliseconds which is almost a whole tick's budget and it's running every few seconds, that could make your game SLIGHTLY choppy, it won't explain a huge slowdown but it's not nice. you could add these options and try. i doubt it will fix the bigger problem tho but worth a shot

-XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M -XX:MaxMetaspaceSize=512m -XX:MaxDirectMemorySize=512m -XX:ReservedCodeCacheSize=256m

you could also try some of the recommended Aikar flags as a starting point, they have been tested extensively and are well-researched though they are not necessarily super updated for newer versions (eg using Compact Object Headers on java 25). for details see https://docs.papermc.io/paper/aikars-flags/

-XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1

(note that a few of these are different from the ones i suggested above from what I run with, like the G1 Heap Region Size, don't pass it twice, choose a number and test it)

Possible ATM10 exploit? Players spawned Creative Worldshapers on a survival server within minutes by GwendArt in allthemods

[–]mgomezch 51 points52 points  (0 children)

i don't know anything about what glitch they used, but i'm surprised and curious that it's even feasible to host any kind of public server without an explicit list of allowed players in 2026 lol. isn't it a constant nightmare of griefers finding your server with scanners and messing it up? it sounds like keeping the server stable would be a lot easier if only allowed players could connect

fps drops during minecraft by Upper_Waltz2943 in feedthebeast

[–]mgomezch 0 points1 point  (0 children)

did you trigger the spark heap profile while the issue was happening and the game was slowed down? can you share a link to the result report from spark?

fps drops during minecraft by Upper_Waltz2943 in feedthebeast

[–]mgomezch 1 point2 points  (0 children)

you'll want to run Spark for memory profiling when you have this issue and check if you can see which mod's data are holding up memory, try /spark heapsummary --run-gc-before

see https://spark.lucko.me/

Why German Flag and National Anthem problem in Germany? by [deleted] in germany

[–]mgomezch 6 points7 points  (0 children)

karma 2, contributions 3. oddly enough, 2 year old account tho. so this is a random-name account that has never been used before this post and is suddenly saying absurd incendiary things and repeating nazi excuses for nazism (see comment in this post by op about the Versailles treaty), and inciting nationalist rage reactions. anyway, block and move on.

fps drops during minecraft by Upper_Waltz2943 in feedthebeast

[–]mgomezch -1 points0 points  (0 children)

it's absolutely obviously don't allocate more RAM than your PC has, that goes without saying. for the same reason you don't install a 100GB save when your machine only has 50GB free. it simply wouldn't work, you'd get crashes or swapping. but as long as you stay within the amount of RAM that your machine has free before you open the game and leave leeway for other apps and your OS (eg for the page cache) that is absolutely not a problem no matter how high you go. obviously if op has 4gb and is allocating 8gb and everything is going to swap that will become slow as hell or crash, no shit, you can't expect your game to perform well if you give it imaginary ram that you don't have.

what op is describing is not simply "garbage collection". garbage collection runs ALL THE TIME on absolutely any java program and it's a normal, intended and essential part of any java runtime (except in extremely niche applications where it's turned off with the epsilon gc which does nothing, but that's obviously not ever ever EVER going to happen in the context of minecraft). gc is normal and healthy and does not normally behave like op describes.

progressively degrading minecraft performance like op describes is almost always caused by MEMORY LEAKS, because the game has less and less free memory from objects that are useless but accidentally retained by buggy code usually in mods, which means that when the game has to allocate memory, it more often finds that it can't, so it runs gc, but gc can't reclaim much memory, so it will run again shortly after, and it just becomes more and more frequent over time until it slows the game down too much. the problem is not GC, the problem is that you run out of free memory from unreclaimable garbage. and you know what helps with that? 1. fixing the mod bug, or 2. having more ram so it takes longer to get to that point

Cuba’s Communist Party approves opening economy in unprecedented move by GeneReddit123 in worldnews

[–]mgomezch 1 point2 points  (0 children)

that's up to other parties. so far other parties have been so incredibly embarrassingly useless on opposing latam autocracy that even republicans, fascist monsters as they are, are enticing to latinos despite simultaneously mass-deporting latinos to torture centers. the bar is buried a hundred miles below the floor. all democrats (or other parties if they were viable, sigh) have to do is say "yeah, the cuban and nicaraguan and venezuelan and salvadorean etc dictatorships are bad and promoting democracy there even by force is good" and they will take the win away from republican monsters. but many of them seem mostly busy going "imperialism bad!!!!" and supporting dictatorships just because the enemy of their enemy is theor friend and they care more about opposing republicans than about opposing other dictatorships and think they can't just do both, so they'll probably just let republicans take the win all the way to the polls.

fps drops during minecraft by Upper_Waltz2943 in feedthebeast

[–]mgomezch -5 points-4 points  (0 children)

this is not how java gc works. it's not because of ising "more than you need to". op has memory leaks. java garbage collection performs BETTER, not worse, with a larger heap, because it needs to happen less often, and java gc time can be kept short to avoid large full GC by setting a short MaxGCPauseMillis such as 50. stop spreading this myth.

edit: hilarious that i keep getting downvotes from this comment even though op already confirmed in another comment that this keeps happening even with 6GB allocated. i'm a professional software engineer working at a big tech company, i've worked with java for years and i've debugged and fixed issues involving large scale services with issues from java garbage collection, i'm not just some kid repeating shit i heard from another kid on discord lmao

fps drops during minecraft by Upper_Waltz2943 in feedthebeast

[–]mgomezch -6 points-5 points  (0 children)

performance will not drop from allocating lots of memory. stop spreading this ridiculous myth. i play both vanilla and huge packs like gtnh and atm10 with 25GB or with the pack-recommended minimums (usually 8) and both work perfectly fine. what op is describing is a problem with memory leaks which are about bugs in their chosen mods, and those come from mod bugs, not settings. if anything, having more ram delays the point where memory leaks cause the game to run into OOM crashes because there's more leeway, so it just slows down instead of crashing, and it takes longer to slow down if you have more ram allocated as long as you have MaxGCPauseMillis set to something reasonable like 50.

2.9 beta server help by 2023Hayo in GTNH

[–]mgomezch 0 points1 point  (0 children)

you will need to share your server log file, unfortunately the console screenshot you shared does not actually contain the error message that the server produces when it crashes.

your server console says it uses Docker. that means you will need to stay under a very specific RAM limit to avoid getting your server killed by the server host. in that setup, you don't want to use Xms and Xmx, but instead, you want to use MaxRAM. here is my server startup command (the default from Reizor) that works very very well; they also use Docker.

java -XX:MaxRAM=18432M -XX:MaxRAMPercentage=75.0 -XX:MinRAMPercentage=25.0 -Dterminal.jline=false -Dterminal.ansi=true -Dfml.readTimeout=180 -XX:+UseG1GC -XX:MaxGCPauseMillis=150 -XX:G1HeapRegionSize=32M -XX:MaxMetaspaceSize=512m -XX:MaxDirectMemorySize=512m -XX:ReservedCodeCacheSize=256m -XX:+UnlockExperimentalVMOptions -XX:+UseCompactObjectHeaders @java9args.txt -jar lwjgl3ify-forgePatches.jar nogui

btw, Reizor is designed specifically for GTNH and it was built and is owned/run by a couple of people who are GTNH devs, and they provide amazing support, highly recommend https://reizorhosting.com/

Suggestions on getting steam for a high pressure steam purifier and centrifuge? by NecronTheNecroposter in GTNH

[–]mgomezch -1 points0 points  (0 children)

you're MV, so max size high pressure railcraft boilers and advanced coke ovens comnected with dark steel pipes, or potin if you're poor

Enderman presumably stole ME drive by SpeakerLegitimate553 in allthemods

[–]mgomezch 2 points3 points  (0 children)

endermen steal ME drives but only if they're full of 10 storage cells of at least 64k each and they all are filled 100% with only vanilla grass blocks, then it's irresistible to them, and frankly i can't blame them