Everything posted by warjort
-
[SOLVED][1.19.2] Dev lost connection: Server sent an invalid packet, when world first loaded.
I missed the part where it says you are porting a mod. ๐ If it is your mod causing the problem then you need to check there is no mismatch in the serialization of your network packets e.g. deserailizing fields in the wrong order to how they are serailized or something else that will cause the networking to get "out-of-sync". https://forge.gemwire.uk/wiki/SimpleChannel#Common_Packet_Handling_Pitfalls Things like custom recipe serialization falls under this as well.
-
[SOLVED][1.19.2] Dev lost connection: Server sent an invalid packet, when world first loaded.
You need to post a link to the logs/debug.log so we can see if there is a previous error. This kind of problem is caused by mods with broken networking code. It is normally difficult to find the problem mod. Usually you have to experiment with removing mods until the problem goes away. (Backup your world before removing mods). An FAQ in this forum used to be using the wrong version of journeymap for 1.19.2 But that problem seems to have disappeared now that journeymap has a final release for 1.19.2
-
Game crashes say "Exit Code 1".
There is no error in that log. If it is the full log, post a link to the launcher_log.txt before restarting the launcher.
-
failed to create player model for default
Issue with the illuminations mod. Check you have the latest version then contact the mod author.
-
Is there a way to fix this without removing optifine?
Use the latest preview release of optifine for 1.18.2
-
Minecraft 1.19.2 freezes after loading up.
The debug log is required, just don't post it in the forum. Use a file upload site.
-
New Forge install error
Issue with your graphics driver: Maybe this will work for you? https://forums.minecraftforge.net/topic/119038-1192-failed-to-run-example-mod-on-fresh-setup/#comment-522788
-
The game crashed whilst rendering overlay Error: com.electronwill.nightconfig.core.io.WritingException: An I/O error occured
- Game is crashing due to error code -1 and I cannot find out why.
Looks like you have an issue with one of the forge config files being corrupted/invalid. I think it is config/forge-common.toml but the error message does not actaully say which one. If you don't have a backup, you can delete it and it will be recreated with default values.- Check "is single player" and not run mod at all
@ModEventBusSubscriber only works with static methods. https://forge.gemwire.uk/wiki/Events (the very next entry on the wiki after the one I posted above). if you are using @OnlyIn you are doing it wrong.- java.lang.reflect.invocationTargetException : null issue with alexsmobs
If you know the problem mod, check you have the latest version then contact the mod author.- When i open any world it keeps loading on the "saving world" screen idk what to do [1.19.2/Modpack]
Then speak to the mod author.- When i open any world it keeps loading on the "saving world" screen idk what to do [1.19.2/Modpack]
Try the latest version of oculus.- Check "is single player" and not run mod at all
@Mod.EventBusSubscriber(modid = MODID, value = Dist.DEDICATED_SERVER) Or for more details: https://forge.gemwire.uk/wiki/Sides Please familiarise yourself with the whole wiki.- Custom mod pack crashing just before world gen
The file is for sophisticated core which is used by sophisticated backpacks. Maybe others? https://www.curseforge.com/minecraft/mc-mods/sophisticated-core/relations/dependents?filter-related-dependents=3- Custom mod pack crashing just before world gen
Could be a mod doing something weird (a bug) with its configuration file. Check you have the latest version then contact the mod author. Also in the past, errors like that file lock are sometimes misinterpreted by the java virtual machine. e.g. It could be an issue with the operating system permissions of the file stopping it opening the file. But java misreports the error as it being locked. Or it would probably be more accurate to say Windows is telling java the wrong error code? Try deleting the file. Minecraft/Forge will recreate it with default values.- Custom mod pack crashing just before world gen
Looks like something is locking that file. e.g. you are editing it, or an instance of minecraft is still running.- Get player's dimension
You can start a new thread If you know what you are doing. But Minecraft is not designed to be used concurrently, except in a very few specific places. There is only one main client and server thread.. If you start using datastructures that are not designed to be accessed concurrently you are at best going to see inconsistent data, at worst you will get exceptions (NPEs, ConcurrentModification on iterators, etc.) due to incorrect concurrent access. e.g. https://bugs.mojang.com/browse/MC-258939- Custom modpack crashing upon game launch
Issue with whatever mod provides that class. If you didn't truncate error messages, we could probably tell you the jar name of the mod that is causing the problem.- Get player's dimension
There hasn't been a numeric representation of dimensions since 1.12- Cave Biome Spawning On Surface 1.19.2
This is not the terrablender support forum.- Get player's dimension
This is like minecraft 101. player.level Or if you really want what mojang calls the dimension (its registry name) player.level.dimension() e.g. Level.OVERWORLD Also, * If you throw SQLException from that event it will crash the game * You should check event.haveTime() to see if the server is running slow before doing intense processing (like querying an SQL database) * There is event.getServer() in 1.19 * All TickEvents are called twice per tick. You need to check event.phase (start or end) to avoid doing it twice per tick- Spawning player clone 1.19.2
You need to know a lot more about how minecraft works to attempt what you are trying to do. Obvious errors in just one line code: You are adding a player to the client side in an event that happens on the server. You are doing it with an id that is already used. The entity on the client will be a "phantom" since it has no corresponding entity on the server. If it is not a real player you need to create a proper entity and use ServerLevel.addFreshEntity() on the server. i.e. the entity will be controlled by the server and not by some real person playing the game.- Crashed when I opened inventory
Issue with the professions mod. Check you have the latest version then contact the mod author.- [1.19.3] Item model mismatch between in-hand model and ground and item frame models
This is the third time you have posted this question. And all there times it boils down to. "I wrote some code and it doesn't work. You must have psychic powers and can tell me what is wrong with it, without seeing it". If you don't want to continue to be ignored, you need to show what you are doing (preferably on github so we can see everything in context and maybe try it for ourselves). Or else find somebody that does have psychic powers. ๐ On the difference between the elytra and crossbow, look at the ItemProperties class. See how the CROSSBOW "charged" property requires the LivingEntity of the ItemProperyFunction to be non-null. i.e. the item must be in a LivingEntity's inventory to show as "charged". While the ELYTRA "broken" property doesn't reference the entity. - Game is crashing due to error code -1 and I cannot find out why.
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.