Page 4 of 4

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Sun Apr 08, 2018 14:21
by zorman2000
scr267 wrote:Hi

I ran into the following error using the current master branch:

2018-04-04 17:05:12: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'advanced_npc' in callback node_on_timer(): Runtime error from mod 'advanced_npc' in callback luaentity_Activate(): /home/someuser/.minetest/mods/advanced_npc/npc.lua:1319: attempt to inde
2018-04-04 17:05:12: ERROR[Main]: field 'actions' (a nil value)
2018-04-04 17:05:12: ERROR[Main]: stack traceback:
2018-04-04 17:05:12: ERROR[Main]: /home/someuser/.minetest/mods/advanced_npc/npc.lua:1319: in function 'after_activate'
2018-04-04 17:05:12: ERROR[Main]: /home/someuser/.minetest/mods/advanced_npc/npc.lua:1658: in function 'after_activate'
2018-04-04 17:05:12: ERROR[Main]: /home/someuser/.minetest/mods/mobs_redo/api.lua:2512: in function </home/someuser/.minetest/mods/mobs_redo/api.lua:2395>
2018-04-04 17:05:12: ERROR[Main]: [C]: in function 'add_entity'
2018-04-04 17:05:12: ERROR[Main]: /home/someuser/.minetest/mods/advanced_npc/spawner.lua:419: in function 'spawn_npc'
2018-04-04 17:05:12: ERROR[Main]: /home/someuser/.minetest/mods/advanced_npc/spawner.lua:364: in function 'spawn_npc_on_plotmarker'
2018-04-04 17:05:12: ERROR[Main]: /home/someuser/.minetest/mods/advanced_npc/spawner.lua:1004: in function </home/someuser/.minetest/mods/advanced_npc/spawner.lua:1002>
2018-04-04 17:05:12: ERROR[Main]: stack traceback:
2018-04-04 17:05:12: ERROR[Main]: [C]: in function 'add_entity'
2018-04-04 17:05:12: ERROR[Main]: /home/someuser/.minetest/mods/advanced_npc/spawner.lua:419: in function 'spawn_npc'
2018-04-04 17:05:12: ERROR[Main]: /home/someuser/.minetest/mods/advanced_npc/spawner.lua:364: in function 'spawn_npc_on_plotmarker'
2018-04-04 17:05:12: ERROR[Main]: /home/someuser/.minetest/mods/advanced_npc/spawner.lua:1004: in function </home/someuser/.minetest/mods/advanced_npc/spawner.lua:1002>


As a temporary measure I've reverted to Tag: 1.0.0-alpha-1 - but it hasn't been long enough to know if it will crash or not yet.

Thanks very much for an amazing mod!

scr267
Hi scr267, branch currently is a mess, due to a lot of changes I've been doing, so I wouldn't go about using it now :)
However, feel free to use alpha1, which is the latest stable version.

I will also take a look at this error and see what is causing it.

Thanks! Hope you enjoy the mod... also for sure much better things are coming soon!

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Mon Dec 03, 2018 00:27
by Diamond knight
Is this mod dead? I hope not. I have been waiting for it to become stable and not crash.

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Mon Dec 03, 2018 09:07
by dawgdoc
Diamond knight wrote:Is this mod dead? I hope not. I have been waiting for it to become stable and not crash.
I doubt it, but his last update/commit to the mod was in June. advanced-npc github.

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Mon Dec 03, 2018 13:42
by BrunoMine
I'm using this mod. Soon I will expand my project of mod societies, whose behavior of NPCs is realistic thanks to this incredible mod.

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Sun Jan 13, 2019 06:08
by NetYard5
can you list me advanced_npc's item string? I need it for /giveme

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Wed Jan 16, 2019 08:49
by JiCeyCraft
BrunoMine wrote:I'm using this mod. Soon I will expand my project of mod societies, whose behavior of NPCs is realistic thanks to this incredible mod.
If you can merge Advanced_NPCs with Societies, I'll TAKE it! :D

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Wed Feb 06, 2019 13:29
by trungus
Hi guys

I have a problem and I can’t figure out how to resolve it, there is no villagers, they never spawn, I let the server and the client running for more than an hour and nothing.
I check the code and I found something weird, inside the on_timer event (spawner.lua file) there is an If checking the variable mg_villages_entity_name, here is the code

Code: Select all

    on_timer = function(pos, elapsed)
            -- Adds timer support
            if mg_villages_entity_name ~= nil and mg_villages_entity_name ~= "" then
                npc.spawner.spawn_npc_on_plotmarker(mg_villages_entity_name, pos)
            end
        end,
Even I found a setter function but is never used, so the variable is nevet set and the If does nothing and no villagers spawn.

Any idea?
Best Regards and Thank you in advance

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Wed Feb 06, 2019 17:14
by ShadMOrdre
Zorman2000s last git commit changes this mod. This mod is now ONLY an API.

If you search Zorman2000s git, you'll find a repository for mg_villages_npc, which is the actual NPC mob.

You must install both to get the mob NPC.

Shad

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Wed Feb 06, 2019 17:36
by trungus
Hi ShadMOrdre

Silly me, I never notice what you say, I'll test it tonight.

Thank you a lot.
Best Regards

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Wed Feb 06, 2019 20:21
by trungus
Hey Guys

I test the mg_villages_npc and I've Villages, thank you ShadMOrdre.

Now I have another issue with the villagers, all of them are render below the ground, see the attach.

I think that the problem is related to the collisionbox and the position to render the model, somebody can help me?.

Best Regards and Thank you in advance.
Trungus

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Thu Feb 13, 2020 12:26
by grifisx
Hi, why I cannot see the egg "npc spawn" in the video at start of the thread?
Thanks for reply.

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Wed Nov 18, 2020 10:32
by Diomède
Hello guys,

Great mod !
But is there anybody still on it, or is it dead already ?

Big project here :
I work in a fablab, and we kind of team up with schools to offer activities to children in both Minecraft and the real world. They go through various quests and have to switch between the game and other places to interact with (museums, historic spots... you know, various cultural places). We were using BetonQuest for Minecraft with some Arduino stuff and it was working fine.
BUT NOW we have to switch to Minetest (whatever is the reason, it's a good one).

SO :
I am thinking about using AdvancedNPC in combination with E.P.I.C. (https://content.minetest.net/packages/B ... nzay/epic/), as a replacement for BetonQuest.
In particular, BetonQuest allows the use of NPC dialogues to walk through the steps of a quest, which is pretty much what we want from an RPG-like quest system.
Since AdvancedNPC is one of the rare mods (if not the only one in the ContentDB) to include dialogues with NPC, I think the potential is huge.
E.P.I.C. is a quest framework that uses right-clicks on various cubes as triggers for quests progress. It's more basic than BetonQuest, but it seems clean and stable (see "Damocles" server for quick playable examples of use). I haven't seen the full potential of it, since there are many different cubes (will do this today). But if a right-click on a cube executes a command, that could be an opening for anything new (triggering NPC dialogues, hm?). I will try to get in touch with them as I did here.

We already have several quests for BetonQuest in .yml (using dialogues), plus all the arduino stuff plus a plugin for holocaustin... local-hosting all of that.
I just need to know if anybody's still there to eventually help on adjustments with the mod, just in case it's required (it probably will be).

Thank you !

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Mon Nov 23, 2020 04:10
by Sokomine
Diomède wrote: I work in a fablab, and we kind of team up with schools to offer activities to children in both Minecraft and the real world. They go through various quests and have to switch between the game and other places to interact with (museums, historic spots... you know, various cultural places).
Sounds like a lot of fun. Could be of intrest for more...er...more...adult..."kids" as well :-) The RL interaction might be a bit problematic due to players beeing placed all over the world.
Diomède wrote: We were using BetonQuest for Minecraft with some Arduino stuff and it was working fine.
I don't know about BetonQuest, but I've been to an MC server once which had some "quests": When right-clicking a mob, he was showing an inventory (the villager trading one afaik), and on mouseover, diffrent inventory items offered diffrent options to reply to the npc. The inventory items/options could be clicked and the quest would go on. Is that like it?
Diomède wrote: triggering NPC dialogues, hm?
Some time ago, a great feature has been added to MT so that better formspecs can be created that don't look too bad. If you know the point&click adventures of old...that's what I have in mind there:
Image

The basics are doable - show some text and offer "links" that can be clicked on and reacted to. And of course npc can react to right-clicks. It "just" needs a bit of a programming language for writing dialogs and a lot of eye candy and effort put into graphics so that it looks good. Might be great to see a screenshot of the npc who hands the job out as well. I don't have much time right now but plan to do something in the area of a small language for dialogs. I'm not good at all at the necessary eye candy.
Diomède wrote: We already have several quests for BetonQuest in .yml (using dialogues), plus all the arduino stuff plus a plugin for holocaustin... local-hosting all of that.
Well, then you already have a language for the dialogs and just need to implement that in MT plus add the necessary graphics. Ought to be doable, though I don't know what other features BetonQuest has. You're not necessarily dependant on one particular mob mod.

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Mon Jul 19, 2021 05:45
by AmyMoriyama
Please tell me this mod isn't dead.

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Thu Sep 16, 2021 16:44
by ShadMOrdre
Yes, as far as I can tell, zorman2000 is no longer around. However, the code is well documented, and I've been feeling bored...

I won't make promises....


Image

I'll try to get this up on git later today or tomorrow. There are several occupations, none of which actually do what they say. But the framework is there. I've made a few additions as well, taking some parts from ErrorNulls villagers mod, which I am also trying to update.

Shad

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Tue Jan 25, 2022 17:51
by j0j0n4th4n
Do I need to install mg_villages and mg_villages_npc to run this mod?

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Wed Jan 26, 2022 17:27
by ShadMOrdre
Zorman2000's version does require mg_villages, mg_villages_npc, mobs_redo, and pathfinder. You'll need the mg_villages villages, I recommend cornernote village type as the default village, not the usual medieval type. You may run into various issues, as did I.

I have yet to upload my own updates to this mod, as I not only fixed issues, but also added new features including unique villagers, and added several new npc types.

I'll work on getting my updates posted to Github.

Shad

Re: [Mod] Advanced NPC (WIP) [advanced_npc]

Posted: Thu May 19, 2022 07:24
by zadocallen
I didn't see any interface when I installed Advanced Npc under your GitHub file (hkzorman) how do I use the mod?
(placing npc's, assigning jobs ect.) all the feed back I got was (Programs installed) what programs? and if I choose to remove advanced Npc's how do I remove the mystery programs help, Please