Hello. I'm not sure what went wrong with my Custom NPCs, but enemy factions don't fight each other any more. It was working fine, until one day I spawned a couple friendlies and aggressives and they just didn't fight. They are set to different factions, are set to attack enemy factions on sight, and the factions are set to enemies, but they just stare at eachother. If I go in survival mode, the aggressives attack me, and the friendlies don't, which is good, but they just ignore eachother. I don't know if it was something that I did or not, but I've re-installed CNPCs twice now and it still doesn't work, no matter if it's on a world already made, or a new flatland just generated. I don't know what to do, please help :I
This mod is awesome! Although, I am having one problem. When I put in my own designed skins for an npc, they appear all glitched and messed up. Can someone tell me why and how i can put in my own custom made skins without them glitching up?
What in general cause these "Ticking entity" errors.
---- Minecraft Crash Report ----
// Don't do that.
Time: 4/4/15 11:07 AM
Description: Ticking entity
java.lang.NullPointerException: Ticking entity
at noppes.npcs.controllers.ScriptContainer.appandConsole(ScriptContainer.java:77)
at noppes.npcs.controllers.ScriptContainer.run(ScriptContainer.java:71)
at noppes.npcs.DataScript.callScript(DataScript.java:132)
at noppes.npcs.DataScript.callScript(DataScript.java:113)
at noppes.npcs.entity.EntityNPCInterface.func_70071_h_(EntityNPCInterface.java:237)
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 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:111)
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 noppes.npcs.controllers.ScriptContainer.appandConsole(ScriptContainer.java:77)
at noppes.npcs.controllers.ScriptContainer.run(ScriptContainer.java:71)
at noppes.npcs.DataScript.callScript(DataScript.java:132)
at noppes.npcs.DataScript.callScript(DataScript.java:113)
at noppes.npcs.entity.EntityNPCInterface.func_70071_h_(EntityNPCInterface.java:237)
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)
-- Entity being ticked --
Details:
Entity Type: CustomNpc (noppes.npcs.entity.EntityCustomNpc)
Entity ID: 240
Entity Name: Tymen
Entity's Exact location: 202.50, 82.00, 134.50
Entity's Block location: World: (202,82,134), Chunk: (at 10,5,6 in 12,8; contains blocks 192,0,128 to 207,255,143), 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.00
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: NPC 1
All players: 1 total; [EntityPlayerMP['Daxone2'/481, l='NPC 1', x=205.01, y=82.00, z=134.42]]
Chunk stats: ServerChunkCache: 865 Drop: 0
Level seed: -2448649212177557222
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (168,64,256), Chunk: (at 8,4,0 in 10,16; contains blocks 160,0,256 to 175,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 3866619 game time, 3668 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 77296 (now: false), thunder time: 17891 (now: false)
Level game mode: Game mode: creative (ID 1). 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:111)
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 8.1 (amd64) version 6.3
Java Version: 1.8.0_31, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 173322496 bytes (165 MB) / 409653248 bytes (390 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 13, tcache: 0, allocated: 13, tallocated: 95
FML: MCP v9.05 FML v7.10.85.1291 Minecraft Forge 10.13.2.1291 4 mods loaded, 4 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{7.10.85.1291} [Forge Mod Loader] (forge-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.13.2.1291} [Minecraft Forge] (forge-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
customnpcs{1.7.10d} [CustomNpcs] (CustomNPCs_1.7.10d.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
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['Daxone2'/481, l='NPC 1', x=205.01, y=82.00, z=134.42]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
If someone could help me I am having problems setting up non-linear dialog.
What I'm wanting to do
For example, I have 2 NPCs A and B. NPC A has 3 dialogs and NPC B has 2. For NPC A 2 of the 3 dialogs are consecutive and must be run through before speaking to NPC B or else he won't give dialog. The last dialog for NPC A is for when you finish NPC B's dialog.
What the problem is
I have it working to where I go to NPC A and get her first 2 dialogs (NPC B is working where he won't give me his dialog til I go through NPC A's first 2). Then I go to NPC B and get his two dialogs. When I go back to NPC A she gives me the first two again and not the third.
NPC A's 3rd dialog option is set for after NPC B's 2nd option in settings
I loaded up the 1.7.10 version for the first time and I'm sad to see my enderchibbi skins are no longer usable.
I'm still a big fan of your work but this has saddened me a bit.
Could you elaborate on "no longer working", do you mean they appear odd, aren't there at all etc.
Rollback Post to RevisionRollBack
If you require aid with Custom NPC's give me a shout (In the thread, not PM's). I can read a bit of error reports, know most of the NPC workings (I'm attempting to work on scripting) and have been using it since its 1.0 version. Otherwise I'll help with any questions or problems I can.
If someone could help me I am having problems setting up non-linear dialog.
What I'm wanting to do
For
example, I have 2 NPCs A and B. NPC A has 3 dialogs and NPC B has 2.
For NPC A 2 of the 3 dialogs are consecutive and must be run through
before speaking to NPC B or else he won't give dialog. The last dialog
for NPC A is for when you finish NPC B's dialog.
What the problem is
I
have it working to where I go to NPC A and get her first 2 dialogs (NPC
B is working where he won't give me his dialog til I go through NPC A's
first 2). Then I go to NPC B and get his two dialogs. When I go back to
NPC A she gives me the first two again and not the third.
NPC A's 3rd dialog option is set for after NPC B's 2nd option in settings
Forgot to mention Im using Custom NPC for 1.7.10
Any help would be awesome. Thank you.
assuming that A 's dialog 1&2 are linked you could try to set available A1(if unlinked A2 also) to before B2 then A3 should kick in after B2
to have this repeatable you would have to unread them in the command area I think
Could you elaborate on "no longer working", do you mean they appear odd, aren't there at all etc.
From what I can tell the Enderchibbi model is no longer a selectable in 1.7.10 like it was in previous versions. I hope I'm wrong and overlooking it, but I have not found it in the models list.
From what I can tell the Enderchibbi model is no longer a selectable in 1.7.10 like it was in previous versions. I hope I'm wrong and overlooking it, but I have not found it in the models list.
Your correct there. It no longer is in the model selection, instead you have to use the body scaling options for head, arms, body and legs to make the old models again. I think there should be pre-sets for the old models.
Rollback Post to RevisionRollBack
If you require aid with Custom NPC's give me a shout (In the thread, not PM's). I can read a bit of error reports, know most of the NPC workings (I'm attempting to work on scripting) and have been using it since its 1.0 version. Otherwise I'll help with any questions or problems I can.
Noppes this is really driving me crazy - Why in the interact tab does
var a = npc.executeCommand("testforblock 267 82 171 minecraft:stone");
return null but in a command block it has a successful return. I would use getBlock but I really want to test for a lever so I can tell if its on or off - is there some other method I could use?
I'm having a problem on my server with player skins not working. You can type someone's name in, and it just stays as Steve. Is there something I need to do extra on my server to make it work? add permissions or anything? open a port? It's driving me and my players bonkers!
Thanks in advance.
I tried searching the thread, but could only find ppl asking the same question, never an answer.
Does anyone have a good suggestion or know of a mod that allows areas to be protected? I really want to open the world up to crafting, digging, ect.. But my world is mainly an Adventure. Certain areas are not supposed to be accessed by a use of a pickaxe, which will really bum down the adventure.
Noppes, I know you have one before but stopped working on it, so does anyone have a suggestion for this issue?
Does anyone have a good suggestion or know of a mod that allows areas to be protected? I really want to open the world up to crafting, digging, ect.. But my world is mainly an Adventure. Certain areas are not supposed to be accessed by a use of a pickaxe, which will really bum down the adventure.
Noppes, I know you have one before but stopped working on it, so does anyone have a suggestion for this issue?
If you're running forge try Forge Essentials. It's a port from bukkit that allows many features--one of which is protection. The mod can be overwhelming at first though--just a friendly warning.
Hello? My NPC somehow reset itself to its original point without using npc wand. This happens when he's in water and doesn't see his opponent.
Hello. I'm not sure what went wrong with my Custom NPCs, but enemy factions don't fight each other any more. It was working fine, until one day I spawned a couple friendlies and aggressives and they just didn't fight. They are set to different factions, are set to attack enemy factions on sight, and the factions are set to enemies, but they just stare at eachother. If I go in survival mode, the aggressives attack me, and the friendlies don't, which is good, but they just ignore eachother. I don't know if it was something that I did or not, but I've re-installed CNPCs twice now and it still doesn't work, no matter if it's on a world already made, or a new flatland just generated. I don't know what to do, please help :I
PS: I'm using the 1.7.10 release
Oh wait. I just reread what you said. Never mind. Mercyrain
This mod is awesome! Although, I am having one problem. When I put in my own designed skins for an npc, they appear all glitched and messed up. Can someone tell me why and how i can put in my own custom made skins without them glitching up?
What in general cause these "Ticking entity" errors.
---- Minecraft Crash Report ----
// Don't do that.
Time: 4/4/15 11:07 AM
Description: Ticking entity
java.lang.NullPointerException: Ticking entity
at noppes.npcs.controllers.ScriptContainer.appandConsole(ScriptContainer.java:77)
at noppes.npcs.controllers.ScriptContainer.run(ScriptContainer.java:71)
at noppes.npcs.DataScript.callScript(DataScript.java:132)
at noppes.npcs.DataScript.callScript(DataScript.java:113)
at noppes.npcs.entity.EntityNPCInterface.func_70071_h_(EntityNPCInterface.java:237)
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 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:111)
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 noppes.npcs.controllers.ScriptContainer.appandConsole(ScriptContainer.java:77)
at noppes.npcs.controllers.ScriptContainer.run(ScriptContainer.java:71)
at noppes.npcs.DataScript.callScript(DataScript.java:132)
at noppes.npcs.DataScript.callScript(DataScript.java:113)
at noppes.npcs.entity.EntityNPCInterface.func_70071_h_(EntityNPCInterface.java:237)
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)
-- Entity being ticked --
Details:
Entity Type: CustomNpc (noppes.npcs.entity.EntityCustomNpc)
Entity ID: 240
Entity Name: Tymen
Entity's Exact location: 202.50, 82.00, 134.50
Entity's Block location: World: (202,82,134), Chunk: (at 10,5,6 in 12,8; contains blocks 192,0,128 to 207,255,143), 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.00
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: NPC 1
All players: 1 total; [EntityPlayerMP['Daxone2'/481, l='NPC 1', x=205.01, y=82.00, z=134.42]]
Chunk stats: ServerChunkCache: 865 Drop: 0
Level seed: -2448649212177557222
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (168,64,256), Chunk: (at 8,4,0 in 10,16; contains blocks 160,0,256 to 175,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 3866619 game time, 3668 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 77296 (now: false), thunder time: 17891 (now: false)
Level game mode: Game mode: creative (ID 1). 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:111)
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 8.1 (amd64) version 6.3
Java Version: 1.8.0_31, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 173322496 bytes (165 MB) / 409653248 bytes (390 MB) up to 1060372480 bytes (1011 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 13, tcache: 0, allocated: 13, tallocated: 95
FML: MCP v9.05 FML v7.10.85.1291 Minecraft Forge 10.13.2.1291 4 mods loaded, 4 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{7.10.85.1291} [Forge Mod Loader] (forge-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.13.2.1291} [Minecraft Forge] (forge-1.7.10-10.13.2.1291.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
customnpcs{1.7.10d} [CustomNpcs] (CustomNPCs_1.7.10d.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
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['Daxone2'/481, l='NPC 1', x=205.01, y=82.00, z=134.42]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
If someone could help me I am having problems setting up non-linear dialog.
What I'm wanting to do
For example, I have 2 NPCs A and B. NPC A has 3 dialogs and NPC B has 2. For NPC A 2 of the 3 dialogs are consecutive and must be run through before speaking to NPC B or else he won't give dialog. The last dialog for NPC A is for when you finish NPC B's dialog.
What the problem is
I have it working to where I go to NPC A and get her first 2 dialogs (NPC B is working where he won't give me his dialog til I go through NPC A's first 2). Then I go to NPC B and get his two dialogs. When I go back to NPC A she gives me the first two again and not the third.
NPC A's 3rd dialog option is set for after NPC B's 2nd option in settings
Forgot to mention Im using Custom NPC for 1.7.10
Any help would be awesome. Thank you.
Any fix for this?
Check out my art!!
http://blueeyes9.deviantart.com/
I loaded up the 1.7.10 version for the first time and I'm sad to see my enderchibbi skins are no longer usable.
I'm still a big fan of your work but this has saddened me a bit.
Could you elaborate on "no longer working", do you mean they appear odd, aren't there at all etc.
assuming that A 's dialog 1&2 are linked you could try to set available A1(if unlinked A2 also) to before B2 then A3 should kick in after B2
to have this repeatable you would have to unread them in the command area I think
From what I can tell the Enderchibbi model is no longer a selectable in 1.7.10 like it was in previous versions. I hope I'm wrong and overlooking it, but I have not found it in the models list.
Your correct there. It no longer is in the model selection, instead you have to use the body scaling options for head, arms, body and legs to make the old models again. I think there should be pre-sets for the old models.
The poll is just for priorities, right? If the flying NPCs got voted, more jobs will added "later" anyway?
MINECRAFT needs World-edit like tools in the creative mode.
Noppes this is really driving me crazy - Why in the interact tab does
var a = npc.executeCommand("testforblock 267 82 171 minecraft:stone");
return null but in a command block it has a successful return. I would use getBlock but I really want to test for a lever so I can tell if its on or off - is there some other method I could use?
Thank you so much! It worked like a charm.
Hey All,
I'm having a problem on my server with player skins not working. You can type someone's name in, and it just stays as Steve. Is there something I need to do extra on my server to make it work? add permissions or anything? open a port? It's driving me and my players bonkers!
Thanks in advance.
I tried searching the thread, but could only find ppl asking the same question, never an answer.
Z
Does anyone know if there is a way to turn off the role follower after a quest is completed?
Over a thousand pages. I must say, congratulations.
Does anyone have a good suggestion or know of a mod that allows areas to be protected? I really want to open the world up to crafting, digging, ect.. But my world is mainly an Adventure. Certain areas are not supposed to be accessed by a use of a pickaxe, which will really bum down the adventure.
Noppes, I know you have one before but stopped working on it, so does anyone have a suggestion for this issue?
If you're running forge try Forge Essentials. It's a port from bukkit that allows many features--one of which is protection. The mod can be overwhelming at first though--just a friendly warning.
YouTube | TwitchTV