Jump to content

Mod Missing Signatures


Ruarc88

Recommended Posts

Compiled my first mod for testing and Forge is crashing on startup. Crash report is incomplete (the report itself just says "... and 34 more" instead of actually including those lines). From my log file, crash seems to be happening after construction, but before pre-initialization. Erroring lines:

 

 

 

[20:53:25] [Client thread/DEBUG] [FML/]:    Valid Signatures:

[20:53:25] [Client thread/DEBUG] [FML/]: (e3c3d50c7c986df74c645c0ac54639741c90a557) FML (Forge Mod Loader 8.0.99.99) forge-1.9.4-12.17.0.1968.jar

[20:53:25] [Client thread/DEBUG] [FML/]: (e3c3d50c7c986df74c645c0ac54639741c90a557) Forge (Minecraft Forge 12.17.0.1968) forge-1.9.4-12.17.0.1968.jar

[20:53:25] [Client thread/DEBUG] [FML/]:  Missing Signatures:

[20:53:25] [Client thread/DEBUG] [FML/]: mcp (Minecraft Coder Pack 9.19) minecraft.jar

[20:53:25] [Client thread/DEBUG] [FML/]: mod_PlayerCollisionToggle (mod_PlayerCollisionToggle 0.0.4) mod_PlayerCollisionToggle-0.0.4.jar

 

 

 

Google only brings up Forge itself missing signatures for older versions and forum signature creators.... ???

 

The tutorials I worked through failed to tell me anything about these.

 

As far as I can tell, there's nothing critically different from my mod and the example mod that loads and runs no problem (other than what they do).

 

My code (just in case)

 

 

package ruarcraft.minecraft.playercollisiontoggle;

import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import net.minecraft.util.math.MathHelper;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;

@Mod(modid = PlayerCollisionToggle.MODID, version = PlayerCollisionToggle.VERSION)
public abstract class PlayerCollisionToggle extends Entity
{
public static final String MODID = "mod_PlayerCollisionToggle";
    public static final String VERSION = "0.0.4";
    
public PlayerCollisionToggle(World p_i1582_1_) {
	super(p_i1582_1_);
	// TODO Auto-generated constructor stub
}

    @EventHandler
    public void preInit(FMLPreInitializationEvent event)
    {
    	
    }
    
    @EventHandler
    public void init(FMLInitializationEvent event)
    {
        MinecraftForge.EVENT_BUS.register(this);
        System.out.println("COOLMODINIT");
    }
    
    @EventHandler
    public void postInit(FMLPostInitializationEvent event)
    {
    	
    }

@Override
public void func_70108_f(Entity entityIn)
{
	if (!this.func_184223_x(entityIn))
        {
            if (!entityIn.field_70145_X && !this.field_70145_X)
            {
                double d0 = entityIn.field_70165_t - this.field_70165_t;
                double d1 = entityIn.field_70161_v - this.field_70161_v;
                double d2 = MathHelper.func_76132_a(d0, d1);

                if (d2 >= 0.009999999776482582D)
                {
                    d2 = (double)MathHelper.func_76133_a(d2);
                    d0 = d0 / d2;
                    d1 = d1 / d2;
                    double d3 = 1.0D / d2;

                    if (d3 > 1.0D)
                    {
                        d3 = 1.0D;
                    }

                    d0 = d0 * d3;
                    d1 = d1 * d3;
                    d0 = d0 * 0.05000000074505806D;
                    d1 = d1 * 0.05000000074505806D;
                    d0 = d0 * (double)(1.0F - this.field_70144_Y);
                    d1 = d1 * (double)(1.0F - this.field_70144_Y);

                    //if (!this.func_184207_aI() && !(this instanceof EntityPlayer))
                    //{
                    //    this.func_70024_g(-d0, 0.0D, -d1);
                    //}

                    //if (!entityIn.func_184207_aI() && !(entityIn instanceof EntityPlayer))
                    //{
                    //    entityIn.func_70024_g(d0, 0.0D, d1);
                    //}
                    
                    System.out.println("APPLYENTITYCOLLISION_OVERRIDE");
                }
            }
        }
}

@Override
protected void func_70014_b(NBTTagCompound arg0) {
	// TODO Auto-generated method stub

}

@Override
protected void func_70037_a(NBTTagCompound arg0) {
	// TODO Auto-generated method stub

}

@Override
protected void func_70088_a() {
	// TODO Auto-generated method stub

}
}

 

 

 

The end goal being to disable the ability for entities to move the player.

Link to comment
Share on other sites

Crash report is incomplete (the report itself just says "... and 34 more" instead of actually including those lines).
Umm, that's a standard java thing it means that the error, and the cause of the error share the same stack at that frame. So no need to display it again because it'll be displayed in the cause stack trace.

From my log file, crash seems to be happening after construction, but before pre-initialization. Erroring lines:

 

 

 

[20:53:25] [Client thread/DEBUG] [FML/]:    Valid Signatures:

[20:53:25] [Client thread/DEBUG] [FML/]: (e3c3d50c7c986df74c645c0ac54639741c90a557) FML (Forge Mod Loader 8.0.99.99) forge-1.9.4-12.17.0.1968.jar

[20:53:25] [Client thread/DEBUG] [FML/]: (e3c3d50c7c986df74c645c0ac54639741c90a557) Forge (Minecraft Forge 12.17.0.1968) forge-1.9.4-12.17.0.1968.jar

[20:53:25] [Client thread/DEBUG] [FML/]:  Missing Signatures:

[20:53:25] [Client thread/DEBUG] [FML/]: mcp (Minecraft Coder Pack 9.19) minecraft.jar

[20:53:25] [Client thread/DEBUG] [FML/]: mod_PlayerCollisionToggle (mod_PlayerCollisionToggle 0.0.4) mod_PlayerCollisionToggle-0.0.4.jar

 

 

 

Google only brings up Forge itself missing signatures for older versions and forum signature creators.... ???

 

The tutorials I worked through failed to tell me anything about these.

Google jar signing. It's a method of signing the class files so that people can verify that they are from YOU and have not been modified by someone else.

As far as I can tell, there's nothing critically different from my mod and the example mod that loads and runs no problem (other than what they do).
There is a SHIT ton different seriously do you know basic java?

 

@Mod(modid = PlayerCollisionToggle.MODID, version = PlayerCollisionToggle.VERSION)
public abstract class PlayerCollisionToggle extends Entity
{

Your mod class is an entity what the hell!?!

 

The end goal being to disable the ability for entities to move the player.
You're not gunna be able to do this right now.

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

Link to comment
Share on other sites

Umm, that's a standard java thing it means that the error, and the cause of the error share the same stack at that frame. So no need to display it again because it'll be displayed in the cause stack trace.

I've never seen a crash report end half-way through listing the system specs but ok then.

 

Google jar signing. It's a method of signing the class files so that people can verify that they are from YOU and have not been modified by someone else.

Thank you kindly

 

There is a SHIT ton different seriously do you know basic java?

I thought it was obvious I was referring to the bare necessities of a MC mod when I said "Other than what they do"

 

Your mod class is an entity what the hell!?!

Grants override access to the function applyEntityCollision (where the player actually gets pushed around by other entities)... at least that's what every override example I've seen leads me to believe. As I said, this is my first mod. If it doesn't work, I'll try something else but I need to be able to load the mod to test it.

 

You're not gunna be able to do this right now.

Out of all the functionality MC has seen through mods, you're telling me there's no way to do this right now. Nevermind the fact that the functionality was part of the game for more than 5 major releases before 1.9.

Link to comment
Share on other sites

extends Entity

 

Grants override access to the function applyEntityCollision... at least that's what every override example I've seen leads me to believe. As I said, this is my first mod. If it doesn't work, I'll try something else.

Link to comment
Share on other sites

That's not how subclasses and overrides work.

Not trying to be insulting but this is a obvious case where you need to go learn some of the basics of java {or any programming}

There are plenty of free resources such as MIT classes, Standord has some, and TONS of online tutorials.

Going to lock this as there isn't anything more we can do to help you besides advise that you learn a bit more.

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Let me try and help you with love spells, traditional healing, native healing, fortune telling, witchcraft, psychic readings, black magic, voodoo, herbalist healing, or any other service your may desire within the realm of african native healing, the spirits and the ancestors. I am a sangoma and healer. I could help you to connect with the ancestors , interpret dreams, diagnose illness through divination with bones, and help you heal both physical and spiritual illness. We facilitate the deepening of your relationship to the spirit world and the ancestors. Working in partnership with one\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\’s ancestors is a gift representing a close link with the spirit realm as a mediator between the worlds.*   Witchdoctors, or sorcerers, are often purveyors of mutis and charms that cause harm to people. we believe that we are here for only one purpose, to heal through love and compassion.*   African people share a common understanding of the importance of ancestors in daily life. When they have lost touch with their ancestors, illness may result or bad luck. Then a traditional healer, or sangoma, is sought out who may prescribe herbs, changes in lifestyle, a career change, or changes in relationships. The client may also be told to perform a ceremony or purification ritual to appease the ancestors.*   Let us solve your problems using powerful African traditional methods. We believe that our ancestors and spirits give us enlightenment, wisdom, divine guidance, enabling us to overcome obstacles holding your life back. Our knowledge has been passed down through centuries, being refined along the way from generation to generation. We believe in the occult, the paranormal, the spirit world, the mystic world.*   The services here are based on the African Tradition Value system/religion,where we believe the ancestors and spirits play a very important role in society. The ancestors and spirits give guidance and counsel in society. They could enable us to see into the future and give solutions to the problems affecting us. We use rituals, divination, spells, chants and prayers to enable us tackle the task before us.*   I have experience in helping and guiding many people from all over the world. My psychic abilities may help you answer and resolve many unanswered questions
    • Let me try and help you with love spells, traditional healing, native healing, fortune telling, witchcraft, psychic readings, black magic, voodoo, herbalist healing, or any other service your may desire within the realm of african native healing, the spirits and the ancestors. I am a sangoma and healer. I could help you to connect with the ancestors , interpret dreams, diagnose illness through divination with bones, and help you heal both physical and spiritual illness. We facilitate the deepening of your relationship to the spirit world and the ancestors. Working in partnership with one\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\’s ancestors is a gift representing a close link with the spirit realm as a mediator between the worlds.*   Witchdoctors, or sorcerers, are often purveyors of mutis and charms that cause harm to people. we believe that we are here for only one purpose, to heal through love and compassion.*   African people share a common understanding of the importance of ancestors in daily life. When they have lost touch with their ancestors, illness may result or bad luck. Then a traditional healer, or sangoma, is sought out who may prescribe herbs, changes in lifestyle, a career change, or changes in relationships. The client may also be told to perform a ceremony or purification ritual to appease the ancestors.*   Let us solve your problems using powerful African traditional methods. We believe that our ancestors and spirits give us enlightenment, wisdom, divine guidance, enabling us to overcome obstacles holding your life back. Our knowledge has been passed down through centuries, being refined along the way from generation to generation. We believe in the occult, the paranormal, the spirit world, the mystic world.*   The services here are based on the African Tradition Value system/religion,where we believe the ancestors and spirits play a very important role in society. The ancestors and spirits give guidance and counsel in society. They could enable us to see into the future and give solutions to the problems affecting us. We use rituals, divination, spells, chants and prayers to enable us tackle the task before us.*   I have experience in helping and guiding many people from all over the world. My psychic abilities may help you answer and resolve many unanswered questions
    • Let me try and help you with love spells, traditional healing, native healing, fortune telling, witchcraft, psychic readings, black magic, voodoo, herbalist healing, or any other service your may desire within the realm of african native healing, the spirits and the ancestors. I am a sangoma and healer. I could help you to connect with the ancestors , interpret dreams, diagnose illness through divination with bones, and help you heal both physical and spiritual illness. We facilitate the deepening of your relationship to the spirit world and the ancestors. Working in partnership with one\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\’s ancestors is a gift representing a close link with the spirit realm as a mediator between the worlds.*   Witchdoctors, or sorcerers, are often purveyors of mutis and charms that cause harm to people. we believe that we are here for only one purpose, to heal through love and compassion.*   African people share a common understanding of the importance of ancestors in daily life. When they have lost touch with their ancestors, illness may result or bad luck. Then a traditional healer, or sangoma, is sought out who may prescribe herbs, changes in lifestyle, a career change, or changes in relationships. The client may also be told to perform a ceremony or purification ritual to appease the ancestors.*   Let us solve your problems using powerful African traditional methods. We believe that our ancestors and spirits give us enlightenment, wisdom, divine guidance, enabling us to overcome obstacles holding your life back. Our knowledge has been passed down through centuries, being refined along the way from generation to generation. We believe in the occult, the paranormal, the spirit world, the mystic world.*   The services here are based on the African Tradition Value system/religion,where we believe the ancestors and spirits play a very important role in society. The ancestors and spirits give guidance and counsel in society. They could enable us to see into the future and give solutions to the problems affecting us. We use rituals, divination, spells, chants and prayers to enable us tackle the task before us.*   I have experience in helping and guiding many people from all over the world. My psychic abilities may help you answer and resolve many unanswered questions
    • Let me try and help you with love spells, traditional healing, native healing, fortune telling, witchcraft, psychic readings, black magic, voodoo, herbalist healing, or any other service your may desire within the realm of african native healing, the spirits and the ancestors. I am a sangoma and healer. I could help you to connect with the ancestors , interpret dreams, diagnose illness through divination with bones, and help you heal both physical and spiritual illness. We facilitate the deepening of your relationship to the spirit world and the ancestors. Working in partnership with one\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\’s ancestors is a gift representing a close link with the spirit realm as a mediator between the worlds.*   Witchdoctors, or sorcerers, are often purveyors of mutis and charms that cause harm to people. we believe that we are here for only one purpose, to heal through love and compassion.*   African people share a common understanding of the importance of ancestors in daily life. When they have lost touch with their ancestors, illness may result or bad luck. Then a traditional healer, or sangoma, is sought out who may prescribe herbs, changes in lifestyle, a career change, or changes in relationships. The client may also be told to perform a ceremony or purification ritual to appease the ancestors.*   Let us solve your problems using powerful African traditional methods. We believe that our ancestors and spirits give us enlightenment, wisdom, divine guidance, enabling us to overcome obstacles holding your life back. Our knowledge has been passed down through centuries, being refined along the way from generation to generation. We believe in the occult, the paranormal, the spirit world, the mystic world.*   The services here are based on the African Tradition Value system/religion,where we believe the ancestors and spirits play a very important role in society. The ancestors and spirits give guidance and counsel in society. They could enable us to see into the future and give solutions to the problems affecting us. We use rituals, divination, spells, chants and prayers to enable us tackle the task before us.*   I have experience in helping and guiding many people from all over the world. My psychic abilities may help you answer and resolve many unanswered questions
    • Let me try and help you with love spells, traditional healing, native healing, fortune telling, witchcraft, psychic readings, black magic, voodoo, herbalist healing, or any other service your may desire within the realm of african native healing, the spirits and the ancestors. I am a sangoma and healer. I could help you to connect with the ancestors , interpret dreams, diagnose illness through divination with bones, and help you heal both physical and spiritual illness. We facilitate the deepening of your relationship to the spirit world and the ancestors. Working in partnership with one\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\’s ancestors is a gift representing a close link with the spirit realm as a mediator between the worlds.*   Witchdoctors, or sorcerers, are often purveyors of mutis and charms that cause harm to people. we believe that we are here for only one purpose, to heal through love and compassion.*   African people share a common understanding of the importance of ancestors in daily life. When they have lost touch with their ancestors, illness may result or bad luck. Then a traditional healer, or sangoma, is sought out who may prescribe herbs, changes in lifestyle, a career change, or changes in relationships. The client may also be told to perform a ceremony or purification ritual to appease the ancestors.*   Let us solve your problems using powerful African traditional methods. We believe that our ancestors and spirits give us enlightenment, wisdom, divine guidance, enabling us to overcome obstacles holding your life back. Our knowledge has been passed down through centuries, being refined along the way from generation to generation. We believe in the occult, the paranormal, the spirit world, the mystic world.*   The services here are based on the African Tradition Value system/religion,where we believe the ancestors and spirits play a very important role in society. The ancestors and spirits give guidance and counsel in society. They could enable us to see into the future and give solutions to the problems affecting us. We use rituals, divination, spells, chants and prayers to enable us tackle the task before us.*   I have experience in helping and guiding many people from all over the world. My psychic abilities may help you answer and resolve many unanswered questions
  • Topics

×
×
  • Create New...

Important Information

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