Page 8 of 8

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

PostPosted: Wed Sep 10, 2014 08:08
by twoelk
hugs?

I want a hug somebody function that regenerates health for both people/creatures involved :-D

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

PostPosted: Wed Sep 10, 2014 22:37
by SAMIAMNOT
Mod wont work, I even got the plants lib. It says theres an error with the Lua file.
*EDIT* Sorry wrong mod. ;)
*EDIT 2* Actualy this is the right mod. Spmebody help! I cant wait to try these NPCs!

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

PostPosted: Thu Sep 11, 2014 02:21
by Sokomine
SAMIAMNOT wrote:Mod wont work, I even got the plants lib. It says theres an error with the Lua file.

That error description doesn't help us. Please quote the exact error message you get.

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

PostPosted: Wed Sep 17, 2014 18:47
by SAMIAMNOT
Okay, here is my error:
14:43:40: ERROR[main]: ========== ERROR FROM LUA ===========
14:43:40: ERROR[main]: Failed to load and run script from
14:43:40: ERROR[main]: E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:
14:43:40: ERROR[main]: ...st-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:6: attempt to concatenate a nil value
14:43:40: ERROR[main]: stack traceback:
14:43:40: ERROR[main]: ...st-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:6: in main chunk
14:43:40: ERROR[main]: ======= END OF ERROR FROM LUA ========
14:43:40: ERROR[main]: Server: Failed to load and run E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua
14:43:40: ERROR[main]: ModError: ModError: Failed to load and run E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua



Is it something I did?

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

PostPosted: Wed Sep 17, 2014 20:05
by Esteban
SAMIAMNOT wrote:Okay, here is my error:
14:43:40: ERROR[main]: ========== ERROR FROM LUA ===========
14:43:40: ERROR[main]: Failed to load and run script from
14:43:40: ERROR[main]: E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:
14:43:40: ERROR[main]: ...st-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:6: attempt to concatenate a nil value
14:43:40: ERROR[main]: stack traceback:
14:43:40: ERROR[main]: ...st-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:6: in main chunk
14:43:40: ERROR[main]: ======= END OF ERROR FROM LUA ========
14:43:40: ERROR[main]: Server: Failed to load and run E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua
14:43:40: ERROR[main]: ModError: ModError: Failed to load and run E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua



Is it something I did?


Rename the mod folder to "peaceful_npc"

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

PostPosted: Wed Sep 17, 2014 20:42
by SAMIAMNOT
Esteban wrote:
SAMIAMNOT wrote:Okay, here is my error:
14:43:40: ERROR[main]: ========== ERROR FROM LUA ===========
14:43:40: ERROR[main]: Failed to load and run script from
14:43:40: ERROR[main]: E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:
14:43:40: ERROR[main]: ...st-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:6: attempt to concatenate a nil value
14:43:40: ERROR[main]: stack traceback:
14:43:40: ERROR[main]: ...st-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:6: in main chunk
14:43:40: ERROR[main]: ======= END OF ERROR FROM LUA ========
14:43:40: ERROR[main]: Server: Failed to load and run E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua
14:43:40: ERROR[main]: ModError: ModError: Failed to load and run E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua



Is it something I did?


Rename the mod folder to "peaceful_npc"


Okay... I don't get the error but I can't find the mods in Creative mode.

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

PostPosted: Thu Sep 18, 2014 14:53
by Esteban
SAMIAMNOT wrote:
Esteban wrote:
SAMIAMNOT wrote:
-snip-

Is it something I did?


Rename the mod folder to "peaceful_npc"


Okay... I don't get the error but I can't find the mods in Creative mode.


Did you make sure the mod is enabled? Sometimes mods get disabled when you change their name.

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

PostPosted: Sun Sep 21, 2014 00:33
by SAMIAMNOT
Just got this mod to work and lemme say this; Its the best mod ever. All sorts of charachters, Im not always gonna get the same guy like in npcf AND they look like they came straight outta a wierd RPG. Well done.
EDIT 1: Can they open doors and go up ladders? That would be cool.
EDIT 2: I'm building a hotel populated with these guys and I was wondering why it seems like they keep dissappearing from their hotel rooms. I locked them up (closed the door behind them) too. This happens sometimes with NPCF but I think its because they can somehow jump over two-block-high balcony railing (fences).

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

PostPosted: Mon Oct 13, 2014 23:04
by SAMIAMNOT
Default NPCs dissappear. Havent tried fast or dwarfs yet but the Default NPCs will dissappear if you turn your back on them for ten seconds. Also they can go through you.
EDIT: I got them to work but now they can push me away. Like once I was in the second story of my house. This guy pushed me so hard I got stuck in a glass node! I had to bust the window and jump! Could you make the NPCs go only 1 block away from you? I find it extremely hard to move. Also, they dont follow you simply all night, its midnight til noon. Could you change that or is that how its suposed to be?

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

PostPosted: Thu Apr 23, 2015 02:43
by Sokomine
Gambit wrote:Here's my finished village for one region. It's fairly complete with Houses, Barn, Church, Graveyard, Blacksmith, Inn, Clinic, Watch Tower, and Trading Post. It's fully playable for everyone to tryout.

http://ubuntuone.com/1f3xLL3ODLAdCdeVqDBq64

I've stored the individual buildings that form Gambits village in seperate files. They can now be used together with mg_villages, provided the village_gambit mod is installed.

Here's a nice barn, using default minetest_game:
Image

The same in ethereal, this time with snow:
Image

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

PostPosted: Sun Aug 09, 2015 15:51
by jojoa1997
Just a small update. It is now using biome_lib instead of plants_lib.

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

PostPosted: Fri Apr 22, 2016 14:37
by cesarpachon
hi! really nice mod! I would like to try to make NPC's to manage state, you know, talk to the user when clicked instead of the default behaviour of receiving damage. Wonder if there are some guidelines around that, perhaps a forked version of this mod?

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

PostPosted: Fri Apr 22, 2016 20:45
by Sokomine
cesarpachon wrote:hi! really nice mod! I would like to try to make NPC's to manage state, you know, talk to the user when clicked instead of the default behaviour of receiving damage. Wonder if there are some guidelines around that, perhaps a forked version of this mod?

The esmobs tell the player their name and intention when right-clicking them. It's not much, and they've only got one sentence each, but it's a start. There's also a mobtalker mod. None of that seems to be widely used so far. There's a lot of room for development in that direction. More talkative mobs would be fine.

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

PostPosted: Sun Jun 19, 2016 14:51
by ParaklataChotou
jojoa1997 wrote:This mod adds npcs.ImageFrom left to right. default, fast, dwarf

To get privs in singleplayer you have to type "/grant singleplayer peacefulnpc" without the quotes.

License: WTFPL

Mod dependencies: default, biome_lib

Github

Download

Change Log

Todo
Contributors:
sapier (he helped me with the base code)
VanessaE (she helped me with the dropping mese_crystals)
jordan4ipbanez (he made the base code)
kaeza (He helped debug the spawn command)
If i did not say your name please tell me and I will add you.


Why my NPC s are invisible. What do I need to do for fix the bug? I would thank your answer n_n.

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

PostPosted: Sat Jul 16, 2016 17:54
by Sokomine
ParaklataChotou wrote:Why my NPC s are invisible. What do I need to do for fix the bug? I would thank your answer n_n.

The character model - that which defines how the player char (and these mobs here as well) look like - has been changed. Just search for all occourances of
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
character.x
in the mod's folder and replace them with
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
character.b3d
and you'll be able to see them again.

Beware: The mobs will still rush on you at night time :-) They won't harm you, but...they can get pretty close and hop on your head :-)
Image

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

PostPosted: Sat Aug 06, 2016 02:18
by ParaklataChotou
Sokomine wrote:
ParaklataChotou wrote:Why my NPC s are invisible. What do I need to do for fix the bug? I would thank your answer n_n.

The character model - that which defines how the player char (and these mobs here as well) look like - has been changed. Just search for all occourances of
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
character.x
in the mod's folder and replace them with
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
character.b3d
and you'll be able to see them again.

Beware: The mobs will still rush on you at night time :-) They won't harm you, but...they can get pretty close and hop on your head :-)
Image


It's working now!!! Thank you so much :). Can I upload the paceful_npc with this fix?

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

PostPosted: Wed Aug 10, 2016 23:49
by Sokomine
ParaklataChotou wrote:It's working now!!! Thank you so much :). Can I upload the paceful_npc with this fix?

As the liscence seems to be WTFPL, you may well do that. But the best idea would be to fix the original repro, to create a pull request to peacful_npc on github and/or to contact jojoa1997 so that the main version gets fixed :-)

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

PostPosted: Thu Aug 11, 2016 05:59
by casio33
Thank you for this awesome mod. But how can I select the path for a guard?

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

PostPosted: Tue Oct 25, 2016 13:42
by Andrey01
jojoa1997, will be add NPC, so that will be can trade them. And NPC follow me, dig shafts, build houses, open/close door...

Re:

PostPosted: Sat Oct 29, 2016 23:06
by TailsTheFoxDoes MT
babe223 wrote:o'que you want to add, in mod?

I might add Heromine to Mob_pack, well, with a different name, since "heromine" is a bit too MINECRAFTY.

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

PostPosted: Fri Dec 16, 2016 10:30
by christoferlevich
I love this mod, but I would like the NPC characters to speak to players when punched - is this possible?

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

PostPosted: Fri Dec 16, 2016 15:23
by ph8jPf9M
christoferlevich wrote:I love this mod, but I would like the NPC characters to speak to players when punched - is this possible?

advanced npc is trying to achieve that but instead of punching you will need rightclick you will also need mobs redo https://github.com/hkzorman/advanced_npc

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

PostPosted: Fri Dec 16, 2016 16:03
by Sokomine
christoferlevich wrote:I love this mod, but I would like the NPC characters to speak to players when punched - is this possible?

Mobs that are punched are beeing attacked by the player and would usually suffer damage. The normal way to interact is to right-click them. The traders from my mobf_trader mod react to punching by self-healing, complaining to the player about the attack and offering their trade goods. Just take a look at the code and search for on_punch.

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

PostPosted: Fri Dec 16, 2016 19:30
by zorman2000
ph8jPf9M wrote:
christoferlevich wrote:I love this mod, but I would like the NPC characters to speak to players when punched - is this possible?

advanced npc is trying to achieve that but instead of punching you will need rightclick you will also need mobs redo https://github.com/hkzorman/advanced_npc


Yes that is correct. I'm working on a new NPC mod called advanced_npc. It is not quite there where I would want it but already supports speaking to NPCs via right-click.

Considering the way interaction is done on Minetest, for example, you use objects using right click (like opening a chest), I think a player should interact with NPCs by right click as well.

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

PostPosted: Sat Dec 17, 2016 02:13
by christoferlevich
Awesome! I am implementing these in with elementary school children and the admin want a violence-less environment... surprisingly, the kids don't seem to mind so long as they can build...