Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

custom npc's keeps crashing my game


PiggyPlayzMC
 Share

Recommended Posts

ive been having problems with the custom npc's mod, it crashes my game almost exactly 1 minute after startup, this has happened in 2 different worlds so far, i have checked and the error code says its a trader npc causing the problem, but how do i fix it?

 

if someone can help me with this id really apritiate it.

 

 

---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.

Time: 9/6/20 7:30 PM
Description: Ticking entity

java.lang.NullPointerException: Ticking entity
    at net.geforcemods.securitycraft.handlers.ForgeEventHandler.onServerChatEvent(ForgeEventHandler.java:131)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler_135_ForgeEventHandler_onServerChatEvent_ServerChatEvent.invoke(.dynamic)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
    at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
    at noppes.npcs.entity.EntityNPCInterface.saySurrounding(EntityNPCInterface.java:890)
    at noppes.npcs.ai.EntityAIWander.func_75251_c(EntityAIWander.java:120)
    at net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:83)
    at net.minecraft.entity.EntityLiving.func_70619_bc(EntityLiving.java:640)
    at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:1774)
    at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:452)
    at noppes.npcs.entity.EntityNPCInterface.func_70636_d(EntityNPCInterface.java:362)
    at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1611)
    at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:272)
    at noppes.npcs.entity.EntityNPCInterface.func_70071_h_(EntityNPCInterface.java:247)
    at noppes.npcs.entity.EntityCustomNpc.func_70071_h_(EntityCustomNpc.java:34)
    at net.minecraft.world.World.func_72866_a(World.java:2070)
    at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:648)
    at net.minecraft.world.World.func_72870_g(World.java:2034)
    at WorldServerOF.func_72870_g(WorldServerOF.java:347)
    at net.minecraft.world.World.func_72939_s(World.java:1887)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
    at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
    at net.geforcemods.securitycraft.handlers.ForgeEventHandler.onServerChatEvent(ForgeEventHandler.java:131)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler_135_ForgeEventHandler_onServerChatEvent_ServerChatEvent.invoke(.dynamic)
    at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
    at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
    at noppes.npcs.entity.EntityNPCInterface.saySurrounding(EntityNPCInterface.java:890)
    at noppes.npcs.ai.EntityAIWander.func_75251_c(EntityAIWander.java:120)
    at net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:83)
    at net.minecraft.entity.EntityLiving.func_70619_bc(EntityLiving.java:640)
    at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:1774)
    at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:452)
    at noppes.npcs.entity.EntityNPCInterface.func_70636_d(EntityNPCInterface.java:362)
    at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1611)
    at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:272)
    at noppes.npcs.entity.EntityNPCInterface.func_70071_h_(EntityNPCInterface.java:247)
    at noppes.npcs.entity.EntityCustomNpc.func_70071_h_(EntityCustomNpc.java:34)
    at net.minecraft.world.World.func_72866_a(World.java:2070)
    at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:648)
    at net.minecraft.world.World.func_72870_g(World.java:2034)
    at WorldServerOF.func_72870_g(WorldServerOF.java:347)

-- Entity being ticked --
Details:
    Entity Type: customnpcs.CustomNpc (noppes.npcs.entity.EntityCustomNpc)
    Entity ID: 363
    Entity Name: Puppet
    Entity's Exact location: 177.44, 63.00, 168.68
    Entity's Block location: World: (177,63,168), Chunk: (at 1,3,8 in 11,10; contains blocks 176,0,160 to 191,255,175), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Entity's Momentum: 0.00, -0.08, 0.04
Stacktrace:
    at net.minecraft.world.World.func_72939_s(World.java:1887)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)

-- Affected level --
Details:
    Level name: FNaF
    All players: 1 total; [EntityPlayerMP['LittlePiggy24'/524, l='FNaF', x=175.22, y=63.00, z=175.18]]
    Chunk stats: ServerChunkCache: 681 Drop: 0
    Level seed: 7869605968287101637
    Level generator: ID 00 - default, ver 1. Features enabled: true
    Level generator options: 
    Level spawn location: World: (140,64,256), Chunk: (at 12,4,0 in 8,16; contains blocks 128,0,256 to 143,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 303207 game time, 267251 day time
    Level dimension: 0
    Level storage version: 0x04ABD - Anvil
    Level weather: Rain time: 14691 (now: false), thunder time: 4928 (now: false)
    Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true
Stacktrace:
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
    at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

-- System Details --
Details:
    Minecraft Version: 1.7.10
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 443777672 bytes (423 MB) / 1946157056 bytes (1856 MB) up to 2147483648 bytes (2048 MB)
    JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    IntCache: cache: 6, tcache: 0, allocated: 13, tallocated: 95
    FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 Optifine OptiFine_1.7.10_HD_U_D6 36 mods loaded, 36 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJAAAA    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
    UCHIJAAAA    FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1614-1.7.10.jar) 
    UCHIJAAAA    Forge{10.13.4.1614} [Minecraft Forge] (forge-1.7.10-10.13.4.1614-1.7.10.jar) 
    UCHIJAAAA    PlayerAPI{1.2} [Player API] (minecraft.jar) 
    UCHIJAAAA    SmartCore{1.0} [Smart Core] (minecraft.jar) 
    UCHIJAAAA    OpenModsCore{0.9.1} [OpenModsCore] (minecraft.jar) 
    UCHIJAAAA    BiblioCraft{1.11.2} [BiblioCraft] (BiblioCraft-Mod-1.7.10.jar) 
    UCHIJAAAA    chisel{2.9.5.11} [Chisel] (Chisel-2.9.5.11.jar) 
    UCHIJAAAA    CarpentersBlocks{3.3.8} [Carpenter's Blocks] (Carpenter's Blocks v3.3.8 - MC 1.7.10.jar) 
    UCHIJAAAA    craftguide{1.6.8.2} [CraftGuide] (CraftGuide-Mod-1.7.10.jar) 
    UCHIJAAAA    customnpcs{1.7.10d} [CustomNpcs] (CustomNPCs_1.7.10d(21feb16).jar) 
    UCHIJAAAA    PTRModelLib{1.0.0} [PTRModelLib] (Decocraft-2.3.2_1.7.10.jar) 
    UCHIJAAAA    props{2.3.2} [Decocraft] (Decocraft-2.3.2_1.7.10.jar) 
    UCHIJAAAA    Eln{@VERSION@} [Electrical Age] (ElectricalAge-1.14.2.jar) 
    UCHIJAAAA    fnafmod{1.0} [FNaF Universe Mod] (FNaFUniverse-1.7.10-v8.0.2 ~TNaR Update~.jar) 
    UCHIJAAAA    frsm{5.30} [Fex's Random Stuff Mod] (FRSM-5.30-1.7.10.jar) 
    UCHIJAAAA    svm{1.7.05} [Saracalia Vehicle Mod] (FRSM-SVM v1.7.05 [1.7.10] (1).jar) 
    UCHIJAAAA    iChunUtil{4.2.2} [iChunUtil] (iChunUtil-4.2.2.jar) 
    UCHIJAAAA    lucky{5.1.0} [Lucky Block] (Lucky-Block-Mod-1.7.10.jar) 
    UCHIJAAAA    malisiscore{1.7.10-0.14.1} [MalisisCore] (malisiscore-1.7.10-0.14.1.jar) 
    UCHIJAAAA    malisisdoors{1.7.10-1.13.0} [Malisis' Doors] (malisisdoors-1.7.10-1.13.0.jar) 
    UCHIJAAAA    minepainter{0.2.6} [MinePainter] (minepainter-0.2.6.jar) 
    UCHIJAAAA    Monoblocks{1.10.18} [§1M§2o§3n§4o§5b§6l§7o§8c§9k§as] (Monoblocks-1.10.18.jar) 
    UCHIJAAAA    MonoblocksMultipart{1.10.18} [MonoblocksMultipart] (Monoblocks-1.10.18.jar) 
    UCHIJAAAA    Morph{0.9.2} [Morph] (Morph-Beta-0.9.2.jar) 
    UCHIJAAAA    cfm{3.4.7} [§9MrCrayfish's Furniture Mod] (MrCrayfishs-Furniture-Mod-1.7.10.jar) 
    UCHIJAAAA    necromancy{1.7.2} [Necromancy] (Necromancy-Mod-1.7.10.jar) 
    UCHIJAAAA    OpenMods{0.9.1} [OpenMods] (OpenModsLib-1.7.10-0.9.1.jar) 
    UCHIJAAAA    OpenBlocks{1.5.1} [OpenBlocks] (OpenBlocks-1.7.10-1.5.1.jar) 
    UCHIJAAAA    OreSpawn{1.7.10.20.3} [OreSpawn] (orespawn-1.7.10-20.3.zip) 
    UCHIJAAAA    secretroomsmod{4.7.1} [The SecretRoomsMod] (secretroomsmod-1.7.10-4.7.1.413.jar) 
    UCHIJAAAA    securitycraft{v1.8.2} [SecurityCraft] (SecurityCraft-1.7.10-v1.8.2~Camera Update(1).jar) 
    UCHIJAAAA    SlimevoidLib{2.0.4.7} [Slimevoid Library] (SlimevoidLibrary-2.0.4.7.jar) 
    UCHIJAAAA    SmartMoving{15.1} [Smart Moving] (SmartMoving-1.7.10-15.1.jar) 
    UCHIJAAAA    SmartRender{2.0} [Smart Render] (SmartRender-1.7.10-2.0.jar) 
    UCHIJAAAA    worldedit{6.1.1} [WorldEdit] (worldedit-forge-mc1.7.10-6.1.1-dist.jar) 
    GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
    OpenModsLib class transformers: [stencil_patches:FINISHED],[movement_callback:ACTIVATED],[map_gen_fix:FINISHED],[gl_capabilities_hook:FINISHED],[player_render_hook:FINISHED]
    Class transformer null safety: all safe
    Chisel: Errors like "[FML]: Unable to lookup ..." are NOT the cause of this crash. You can safely ignore these errors. And update forge while you're at it.
    Stencil buffer state: Function set: GL30, pool: disabled, bits: 0
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Player Count: 1 / 8; [EntityPlayerMP['LittlePiggy24'/524, l='FNaF', x=175.22, y=63.00, z=175.18]]
    Type: Integrated Server (map_client.txt)
    Is Modded: Definitely; Client brand changed to 'fml,forge'

 

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
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.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Are you using Fabric? I'm not sure if this forum would be the right place then.
    • server failed to start and gives me "Failed to load data packs, can't proceed with server load. You can either fix your data packs or reset to vanilla with --safeMode" error when i look in my logs. its updated to the latest version of forge(40.1.0), and I don't have any data packs installed as far as I know. And I will upload the full logs if asked as i dont know how to attach a document to this post.  
    • Pioneer Craft [modded] {1.18.2} {SMP} {Community} {Light Roleplay} We are Pioneer Craft and we seek you !!! We are building a community of passionate players to build, trade, and share some laughs with. Are you tired of playing alone? Or are you here seeking a server with dedicated members; a server where you are not overlooked and can voice your opinions? If you are interested in these things too, then come join us in Pioneer Craft! Our server is player built and driven. We have a custom mod pack with mods chosen by our community to suit our needs. We have designed our server for player driven roleplay! There will be four communities which will each be self-sufficient. We encourage and seek builders who want to create a beautiful world to live in. This is a whitelist server and we are looking for dedicated applicants and experienced builders. Applications are located on our website which can be accessed through the discord. Other than the application questions, we are requesting photos of your prior builds which will be taken into consideration. Please show photos of your builds in the share-your-work section of the discord. The server uses CurseForge to run. This server is for mature members (16+) . Discord (must join): https://discord.gg/c4uJvb29CN
    • Pioneer Craft [modded] {1.18.2} {SMP} {Community} {Light Roleplay} We are Pioneer Craft and we seek you !!! We are building a community of passionate players to build, trade, and share some laughs with. Are you tired of playing alone? Or are you here seeking a server with dedicated members; a server where you are not overlooked and can voice your opinions? If you are interested in these things too, then come join us in Pioneer Craft! Our server is player built and driven. We have a custom mod pack with mods chosen by our community to suit our needs. We have designed our server for player driven roleplay! There will be four communities which will each be self-sufficient. We encourage and seek builders who want to create a beautiful world to live in. This is a whitelist server and we are looking for dedicated applicants and experienced builders. Applications are located on our website which can be accessed through the discord. Other than the application questions, we are requesting photos of your prior builds which will be taken into consideration. Please show photos of your builds in the share-your-work section of the discord. The server uses CurseForge to run. This server is for mature members (16+) . Discord (must join): https://discord.gg/c4uJvb29CN 
    • Update: I didn't need capabilities. In fact, I didn't need to override applyEffectTick at all. But it seems like I need reflections. The increased hitbox size now works for both entity and block collision--with a little drawback. This is what it looks like so far: // this event handler checks every tick if the living entity has the "big" effect @SubscribeEvent public static void entitySizeChange(LivingEvent.LivingUpdateEvent event) { LivingEntity livingEntity = event.getEntityLiving(); if (livingEntity.getActiveEffectsMap() != null && livingEntity.hasEffect(ModEffects.BIG.get())) { EntityDimensions newDims = livingEntity.getDimensions(livingEntity.getPose()).scale(8.0F, 2.0F); try { // using reflection Field field = Entity.class.getDeclaredField("dimensions"); field.setAccessible(true); field.set(livingEntity, newDims); // setting the living entity's EntityDimensions EntityDimensions newEntityDimensions = (EntityDimensions) field.get(livingEntity); livingEntity.setBoundingBox(newEntityDimensions.makeBoundingBox( // setting the living entity's AABB livingEntity.getX(), livingEntity.getY(), livingEntity.getZ() )); } catch (NoSuchFieldException | IllegalAccessException e) { e.printStackTrace(); } } }   The aforementioned drawback is that, when the effect wears off, the living entity's still keeps its bigger hitbox until it changes pose (i.e. my player crouching). Given that the EntityEvent.Size event fires whenever an entity changes pose, should I manually fire it with EVENT_BUS::post when that entity's effect wears off? If so, where? I tried manually firing EntityEvent.Size on my overridden removeAttributeModifiers(), but to no avail. 
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.