Jump to content

[1.7.10] Get Player's Capabilities In OnUpdate & Key Handling With Packets


Izzy Axel

Recommended Posts

Was just putting it out there. I agree its best not to take short cuts but in my opinion simpler is always better but as you are doing this as a learning experience that dosnt really matter. 

 

PS: You could still do it without the potion effect by simply checking if the player has the item in their inventory however you would only have one timer available so you wouldn't be able to have a timer for both the flight and cool down before reactivation unless you use the item damage for both.

I am the author of Draconic Evolution

Link to comment
Share on other sites

It would seem there's an issue with the packet sending on dedicated servers.  To make sure it wasn't any of the non-packet stuff that was causing it, I added packets to another item that needs them, but doesn't need IEEP or anything fancy, and it's giving the same error that the flight talisman is giving.  It seems like it's something obvious I'm overlooking :/

 

Error Log

 

Item

Message

ClientProxy

Main

Link to comment
Share on other sites

if(!world.isRemote)
{
if(stack.stackTagCompound.getBoolean("Mode"))
{
	ArcaneArtificing.snw.sendToServer(new MessageBreakBlock(1));
}
else
{
	ArcaneArtificing.snw.sendToServer(new MessageBreakBlock(0));
}
}

It looks like you are trying to send a packet from the server to the server perhaps that is the problem?

I am the author of Draconic Evolution

Link to comment
Share on other sites

Wait wait wait...is world.isRemote client side?  I thought it was server...if that's actually client, that could explain a lot of the issues I've had with this.  <__>  I thought I was saying that the mode checking and sending should only run on client side in there when I put !world.isRemote...

Link to comment
Share on other sites

Ok, I fixed that, and cleaned everything up, and added logging.  The message is being received, but it's not executing the method in the proxy like I told it to in onMessage, and I can't figure out why.  It seems client/server related again, but I don't know what to do about it.

 

Item

Message

ClientProxy

Main

 

EDIT: No wait, it's not being received...wth is going on here?

 

EDIT 2: Through some witchcraft that left my code identical to the way it was before, the message is being received now, but it's running the CommonProxy methods, instead of the overridden methods in ClientProxy. :/  Is there something else I'm missing?

Link to comment
Share on other sites

Looking at how you registered your messages, you are sending them to the server, so why would any of your ClientProxy methods be getting called? Of course it is calling CommonProxy version - that's what it does on the server side.

 

You do not want to do anything that changes the world from your client proxy - stuff like 'setBlock' should ONLY be done on the server (the client usually gets notified of the changes automatically).

Link to comment
Share on other sites

Who told you raytracing has to be done on the client? You can do it on the server just as well:

Vec3 vec31 = Vec3.createVectorHelper(player.posX, player.posY + player.getEyeHeight(), player.posZ);
Vec3 vec32 = Vec3.createVectorHelper(i, j, k);
MovingObjectPosition mop = world.rayTraceBlocks(vec31, vec32);

Use the player's look vector for the i/j/k coordinates.

i would be (player.posX + (look.xCoord * 64)) for a range of 64 blocks, j would be the same for y, and k for z.

Link to comment
Share on other sites

@Override
public void breakBlockST(EntityPlayer player)
{
	System.out.println("break block ST");
	Vec3 vector1 = Vec3.createVectorHelper(player.posX, player.posY, player.posZ);
	Vec3 vector2 = Vec3.createVectorHelper(player.posX + (player.getLookVec().xCoord * 4), player.posY + (player.getLookVec().yCoord * 4), player.posZ + (player.getLookVec().zCoord * 4));
	MovingObjectPosition mop = player.worldObj.rayTraceBlocks(vector1, vector2);
	int blockX = mop.blockX;
	int blockY = mop.blockY;
	int blockZ = mop.blockZ;
	Block targetBlock = player.worldObj.getBlock(blockX, blockY, blockZ);
	System.out.println(targetBlock + " " + blockX + " " + blockY + " " + blockZ);
	if(targetBlock instanceof BlockOre || targetBlock instanceof BlockRedstoneOre || targetBlock instanceof BlockModOre)
	{
		player.worldObj.spawnEntityInWorld(new EntityItem(player.worldObj, blockX, blockY, blockZ, new ItemStack(targetBlock)));
		player.worldObj.playAuxSFX(2001, blockX, blockY, blockZ, targetBlock.getIdFromBlock(targetBlock));
		player.worldObj.setBlockToAir(blockX, blockY, blockZ);
		if(player.inventory.getCurrentItem() != null)
		{
			//--player.inventory.getCurrentItem().stackSize;
			//player.inventory.setInventorySlotContents(player.inventory.currentItem, null);
		}
	}
}

 

That's in ServerProxy, and running on a server, it detects the block below the player instead of where the player's aiming, it does break the block below the player correctly if it's an ore, and if the player's looking anywhere but relatively downward when you right click, it crashes on a NPE thrown at:

 

int blockX = mop.blockX;

 

PS just check out SSP, it doesn't work at all, doesn't call the method in the ServerProxy.

Link to comment
Share on other sites

Did you not see "player.posY + player.getEyeHeight()" in my code snippet? There's a reason for adding the player's eye height, and that is that on the server, player.posY is the player's feet.

 

As for your NPE, it is clearly possible for no block to be hit by the ray trace (looking up into the sky or looking at an entity), so you need to check for that.

 

 

Link to comment
Share on other sites

That aside, there's 2 more things that aren't working.  Most important is, how do you properly check if the server allows flight?  I put

 

if(MinecraftServer.getServer().isFlightAllowed())

 

in as a check before sending the packet, and this causes a crash with no error beyond the "a client unexpectedly left" one.

 

Second is, the raytracing doesn't work at all on SSP, is there a solution that works on either an integrated or dedicated server?

Link to comment
Share on other sites

Regarding isFlightAllowed That only exists on a dedicated server so use.

if(!world.isRemote && MinecraftServer.getServer().isDedicatedServer()) LogHelper.info(MinecraftServer.getServer().isFlightAllowed());

 

Edit: it looks like MinecraftServer.getServer().isFlightAllowed() actually dose work in ssp it just returns true. Is it possible you are trying to call it client side?

I am the author of Draconic Evolution

Link to comment
Share on other sites

What's LogHelper?  Also, clarification, I was referring to it crashing on a dedicated server after putting in the isFlightAllowed check, so putting in the isDedicatedServer check before it doesn't solve the crash.

 

Didn't see your edit before posting, added the isRemote check, and it works fine now.

Link to comment
Share on other sites

Ok, so last 2 issues,  the raytracing is only working on a dedicated server, and on my normal server, the flight talisman regains all of its durability when you open an Ender Pouch, change Mystcraft ages, or dimensions.  Anyone know what either of those are about or how to fix them?  The durability issue seems like an interaction bug with one of the mods on the server, because it doesnt happen on a clean server, or a server running in the dev environment.

Link to comment
Share on other sites

Regarding your NBTHelper. That all looks fine but it really only dose half the job if you still have to check that the stack has a tag and if not add it that should all be handled by your handler so you can do setValue(stack, "Tag", value) and getValue(stack, "Tag", default) and not have to worry about anything else. If your not sure how to do that check out my NBTHelper

 

public final class ItemNBTHelper {

public static NBTTagCompound getCompound(ItemStack stack){
	if (stack.getTagCompound() == null)
		return new NBTTagCompound();
	else
		return stack.getTagCompound();	
}

        // SETTERS ///////////////////////////////////////////////////////////////////

public static ItemStack setBoolean(ItemStack stack, String tag, boolean b)
{
	NBTTagCompound compound = getCompound(stack);
	compound.setBoolean(tag, b);
	stack.setTagCompound(compound);
	return stack;
}

public static ItemStack setShort(ItemStack stack, String tag, short s)
{
	NBTTagCompound compound = getCompound(stack);
	compound.setShort(tag, s);
	stack.setTagCompound(compound);
	return stack;
}

public static ItemStack setInteger(ItemStack stack, String tag, int i)
{
	NBTTagCompound compound = getCompound(stack);
	compound.setInteger(tag, i);
	stack.setTagCompound(compound);
	return stack;
}

public static ItemStack setFloat(ItemStack stack, String tag, float f)
{
	NBTTagCompound compound = getCompound(stack);
	compound.setFloat(tag, f);
	stack.setTagCompound(compound);
	return stack;
}

public static ItemStack setDouble(ItemStack stack, String tag, double d)
{
	NBTTagCompound compound = getCompound(stack);
	compound.setDouble(tag, d);
	stack.setTagCompound(compound);
	return stack;
}

public static ItemStack setString(ItemStack stack, String tag, String s) {
	NBTTagCompound compound = getCompound(stack);
	compound.setString(tag, s);
	stack.setTagCompound(compound);
	return stack;
}

// GETTERS ///////////////////////////////////////////////////////////////////

public static boolean verifyExistance(ItemStack stack, String tag) {
	NBTTagCompound compound = stack.getTagCompound();
	if (compound == null)
		return false;
	else
		return stack.getTagCompound().hasKey(tag);
}

public static boolean getBoolean(ItemStack stack, String tag, boolean defaultExpected) {
	return verifyExistance(stack, tag) ? stack.getTagCompound().getBoolean(tag) : defaultExpected;
}

public static short getShort(ItemStack stack, String tag, short defaultExpected) {
	return verifyExistance(stack, tag) ? stack.getTagCompound().getShort(tag) : defaultExpected;
}

public static int getInteger(ItemStack stack, String tag, int defaultExpected) {
	return verifyExistance(stack, tag) ? stack.getTagCompound().getInteger(tag) : defaultExpected;
}

public static float getFloat(ItemStack stack, String tag, float defaultExpected) {
	return verifyExistance(stack, tag) ? stack.getTagCompound().getFloat(tag) : defaultExpected;
}

public static double getDouble(ItemStack stack, String tag, double defaultExpected) {
	return verifyExistance(stack, tag) ? stack.getTagCompound().getDouble(tag) : defaultExpected;
}

public static String getString(ItemStack stack, String tag, String defaultExpected) {
	return verifyExistance(stack, tag) ? stack.getTagCompound().getString(tag) : defaultExpected;
}
}

 

As for the rest im still looking for the cause of your talismen problem i will get back to you if i find anything.

 

Edit: In onUpdate in the item class why are you sending a message to the client? onUpdate is called both client and server side. Also it dosnt look like you are using extended properties correctly.

@Override
public void handleKeys()
{
if(Minecraft.getMinecraft().inGameHasFocus && Minecraft.getMinecraft().gameSettings.keyBindJump.getIsKeyPressed())
{
	ExtendedPlayer.spaceDown = true;
}
else
{
	ExtendedPlayer.spaceDown = false;
}
}

You are just changing the field in your ExtendedPlayer class which works because its client side but its not actually saving anything to the player.

 

Edit 2: --stack.stackSize; should be all you need here.

--stack.stackSize;
if(player instanceof EntityPlayer)
{
((EntityPlayer)player).inventory.setInventorySlotContents(((EntityPlayer)player).inventory.currentItem, null);
}

 

Regarding the durability resetting it dosnt look like you are actually changing the damage value so do you mean the nbt value is resetting? or did i miss something?

 

Edit 3: found the problem because you are only setting ExtendedPlayer.isSpaceDown client side the following code is only running client side

if(ExtendedPlayer.isSpaceDown((EntityPlayer)player))
{
if(player.posY < Reference.HEIGHTLIMIT)
{
	player.motionY += Reference.TERMINAL * Reference.THRUST;
	if(player.motionY > Reference.TERMINAL)
	{
		player.motionY = Reference.TERMINAL;
		}
}
NBTHelper.incrementIntSetDamage(stack, "Mana");
if(stack.stackTagCompound.getInteger("Mana") > this.getMaxDamage())
{
	--stack.stackSize;
	if(player instanceof EntityPlayer)
	{
		((EntityPlayer)player).inventory.setInventorySlotContents(((EntityPlayer)player).inventory.currentItem, null);
	}
}
}

Which means you are only changing the nbt client side so as soon as the client re syncs with the server by something such as the player relogging or going to another dimension the value is reset back to default.

 

So to fix your problem you need to

a) Learn how properly use IExtendedEntityPropertiys

b) Use your key input handler to send a packet to the server when space is pressed that packet should contain a Boolean that says wether space is pressed or not and on reviving that packet set the property "isSpaceDown" for the player (you will have to set it client side aswell but that will be exactly the same just do it before you send the message to the server)

 

BTW the reason it lets you fly as it is is because player motion is handled client side.

I am the author of Draconic Evolution

Link to comment
Share on other sites

1. The server doesn't know about the clients keyboard, so the message has to be sent to the client for it to handle the checking of said keyboard.  It's also gated to only send on the server side.

2. --stack.stackSize leaves the player with a phantom item in their inventory, you have to right click with it, pick it up in the inventory, try to drop it, try to use it, or break a block with it for it to disappear, so I always set the slots contents to null to graphically remove it immediately.

 

 

And this works now, assuming this is what you meant for me to do:

 

 

Flight Talisman

MessageKeys

ClientProxy

ExtendedPlayer

ServerProxy

MessageFly

Link to comment
Share on other sites

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.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Nvm, added EMF and ETF to a Primarily Create using Modpack, it works, but with Rechiseled it softlocks in the initialization screen of Forge and just sits there..cuz the CPU load just goes to 0%.
    • Everytime i try to join my server my minecraft closes and crashes. Im using the void launcher right now to play this mod. Can someone please help im not sure why this is happening. This is the crash report   ---- Minecraft Crash Report ---- // Uh... Did I do that? Time: 6/25/24 7:05 PM Description: Unexpected error java.lang.NullPointerException: Unexpected error     at net.minecraft.crash.CrashReportCategory.func_85069_a(CrashReportCategory.java:145)     at net.minecraft.crash.CrashReport.func_85057_a(CrashReport.java:333)     at net.minecraft.crash.CrashReport.func_85058_a(CrashReport.java:303)     at net.minecraft.client.Minecraft.func_71407_l(Unknown Source)     at net.minecraft.client.Minecraft.func_71411_J(Unknown Source)     at net.minecraft.client.Minecraft.func_99999_d(Unknown Source)     at net.minecraft.client.main.Main.main(SourceFile:148)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)     at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.7.10     Operating System: Windows 10 (amd64) version 10.0     Java Version: 1.8.0_271, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 1743850688 bytes (1663 MB) / 3333947392 bytes (3179 MB) up to 3817865216 bytes (3641 MB)     JVM Flags: 11 total; -Xms1024M -Xmx4096M -XX:MaxPermSize=256M -XX:+UseParallelGC -XX:ParallelGCThreads=6 -XX:+UseSplitVerifier -XX:+FailOverToOldVerifier -XX:-HeapDumpOnOutOfMemoryError -XX:+UseCompressedOops -XX:+ScavengeBeforeFullGC -XX:+PrintCommandLineFlags     AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1558 94 mods loaded, 93 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     UCHIJA    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)      UCHIJA    FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1558-1.7.10-universal.jar)      UCHIJA    Forge{10.13.4.1558} [Minecraft Forge] (forge-1.7.10-10.13.4.1558-1.7.10-universal.jar)      UCHIJA    CodeChickenCore{1.0.7.46} [CodeChicken Core] (minecraft.jar)      UCHIJA    ivtoolkit{1.2.1} [IvToolkit] (minecraft.jar)      UCHIJA    OldModelLoader{1.0} [OldModelLoader] (minecraft.jar)      UCHIJA    MobiusCore{1.2.5} [MobiusCore] (minecraft.jar)      UCHIJA    NotEnoughItems{1.0.5.111} [Not Enough Items] (NotEnoughItemsuniversal.jar)      UCHIJA    voltzenginepreloader{0.0.1} [Voltz Engine Preloader] (minecraft.jar)      UCHIJA    FastCraft{1.25} [FastCraft] (fastcraft.jar)      UCHIJA    Baubles{1.0.1.10} [Baubles] (Baubles.jar)      UCHIJA    surpriseeggs{1.0.6} [Surprise Eggs] (AdventureBackpack.jar)      UCHIJA    adventurebackpack{1.7.10-0.8b} [Adventure Backpack] (AdventureBackpack.jar)      UCHIJA    AnimationAPI{1.2.4} [AnimationAPI] (AnimationAPI.jar)      UCHIJA    MovingWorld{1.7.10-1.8.1} [Moving World] (MovingWorld.jar)      UCHIJA    ArchimedesShipsPlus{1.7.10-1.8.1} [Archimedes' Ships Plus] (ArchimedesPlus.jar)      UCHIJA    asielib{0.2.7} [asielib] (asielib.jar)      UCHIJA    BiblioCraft{1.10.5} [BiblioCraft] (BiblioCraft.jar)      UCHIJA    CarpentersBlocks{3.3.6} [Carpenter's Blocks] (CarpentersBlocks.jar)      UCHIJA    ChestTransporter{2.0.6} [Chest Transporter] (ChestTransporter.jar)      UCHIJA    Railcraft{9.12.2.0} [Railcraft] (Railcraft.jar)      UCHIJA    chisel{2.3.10.37} [Chisel 2] (Chisel.jar)      UCHIJA    chunkpregenerator{2.1} [Chunk Pregenerator] (ChunkPregeneratorV.jar)      UCHIJA    lucky{5.1.0} [Lucky Block] (LuckyBlocks.jar)      UCHIJA    Waila{1.5.10} [Waila] (Waila.jar)      UCHIJA    ColorfulMobs{1.1.0} [Colorful Mobs] (ColorfulMobsMC.jar)      UCHIJA    controlling{1.0.0} [Controlling] (Controlling.jar)      UCHIJA    custommenu{2.0.0.3} [Custom Menu] (CustomMenu.jar)      UCHIJA    customnpcs{1.7.10d} [CustomNpcs] (CustomNpcs.jar)      UCHIJA    DamageIndicatorsMod{3.2.3} [Damage Indicators] (DamageIndicators.jar)      UCHIJA    darkcore{0.3} [Dark Core] (DarkCore.jar)      UCHIJA    PTRModelLib{1.0.0} [PTRModelLib] (Decocraft.jar)      UCHIJA    props{2.4.2} [Decocraft] (Decocraft.jar)      UCHIJA    FoodExpansion{1.0} [Food Expansion] (FoodExpansionmc.jar)      UCHIJA    FoodPlus{3.2rS} [ bFood Plus] (FoodPlus.jar)      UCHIJA    iChunUtil{4.2.2} [iChunUtil] (iChunUtil.jar)      UCHIJA    GraviGun{4.0.0-beta} [GraviGun] (GravityGun.jar)      UCHIJA    HardcoreEnderExpansion{1.8.6} [Hardcore Ender Expansion] (HardcoreEnderExpansionMCv.jar)      UCHIJA    Hats{4.0.1} [Hats] (Hats.jar)      UCHIJA    HatStand{4.0.0} [HatStand] (HatStand.jar)      UCHIJA    hbm{1.0.27 BETA (3815)} [Hbm's Nuclear Tech] (hbmBETA.jar)      UCHIJA    voltzengine{1.11.0.491} [Voltz Engine] (VoltzEngine.jar)      UCHIJA    icbmclassic{2.16.4.3} [ICBM-Classic] (ICBM.jar)      UCHIJA    InventoryPets{1.5.2} [Inventory Pets] (inventorypetsuniversal.jar)      UCHIJA    inventorytweaks{1.59-dev-152-cf6e263} [Inventory Tweaks] (InventoryTweaksdev.jar)      UCHIJA    IronChest{6.0.62.742} [Iron Chest] (ironchestuniversal.jar)      UCHIJA    journeymap{5.1.4p2} [JourneyMap] (journeymappunlimited.jar)      UCHIJA    pacman{1.0} [Pacman] (KillerPacman.jar)      UCHIJA    legends{6.15} [Legends Mod] (Legends.jar)      UCHIJA    levelup{0.10} [Level Up!] (LevelUp.jar)      UCHIJA    lmmx{1.0} [lmmx] (littleMaidMobXx.jar)      UCHIJA    MMMLibX{1.7.x-srg-1} [MMMLibX] (littleMaidMobXx.jar)      UCHIJA    zabuton{1.0} [zabuton] (littleMaidMobXx.jar)      UCHIJA    luckyegg{1.2.1} [LuckyEgg] (LuckyEgg.jar)      UCHIJA    malisiscore{1.7.10-0.14.3} [MalisisCore] (malisiscore.jar)      UCHIJA    malisisdoors{1.7.10-1.13.2} [Malisis' Doors] (malisisdoors.jar)      UCHIJA    mcheli{1.0.4} [MC Helicopter] (MCHeli.zip)      UCHIJA    battlegear2{1.7.10} [Mine & Blade Battlegear 2 - Bullseye] (MineBladeBattlegearBullseye.jar)      UCHIJA    MobProperties{0.4.0} [Mob Properties] (MobProperties.jar)      UCHIJA    nolpfij_mobstatues{0.1.1} [mobstatues] (MobStatues.jar)      UCHIJA    cfm{3.4.7} [ 9MrCrayfish's Furniture Mod] (MrCrayfishsFurnitureMod.jar)      UCHIJA    MutantCreatures{1.4.8} [Mutant Creatures] (MutantCreatures.jar)      UCHIJA    NEIAddons{1.12.10.33} [NEI Addons] (NEIAddons.jar)      UCHIJA    NEIAddons|AppEng{1.12.10.33} [NEI Addons: Applied Energistics 2] (NEIAddons.jar)      UCHIJA    NEIAddons|Botany{1.12.10.33} [NEI Addons: Botany] (NEIAddons.jar)      UCHIJA    NEIAddons|Forestry{1.12.10.33} [NEI Addons: Forestry] (NEIAddons.jar)      UCHIJA    NEIAddons|CraftingTables{1.12.10.33} [NEI Addons: Crafting Tables] (NEIAddons.jar)      UCHIJA    NEIAddons|ExNihilo{1.12.10.33} [NEI Addons: Ex Nihilo] (NEIAddons.jar)      UCHIJA    neiintegration{1.1.2} [NEI Integration] (NEIIntegrationMC.jar)      UCHIJA    recipehandler{1.7.10} [NoMoreRecipeConflict] (NoMoreRecipeConflict.jar)      UCHIJA    OreSpawn{1.7.10.20.3} [OreSpawn] (orespawn.zip)      UCHIJA    origin{3.3.0} [Origin] (Origin.jar)      UCHIJA    pandorasbox{2.0.1} [Pandora's Box] (PandorasBox.jar)      UCHIJA    PortalGun{4.0.0-beta-4} [PortalGun] (PortalGunbeta.jar)      UCHIJA    ProjectE{1.7.10-PE1.10.1} [ProjectE] (ProjectE.jar)      UCHIJA    recipescramble{1.7.5} [Recipe Scramble] (RecipeScramble.jar)      UCHIJA    reccomplex{0.9.7.1.1} [Recurrent Complex] (RecurrentComplex.jar)      UCHIJA    SaintsCore{0.8} [Saintscore] (Saintscore.jar)      UCHIJA    secretroomsmod{4.7.1} [The SecretRoomsMod] (secretroomsmod.jar)      UCHIJA    securitycraft{v1.8.13} [SecurityCraft] (SecurityCraftv.jar)      UCHIJA    SSTOW{1.7.10-0.1-RC9-7} [Soul Shards: The Old Ways] (SoulShardsTheOldWays.jar)      UCHIJA    statues{2.1.3} [Statues] (Statues.jar)      UCHIJA    StorageDrawers{1.7.10-1.10.9} [Storage Drawers] (StorageDrawers.jar)      UCHIJA    TardisMod{0.99} [Tardis Mod] (TardisMod.jar)      UCHIJA    TragicMC{2.46.2879} [TragicMC 2] (TragicMC.jar)      UCHIJA    TrailMix{4.0.0} [TrailMix] (TrailMix.jar)      UCHIJA    VeinMiner{0.36.0_1.7.10-28a7f13} [Vein Miner] (VeinMiner-1.7.10-0.36.0.496+28a7f13.jar)      UCHIJA    VeinMinerModSupport{0.36.0_1.7.10-28a7f13} [Mod Support] (VeinMiner-1.7.10-0.36.0.496+28a7f13.jar)      UCHIJA    voltzenginemodcompat{1.11.0.491} [Voltz Engine Mod Compatibility Loader] (VoltzEngine.jar)      UCHIJA    voltzenginemodflag{1.11.0.491} [VoltzEngine mod protection, flag, and region system] (VoltzEngine.jar)      UCHIJA    weepingangels{3.3.2} [Weeping Angels] (WeepingAngels.jar)      UCHIJA    thejungle{1.0.9} [Welcome to the Jungle] (WelcomeToTheJungle.jar)      UCHIJA    witchery{0.24.1} [Witchery] (Witchery.jar)      UD    asielibcore{} [AsieLib CoreMod] (minecraft.jar)      GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 522.25' Renderer: 'NVIDIA GeForce RTX 3050/PCIe/SSE2'     Launched Version: 1.7.10     LWJGL: 2.9.1     OpenGL: NVIDIA GeForce RTX 3050/PCIe/SSE2 GL version 4.6.0 NVIDIA 522.25, NVIDIA Corporation     GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported.     Is Modded: Definitely; Client brand changed to 'fml,forge'     Type: Client (map_client.txt)     Resource Packs: []     Current Language: English (US)     Profiler Position: N/A (disabled)     Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used     Anisotropic Filtering: Off (1)
    • Yes, I downloaded the driver off of the official website and downloaded AMD Software: Adrenalin Edition in the process. It's showing me that my driver is up to date. I could try uninstalling and reinstalling it to see if there was anything I missed during the installation process, maybe? Edit: Update, I downloaded the AMD stuff again following the exact instructions in the FAQ, and I am still getting the same issue.
    • Just to make sure, did you update your video drivers from the AMD website? That's where you want to get your graphics updates from if not.   That error in the logs just looks very weird to me  
    • I downloaded forge for 1.21 because I wanted to play the new update with a few mods. When I load up the game on the forge installation, the game seems to launch fine, but then freezes and goes into that "not responding" state a few seconds after sitting on the menu. It stays on not responding forever, and I have to close the game myself. The normal vanilla game without forge loads and works perfectly fine, though. The exit code I receive is either 1 or -805306369, depending on how I close the game. When I force close with task manager, I get exit code 1. When I close using the not responding menu (close the program or wait for it to respond), I get exit code -805306369. I tried taking all of the mods out to see if they were the problem, but the same issue still persists even with 0 mods in the mods folder. The pastebin linked is the log from when I launched the game with forge after taking all of the mods out of the mods folder. (Nothing ever shows up in the crash-reports folder, but I do have this from the logs): https://pastebin.com/9bL8awvE I had to delete some of the bottom of the log to be able to upload it onto pastebin, but anything deleted was identical to the lines there at the bottom. Some things I have tried include: Allocating more ram, updating display drivers, updating java version (currently have Java 21, tried switching to java 17 but that did not work either), removing or changing settings on programs that may conflict with minecraft (followed this list https://minecrafthopper.net/help/known-incompatible-software/). None have worked so far. I'm aware of course that this is a beta version of forge, but I just wanted to see if there was something I could do to fix this, or if I will just need to wait for a more stable, non beta version to be released.  
  • Topics

×
×
  • Create New...

Important Information

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