Jump to content

Recommended Posts

Posted

I do not know if this is the right place to be for this, if it isn't then my apologies.

 

HP dual core W/ 8gb ram

Win 10 64 bit, latest Minecraft.

any version of forge even if it is a new install

*On my system everything is fine.*

On my kid's system, it won't connect to the LAN game.

 

Here is what I know:

( I have not tried a non-forge session but will do that here in a bit)

 

In the launcher log I get like 20 or more of these errors:

12:06:45 launcher main warn Couldn't get hash for jline/jline/2.13/jline-2.13.jar from http://files.minecraftforge.net/maven/jline/jline/2.13/jline-2.13.jar.sha1: HTTP 404: Not Found.

As far as I can tell, each one is different in the file it wants but not in the locations.

I also get quite a few of these:

12:06:45 launcher main warn Have local file C:/Users\browe906\AppData\Roaming\.minecraft\libraries\net/minecraftforge/forge/1.11.2-13.20.0.2228/forge-1.11.2-13.20.0.2228.jar but don't know what size or hash it should be. Have to assume it's good.
 

So I have done a lot of troubleshooting including uninstalling Minecraft, getting the latest install, reinstalling forge versions. I always get the game to come up, and I can create worlds, I just can't get logged into a LAN game. While these errors may not be preventing me from doing so, and it could be something else, (no software or hardware changes since the issue began) I am hoping to solve these issues and eliminate them from the troubleshooting.

 

I'll be checking frequently, and can provide any info requested.

 

Things you should also know-

Every electronic device- computers, cell phones, gaming consoles- all have access to the internet and can be seen on the router.

All networkable devices can see each other and share files and folders.

I get the same results if I run as administrator (didn't think it would help but tried anyway)

When I choose multiplayer, I can see the server. When I go to log on, it never gets past pinging the server.

Sometimes I get a GL error, sometimes I get timeouts. Other times I show up in the server but lock up and time out.

I never get the same error twice in a row.

 

I have dummied down the game to the most basic graphics settings, removed all mods so that it is just a forge only game. I have enabled and disabled the java settings.

I have the latest greatest java available on both systems.

 

At this point, I am thinking there may be some kind of firewall/av issue that just hasn't shown itself this far, and that while the Minecraft launcher is listed in the exceptions, something is blocking access to the internet, but allowing me to share files on LAN. So, I disabled the firewall and AV but got the same results.

 

I am pretty handy with computers and even some hardware programming, but I am scratching my head over this one.

Any help would be greatly appreciated and if this is the wrong area to post, please let me know where it should be and I will go there and post all this.

 

Thanks!

 

Posted
2 minutes ago, bardkin said:

I have the latest greatest java available

Does that mean you're using Java 9? FML doesn't support Java 9 yet, so you should use Java 8 in the meantime.

 

Post the FML log (logs/fml-client-latest.log in your game directory) if that doesn't help.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Posted (edited)

thats good to know- I will revert, but I upgraded thinking that that could be the problem.

launcher log.txt

 

I can get you logs for a non-mod version and a non-forge version if you want- was going to get them to compare anyway..be just a little while though..

 

Edited by bardkin
Posted
6 minutes ago, larsgerrits said:

Does that mean you're using Java 9? FML doesn't support Java 9 yet, so you should use Java 8 in the meantime.

Ignore that, I misread. If you were using Java 9 you wouldn't be able to start the game at all.

 

The log you posted isn't the FML log. The FML log is located in 

8 minutes ago, larsgerrits said:

logs/fml-client-latest.log in your game directory

 

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Posted

By chance are these launcher errors indicative of a faulty install? Seems like there is a hash table that hasn't been or is improperly defined and that it feels it needs to download some kind of patch or backup file that no longer exists in its specified location.

 

Again, I dont see how this effects connecting to a LAN game unless one of the errors is preventing a library from opening and the game window is timing out.

 

I wonder if I should uninstall the launcher, reinstall an older version and make that work and then try to update the launcher again? I believe I downloaded a launcher install about a year ago..

 

Posted

The 404 errors are perfectly fine and inteded, if you can launch the game then we need the FML logs.

And reading the ones you provided:
[11:45:22] [main/INFO] [FML/]: Forge Mod Loader version 13.20.1.2386 for Minecraft 1.11.2 loading

You should update to 1.12.2

 

The rest of your log isn't useful. It doesn't show anyone trying to connect, or the 'opening to lan' message.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted
8 minutes ago, LexManos said:

The 404 errors are perfectly fine and inteded, if you can launch the game then we need the FML logs.

And reading the ones you provided:
[11:45:22] [main/INFO] [FML/]: Forge Mod Loader version 13.20.1.2386 for Minecraft 1.11.2 loading

You should update to 1.12.2

 

The rest of your log isn't useful. It doesn't show anyone trying to connect, or the 'opening to lan' message.

2

So this world is one that my son and I have been working on now for over a year. We are both extremely disappointed that we can not get back into it after the Minecraft update. I'm going to try getting rid of and then reinstalling an older launcher, I dont know what they did to the new one but it certainly doesnt like 1.11.2. (I dont get any issues with other versions of forge)

 

While I certainly have no issues with updating, some of the mods dont have compatible updated versions for them. I will look into it and see if maybe I can get rid of one of the deco mods or something but I'll have to spend an enormous amount of time going through every location in game and trying to find what I have to have and what I dont.

 

And yes, the only thing it shows for connecting is that it is connected, but then it times out. The forge log wouldn't show those errors necessarily.

Posted
1 minute ago, bardkin said:

And yes, the only thing it shows for connecting is that it is connected, but then it times out. The forge log wouldn't show those errors necessarily.

The Forge log WOULD show those errors are networking errors such as that are logged.

But if thats the case then you seem to of given us the wrong computer's log files.

But if as you say that you have been using this setup fine for over a year, and haven't changed anything Forge or Mod wise. Then its something else thats the issue.

New version of your firewall, or AV blocking things possibly. The launcher shouldn't have anything to do with it as at the end of the day you're just launching the same game.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Well, I don't know. but it sure is a huge loss of time and work. I've tried just about everything I can think of, and the only conclusion I can come up with is that they are trying to prevent forge from working. As it turns out, I now have the issue on my system as well. (I was trying to do it the other way where my kid's computer became the server)

It's a real shame that I have to tell him that the world is unusable now.

Posted

There is no "they". As stated, if nothing has changed in your MC setup then most likely its some other software you have installed like a Firewall or Anti-Virus.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Well, thats just it. There haven't been any changes. Same AV and router for over a year now. There have been updates, and I use Mcaffee paid version. Of course crappy windows updates every time I turn around ( I really gotta get this on my Linux box..)  and its possible there is some network setting that changed in updates, but I've gone all through that.

 

All I know is that for some unknown reason, Forge 1.11.2 completely stopped working over LAN.  I've given a whole lot of time to fixing it, because my son and I spent about a year working on a world together that we enjoy playing. Since the log files wont tell me why the time out is happening, my hands are tied.

 

Gonna have to abandon it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Version 1.19 - Forge 41.0.63 I want to create a wolf entity that I can ride, so far it seems to be working, but the problem is that when I get on the wolf, I can’t control it. I then discovered that the issue is that the server doesn’t detect that I’m riding the wolf, so I’m struggling with synchronization. However, it seems to not be working properly. As I understand it, the server receives the packet but doesn’t register it correctly. I’m a bit new to Java, and I’ll try to provide all the relevant code and prints *The comments and prints are translated by chatgpt since they were originally in Spanish* Thank you very much in advance No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. MountableWolfEntity package com.vals.valscraft.entity; import com.vals.valscraft.network.MountSyncPacket; import com.vals.valscraft.network.NetworkHandler; import net.minecraft.client.Minecraft; import net.minecraft.network.syncher.EntityDataAccessor; import net.minecraft.network.syncher.EntityDataSerializers; import net.minecraft.network.syncher.SynchedEntityData; import net.minecraft.server.MinecraftServer; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.Mob; import net.minecraft.world.entity.ai.attributes.AttributeSupplier; import net.minecraft.world.entity.ai.attributes.Attributes; import net.minecraft.world.entity.animal.Wolf; import net.minecraft.world.entity.player.Player; import net.minecraft.world.entity.Entity; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResult; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; import net.minecraft.world.level.Level; import net.minecraft.world.phys.Vec3; import net.minecraftforge.event.TickEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.network.PacketDistributor; public class MountableWolfEntity extends Wolf { private boolean hasSaddle; private static final EntityDataAccessor<Byte> DATA_ID_FLAGS = SynchedEntityData.defineId(MountableWolfEntity.class, EntityDataSerializers.BYTE); public MountableWolfEntity(EntityType<? extends Wolf> type, Level level) { super(type, level); this.hasSaddle = false; } @Override protected void defineSynchedData() { super.defineSynchedData(); this.entityData.define(DATA_ID_FLAGS, (byte)0); } public static AttributeSupplier.Builder createAttributes() { return Wolf.createAttributes() .add(Attributes.MAX_HEALTH, 20.0) .add(Attributes.MOVEMENT_SPEED, 0.3); } @Override public InteractionResult mobInteract(Player player, InteractionHand hand) { ItemStack itemstack = player.getItemInHand(hand); if (itemstack.getItem() == Items.SADDLE && !this.hasSaddle()) { if (!player.isCreative()) { itemstack.shrink(1); } this.setSaddle(true); return InteractionResult.SUCCESS; } else if (!level.isClientSide && this.hasSaddle()) { player.startRiding(this); MountSyncPacket packet = new MountSyncPacket(true); // 'true' means the player is mounted NetworkHandler.CHANNEL.sendToServer(packet); // Ensure the server handles the packet return InteractionResult.SUCCESS; } return InteractionResult.PASS; } @Override public void travel(Vec3 travelVector) { if (this.isVehicle() && this.getControllingPassenger() instanceof Player) { System.out.println("The wolf has a passenger."); System.out.println("The passenger is a player."); Player player = (Player) this.getControllingPassenger(); // Ensure the player is the controller this.setYRot(player.getYRot()); this.yRotO = this.getYRot(); this.setXRot(player.getXRot() * 0.5F); this.setRot(this.getYRot(), this.getXRot()); this.yBodyRot = this.getYRot(); this.yHeadRot = this.yBodyRot; float forward = player.zza; float strafe = player.xxa; if (forward <= 0.0F) { forward *= 0.25F; } this.flyingSpeed = this.getSpeed() * 0.1F; this.setSpeed((float) this.getAttributeValue(Attributes.MOVEMENT_SPEED) * 1.5F); this.setDeltaMovement(new Vec3(strafe, travelVector.y, forward).scale(this.getSpeed())); this.calculateEntityAnimation(this, false); } else { // The wolf does not have a passenger or the passenger is not a player System.out.println("No player is mounted, or the passenger is not a player."); super.travel(travelVector); } } public boolean hasSaddle() { return this.hasSaddle; } public void setSaddle(boolean hasSaddle) { this.hasSaddle = hasSaddle; } @Override protected void dropEquipment() { super.dropEquipment(); if (this.hasSaddle()) { this.spawnAtLocation(Items.SADDLE); this.setSaddle(false); } } @SubscribeEvent public static void onServerTick(TickEvent.ServerTickEvent event) { if (event.phase == TickEvent.Phase.START) { MinecraftServer server = net.minecraftforge.server.ServerLifecycleHooks.getCurrentServer(); if (server != null) { for (ServerPlayer player : server.getPlayerList().getPlayers()) { if (player.isPassenger() && player.getVehicle() instanceof MountableWolfEntity) { MountableWolfEntity wolf = (MountableWolfEntity) player.getVehicle(); System.out.println("Tick: " + player.getName().getString() + " is correctly mounted on " + wolf); } } } } } private boolean lastMountedState = false; @Override public void tick() { super.tick(); if (!this.level.isClientSide) { // Only on the server boolean isMounted = this.isVehicle() && this.getControllingPassenger() instanceof Player; // Only print if the state changed if (isMounted != lastMountedState) { if (isMounted) { Player player = (Player) this.getControllingPassenger(); // Verify the passenger is a player System.out.println("Server: Player " + player.getName().getString() + " is now mounted."); } else { System.out.println("Server: The wolf no longer has a passenger."); } lastMountedState = isMounted; } } } @Override public void addPassenger(Entity passenger) { super.addPassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(true)); } } } @Override public void removePassenger(Entity passenger) { super.removePassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is no longer mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(false)); } } } @Override public boolean isControlledByLocalInstance() { Entity entity = this.getControllingPassenger(); return entity instanceof Player; } @Override public void positionRider(Entity passenger) { if (this.hasPassenger(passenger)) { double xOffset = Math.cos(Math.toRadians(this.getYRot() + 90)) * 0.4; double zOffset = Math.sin(Math.toRadians(this.getYRot() + 90)) * 0.4; passenger.setPos(this.getX() + xOffset, this.getY() + this.getPassengersRidingOffset() + passenger.getMyRidingOffset(), this.getZ() + zOffset); } } } MountSyncPacket package com.vals.valscraft.network; import com.vals.valscraft.entity.MountableWolfEntity; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.server.level.ServerLevel; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.Entity; import net.minecraft.world.entity.player.Player; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class MountSyncPacket { private final boolean isMounted; public MountSyncPacket(boolean isMounted) { this.isMounted = isMounted; } public void encode(FriendlyByteBuf buffer) { buffer.writeBoolean(isMounted); } public static MountSyncPacket decode(FriendlyByteBuf buffer) { return new MountSyncPacket(buffer.readBoolean()); } public void handle(NetworkEvent.Context context) { context.enqueueWork(() -> { ServerPlayer player = context.getSender(); // Get the player from the context if (player != null) { // Verifies if the player has dismounted if (!isMounted) { Entity vehicle = player.getVehicle(); if (vehicle instanceof MountableWolfEntity wolf) { // Logic to remove the player as a passenger wolf.removePassenger(player); System.out.println("Server: Player " + player.getName().getString() + " is no longer mounted."); } } } }); context.setPacketHandled(true); // Marks the packet as handled } } networkHandler package com.vals.valscraft.network; import com.vals.valscraft.valscraft; import net.minecraft.resources.ResourceLocation; import net.minecraftforge.network.NetworkRegistry; import net.minecraftforge.network.simple.SimpleChannel; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class NetworkHandler { private static final String PROTOCOL_VERSION = "1"; public static final SimpleChannel CHANNEL = NetworkRegistry.newSimpleChannel( new ResourceLocation(valscraft.MODID, "main"), () -> PROTOCOL_VERSION, PROTOCOL_VERSION::equals, PROTOCOL_VERSION::equals ); public static void init() { int packetId = 0; // Register the mount synchronization packet CHANNEL.registerMessage( packetId++, MountSyncPacket.class, MountSyncPacket::encode, MountSyncPacket::decode, (msg, context) -> msg.handle(context.get()) // Get the context with context.get() ); } }  
    • Do you use features of inventory profiles next (ipnext) or is there a change without it?
    • Remove rubidium - you are already using embeddium, which is a fork of rubidium
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.