I have 5 global factions, only 3 shows up on the Hostile Factions list while in global factions section, I have a faction that is made by me which is called Night Invaders and than when I try to set up it's hostile factions, it only shows Aggressive, Neutral and Friendly rather than the other 2 custom factions I made.
This is frustrating, can this be fixed/solved in any way?
Im currently for 1.8 still bug fixing, but I want to start on new features again to. Bug fixing is boring.
I haven't decided on what to work next yet. So I was thinking of putting up a poll, but Im not sure what to put in the poll.
So if you really want me to work on something specific next, this is the time to let me know ^_^. When suggesting something make sure you argument why you think I should add that next. Suggestions without arguments will be ignored.
So far on the list:
- flying npcs
- better/more advanced combat tactics
Rollback Post to RevisionRollBack
Those who want to chat or hang out, join me on discord
Want to support me? Become one of my patrons:
Right... Nut can we at least get the nighttime bug fixed. My old world will not transfer over the new without it crashing because of someone in night more.
That and placing tombstones, as well as the system crashing when first assigning a dialogue to the PC and of course some off graphical issues where the Villager NPCs do not show their true color, 1.8 is my favorite so far but a bit of but fixing and it could just work. Noppes, I am seriously repaired to offer you a heavy binge drinking If you could have a fix for at least the night mode part and I'll buy you a kegs worth.
If you can get all the bugs listed above fixed by Saturday or Sunday and fix the villager clothing not showing correctly, fix the night time mode so it does not crash be able to use tombstones again. and fix the wand so that it doesn't crash each time you to to create a new NPC.
I'll seriously send you $100 to support thy drinking problem
(1) Natural spawns - Further development with this feature would be immensely awesome. I would love to see a possible boss monster spawning in a set biome to drop some rare loots. Most of this is possible already, but one feature lacking is a spawn cap on natural spawns. At least with the JAS mod, the natural spawns are endless to the point the feature cannot be used.
(2) Rent-able items - I love the fact that you can "hire" an NPC for X amount of days. Would it be possible to take this concept one step further with items/mounts? I realize this might be more tricky with durability and such, but it would be amazing if you could rent out a custom weapon, or mount for X amount of days.
(3) Bounties - How about a Bounty role where you can select a handful of creatures that will randomly be selected as a bounty for a prize. Can be set as daily, etc. It would be an extension to the Kill Quest.
The the next two would be awesome additions to the jobs. I think they should be implemented as they will add a lot more variety for the npcs and can be used both as "home" npcs or "mobile" npcs.
(4) Looter job - A job where the NPC will pick up items off the ground when within range and store it in its inventory. This could simply be a stay at home npc that cleans up the mess of the floor. It could also be used as a follower npc that helps pick up items you may miss while mining etc. Many possibilities.
(5) A Buffer job - A job where when you get close to the npc you receive a buff(strength, resistance, jump boost, etc) for X amount of seconds. Similar to a beacon but could be mobile. Would be nice if you could adjust the duration and strength of the buffs. This could be stacked onto a bard or split into a dedicated NPC(s).
Hey Noppes! When i create npcs and give them some of your custom npcs weapons or misc / any of your custom npc items or items from mods
it seems when i change to another world and spawn the npc i cloned his items changed, I think its because of the item id? or something else.
Please fix the bug its so annoying and its been annoying me since your custom npcs 1.5.2
P.S im using your 1.7.10c version
I've had the same problems, also whenever I clone an npc and change anything about it, it will revert back to how it was when it spawned within several minutes and I have to re edit it 2 or 3 times to make it permanent.
Rollback Post to RevisionRollBack
War is great to those who have not experienced it - Pindar
Ο πόλεμος είναι μεγάλη για εκείνους που δεν έχουν βιώσει - Πίνδαρος
Noone ever answers my questions. I guess one-time NPC spawning is out of the question. Maybe I can teleport an npc to different areas based upon quests or kill an npc with a command?
Autistics, I know that NPCs can spawn mobs or other NPCs within a radius. My trial of it did cause my world to be overrun and I had to use an editor to cleanse it. Create a flatmap and test the spawner role.
java.lang.StringIndexOutOfBoundsException: String index out of range: 8
at java.lang.String.charAt(String.java:646)
at noppes.npcs.controllers.RecipeCarpentry.saveRecipe(RecipeCarpentry.java:177)
at noppes.npcs.containers.ContainerManageRecipes.saveRecipe(ContainerManageRecipes.java:152)
at noppes.npcs.client.gui.global.GuiNpcManageRecipes.save(GuiNpcManageRecipes.java:168)
at noppes.npcs.client.gui.util.GuiContainerNPCInterface.close(GuiContainerNPCInterface.java:129)
at noppes.npcs.client.gui.util.GuiNpcMenu.close(GuiNpcMenu.java:104)
at noppes.npcs.client.gui.util.GuiNpcMenu.topButtonPressed(GuiNpcMenu.java:62)
at noppes.npcs.client.gui.util.GuiNpcMenu.mouseClicked(GuiNpcMenu.java:123)
at noppes.npcs.client.gui.util.GuiContainerNPCInterface2.func_73864_a(GuiContainerNPCInterface2.java:64)
at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:296)
at net.minecraft.client.gui.inventory.GuiContainer.func_146274_d(GuiContainer.java)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:268)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1628)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:961)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
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:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at java.lang.String.charAt(String.java:646)
at noppes.npcs.controllers.RecipeCarpentry.saveRecipe(RecipeCarpentry.java:177)
at noppes.npcs.containers.ContainerManageRecipes.saveRecipe(ContainerManageRecipes.java:152)
at noppes.npcs.client.gui.global.GuiNpcManageRecipes.save(GuiNpcManageRecipes.java:168)
at noppes.npcs.client.gui.util.GuiContainerNPCInterface.close(GuiContainerNPCInterface.java:129)
at noppes.npcs.client.gui.util.GuiNpcMenu.close(GuiNpcMenu.java:104)
at noppes.npcs.client.gui.util.GuiNpcMenu.topButtonPressed(GuiNpcMenu.java:62)
at noppes.npcs.client.gui.util.GuiNpcMenu.mouseClicked(GuiNpcMenu.java:123)
at noppes.npcs.client.gui.util.GuiContainerNPCInterface2.func_73864_a(GuiContainerNPCInterface2.java:64)
at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:296)
at net.minecraft.client.gui.inventory.GuiContainer.func_146274_d(GuiContainer.java)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:268)
Hey, I know this mod is probably still in development for the beta 1.8 or just a recommended version. But I downloaded the Alpha, tried to load up the game (with forge 1.8 of course) and I got this crash:
Im not trying to sound smart or anything but I think there may be a registering mistake in the main mod file. Anyhoo, thanks for listening
---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.
Time: 28-3-15 16:39
Description: There was a severe problem during mod loading that has caused the game to fail
net.minecraftforge.fml.common.LoaderException: java.lang.NoSuchMethodError: net.minecraftforge.client.model.ModelLoader.setCustomModelResourceLocation(Lnet/minecraft/item/Item;ILnet/minecraft/client/resources/model/ModelResourceLocation;)V
at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:162)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:516)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:413)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:325)
at net.minecraft.client.main.Main.main(SourceFile:120)
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)
Caused by: java.lang.NoSuchMethodError: net.minecraftforge.client.model.ModelLoader.setCustomModelResourceLocation(Lnet/minecraft/item/Item;ILnet/minecraft/client/resources/model/ModelResourceLocation;)V
at noppes.npcs.client.ClientProxy.registerItem(ClientProxy.java:669)
at noppes.npcs.items.ItemNpcWand.func_77655_b(ItemNpcWand.java:85)
at noppes.npcs.CustomItems.load(CustomItems.java:342)
at noppes.npcs.CustomNpcs.load(CustomNpcs.java:227)
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.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515)
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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:514)
... 10 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
java.lang.NullPointerException: Updating screen events
at net.minecraft.client.gui.GuiScreen.func_73864_a(GuiScreen.java:465)
at noppes.npcs.client.gui.util.GuiNPCInterface.func_73864_a(GuiNPCInterface.java:125)
at noppes.npcs.client.gui.util.GuiNPCInterface2.func_73864_a(GuiNPCInterface2.java:36)
at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:544)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:516)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1662)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1021)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:345)
at net.minecraft.client.main.Main.main(SourceFile:120)
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:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.client.gui.GuiScreen.func_73864_a(GuiScreen.java:465)
at noppes.npcs.client.gui.util.GuiNPCInterface.func_73864_a(GuiNPCInterface.java:125)
at noppes.npcs.client.gui.util.GuiNPCInterface2.func_73864_a(GuiNPCInterface2.java:36)
at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:544)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:516)
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityPlayerSP['ArtistChibi'/1435134, l='MpServer', x=66.62, y=72.50, z=338.35]]
Chunk stats: MultiplayerChunkCache: 36, 36
Level seed: 0
Level generator: ID 04 - customized, ver 0. Features enabled: false
Level generator options:
Level spawn location: 0.00,90.00,0.00 - World: (0,90,0), Chunk: (at 0,5,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 2358032 game time, 67587 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 18 total; [EntityRabbit['Rabbit'/1505429, l='MpServer', x=38.28, y=68.00, z=332.28], EntityPig['Pig'/1510161, l='MpServer', x=106.00, y=78.00, z=328.03], EntityPig['Pig'/1511991, l='MpServer', x=18.34, y=63.00, z=315.09], EntityPainting['Painting'/1505265, l='MpServer', x=3.03, y=74.50, z=233.50], EntityVillager['Vanessa'/1505318, l='MpServer', x=29.69, y=60.00, z=293.28], EntityVillager['Billy'/1505316, l='MpServer', x=29.28, y=60.00, z=295.19], EntityVillager['Dylan'/1505317, l='MpServer', x=29.69, y=60.00, z=294.16], EntityPig['Pig'/1510231, l='MpServer', x=78.69, y=70.00, z=390.50], EntityPig['Pig'/1510230, l='MpServer', x=62.78, y=63.00, z=392.03], EntityPig['Pig'/1510229, l='MpServer', x=76.03, y=63.00, z=389.47], EntityPainting['Painting'/1434993, l='MpServer', x=33.03, y=75.50, z=114.50], EntityPig['Pig'/1510232, l='MpServer', x=77.25, y=67.00, z=387.06], EntityCustomNpc['codycute'/1510470, l='MpServer', x=66.50, y=73.00, z=336.50], EntityRabbit['Rabbit'/1506754, l='MpServer', x=79.50, y=75.00, z=306.28], EntityPlayerSP['ArtistChibi'/1435134, l='MpServer', x=66.62, y=72.50, z=338.35], EntityPig['Pig'/1505276, l='MpServer', x=101.44, y=78.00, z=314.31], EntityPig['Pig'/1505274, l='MpServer', x=61.69, y=79.00, z=327.22], EntityPig['Pig'/1505275, l='MpServer', x=97.72, y=77.00, z=318.94]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:399)
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2488)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:367)
at net.minecraft.client.main.Main.main(SourceFile:120)
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)
-- System Details --
Details:
Minecraft Version: 1.8
Operating System: Windows 8 (x86) version 6.2
Java Version: 1.8.0_40, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 89787336 bytes (85 MB) / 523501568 bytes (499 MB) up to 523501568 bytes (499 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 99
FML: MCP v9.10 FML v8.0.37.1334 Minecraft Forge 11.14.1.1334 Optifine OptiFine_1.8_HD_U_D1 9 mods loaded, 9 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
FML{8.0.37.1334} [Forge Mod Loader] (forge-1.8-11.14.1.1334.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
Forge{11.14.1.1334} [Minecraft Forge] (forge-1.8-11.14.1.1334.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
TooManyItems{1.8} [TooManyItems] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
DamageIndicatorsMod{3.3.3} [Damage Indicators] ([1.8]DamageIndicatorsMod-3.3.3.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
craft++{1.0} [Craft++] (Craft-Plus-Plus-Mod-1.8.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
customnpcs{1.8.0_alpha} [CustomNpcs] (CustomNPCs_1.8.0_alpha.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
chunkbase_villageinfo_ssp{2.1} [Village Info (SSP)] (VillageInfoSSP-1.8-2.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
XaeroMinimap{1.3.5} [Xaero's Minimap] (xaeros_minimap_v1.3.5_1.8_Forge.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
Loaded coremods (and transformers):
TMIForgeLoader (TooManyItems2015_02_14_1.8_Forge.jar)
TMIForgeTransformer
Launched Version: 1.8-Forge11.14.1.1334
LWJGL: 2.9.1
OpenGL: Intel(R) HD Graphics GL version 3.1.0 - Build 9.17.10.2828, Intel
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: No
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: [Artist's Zelda Quest Edit 1.8, Tutorial Adventure Pack]
Current Language: English (US)
Profiler Position: N/A (disabled)
Also, each time I look at the custom NCP, everything around becomes almost Xray-like. Including the face. (I am not using an Xray for this version of 1.8 so it's not that.)
It would be nice if you could change the NPC's "dead texture". as in what do you want the NPC to look like when they are dead. I would like to make dragons like in skyrim. Randomly flying around the world, when you get close you the music changes, and then when they die they leave behind their skeleton.
(1) Natural spawns - Further development with this feature would be immensely awesome. I would love to see a possible boss monster spawning in a set biome to drop some rare loots. Most of this is possible already, but one feature lacking is a spawn cap on natural spawns. At least with the JAS mod, the natural spawns are endless to the point the feature cannot be used.
(2) Rent-able items - I love the fact that you can "hire" an NPC for X amount of days. Would it be possible to take this concept one step further with items/mounts? I realize this might be more tricky with durability and such, but it would be amazing if you could rent out a custom weapon, or mount for X amount of days.
(3) Bounties - How about a Bounty role where you can select a handful of creatures that will randomly be selected as a bounty for a prize. Can be set as daily, etc. It would be an extension to the Kill Quest.
The the next two would be awesome additions to the jobs. I think they should be implemented as they will add a lot more variety for the npcs and can be used both as "home" npcs or "mobile" npcs.
(4) Looter job - A job where the NPC will pick up items off the ground when within range and store it in its inventory. This could simply be a stay at home npc that cleans up the mess of the floor. It could also be used as a follower npc that helps pick up items you may miss while mining etc. Many possibilities.
(5) A Buffer job - A job where when you get close to the npc you receive a buff(strength, resistance, jump boost, etc) for X amount of seconds. Similar to a beacon but could be mobile. Would be nice if you could adjust the duration and strength of the buffs. This could be stacked onto a bard or split into a dedicated NPC(s).
Thanks for all you do.
1) Will add to the list
2) Probably not, though Im thinking of adding a scriptable item. So it might be possible through that in the future.
3) Hmm that doesnt sound like you want bounties more like random quest rewards. Adding it to the todo list not the tobepoll list
4) Dont think Ill add that as a seperate job. I could add it to the future farmer job as option
5) Same will probably add that as option to the healer job in the future.
Rollback Post to RevisionRollBack
Those who want to chat or hang out, join me on discord
Want to support me? Become one of my patrons:
I have test this and i thought it should work for only a detecting a PLAYER but it detects npc too? This was really messing things up when a npc walks by and the the npc reacted to it. I have seen this used other places but it really messing up when I want the npc to just react when a player get into range.
Anyone know why?
nameof=npc.getSurroundingEntities(3, EntityType.PLAYER)
for (var i = 0, len = nameof.length; i < len; i++) {
npc.say(nameof.name);
}
I have test this and i thought it should work for only a detecting a PLAYER but it detects npc too? This was really messing things up when a npc walks by and the the npc reacted to it. I have seen this used other places but it really messing up when I want the npc to just react when a player get into range.
Anyone know why?
nameof=npc.getSurroundingEntities(3, EntityType.PLAYER)
for (var i = 0, len = nameof.length; i < len; i++) {
npc.say(nameof.name);
}
Best to put it inbetween code blocks on the forum. You might want to add var infront of the nameof.
Also does it have an error?
Rollback Post to RevisionRollBack
Those who want to chat or hang out, join me on discord
Want to support me? Become one of my patrons:
I have 5 global factions, only 3 shows up on the Hostile Factions list while in global factions section, I have a faction that is made by me which is called Night Invaders and than when I try to set up it's hostile factions, it only shows Aggressive, Neutral and Friendly rather than the other 2 custom factions I made.
This is frustrating, can this be fixed/solved in any way?
Does anyone know if there are currently some skin issues with this mod? All but the human skins look messed up for me.
PS: This mod is so awesome! Mega props to Noppes and his comrades!
I am trying to make a trader whose shop is accesed through dialogue options and i was hoping someone here has any idea how to do that.
When creating the dialogues, set one of the dialogue choices to "Job" or something along those lines. For example:
NPC: Hello!
You: Sorry, wrong guy!
>Close
or
You: Hi, can I see your wares?
>Open Job
So far on the list:
- flying npcs
- better/more advanced combat tactics
Want to support me? Become one of my patrons:
Sounds exciting! Is there support for mod mounts? Like Flan's mod.
Right... Nut can we at least get the nighttime bug fixed. My old world will not transfer over the new without it crashing because of someone in night more.
That and placing tombstones, as well as the system crashing when first assigning a dialogue to the PC and of course some off graphical issues where the Villager NPCs do not show their true color, 1.8 is my favorite so far but a bit of but fixing and it could just work. Noppes, I am seriously repaired to offer you a heavy binge drinking If you could have a fix for at least the night mode part and I'll buy you a kegs worth.
If you can get all the bugs listed above fixed by Saturday or Sunday and fix the villager clothing not showing correctly, fix the night time mode so it does not crash be able to use tombstones again. and fix the wand so that it doesn't crash each time you to to create a new NPC.
I'll seriously send you $100 to support thy drinking problem
Can it be done!
Some ideas to play around with:
(1) Natural spawns - Further development with this feature would be immensely awesome. I would love to see a possible boss monster spawning in a set biome to drop some rare loots. Most of this is possible already, but one feature lacking is a spawn cap on natural spawns. At least with the JAS mod, the natural spawns are endless to the point the feature cannot be used.
(2) Rent-able items - I love the fact that you can "hire" an NPC for X amount of days. Would it be possible to take this concept one step further with items/mounts? I realize this might be more tricky with durability and such, but it would be amazing if you could rent out a custom weapon, or mount for X amount of days.
(3) Bounties - How about a Bounty role where you can select a handful of creatures that will randomly be selected as a bounty for a prize. Can be set as daily, etc. It would be an extension to the Kill Quest.
The the next two would be awesome additions to the jobs. I think they should be implemented as they will add a lot more variety for the npcs and can be used both as "home" npcs or "mobile" npcs.
(4) Looter job - A job where the NPC will pick up items off the ground when within range and store it in its inventory. This could simply be a stay at home npc that cleans up the mess of the floor. It could also be used as a follower npc that helps pick up items you may miss while mining etc. Many possibilities.
(5) A Buffer job - A job where when you get close to the npc you receive a buff(strength, resistance, jump boost, etc) for X amount of seconds. Similar to a beacon but could be mobile. Would be nice if you could adjust the duration and strength of the buffs. This could be stacked onto a bard or split into a dedicated NPC(s).
Thanks for all you do.
YouTube | TwitchTV
Hey Noppes! When i create npcs and give them some of your custom npcs weapons or misc / any of your custom npc items or items from mods
it seems when i change to another world and spawn the npc i cloned his items changed, I think its because of the item id? or something else.
Please fix the bug its so annoying and its been annoying me since your custom npcs 1.5.2
P.S im using your 1.7.10c version
I've had the same problems, also whenever I clone an npc and change anything about it, it will revert back to how it was when it spawned within several minutes and I have to re edit it 2 or 3 times to make it permanent.
War is great to those who have not experienced it - Pindar
Ο πόλεμος είναι μεγάλη για εκείνους που δεν έχουν βιώσει - Πίνδαρος
Thank you my friend.
Noone ever answers my questions. I guess one-time NPC spawning is out of the question. Maybe I can teleport an npc to different areas based upon quests or kill an npc with a command?
Autistics, I know that NPCs can spawn mobs or other NPCs within a radius. My trial of it did cause my world to be overrun and I had to use an editor to cleanse it. Create a flatmap and test the spawner role.
Hmm not sure looks like it crashed after leaving the recipe menu. What did you do there?
Update forge...
Want to support me? Become one of my patrons:
I was trying to customize the dialogue for an NPC and the game gave me this:
---- Minecraft Crash Report ----
// Why did you do that?
Time: 3/28/15 2:14 PM
Description: Updating screen events
java.lang.NullPointerException: Updating screen events
at net.minecraft.client.gui.GuiScreen.func_73864_a(GuiScreen.java:465)
at noppes.npcs.client.gui.util.GuiNPCInterface.func_73864_a(GuiNPCInterface.java:125)
at noppes.npcs.client.gui.util.GuiNPCInterface2.func_73864_a(GuiNPCInterface2.java:36)
at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:544)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:516)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1662)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1021)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:345)
at net.minecraft.client.main.Main.main(SourceFile:120)
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:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.client.gui.GuiScreen.func_73864_a(GuiScreen.java:465)
at noppes.npcs.client.gui.util.GuiNPCInterface.func_73864_a(GuiNPCInterface.java:125)
at noppes.npcs.client.gui.util.GuiNPCInterface2.func_73864_a(GuiNPCInterface2.java:36)
at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:544)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:516)
-- Affected screen --
Details:
Screen name: noppes.npcs.client.gui.GuiNPCDialogSelection
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityPlayerSP['ArtistChibi'/1435134, l='MpServer', x=66.62, y=72.50, z=338.35]]
Chunk stats: MultiplayerChunkCache: 36, 36
Level seed: 0
Level generator: ID 04 - customized, ver 0. Features enabled: false
Level generator options:
Level spawn location: 0.00,90.00,0.00 - World: (0,90,0), Chunk: (at 0,5,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 2358032 game time, 67587 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
Forced entities: 18 total; [EntityRabbit['Rabbit'/1505429, l='MpServer', x=38.28, y=68.00, z=332.28], EntityPig['Pig'/1510161, l='MpServer', x=106.00, y=78.00, z=328.03], EntityPig['Pig'/1511991, l='MpServer', x=18.34, y=63.00, z=315.09], EntityPainting['Painting'/1505265, l='MpServer', x=3.03, y=74.50, z=233.50], EntityVillager['Vanessa'/1505318, l='MpServer', x=29.69, y=60.00, z=293.28], EntityVillager['Billy'/1505316, l='MpServer', x=29.28, y=60.00, z=295.19], EntityVillager['Dylan'/1505317, l='MpServer', x=29.69, y=60.00, z=294.16], EntityPig['Pig'/1510231, l='MpServer', x=78.69, y=70.00, z=390.50], EntityPig['Pig'/1510230, l='MpServer', x=62.78, y=63.00, z=392.03], EntityPig['Pig'/1510229, l='MpServer', x=76.03, y=63.00, z=389.47], EntityPainting['Painting'/1434993, l='MpServer', x=33.03, y=75.50, z=114.50], EntityPig['Pig'/1510232, l='MpServer', x=77.25, y=67.00, z=387.06], EntityCustomNpc['codycute'/1510470, l='MpServer', x=66.50, y=73.00, z=336.50], EntityRabbit['Rabbit'/1506754, l='MpServer', x=79.50, y=75.00, z=306.28], EntityPlayerSP['ArtistChibi'/1435134, l='MpServer', x=66.62, y=72.50, z=338.35], EntityPig['Pig'/1505276, l='MpServer', x=101.44, y=78.00, z=314.31], EntityPig['Pig'/1505274, l='MpServer', x=61.69, y=79.00, z=327.22], EntityPig['Pig'/1505275, l='MpServer', x=97.72, y=77.00, z=318.94]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:399)
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2488)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:367)
at net.minecraft.client.main.Main.main(SourceFile:120)
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)
-- System Details --
Details:
Minecraft Version: 1.8
Operating System: Windows 8 (x86) version 6.2
Java Version: 1.8.0_40, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 89787336 bytes (85 MB) / 523501568 bytes (499 MB) up to 523501568 bytes (499 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx512M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 99
FML: MCP v9.10 FML v8.0.37.1334 Minecraft Forge 11.14.1.1334 Optifine OptiFine_1.8_HD_U_D1 9 mods loaded, 9 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
FML{8.0.37.1334} [Forge Mod Loader] (forge-1.8-11.14.1.1334.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
Forge{11.14.1.1334} [Minecraft Forge] (forge-1.8-11.14.1.1334.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
TooManyItems{1.8} [TooManyItems] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
DamageIndicatorsMod{3.3.3} [Damage Indicators] ([1.8]DamageIndicatorsMod-3.3.3.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
craft++{1.0} [Craft++] (Craft-Plus-Plus-Mod-1.8.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
customnpcs{1.8.0_alpha} [CustomNpcs] (CustomNPCs_1.8.0_alpha.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
chunkbase_villageinfo_ssp{2.1} [Village Info (SSP)] (VillageInfoSSP-1.8-2.1.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
XaeroMinimap{1.3.5} [Xaero's Minimap] (xaeros_minimap_v1.3.5_1.8_Forge.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available
Loaded coremods (and transformers):
TMIForgeLoader (TooManyItems2015_02_14_1.8_Forge.jar)
TMIForgeTransformer
Launched Version: 1.8-Forge11.14.1.1334
LWJGL: 2.9.1
OpenGL: Intel(R) HD Graphics GL version 3.1.0 - Build 9.17.10.2828, Intel
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: No
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: [Artist's Zelda Quest Edit 1.8, Tutorial Adventure Pack]
Current Language: English (US)
Profiler Position: N/A (disabled)
Also, each time I look at the custom NCP, everything around becomes almost Xray-like. Including the face. (I am not using an Xray for this version of 1.8 so it's not that.)
Any idea what is going on?
It would be nice if you could change the NPC's "dead texture". as in what do you want the NPC to look like when they are dead. I would like to make dragons like in skyrim. Randomly flying around the world, when you get close you the music changes, and then when they die they leave behind their skeleton.
1) Will add to the list
2) Probably not, though Im thinking of adding a scriptable item. So it might be possible through that in the future.
3) Hmm that doesnt sound like you want bounties more like random quest rewards. Adding it to the todo list not the tobepoll list
4) Dont think Ill add that as a seperate job. I could add it to the future farmer job as option
5) Same will probably add that as option to the healer job in the future.
Want to support me? Become one of my patrons:
I have test this and i thought it should work for only a detecting a PLAYER but it detects npc too? This was really messing things up when a npc walks by and the the npc reacted to it. I have seen this used other places but it really messing up when I want the npc to just react when a player get into range.
Anyone know why?
nameof=npc.getSurroundingEntities(3, EntityType.PLAYER)
for (var i = 0, len = nameof.length; i < len; i++) {
npc.say(nameof.name);
}
Best to put it inbetween code blocks on the forum. You might want to add var infront of the nameof.
Also does it have an error?
Want to support me? Become one of my patrons: