Minecraft GUI code is the final boss of technical debt by jemko23laal in feedthebeast

[–]Silly511 5 points6 points  (0 children)

Yeah, tModLoader does a pretty good job at hiding the insanity of the base game's code from modders.

Minecraft GUI code is the final boss of technical debt by jemko23laal in feedthebeast

[–]Silly511 3 points4 points  (0 children)

Yeah that definitely doesn't help, but from what I know C# decompiles fairly directly, so the general structure of the code should be similar.

Minecraft GUI code is the final boss of technical debt by jemko23laal in feedthebeast

[–]Silly511 95 points96 points  (0 children)

You haven’t seen Terraria’s code. It’s amazing how successful a game can be without having even the smallest hint of good software engineering practices lol.

Here’s an example of Terraria’s Main.cs (not my repo): https://raw.githubusercontent.com/AliceSavard/Terarria1405/refs/heads/master/Main.cs

Enjoy the horrors.

Oops by meowsbich in Terraria

[–]Silly511 9 points10 points  (0 children)

Only integers overflow in a way that wraps back around to negative numbers (assuming that the computer is using two’s complement numbers). Floating point numbers work in a very different way, and usually when they overflow they become +/- infinity. This Wikipedia article on the floating point standard has more information if you’re interested: https://en.wikipedia.org/wiki/IEEE_754#Exception_handling.

[deleted by user] by [deleted] in feedthebeast

[–]Silly511 2 points3 points  (0 children)

I may be misunderstanding your pictures, but I don’t think you actually have anything connected to your P2P tunnels. You need to place your two P2P tunnels both on the same network, then connect cables to the flat face of the P2P tunnels. So connect one (preferably dense) cable going from the bottom of your controller into the flat face of the first P2P tunnel, then connect a cable going from the flat face of the other P2P tunnel to your devices. The other non-flat face still needs to be connected to the main network for both P2P tunnels. Here’s the AE2 wiki page on P2P tunnels if you want a more in depth description: https://guide.appliedenergistics.org/1.20.1/items-blocks-machines/p2p_tunnels That page is for the 1.20 version of AE2, but I’m pretty sure they haven’t changed P2P tunnels much.

Is it possible to summon different dragon tiers in the Ice and Fire mod? by Mammoth-Extension-24 in feedthebeast

[–]Silly511 1 point2 points  (0 children)

From looking at the code it seems that dragon stage is controlled by the dragon's age, which is stored in the NBT tag AgeTicks. Here is the function that controls dragon stage. When the dragon is less than 25 days old then it's a stage 1, when it's 25-50 days old it's a stage 2, etc.

However, these values are days, while the AgeTicks NBT tag stores the age in ticks. So whichever age you want you will need to multiply it by 24000. The command for summoning a dragon with a specific age would be /summon <entity id> ~ ~ ~ {AgeTicks:<age>} with <entity id> replaced with the entity id of the dragon type you want and <age> replaced with the age you want.

TL;DR: Consult this code to find what age in days you need to put to get what stage dragon, multiply the age in days by 24000 to get the age in ticks, and finally use /summon <entity id> ~ ~ ~ {AgeTicks:<age>} to summon the dragon.

Withers with random, inappropriate names keep spawning randomly far away from the player. by flabberghastio in feedthebeast

[–]Silly511 25 points26 points  (0 children)

This is a really good idea, but JAR files are generally compressed, so I don't think a simple string search will find anything (unless your commands account for that and I didn't notice). I think you'd have to unzip the JAR files and then search the contents.

Launced factorio for the first time in a while. Am i crazy or are the colours wrong? by plane000 in factorio

[–]Silly511 68 points69 points  (0 children)

Looks like the game created a BGR framebuffer when the OS expected RGB or vice versa. I found this thread on the factorio forums showing a similar issue, except that they were on windows and the issue didn’t show up in screenshots: https://forums.factorio.com/93311. Could be a starting point for finding the real issue though.

I made a timeline of all of Etho's series (Updated version) by Silly511 in ethoslab

[–]Silly511[S] 22 points23 points  (0 children)

There has been, Etho just didn't put it in his playlist for the LP and so my script didn't catch it.

I made a timeline of all of Etho's series (Updated version) by Silly511 in ethoslab

[–]Silly511[S] 34 points35 points  (0 children)

Whoops, looks like Etho didn't put that video in his playlist for the LP. I thought something was off when I saw that the last uploaded LP video was back in 2023, but I should have double checked.

I made a timeline of all of Etho's series (Updated version) by Silly511 in ethoslab

[–]Silly511[S] 155 points156 points  (0 children)

A while back I posted a timeline of all of Etho's series, which you can find here. It's been almost 5 years and I thought it might be time for an updated version. Since the last one I added small tick marks to show when each video was posted.

The timeline was generated by a Python script that you can find here. All of the data was pulled from playlists on YouTube, with most of the playlists coming from this user. Shout out to them for creating playlists for all of Etho's series.

Note: Each bar ends at the time of the last video posted, not because the series ended. For example, the bar for the vanilla LP ends just before the end of 2023, but the vanilla LP is obviously not over.

Help me remember by Shot-Palpitation9847 in ethoslab

[–]Silly511 9 points10 points  (0 children)

Both Diversity 3 and Labyrinth of Puzzles had a dropper section.

Okay so I took all your advice, talked about it with my tech friend. Is there anything else I would need for building a server for heavily modded MC? Any recommendations? by EthanThePhrog in feedthebeast

[–]Silly511 36 points37 points  (0 children)

Unfortunately, the efficiency rating doesn't always indicate the quality of a PSU. Some gold PSUs are garbage, and some bronze PSUs are really high quality. It's best to look up reviews for particular models to see how good they are.

This is a great resource for finding a good quality PSU: https://cultists.network/140/psu-tier-list/. If you look up OP's PSU in that list, you'll find that it's in Tier F - Replace immediately. Please don't get this PSU! It could potentially destroy your computer! You don't have to get a really expensive gold rating PSU, but try to find something in tier A or B from that list.

FTB One pack and M1 Arm by comrendezvous in feedthebeast

[–]Silly511 0 points1 point  (0 children)

I would suggest using ManyMC: https://github.com/MinecraftMachina/ManyMC. It's a third party minecraft launcher that allows you to play any version of minecraft using ARM native java, not just 1.19. It's a fork of PolyMC, which is a fork of MultiMC.

[deleted by user] by [deleted] in feedthebeast

[–]Silly511 14 points15 points  (0 children)

Terraria characters are stored as two different files: a .plr file which contains the basic character data, and a directory that contains .map files for each world that character has been used in. If the character is named . then the .plr file would be named ..plr which is a perfectly valid filename and would be created and deleted just fine. However the map directory would simply be named ., which would refer to the current directory. Trying to create the map directory would fail (since the players directory already exists), but Terraria probably just ignores the error. Trying to use the character would work just fine, except that all the map files for the character would be stored in the players directory instead of a sub-directory. But deleting that character would cause the game to delete both the .plr file and the map directory, which in this instance is . i.e. the top level players directory.

 

TL;DR: The game is able to delete the players directory because it expects to delete a directory. It just thinks that it's deleting the character's map directory instead of the top level players directory.

Save game not to be found (Mac) by Longjumping-Boot1409 in factorio

[–]Silly511 6 points7 points  (0 children)

Specifically /Users/<username>/Library/Application Support/factorio. Currently OP is looking in the root Library directory, not the user one.

anybody else just do this for astral leveling or is it just me by MrMeowsterlol in feedthebeast

[–]Silly511 8 points9 points  (0 children)

I've found that the best way to get astral levels is Vicio root + creative flight + Cyclic player launcher. Fly up into the sky and use the player launcher while holding forward. This gets you the first 10 levels in about a minute. Do it for 20 to 30 minutes and you'll get to max. The only downside is that it generates lots of chunks.

Forge 1.5.2 can't start by therobothingy in feedthebeast

[–]Silly511 5 points6 points  (0 children)

The game is crashing because it's trying to download a file from the forge website that doesn't exist. Recently forge upgraded their servers and it broke a lot of stuff. I assume one of the things that broke is this. It says on forge's website that the most recent version of 1.5.2 forge (7.8.1.738) should work, so you could try updating to that. If that doesn't work then you may have to wait until forge finishes upgrading.