Fyoki wrote:is there somewhere in the server database i can look?
You can find character id from `character` table in your database.
Fyoki wrote:is there somewhere in the server database i can look?
Dealtime wrote:#1
If you work a npc mod that can be ennemie npc for event like a bunch of pirates npc attacking village.
Dealtime wrote:#2
If you think it's will be possible to give order to friendly npc to work on your village like have some npc peasants cutting tree, terraforming your terrain , building your wall etc. ( LOT OF WORK probably :P)
RetroLogi wrote:I'm looking for a code to program my npc walking or guards patrol. Can anyone tell me how to do? thz
Head post wrote:Current public release does not provide support for animation transitions, mounts, animals, action queues and NPC movement.
//NPC: Stadtwache 1
// position = "-2085.61 749.895 1016.45";
// rotation = "0 0 1 182.065";
%npc1 = BasilMod::npc_create(290, "-2085.61 749.895 1016.45", "0 0 1 182.065");
%npc1.addIdle("idle1", "2000 2000", 3);
%npc1.addIdle("1h trickmove2", "6000 3000", 3);
//NPC: Stadtwache 2
// position = "-2085.38 739.239 1016.37";
// rotation = "0 0 1 3.52628";
%npc2 = BasilMod::npc_create(290, "-2085.38 739.239 1016.37", "0 0 1 3.52628");
%npc2.addIdle("idle1", "5000 1000", 3);
%npc2.addIdle("approval", "5000 1000", 4);
//ZONE: Guards
//ZONE: trade greet
// position = "-2088.85 743.778 1016.99";
%zone = BasilMod::npc_zone("-2088.85 743.778 1016.99", "4", "0 500", "honor", 0);
%zone.add(%npc1);
%zone.add(%npc2);
Catall wrote:I struggle an Error on NPC mod i can'T get rid off:
...
When i took a look at the Server console i saw an Error-message apearing almost every second:
Catall wrote:At first i really appreciate the hard work you are doing for the community! I am using many mods you did, thumbs up, great work!
I struggle an Error on NPC mod i can'T get rid off:
I did Setup two NPC guards on our Server for testing purposes.
It seems everythin went fine, NPCs appeared and did what the have to to.
When i took a look at the Server console i saw an Error-message apearing almost every second:
ERRR 2016-09-30 08:24:14.743 {} <> [192520] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2016-09-30 08:24:15.767 {} <> [192678] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2016-09-30 08:24:16.792 {} <> [192827] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2016-09-30 08:24:17.822 {} <> [192975] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2016-09-30 08:24:18.837 {} <> [193109] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
ERRR 2016-09-30 08:24:19.865 {} <> [193261] Can't send NetEvent CharacterInfoEvent: not allowed [0|0]!
I read this thread and changed empty Hands in idle from 0 to 3 knowing the Slot 3 of my NPCs is where the weapon went. i just reloaded NPCs after my Change and did not restart the whole Server. The Error still was the same after my change. Might this be the issue for this error?
Error disapears after removing NPC mod and restarting.
Content of config.cs:
- Code: Select all
//NPC: Stadtwache 1
// position = "-2085.61 749.895 1016.45";
// rotation = "0 0 1 182.065";
%npc1 = BasilMod::npc_create(290, "-2085.61 749.895 1016.45", "0 0 1 182.065");
%npc1.addIdle("idle1", "2000 2000", 3);
%npc1.addIdle("1h trickmove2", "6000 3000", 3);
//NPC: Stadtwache 2
// position = "-2085.38 739.239 1016.37";
// rotation = "0 0 1 3.52628";
%npc2 = BasilMod::npc_create(290, "-2085.38 739.239 1016.37", "0 0 1 3.52628");
%npc2.addIdle("idle1", "5000 1000", 3);
%npc2.addIdle("approval", "5000 1000", 4);
//ZONE: Guards
//ZONE: trade greet
// position = "-2088.85 743.778 1016.99";
%zone = BasilMod::npc_zone("-2088.85 743.778 1016.99", "4", "0 500", "honor", 0);
%zone.add(%npc1);
%zone.add(%npc2);
In Addition the following mods are installed and working flawless:
ravens, Chats, motd, gmmanounce, teleport (for coords in gm only).
SomeoneD wrote:I also have this problem with any configuration
RetroLogi wrote:[REPORT]
Hi Basil, mod has problems after the last patch, the NPC spawn without equipment..
RetroLogi wrote:[REPORT]
Hi Basil, mod has problems after the last patch, the NPC spawn without equipment..
Custodian wrote:RetroLogi wrote:[REPORT]
Hi Basil, mod has problems after the last patch, the NPC spawn without equipment..
Thanks for the report. This is a known issue with latest LiF:Yo versions.
Unfortunately, there is no ETA for the fix.
Mikelinsenmayer wrote:Anyupdates?
Goolah13 wrote:Hi. First off thank you for the effort that you have out into these mods.
I am having trouble getting this to work. I believe that I have everything installed correctly. I have the keybinds options, the config file is updated when I add an NPC in game, but I can't get an NPC to actually show up in game.
I have been using the "Character ID" from the database. For example, the ID in the database is 5 so I changed the config to the following:
%npc = BasilMod::npc_create(5, "1649.51 -1601.68 1011.55", "0 0 1 2.74661");
Is that correct?
Thanks.
Goolah13 wrote:Is that correct?
Catall wrote:Is the playersave nowadays still needed? I'd have to figure out if i would like NPCs or small logfiles...
Custodian wrote:Halvdal wrote:Could update your Pack to the new patch please?
Until mod is updated, you can add following line to the end of main.cs file:
- Code: Select all
exec("basilmodloader/loader.cs");
This would make BasilMod::Pack work again.
Skandar wrote:This issue starter after their last patch and was working fine before that.
Could you specify LiF version you are using? there are a lot of malfunction LiF patches lately.