[Mod] Advanced NPC (WIP) [advanced_npc]

zorman2000
Member
 
Posts: 83
Joined: Tue Jul 26, 2016 18:18
GitHub: hkzorman
In-game: zorman2000

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

by zorman2000 » Sun Apr 08, 2018 14:21

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!
 

User avatar
Diamond knight
Member
 
Posts: 452
Joined: Sun Apr 19, 2015 19:50
Location: Chilling in Constantinople
GitHub: Diamondknight
In-game: Ferrumprinceps

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

by Diamond knight » Mon Dec 03, 2018 00:27

Is this mod dead? I hope not. I have been waiting for it to become stable and not crash.
 

dawgdoc
Member
 
Posts: 246
Joined: Mon Feb 27, 2017 01:10
GitHub: dawgdoc

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

by dawgdoc » Mon Dec 03, 2018 09:07

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.
 

User avatar
BrunoMine
Member
 
Posts: 1046
Joined: Thu Apr 25, 2013 17:29
Location: SP-Brasil
GitHub: BrunoMine

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

by BrunoMine » Mon Dec 03, 2018 13:42

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.
 

User avatar
NetYard5
Member
 
Posts: 66
Joined: Fri Aug 24, 2018 20:28
Location: Malaysia, Kuala Lumpur
GitHub: FI3Mate
IRC: AlloyMixedSteel
In-game: InfinityYards UltraNexo

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

by NetYard5 » Sun Jan 13, 2019 06:08

can you list me advanced_npc's item string? I need it for /giveme
 

User avatar
JiCeyCraft
Member
 
Posts: 93
Joined: Tue Feb 09, 2016 16:34
Location: Center of France, Loiret, Gien
In-game: JiCeyPlay

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

by JiCeyCraft » Wed Jan 16, 2019 08:49

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
Trust and Honesty are necessary conditions for friendship.
Do you aggree with this?
 

trungus
New member
 
Posts: 9
Joined: Thu Apr 19, 2018 18:14
In-game: Trungus

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

by trungus » Wed Feb 06, 2019 13:29

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
 

ShadMOrdre
Member
 
Posts: 287
Joined: Mon Dec 29, 2014 08:07
Location: USA
GitHub: ShadMOrdre
In-game: shadmordre

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

by ShadMOrdre » Wed Feb 06, 2019 17:14

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
MY MODS: lib_ecology lib_materials lib_clouds lib_node_shapes ---- Inspired By: Open Source Virtual World Simulator Opensimulator.
 

trungus
New member
 
Posts: 9
Joined: Thu Apr 19, 2018 18:14
In-game: Trungus

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

by trungus » Wed Feb 06, 2019 17:36

Hi ShadMOrdre

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

Thank you a lot.
Best Regards
 

trungus
New member
 
Posts: 9
Joined: Thu Apr 19, 2018 18:14
In-game: Trungus

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

by trungus » Wed Feb 06, 2019 20:21

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
Attachments
2019-02-06 17_18_58-Minetest 0.4.17.1 [OpenGL 4.3.0].png
(42.02 KiB) Not downloaded yet
 

Previous

Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 4 guests