Mods / Pet AI

Tags: #Creatures #Library
Author: Gerste
Side: Both
Created: Nov 20th 2021 at 8:39 PM
Last modified: Nov 18th 2025 at 8:48 PM
Downloads: 368201
Follow Unfollow 2270

Latest release (for Vintage Story 1.21.0 - 1.21.5, potentially outdated):
petai_v4.0.3.zip  1-click install


Summary

Small library containing a variety of AI Behaviors and Tasks that i consider useful for domesticating/ taming animals.

This mod on it's own won't do anything in your world. You need to add any of the following:

 

FAQ

  • Is this mod compatible with game version X?
    • Most likely yes. If only the last number in the vanilla version (1.20.X) differs from whats listed here, there is a 95% chance that the mod will still work.
  • Is this compatible with mod X?
    • Most likely yes. This mod does little changes to vanilla mechanics, so most mods should peacefully coexist with it.
  • Can I tame creatures from mod X with this?
    • Most likely no. Unless listed on the mod page, this mod does not automatically make modded creatures tameable.
  • Can I create custom pets with this?
    • There is some API Information for modders documented in the mods README.
    • If you want to create your own pets with this system but can not figure out how just by looking at my other taming mods, feel free to ping me on the Official VS Discord.
  • Do pets starve if not fed regularly?
    • No, unless you have other mods that add this.
  • Do pets eat from feeding troughs?
    • No, you have to feed them by hand to increase their obedience.
  • Can I make pets tame faster/ slower?
    • Open /VingatestoryData/ModConfig/petconfig.json and change the following values to your liking:
      • tamingMultiplier
      • obedienceMultiplier
  • Can I make pets loose obedience faster/ slower?
    • Open /VingatestoryData/ModConfig/petconfig.json and change disobedienceMultiplier to your liking.
  • Can I make pets age faster/ slower?
    • Open /VingatestoryData/ModConfig/petconfig.json and change growingMultiplier to your liking.
  • Can I hit my pets?
    • Open /VingatestoryData/ModConfig/petconfig.json and change PetDamageableByOwner to your liking.
  • Can I hit other peoples pets?
    • Open /VingatestoryData/ModConfig/petconfig.json and change PvpOn to your liking.
  • Can my pets take fall damage?
    • Open /VingatestoryData/ModConfig/petconfig.json and change FallDamageOff to your liking.
  • Can my pets be resurrected even if they are not mortally wounded but dead?
    • Open /VingatestoryData/ModConfig/petconfig.json and change Resurrectors to your liking.
  • Can my pets teleport after me?
    • Open /VingatestoryData/ModConfig/petconfig.json and change AllowTeleport to your liking.
  • Can I pick up my pets?
  • How do I interact with tameable creatures?
    • Try enabling block-interaction-help in the vanilla settings. If this does not help:
      • Open up a new creative world.
      • Spawn a wolf/ dog pup.
      • Get yourself the magic golden bone under the special tab.
      • Right click the dog and enjoy a good boy.
      • If any of these steps fail, the mod is most likely not installed properly. Make sure to have the correct version of PetAI installed and see here for other tips.
  • I found a bug, how do I make you fix it?
    • To be able to fix your bug, I need to be able to recreate it on my end.
    • Please create a short step by step guide on how you got to bug, please also describe what you expected to happen. (e.g. create a new world -> spawn german shepherd -> feed it fish -> game crashes)
    • You can also provide screenshots if you think they can help visualize what went wrong.
    • Also please answer the following questions:
      • What game version are you playing?
      • What mod version do you have installed?
      • What other mods do you have installed?
      • Are you in a Singleplayer world or do you play on a server with friends?

Contributors

  • macoto_hino (japanese translation)
  • Cendar (french translation)
  • Mamoru Mondai (russian translation)
  • Lantalia (wildcraft compatibility)

Contribute

Translations

If you want to help translate the mod into your language, head over to the Crowdin Project to upload your community translation. I use a small script that automatically downloads the translations before every new release.

Features/ Bugfixes/ Assets/ Models

If there is a feature that you are desperately missing in this or you found a bug you want to fix yourself, feel free to hit me up on the Vintage Story Community discord with your idea and send in a Pull Request over on Github.

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
4.0.3 petai
1.21.0 - 1.21.5
31318 Nov 18th 2025 at 8:48 PM petai_v4.0.3.zip 1-click install
  • pet whistle can no longer target your own pets
4.0.2 petai
1.21.0 - 1.21.5
3814 Nov 15th 2025 at 7:24 PM petai_v4.0.2.zip 1-click install
  • added more options to the config
4.0.1 petai 30763 Sep 30th 2025 at 7:45 PM petai_v4.0.1.zip 1-click install
  • attempt to fix negative pet health
  • language compatibility with feverstone horses
4.0.0 petai 24595 Aug 27th 2025 at 6:30 PM petai_v4.0.0.zip 1-click install
  • updated to 1.21
3.4.3 petai
1.20.8 - 1.20.9
39212 Apr 28th 2025 at 10:40 AM petai_v3.4.3.zip 1-click install
  • fix crash when reviving wolf pups and kittens
3.4.2 petai
1.20.6 - 1.20.7 1.20.8 - 1.20.9
950 Apr 27th 2025 at 4:47 PM petai_v3.4.2.zip 1-click install
  • fix config entries duplicating
3.4.1 petai
1.20.8 - 1.20.9
898 Apr 26th 2025 at 9:13 AM petai_v3.4.1.zip 1-click install
  • fix crash when looking at cats
3.4.0 petai
1.20.6 - 1.20.7 1.20.8 - 1.20.9
498 Apr 25th 2025 at 6:59 PM petai_v3.4.0.zip 1-click install
  • re-add ability to revive pets after death (check modconfig for options)
3.3.1 petai
1.20.6 - 1.20.7
12221 Mar 30th 2025 at 9:41 AM petai_v3.3.1.zip 1-click install
  • fixed errors when registering disobedience game tick listener
3.3.0 petai
1.20.5-rc.2 - 1.20.5-rc.3
8352 Mar 14th 2025 at 6:44 PM petai_v3.3.0.zip 1-click install
  • readded the code for the backpack (not the backpack itself though, see this mod instead)
3.2.1 petai
1.20.5-rc.2 - 1.20.5-rc.3
1433 Mar 9th 2025 at 3:38 PM petai_v3.2.1.zip 1-click install
  • fix teleporting 
  • fix texturerotatortool
3.2.0 petai
1.20.0 - 1.20.3
6301 Mar 8th 2025 at 6:32 PM petai_v3.2.0.zip 1-click install
  • fix dogs not getting through double doors (primitive pathfinding for that though)
  • added config option for disabling damaging your own pets
3.1.2 petai
1.20.0 - 1.20.3
3621 Mar 4th 2025 at 9:23 AM petai_v3.1.2.zip 1-click install
  • Remove blacklist
3.1.1 petai
1.20.0 - 1.20.3 1.20.4-rc.4 - 1.20.4
2694 Mar 1st 2025 at 9:50 PM petai_v3.1.1.zip 1-click install
  • fix entity name not being shown
3.1.0 petai 4039 Feb 25th 2025 at 7:49 PM petai_v3.1.0.zip 1-click install
  • update translations
  • rework mortally wounded interactions
3.0.1 petai
1.20.0 - 1.20.1
19796 Jan 21st 2025 at 9:36 PM petai_v3.0.1.zip 1-click install
  • fixed mortally wounded pets
    • now works the same way as vanilla
  • no more green smoke (again -> sticking to vanilla)
3.0.0 petai 8392 Jan 11th 2025 at 6:12 PM petai_v3.0.0.zip 1-click install
  • updated to 1.20
  • now uses the same inventory and reviving system like the new elk
  • still uses the old wolf model, I can not create models on that level of detail
2.2.6 petai
1.19.5 - 1.19.8
29009 Jul 6th 2024 at 6:11 PM petai_v2.2.6.zip 1-click install
  • update translations
  • remove mordanted cushion variants
2.2.5 petai
1.19.5 - 1.19.8
3319 Jun 23rd 2024 at 7:43 PM petai_v2.2.5.zip 1-click install
  • Fix pet backpacks eating up multiple pets
  • attempt to fix null reference exceptions when using poultices
2.2.4 petai
1.19.5 - 1.19.7
15653 Apr 23rd 2024 at 8:33 PM petai_v2.2.4.zip 1-click install
  • All entities with the poulticeRevive attribute can be revived by the player 
    • example:
      {
          "code": "my-entity",
          "class": "MyClass",
          "attributes": {
              "poulticeRevive": true
          }
          ...
      }

 

2.2.3 petai
1.19.0 - 1.19.1
16813 Jan 23rd 2024 at 7:39 PM petai_v2.2.3.zip 1-click install
  • improve riding animations
2.2.2 petai
1.19.0 - 1.19.1
659 Jan 22nd 2024 at 7:29 PM petai_v2.2.2.zip 1-click install
  • fix missing textures
2.2.1 petai 3005 Jan 10th 2024 at 9:55 PM petai_v2.2.1.zip 1-click install
  • Updated to rc 6
2.2.0 petai 3216 Dec 12th 2023 at 8:36 PM petai_v2.2.0.zip 1-click install
  • update to pre9
2.0.0 petai 3890 Nov 18th 2023 at 2:35 PM petai_v2.0.0.zip 1-click install
  • Updated to 1.19 pre
  • Added a new packpack that lets you carry certain pets
  • updated default config -> pets by default no longer teleport behind you due to the introduction of the backpack, but you can simply change that via config option
1.8.1 petai 19060 Sep 16th 2023 at 3:05 PM petai_v1.8.1.zip 1-click install
  • remove unnecessary callback that keeps crashing vies mods
1.8.0 petai 5206 Aug 25th 2023 at 7:00 PM petai_v1.8.0.zip 1-click install
  • update to net7
1.7.10 petai 10395 Jun 29th 2023 at 8:00 PM petai_v1.7.10.zip 1-click install
  • More Wildcraft compatibility by Lantalia
1.7.9 petai 5264 May 25th 2023 at 6:12 PM petai_v1.7.9.zip 1-click install
  • fix pet not attacking anything if pvp is turned off
  • pet will now attack drifters that threw stones at you
1.7.8 petai 1261 May 20th 2023 at 5:51 PM petai_v1.7.8.zip 1-click install
  • New config option to turn of fall damage for pets
  • fix Nullpointerexception when using the "drop it" command
1.7.7 petai 1246 May 14th 2023 at 7:50 PM petai_v1.7.7.zip 1-click install
  • fix game crash when killing untamed creatures
1.7.6 petai 444 May 14th 2023 at 3:22 PM petai_v1.7.6.zip 1-click install
  • updated japanes translation by macoto_hino
1.7.5 petai 332 May 14th 2023 at 3:06 PM petai_v1.7.5.zip 1-click install
  • Added compatibility with medieval fashion
  • Fixed bug where pets would only chase their prey without attacking it
  • dying pets will now leave a marker on your map so they dont get lost so easily anymore
1.7.4 petai 840 May 12th 2023 at 8:45 PM petai_v1.7.4.zip 1-click install
  • Updated japanese translation by macoto_hino
  • improved on removing active pet targets
1.7.3 petai 838 May 11th 2023 at 8:13 PM petai_v1.7.3.zip 1-click install
  • added ability to actually overwrite current pet target with the whistle
    • set target will now make the pet ditch its current target and attack the new one
    • remove target will make the pet go peaceful again
1.7.2 petai 2528 Apr 30th 2023 at 5:34 PM petai_v1.7.2.zip 1-click install
  • Fix pets just looking around vividly instead of fighting sometimes
1.7.1 petai 1023 Apr 28th 2023 at 4:57 PM petai_v1.7.1.zip 1-click install
  • Fix weird teleporting behavior, pets now should only teleport if to far away from the player and not at random times
1.7.0 petai
1.18.0-rc.8 - 1.18.0
3187 Apr 18th 2023 at 8:03 PM petai_v1.7.0.zip 1-click install
  • Add config option to turn of pvp with pets
  • Add new rendering system for pet accessories so different animal can wear the same item
1.6.0 petai 1889 Mar 3rd 2023 at 6:52 PM petai_v1.6.0.zip 1-click install
  • update to 1.18.0-pre
1.5.5 petai 9793 Oct 22nd 2022 at 5:05 PM petai_v1.5.5.zip 1-click install
  • Bugfix: game somtimes crashing on pet command stay
1.5.4 petai 3624 Sep 2nd 2022 at 5:37 PM petai_v1.5.4.zip 1-click install
  • Added Reskinner Admin item -> lets you cycle through skins of pets/ creatures; located under the special tab
  • fixed: accidentail horse mounting when giving commands
1.5.3 petai 836 Aug 14th 2022 at 4:30 PM petai_v1.5.3.zip 1-click install
  • lowered whistle volume
  • fixed bug where you could revive pets after harvesting them
1.5.2 petai 599 Jul 28th 2022 at 8:46 PM petai_v1.5.2.zip 1-click install
  • Added spanish translation by AlbertPlayXD
  • Reworked pet respawning system 
    • pets no longer respawn automatically
    • no more petmanager commands
    • new system should be more intuitive and easy to use
1.5.1 petai 825 Jul 1st 2022 at 9:26 PM petai_v1.5.1.zip 1-click install
  • add petcookies
  • new command for changing pet texture 
1.5.0 petai 473 Jun 26th 2022 at 3:21 PM petai_v1.5.0.zip 1-click install
  • Updated to 1.17
1.4.4 petai 5727 Apr 29th 2022 at 7:01 PM petai_v1.4.4.zip 1-click install
  • limit pet name to 50 characters at max 
  • taming progress now shown when looking at not fully tamed pets
1.4.3 petai 1147 Apr 20th 2022 at 6:44 PM petai_v1.4.3.zip 1-click install
  • update french translation
  • add WIP admin commands for fixing rogue/ lost pets
  • reduce pet disobedience if the owner is offline
  • add infotext for required pet nest size 
  • fix pet storage for packanimals
1.4.2 petai 1605 Apr 5th 2022 at 4:12 PM petai_v1.4.2.zip 1-click install
  • Make code do less stupid shit
  • update russian translation by Radostin
1.4.1 petai 514 Apr 4th 2022 at 6:02 PM petai_v1.4.1.zip 1-click install
1.4.0 petai 536 Apr 3rd 2022 at 1:30 PM petai_v1.4.0.zip 1-click install
  • Added pet cushions in various sizes and colors to replace the old nesting system
    • larger pets need larger cushions
    • pets will now respawn at their cushion if hurt in battle 
  • Pets can now be healed using poultices
  • New config options for serverowners:
    • Limit the number of pets per player
    • make pets more obedient per generation
  • Another shot at serverperformance (I think I finally figured it out this time)
1.3.7 petai 1873 Mar 10th 2022 at 8:44 PM petai_v1.3.7.zip 1-click install
  • Fix Linux incompatibility caused by using the wrong libraries
1.3.6 petai 987 Mar 5th 2022 at 12:28 AM petai_v1.3.6.zip 1-click install
  • Try to improve performance for large servers (If you are a serverowner and experience any diffenrences, please let me know)
  • Add option for keeping textures when baby pets grow up (used in new cats update)
  • Fix uncontrollable multiply behavior by using harmony patching
1.3.5 petai 1663 Feb 15th 2022 at 6:29 PM petai_v1.3.5.zip 1-click install
  • Pets no longer attack their owner when above 50% obedience
  • Pets can now be abandoned, which makes them wild again and free for anyone to tame (dont worry, a wild dog will not attack you 😀)
1.3.4 petai 1603 Feb 5th 2022 at 4:41 PM petai_v1.3.4.zip 1-click install
  • fixed crashing when teleporting
  • fixed constant teleporting
  • fixed mounts entering a constant state of crouching when player dismounts
  • update russian translation
1.3.3 petai 777 Feb 4th 2022 at 11:29 PM petai_v1.3.3.zip 1-click install
  • Following pets can now teleport to the player when not finding a way
  • Pets can now be renamed after initial taming
  • Pets reproducing can now be toggled on and off via GUI
  • Extend base game follow command instead of creating one from scratch
1.3.2 petai 1005 Feb 1st 2022 at 6:38 PM petai_v1.3.2.zip 1-click install
  • fix crash when attacking pets
1.3.1 petai 850 Jan 31st 2022 at 10:27 PM petai_v1.3.1.zip 1-click install
  • Less horse jittering when riding
  • Fixed compatibility issue with primitivesurvival
1.3.0 petai 694 Jan 30th 2022 at 4:17 PM petai_v1.3.0.zip 1-click install
  • Added api for petarmor
  • Added api for Mountable pets
  • Added general guide for pettaming and handling
  • Reworked pet aggression levels
  • Reworked pets attack pattern
  • Added french translation
  • Fixed GUI glitch when triggering pet and whistle overlay at the same time
1.2.1 petai 1554 Jan 5th 2022 at 7:47 PM petai_v1.2.1.zip 1-click install
  • Added Magicbone to instantly tame wolfes (creative item for admins/ testing around with pets)
1.2.0 petai
1.16.0-rc.4 - 1.16.0-rc.5
572 Jan 2nd 2022 at 6:46 PM petai_v1.2.0.zip 1-click install
  • Added pet whistle to command pets from afar
  • Reworked respawn config for more options 
  • Updated to 1.16 API
1.1.0 petai 734 Dec 11th 2021 at 7:03 PM petai_v1.1.0.zip 1-click install
  • Added wearable Backpacks
  • Pets can now respawn after dying
  • Pets can now be revived after dying
  • reworked aggression level System to be less frustrating
1.0.2 petai 867 Nov 23rd 2021 at 10:42 PM petai_v1.0.2.zip 1-click install
  • Fix crash that occurred during disobedience gametick when playing on a server
1.0.1 petai 819 Nov 22nd 2021 at 7:58 PM petai_v1.0.1.zip 1-click install
  • Fixed crash when interacting with empty hand
  • added ModConfig
1.0.0 petai 552 Nov 21st 2021 at 9:42 PM petai_v1.0.0.zip 1-click install
  • Initial release
  • split "Wolf Taming" into two separate mods for more modularity

237 Comments (oldest first | newest first)

MiraLeaps, 4 days ago

Mrtrex500 I had similar the other day, your dog isn't gone, its just in a unloaded chunk. You can travel back there and they'll pop back up when the chunk reloads.

Mrtrex500, 4 days ago

I have a extreamly bad idea where if i die and respawn far away from my death my dog does not tp to me how do i fix this issue

Kaisei, 6 days ago

For some reason I have the percentage to do commands yet it says I can't.

image

Dreikner, Dec 21st 2025 at 1:00 PM

Gerste Would it be possible to add some config option so the game doesn't decrease the loot you get from hunting if your pet makes the kill? 

 

Also thank you very much for this great mod! 

litesalt, Dec 17th 2025 at 9:30 AM

Having an issue on our multiplayer server, tamed pets are despawning. We're running VS 1.21.5 and PetAI 4.0.3, and it's happened with a tamed wolf from Wolf Taming and a horse from Feverstone wilds.

 

Is there anything I can do to get them back also? The player that lost the horse was devastated. She went to mount it and it just completely disappeared from underneath her (she'd ridden it ages from base). Both animals were fully tamed.

JeniBold, Dec 16th 2025 at 12:49 AM

Gerste oh my gosh thank you man!! So awesome. <3

Gerste , Dec 13th 2025 at 6:44 PM (modified Dec 13th 2025 at 6:45 PM)

This has to stay our little secret then. JeniBold

This is petai compatible and can be configured to only show pets if you like. Wingfriend

JeniBold, Dec 13th 2025 at 4:26 AM

would love it if someone did hyena taming they're really cute...

Wingfriend, Dec 6th 2025 at 9:47 AM

Gerste

Hello! I was wondering if there is a function to let me see my pet on my minimap. I don't want to lose track of my doggo if I go hunting and they somehow get stuck or fall behind.

Orsy, Nov 25th 2025 at 8:59 PM

I’ve updated the Korean translation on the Crowdin project :) Hope it helps!

TamanduaGirl, Nov 20th 2025 at 7:35 AM

Thanks. The furrier was selling an arctic foc kit, so of course I had to save him. Now I can make him love me <3

Krieger01, Nov 13th 2025 at 2:39 PM

when you tame an animal its obediance is 0% youll want to feed it some more to make it obediant.

Vili, Nov 13th 2025 at 4:59 AM

I've been having some issues running this on the latest versions, I fully tamed an adult cat, but it's not listening to any of my commands. If i tell it to stay, the chat say it won't listen as it needs an obedience of 30.0002%, if i tell it to follow, it says it needs an obedience of 20%. I'm just kind of confused because it's fully tamed - is obedience a separate thing from taming?

Battlemints, Oct 18th 2025 at 11:00 PM

Is this usable on 1.21.4?

Layziily, Oct 18th 2025 at 5:12 PM

will this be updated for 1.21.5 i think we're on?

Tyrnn, Oct 17th 2025 at 2:51 PM

Is there a tutorial on how this mod(and Wolf Taming) actually work? I am struggling with getting a pup to actually grow or do anything.

EthelVril, Oct 13th 2025 at 8:45 PM

Please make them avoid fire... or have a setting that makes them invulerable to it, they die to kilns, firepits, etc all the time its really annoying

Corvie, Oct 9th 2025 at 1:15 AM

Does the pet player damage setting work on elks? I'd love to not accidentally hurt my elk.

Malikyte, Sep 15th 2025 at 1:50 PM

SRPENEtrante In my game (1.20.12) this is already a thing. I can pet my pets (and any animal, actually, wild or tame) normally, and if I want to open the command menu I have to hold a modifier like ALT. Check your in-game keybinds if you haven't already.

SRPENEtrante, Sep 8th 2025 at 3:00 PM (modified Sep 8th 2025 at 3:00 PM)

Tengo un problema muy serio, cuando quiero acariciar a las mascotas (un gato ahora mismo, pero en versiones anteriores me paso tambien con los lobos) No puedo, no me permite porque se abre el menu de comandos, y es una molestia total porque no hay forma de cambiar los controles para poder acariciar a las mascotas en lugar de abrir el menu de comandos. Yo preferiria que se abriera de otra forma, no se, con otra convinacion de teclas, puede ser con ALT + Right Click o algo asi que no incomode tanto, o que minimo te permita cambiarlo desde los ajustes o un config.txt cualqueir cosa me sirve con tal de que deje de suceder esto. 

The same as above but in your lenguage: 

I have a very serious problem: when I want to pet the pets (a cat right now, but in previous versions it also happened with wolves), I can’t. It won’t let me because the command menu opens, and it’s a total annoyance since there’s no way to change the controls to pet the pets instead of opening the command menu. I would prefer it to open in another way, I don’t know, maybe with another key combination, like ALT + Right Click or something like that so it’s not so inconvenient, or at least let you change it from the settings or a config.txt. Anything works for me as long as this stops happening.

Ygdrad, Sep 7th 2025 at 5:25 PM

Does getting a pet need to involve spawning of the magic golden bone or is there a way to do it without cheats?

Tyrnn, Sep 1st 2025 at 2:23 AM (modified Sep 6th 2025 at 8:23 PM)

If I want to add more items that can be used as Resurrectors, how do I find the items game code?
I see the default "game:gear-temporal" but I am unsure how to find item code IDs.

Gerste

 

Does anyone know??

Mulciber, Sep 1st 2025 at 12:33 AM

Thank you for all the work that goes into these mods.

I have an incredibly dumb question.

How do you actually...like...pet the pets?  Give 'em a friendly pat on the head or whatnot?  

jayu, Aug 29th 2025 at 12:11 AM (modified Aug 29th 2025 at 12:11 AM)

Anything in particular to know about updating dependencies to the 1.21 version (4.0.0)? Ngl I haven't paid attention to the changes to entities.

Leanna, Aug 27th 2025 at 7:18 PM

Thank you so very much!!!

Gerste , Aug 27th 2025 at 6:31 PM

yes, the newest version should have you covered Leanna

Leanna, Aug 26th 2025 at 2:16 PM

Is there a plan to update this mod and wolf/cat/hare taming to 1.21?

Hypertion, Aug 16th 2025 at 11:17 PM

Anyone ever had a tame in progress randomly change owner?

shami, Jul 13th 2025 at 2:56 PM

lydocia
Pretty sure you can heal them with poultice.

Gerste
Sorry for bothering, but I have stumbled on an issue whilst playing with your mod. I am playing a modded server with my friends and have been using your mod without any issues before I had to reinstall Windows, after which I noticed that all of the UI and Items under the PetAI mod seems to be missing. Items look like and whenever I hover over pets, their UI looks like this. The game is running on 1.20.12 and this is the modlist of our server. Personally I tried to redownload the mod on my client, then on the server. We have also tried to restart the server, but nothing has worked as of now. Do you or anyone else have any tips/a fix for this?
EDIT: Seems like I have something corrupted/broken with my Vintage Story download, after I reinstalled it it works fine now.

lydocia, Jul 10th 2025 at 9:16 PM

I have no idea how to save a mortally wounded pet.

Rhyagelle, Jul 3rd 2025 at 2:30 AM

Roger, thank you so much!!!! :)

Gerste , Jul 1st 2025 at 5:57 PM

Setting the disobedienceMultiplier to 0 should do the trick. Rhyagelle

Rhyagelle, Jun 30th 2025 at 11:18 PM

Can you completely disable disobedience, so that they do not lose obedience? If so, how would one go about that?

Gerste , Jun 26th 2025 at 5:27 PM

The whistle has an additional recipe using a chisel for reasons like that (and because of an old incopatibility with wilderness survival). lydocia

lydocia, Jun 26th 2025 at 1:31 PM

The Whistle has the same recipe as the vanilla Bone Flute. How do I diferentiate between the two?

Gerste , Jun 17th 2025 at 2:49 PM

This mod does not have passive feeding. However your pets will not starve if not fed, they just won't be very obedient until the next cookie. merryclefairy

Rui333, Jun 16th 2025 at 12:19 AM

Gerste This is a compromise I can live with LOL just so long as I babyproof my house and make sure to shut the doors behind me. Tysm!

merryclefairy, Jun 16th 2025 at 12:02 AM

hello, i was curious for cats, do they eat from the troughs like for wolves too? would this mod be responsible for passive feeding? i can't quite figure out how to many sure the kitty stays fed if i'm away from a long time like from a pet bowl or something =( i guess i can try putting meat in a big trough for now but wondered if there's a definitive answer !! thank you

Gerste , Jun 15th 2025 at 11:26 AM

I got some good new and some bad ones for you.
The bad news is: I checked the code and the kittens are not commandable at all, they just do what they want.
The good news: Even on the newest vanilla update, once your cat is and adult you should be able to make it stay or follow just like you wanted to. Rui333

Rui333, Jun 15th 2025 at 3:09 AM

oh my goodness i'm so sorry, i forgot i was on the latest stable version of BS (1.20.12) and didn't think to check if it was updated for that, my bad!!

 

on the bright side: it still half-works!

Rui333, Jun 14th 2025 at 9:12 PM

Ahhh okay. I honestly have no problem with the feature, and I guess shame on me for not reading or recalling the part in the guide where "cats do their own things most of the time" haha. I don't know if it's possible, but something like a hover-over for each command at what obedience it works at and if it doesn't work for specific creatures/stages would be super helpful!

 

Also, I'll have to get back to you on that. Currently the only interaction I can do with the kitten is feeding (block interaction help enabled) so something clearly went wrong somewhere and I need to go through the debugging process to see if there's a conflict somewhere.

Gerste , Jun 14th 2025 at 5:38 PM

The kitten does not listen to the stay command, only the adult cats do so. In prior versions of the wolf taming mod this was true for puppies to, maybe I should change that here too? To see which commands the kitten can execute, you need to interact directly with it and ignore the pet whistle. Rui333

Rui333, Jun 14th 2025 at 1:05 AM

Khaan
I've been playing with Pet AI for at least a month now and haven't had any Pet AI-related crashes.

 

Gerste

Not sure if I should put this in here or in the cats mod, but I've been having the issue where my kitten does not seem to want to "Stay", despite being over 90% obedience consistently and despite me using the command on the bone whistle. No matter what I do I always come back to my base with the kitten pressed up against the wall/window/door like it was trying to follow me.

I just updated to the most recent versions too (3.4.3 for pet ai and 3.2.0 for cats), had this issue before updating and still having it now.

I know the kitten isn't following the Stay command because in another game where I had the tameable wolf, it listened to the stay command - wandering around the base but not attempting to follow when I leave. Definitely not having that experience with the kitten.

merryclefairy, Jun 13th 2025 at 8:51 PM

Gerste thank you!! 

Khaan, Jun 13th 2025 at 6:27 PM

Hey , just wanted to ask if this mod works good right now, because i was looking for a cat mod and others said that they would need your mod to get cats but it had many crashes and was kind of buggy when they had it last time (like one or two months before the last update on this mod)

so just wanted to know if these problems are fixed now?

Gerste , Jun 13th 2025 at 6:23 PM

Hi, I added a long overdue FAQ for tackling those questions. AtrophyTwink merryclefairy

Will be included in the next version. Arkathus

merryclefairy, Jun 12th 2025 at 10:52 PM

hello , are these compatible with the fauna of the stone ages mods ^^ ? for related critters maybe? like i think they add some foxes and i wonder if the foxes are compatibile with the fox taming? if that makes sense. sorry for the question if it is a nuisance , thank you

AtrophyTwink, Jun 12th 2025 at 2:04 PM

Does anyone know if there is a way to disable or signficantly slow down obedience decay on tamed dogs? I have the config in front of me and have read the documentation I can find but I can't figure out which of thse values I need to alter to achieve that and only that. I'd like to be able to go on several day long adventures without coming back to my dog below 50% obedience.

Arkathus, Jun 2nd 2025 at 11:48 AM

Translation es is fully completed https://crowdin.com/editor/vintage-story-mods/275/en-es

 

Bcav712, May 29th 2025 at 6:45 AM

PrimeAmbition did you figure out the teleport thing yet? I would assume it works like how pets in Minecraft teleport to you when you get too far.

Edit: yup its exactly like Minecraft which is perfect. Imo probably should be on by default it makes traveling so much easier.

Gerste , May 5th 2025 at 6:36 PM

The mortally wounded stuff is actually a vanilla feature. I am just using it, not creating it, so providing tooltips for it is a bit difficult.

Do you have interaction-help activated? I think this in combination with the guide should give you a good start to things. If there is something that is misdocumented/ missing you can report it here or on the official VS discord in the Pet AI section. Sofcrew

Sofcrew, May 5th 2025 at 2:59 AM

Gojira_Tanaka poultice + ctrl. took a bit for me to figure out too. i wish the mod author was more clear about anything.

Gojira_Tanaka, May 2nd 2025 at 2:53 PM

How do you heal a mortally wounded pet?

icehorse, Apr 25th 2025 at 9:10 PM

compatible with fauna of the stone age?

pokiipanda, Apr 15th 2025 at 12:41 AM

Unfortunately I can't get an error log but for some reason my other players were able to tame wolves now. Like, one player wasn't able to do it, but then another one was. So like you said, some experience the bugs and then some don't.

Gerste , Apr 14th 2025 at 3:57 PM

Basically I need a guide on how to recreate the error on my end. pokiipanda

Appearantly some people are suffering from errors like these, while for some they do not seem to occur. So something about them must be different. Maybe they used different items to tame them. Maybe they all have one specific dog race thats bugged. 

What also helps is error logs of the game if there is anything taming specific in them. Oh and game/ mod versions is also useful info.

pokiipanda, Apr 12th 2025 at 12:57 AM

How would you be able to take a look at it? Just wondering what you need from me so you can try and troubleshoot it. Thanks. Gerste

Gerste , Apr 11th 2025 at 2:59 PM

I do very much appreciate it. Especially because you would not have to suffer any consequences if you did not. Of course I accept it. Have fun playing. SoggyGravel

If you can provide me a reliable way to reproduce that behavior, I can take a look at it. pokiipanda

pokiipanda, Apr 11th 2025 at 9:04 AM

Is there a way to transfer ownership of a pet? I would like to give one of my wolfdogs to my partner in our server.

Also it would seem that some of the players in my server are having issues taming wolves. They have no option to use commands even after reaching full taming level.

SoggyGravel, Apr 10th 2025 at 8:22 PM

Gerste I owe you an apology. i NEVER should have acted the way i did and left the comment i left. if i had an issue with the mod i could have just uninstalled it..

Truth is i "Love" your mods and  what you have done for this community.. i had no reason to act  the way i did. i only hope you can accept this apology.. Best  regards🌴 and have a  good one

Gerste , Apr 5th 2025 at 11:06 AM

Works in my tests. Do you have an older version of the mod? This bug was only fixed recently. Sihg

Sihg, Apr 5th 2025 at 10:23 AM

Subject: Error with "Fur/Robe Modifier (Blue Bone)" - NullReferenceException

Hello,

I'm encountering an error with the PetAI mod on my server (version 1.20.4) related to the object "Fur/Robe Modifier (Blue Bone)". When a player interacts with this object, a NullReferenceException is triggered, disconnecting the player. Below are the logs:

Exception: Object reference not set to an instance of an object.
at PetAI.ItemTextureRotator.OnHeldInteractStart(ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, Boolean firstEvent, EnumHandHandling& handling) in ItemTextureRotator.cs:line 14

Exception: Object reference not set to an instance of an object. at PetAI.ItemTextureRotator.OnHeldInteractStart(ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, Boolean firstEvent, EnumHandHandling& handling) in ItemTextureRotator.cs:line 14

The issue seems to be a null reference in ItemTextureRotator.cs. This only occurs with this specific object.

Thanks for your help.

Best regards,

PrimeAmbition, Mar 21st 2025 at 2:36 AM

What does "AllowTeleport" in the config do exactly? I assumed it would allow your pets to teleport to you, but it doesn't seem to work that way.
I've been using the Wolf Taming mod on a server and have lost several high-obedience pets due to their pathing. I was hoping that "AllowTeleport" would help by teleporting my pet to me, but it seems not to work that way at all.

TheG33k, Mar 19th 2025 at 11:18 PM

How do I get to the screen to set passive, aggressive etc?

Gerste , Mar 18th 2025 at 6:18 PM

Did a quick test, seems to work just fine jayu

jayu, Mar 18th 2025 at 1:31 PM

Asking for confirmation, is 3.3.0 ready to be used on 1.20.5 (stable) too? Just so I can update mods that depend on this.

Gerste , Mar 17th 2025 at 6:38 PM

It is stored in the vanilla game. Whenever the game encounters an entity it does not recognize, it simply deletes it to avoid further crashes. This sadly also means that if a mod introducing entities stops working and you dont have a backup, all entities that are in loaded chunks are lost. F0rged

F0rged, Mar 17th 2025 at 12:21 AM

Where is information about tamed animals stored?
After updating from version 3.1.1 to version 3.3.0, all animals disappeared. Rolling back to version 3.1.1 didn't solve the problem.

jayu, Mar 16th 2025 at 7:00 PM

SoggySome I specified to use 3.2.0 in my mod description ;(

Gerste , Mar 16th 2025 at 6:38 PM

As discussed by previous comments, the new version is not for the current stable game version (see under the files tab). SoggySome

jayu, Mar 15th 2025 at 12:06 AM

Made a mod that uses this on chickens! https://mods.vintagestory.at/chickenpet

Gerste , Mar 10th 2025 at 5:51 PM

Junrall They are not applicable to 1.20.4. The texture tool fix needs the newest version, as there has been restructuring in server side texture handling.

crumps, Mar 9th 2025 at 9:05 PM

I'm a p update = hit install button but it seems the newest version of the mod is on 1.20.5 rather than 1.20.4. Checked the website and its not officially out yet. I installed back to the 1.20.4 version and everything seems to be loading fine. I would suggest ignoring the most recent update unless you're using the 1.20.5 pre-release builds.

Junrall, Mar 9th 2025 at 7:16 PM

Gerste

Are the latest fixes not applical to 1.20.4 or are you thinking VS is going to be on 1.20.5 stable soon?

Vanteal, Mar 9th 2025 at 6:13 PM

All I get is a message saying "Unable to load mod, a dependency has an error"

NeneBun, Mar 4th 2025 at 9:27 PM

The UI for pets is bugged and won't display information correctly, any idea if this is the fault of pet AI or wolf taming?
https://imgur.com/a/QycWisJ

Rorax , Mar 4th 2025 at 7:14 PM

to be clear @gerste a uuid blacklist is not what constitutes malicious.

The issue is purposfully causing the client to crash, this becomes malicious because you are preventing the user from using the software on their machine (Vintage Story) if the actions of using a UUID blacklist were to remain in the territory of your mod and no further this would not be malicious.

specific user code however (unless rewarding) is usually considered a faux pas in modding communities so thank you for your consideration.

sekelsta, Mar 4th 2025 at 12:47 PM

Gerste, I am glad that you removed the blacklist. I have a lot of respect for the ability to acknowledge a mistake and aim to be better. Hopefully things settle down soon and we can go back to just making cool mods. With love, Sekelsta

GhostPower, Mar 4th 2025 at 11:52 AM

installed without any worry. clearly not as large of a thing as what it might seem like

Kreeate, Mar 4th 2025 at 11:09 AM

Instantly uninstalled this and all related files.  Will not be using again.

Gerste , Mar 4th 2025 at 9:51 AM

I think the term malicious code is a bit harsh.

I never wanted to be one of those people to argue back and forth on the internet with rude strangers.
But looking at it now preventing those people from playing with my mod is not really that much better.
That is not the person I want to be so the blacklist ist removed with the newest version and I am sorry for the inconveniences I caused. Rorax

It is not really possible to check if you hit your pet by accident or not, so this is intended behavior as of now. Maybe I should prevent pets from being damaged by their owners completely. Blaankket

Immortalartisan, Mar 4th 2025 at 7:19 AM

I just want to say it massively dissapointed seeing that your an author petty enough to utelize a UUID blacklist. a friend was massively hoping to use your wolf taming mod since those mechanics didnt exist in vannila yet.

Blaankket, Mar 4th 2025 at 5:17 AM

Hey, I know you've got some stuff going on right now but I wanted to share that when my pets are set to protective, they all attack one pet if I accidentally hit it. 

Thranos, Mar 4th 2025 at 2:54 AM

Wow.
I... don't think we'll be using this mod (nor associated ones) on our server anymore.
Unfortunate that things went this way.

Rorax , Mar 4th 2025 at 1:53 AM

Gerste

You currently have code in your mod that is malicious and crashes the client for certain users when your mod is installed. This is in breach of our mod rules. Please remove the malicious code or further action will be taken.

System.Exception: This mod does not work for you User at PetAI.PetAI.<>c__DisplayClass5_0.<AssetsFinalize>b__0(KeyEvent keyEvent) at Vintagestory.Client.NoObf.ClientMain.OnKeyDown(KeyEvent args) in VintagestoryLib\Client\ClientMain.cs:line 1747 at Vintagestory.Client.NoObf.ClientPlatformWindows.game_KeyDown(KeyboardKeyEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 230 at OpenTK.Windowing.Desktop.NativeWindow.KeyCallback(Window* window, Keys key, Int32 scancode, InputAction action, KeyModifiers mods) --- End of stack trace from previous location --- at OpenTK.Windowing.Desktop.NativeWindow.RethrowCallbackExceptionsIfNeeded() at OpenTK.Windowing.Desktop.NativeWindow.ProcessWindowEvents(Boolean waitForEvents) at OpenTK.Windowing.Desktop.GameWindow.Run() at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 334 at Vintagestory.Client.ClientProgram.<>c__DisplayClass10_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 130 at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93

VaelophisNyx, Mar 4th 2025 at 12:59 AM

Avoid downloading this one folks, the author has decided to start UUID blacklisting players from using the mod at all :)

https://github.com/G3rste/petai/blob/2e242a8669cbcf91e3add1e15392188737303ddc/src/Systems/PetAI.cs#L90 <- source

 

Don't tolerate this childish behavior

Lumvik, Mar 3rd 2025 at 12:01 AM

I don't know why, but when connecting to the server, some kind of UUID is now displayed in the chat, I guess.
New world, vanilla, and Petai v3.1.1.

Aksyl, Feb 9th 2025 at 7:22 PM

Same issue, no options for resurrectors in configs.

 

[ipcMain] [execute-game] Game sent an error: Unhandled exception. System.Exception: Don't know how to instantiate collectible behavior of class 'considerpetfood' did you forget to register a mapping?

A player in my game got this error when attempting to join.

Honestly101, Feb 7th 2025 at 6:30 AM

Found a couple bugs tamed dogs cant go through doors or double doors and shifters...... upon coming close to a tamed cat whilst locked onto the player start to ignore you just to stand still and stare at the cat remaining locked onto the cat but not attacking it whilst not reacting to being hit by the player..... "i think the machine god likes cats".

Admiral_Zander, Feb 7th 2025 at 5:42 AM

theres no "resurrectors" in the config, preventing any resurrection of pets

DejFidOFF, Feb 2nd 2025 at 12:40 PM

Hello o/ Gerste

there is not     "resurrectors" in the config. And healing pets not working

 

TheDarkClaw, Jan 31st 2025 at 10:20 PM

i cant set the resurrectors in the config... help? its overwriting it every time i start the server. i just want to revive my poor cat 😢

ssunny2008, Jan 30th 2025 at 7:04 PM

Hi guys,

dunno if i´m just dumb, but i´m sure i´ve been able to breed cats, wolfs etc... in the 1.19 version on our old server.
It doesn´t seem to be possible right now?! Cats atleast don´t come with male/female infos.

Do i miss something or just another mod but PETAI?

DejFidOFF, Jan 26th 2025 at 10:40 PM

Gerste

Where are the PET backpacks? :( :(

RinVindor, Jan 19th 2025 at 8:24 AM

So I've noticed that the creatures using PetAI don't seem to avoid hot surfaces. I've had animals multiple times walk into hot things like fire pits and cooling metal in molds until they die. Can we get that fixed?

TheRealDiggyChz, Jan 17th 2025 at 11:52 PM

AzuliBluespots It only affects the the dogs in the mod, vanilla wolves are still the new model.

MRGOOSE, Jan 14th 2025 at 5:28 PM

pet backpack is gone??

Snowfious, Jan 13th 2025 at 2:03 AM

Unless I'm missing something, please add compatibility with Carry-On, so we can carry our pets to get them out of spaces if and when they fall into.

AzuliBluespots, Jan 11th 2025 at 8:12 PM

Does it revert the wolf back to the old model? Or is it for the wolfdog/dog in the mod?

Moonshadow, Dec 16th 2024 at 9:23 AM

MrJaxDandelion - I had a similar issue when we pulled one of my builds into the Bohemian server. I wondered if it was a 'timestop' mechanic as the bees and crops also had issues. in the end the admin replaced the pets for me

MrJaxDandelion, Oct 24th 2024 at 1:13 PM

i got a bug i think, i transfered my pets to a new world via world edit but now none of them can be tended to, i created a bunch of carnivore pet cookies but neither my 2 cats nor my 1 dog can eat them and it doesn't matter how much time i let pass it always says they aren't ready to be tended to

Pied_Piper, Sep 9th 2024 at 6:36 AM

Hello! 

Loving this mod so far and we've been using it on our server, however, is there a way for other players to feed each other's pets? We have a group that plays a little sporadically with each other and trying to feed one another cats to make sure they don't die or have too low obedience seems impossible at the moment. 

Any help would be deeply appreciated! 

Pied_Piper, Sep 9th 2024 at 6:36 AM

Hello! 

Loving this mod so far and we've been using it on our server, however, is there a way for other players to feed each other's pets? We have a group that plays a little sporadically with each other and trying to feed one another cats to make sure they don't die or have too low obedience seems impossible at the moment. 

Any help would be deeply appreciated! 

Kalonie, Sep 2nd 2024 at 2:16 AM

suggestion i have after what just happend me XD

is it possible to make it so tamed pets dont attack gen 1 and up livestock? I just had one of my german shepards hop the fence (snow layers let all pets hop fences when jumping) and murder my entire pen of gen 1 pigs because one of the sows hit him through the fence. I made a chisel fence they cant reach through anymore but its still a big problem. My gaurd dogs constantly hop the fences during winter chasing down drifters and other enemies. ive had my cats do the exact same thing and wipe out all my chickens.

also maybe it is possible to make an option to not have them attack eachother when you accidently hit one of them? I know you can revive dead pets but still its annoying when i accidently slap a pet while buidling or something and then entire pack comes running from the fields to maul it death.

Gerste , Jul 25th 2024 at 7:21 PM

Crouch + Right Click to pick up a pet.
Crouch + Right Click to put down a pet. 

Bot with the Backpack in your right hand slot. Yombo ArgusFowler

Yombo, Jul 25th 2024 at 12:42 AM

I am also trying to figure out how to use the pet backpack. There is no description on the backpack that gives any indication on how to use it. I've tried wearing it and in my hotbar. I've tried shit, alt, and ctr clicking while selected in the hotbar or when worn.

ArgusFowler, Jul 24th 2024 at 2:00 AM

Could I get some info on how the pet carrying backpack is used?   I do see that someone previously asked this, but all they got was a "it should be in the description."   Maybe I'm missing something but I do not have any such description on the item or in the survival handbook.  

KermAtMeBro, Jul 2nd 2024 at 5:17 PM

Sorry if this has been adressed, but any pets of mine don't follow commands

I cannot command my pup, or my horse (feverstone's horses), any attempt gives me a message along the lines of "This animal is not tamed enough, tame percentage needed, X%" despight them being tamed 100%, I've tried this with multiple horses

I have to pen my horse in, and my pup is still in the pit I hearded it into to catch it, the pup wont run away from me, but wont follow any commands, and I've spent a LOT of time chasing down my horse before I made a pen/whenever I get off him to go exploring/prospecting

Chrizzlybear, Jul 2nd 2024 at 11:58 AM

Hi, i updated the german translation.
de.json

Chell_Sky, Jun 24th 2024 at 10:13 AM

how does the attack command from pet whistle supposed to work? my wolf doesn't seem to attack anything when i try using it, even when i punch something

AngliNex, Jun 23rd 2024 at 4:36 AM

Can't use clean bandages on my pet to heal it.  Nothing works now.  No poultice no bandage nothing.

Grifthegnome, Jun 23rd 2024 at 3:39 AM

Gerste

Hey there, getting a crash when if I try to pick up a player corpse from player coupse mod while a poultice is selected in my inventory hotbar while running PetAI Mod, here's the callstack:

System.NullReferenceException: Object reference not set to an instance of an object.
at PetAI.PoulticePatch.Prefix(Single secondsUsed, ItemSlot slot, EntityAgent byEntity, EntitySelection entitySel) in E:\Workspace\vintage_story_mods\petai\src\Systems\Patches.cs:line 65
at Vintagestory.GameContent.ItemPoultice.OnHeldInteractStop_Patch1(ItemPoultice this, Single secondsUsed, ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel)
at Vintagestory.API.Common.CollectibleObject.OnHeldUseStop(Single secondsPassed, ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, EnumHandInteract useType) in VintagestoryApi\Common\Collectible\Collectible.cs:line 1162
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.HandleHandInteraction(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 313
at Vintagestory.Client.NoObf.SystemMouseInWorldInteractions.OnGameTick(Single dt) in VintagestoryLib\Client\Systems\Player\MouseInWorldInteractions.cs:line 160
at Vintagestory.Common.GameTickListener.OnTriggered(Int64 ellapsedMilliseconds) in VintagestoryLib\Common\Model\GameTickListener.cs:line 27
at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world) in VintagestoryLib\Common\EventManager.cs:line 81
at Vintagestory.Client.NoObf.ClientMain.MainRenderLoop(Single dt) in VintagestoryLib\Client\ClientMain.cs:line 815
at Vintagestory.Client.NoObf.ClientMain.MainGameLoop(Single deltaTime) in VintagestoryLib\Client\ClientMain.cs:line 731
at Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary(Single dt) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 200
at Vintagestory.Client.ScreenManager.Render(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 676
at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in VintagestoryLib\Client\ScreenManager.cs:line 651
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 88
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 324
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 128
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93

PhyDoesStuff, Jun 15th 2024 at 6:38 PM

Gerste

There seems to be an issue with the default values of any of the *Multiplier*PerGen values. Because they're all greater than 1, it's causing the following as gens increase:

  • obedience decay fluctuates wildly across generations
    • gen 0 = no effect
    • odd gens see obedience decay reverse: -0.3 decay/day for dogs at gen 1
    • even gens see decay increase dramatically: 1.6 and 6.4/day for dogs at gens 2 and 4, for example.
  • taming and obedience recovery on feeding an animal can be maxxed at gen 2+, allowing for instant taming and immediate full obedience recovery

These should probably default to a number less than 1 but greater than 0 to see more reasonable benefits as generation increases.

 

Ghaelen

The multiplier values describe the base difficulty for their associated tasks (taming, obedience increase, obedience decay). Combined with their multiplier-per-gen values and generation, and animal-specific multipliers (for obedience and disobedience), you get how hard or easy it is to tame and keep obedient an animal type will be. Increasing the taming/obedience multipliers will increase those tasks' gain, while increasing disobedienceMultiplier increases the rate at which obedience decays. and the reverse applies for when those values are less than 1 but greater than 0. Setting them to be negative will probably do very, very strange things and should be avoided.

MrTango, Jun 12th 2024 at 5:57 PM

Would be cool if pets gave some audible feedback when commanded direct or whistle, like an acknowledgement sound, to let the player know command recieved.

And straw/hay cushions for early game.

DejFidOFF, Jun 10th 2024 at 5:59 PM
WarlockActual, May 28th 2024 at 2:53 AM

Maamessu Probably horses

Maamessu, May 26th 2024 at 4:38 PM

I also wanted to ask: What eats the herbivore pet cookies?

Maamessu, May 25th 2024 at 11:55 PM

Wanted to report a bug with the pet carrying backpack... It so happens that you can put more than one pet inside it, but only the last one inserted will come back out. The bag basically eats the others as tribute to the mod gods. This specifically happened with cats on a server.

OliverRook, May 25th 2024 at 9:21 PM

Same problem as bratmoroll. Tried an entire stack of reed-horsetail poultices but nothing happened. They are listed in the config by default and I haven't changed that.

bratmoroll, May 21st 2024 at 6:45 PM

My pets (a cat and 2 wolfdogs) died due to a drifter from a temporal storm finding its way in. Tried countless amounts of reed-horsetail poultices, but only a clean bandage works. I am not sure if this is a bug, but glad to have my pets back!

MrTango, May 21st 2024 at 5:44 PM

Plz can you make a primative pet cushion, say out of hay, for early game.

Agentfyre, May 20th 2024 at 10:52 PM

Thank you!

Gerste , May 20th 2024 at 7:47 PM

Yes, its located where all modconfig files are located. /VingatestoryData/ModConfig Agentfyre

Agentfyre, May 20th 2024 at 1:03 PM

Where can the modconfig file be found? Is it a json file?

Vedrit, May 12th 2024 at 8:04 AM

I found an exploit in multiplayer. If a player improves the obedience of a pet they do not own, there is no cooldown on improving obedience, though they otherwise cannot interact with the pet.

Ghaelen, May 11th 2024 at 1:16 PM

@Gerste

 

Can you please describe what disobedienceMultiplier does?  I assume it's related to the mechanic that controls the decrease of obedience through time.   From the description "Decrease value for less obedience" it sounds like if the number is increased from the default of 1.0, the pet's obedience will decrease slower.

But this seems opposite of the variable name -- "disobedience multiplier" sounds like increasing it will make the obedience decrease faster.

Can you please describe what disobedianceMultiplier does exactly?  Thank you!

Gerste , Apr 27th 2024 at 11:04 PM

Depends on the config of your server. The items that are valid resurrectors can be set via config file. Moonhunter

Moonhunter, Apr 27th 2024 at 5:20 PM

Does the resurrection not work on multiplayer server? I can resurect pets in a singleplayer save just fine. But in a multiplayer server the poultice gets used but the pet doesnt stand up. 

I3eauLeBoi, Apr 23rd 2024 at 9:35 PM

Gerste

We've come to realize its not because of a old installation, this was before todays update.
We've just used the "install" option which was most likely 'tied' to a older version of the petai mod.
So we kept downloading a older version without realising. Today it worked because the 'install' promt here on the page was now set appropiately.

Cheers nontheless!
The server is now up and running with no faults c:

Gerste , Apr 22nd 2024 at 7:05 PM

Looks like you still have an old installation laying around somewhere that messes things up: [petai] Exception: \Vintagestory\server\Cache\unpack\petai_v2.0.0.zip I3eauLeBoi

I3eauLeBoi, Apr 21st 2024 at 7:26 PM

Hello! Gerste,

Here's a another log about PetAI and wolf taming from the server.

21.4.2024 21:06:59 [Notification] Mods, sorted by dependency: rpgitemrarityreborn, game, betterruins, commonlib, petai, sharablewaypoints, creative, survival, woodenfortifications, xlib, playercorpse, wolftaming, xskills 21.4.2024 21:06:59 [Error] [petai] Exception thrown when attempting to retrieve all types of the assembly petai, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. Will ignore asssembly. Loader exceptions: 21.4.2024 21:06:59 [Error] [petai] Exception: Unable to load one or more of the requested types. Method 'GetShape' in type 'PetAI.ItemPetAccessory' from assembly 'petai, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) at System.Reflection.Assembly.GetTypes() at Vintagestory.Common.ModContainer.GetModSystems(Assembly assembly) in VintagestoryLib\Common\API\ModContainer.cs:line 527 21.4.2024 21:06:59 [Error] [petai] Exception: Method 'GetShape' in type 'PetAI.ItemPetAccessory' from assembly 'petai, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. No stack trace 21.4.2024 21:06:59 [Error] [petai] An exception was thrown when trying to load assembly: 21.4.2024 21:06:59 [Error] [petai] Exception: \Vintagestory\server\Cache\unpack\petai_v2.0.0.zip_a75f2b4a6d36\petai.dll declared as code mod, but there are no .dll files that contain at least one ModSystem or has a ModInfo attribute at Vintagestory.Common.ModContainer.LoadAssembly(ModCompilationContext compilationContext, ModAssemblyLoader loader) in VintagestoryLib\Common\API\ModContainer.cs:line 462 21.4.2024 21:07:00 [Notification] Instantiated 123 mod systems from 12 enabled mods

King_Doggo, Apr 14th 2024 at 3:57 AM

Hey can you expand a bit on what you mean by "Resurrectors" and where the ModConfig.. Is? - Only one I have that is changeable is Malteiz's Firearms, otherwise the in-game Mod Config menu seems to not detect Pet AI as far as I can tell.

 

I've dove into the Pet.AI zip file and got a whole lot of nada.

 

Edit: Oh - You mean just general healing items - Well figured it out myself.

N7Maggus, Apr 10th 2024 at 12:14 PM

Hi, what is the setting "teleport" doing. Thanks

Wolfzank, Apr 8th 2024 at 7:55 AM

Tested it and it's exactly what I needed. Thanks a lot again for your help! And for the work you do with this and your pet mods, they're all amazing ^^ Gerste

Gerste , Apr 7th 2024 at 3:03 PM

Try this one Wolfzank

Wolfzank, Apr 7th 2024 at 2:15 AM

Aloha, I wanted to ask if there's a way to disable friendly fire for pets? Everytime I hit one of my dogs by accident, they all start killing each other. I've been setting them on passive to revive the dead ones and back on protective, but it can get a bit tiring sometimes, especially when hunting with a pack or during temporal storms.

BadRabbit49, Feb 26th 2024 at 12:55 AM

Someone should really use these APIs for making like a bodyguard/soldier mod. Would be really useful for PvP armies and the like. I'm tempted to try and make one myself but I'm afraid of getting into a whole new project with an unfamiliar code language.

VSVillage has guards which are great against mobs and even guarding with the Quest enabled but just not very suitable for PvP since you can't equip them yourself with weapons or armor or really give them orders. Also they wander around alot and get lost.

TRexTheHunter, Feb 2nd 2024 at 6:53 PM

If this could be of any help? Found in client-main log while looking for something else.

---

2.2.2024 12:56:57 [Warning] (x_x) Captured 14 issues during startup:
2.2.2024 12:56:57 [Warning] Texture asset 'e:textures//workspace/vintage_story_mods/wolftaming/resources/assets/wolftaming/textures/backpack/backpack.png' not found (defined in Shape file petai:backpack/backpack-empty).
2.2.2024 12:56:57 [Error] Missing mapping for texture code #null during shape tesselation of item feverstonehorses:creature-horse-male-arabian using shape feverstonehorses:entity/land/horse-arabian
2.2.2024 12:56:57 [Error] Missing mapping for texture code #null during shape tesselation of item feverstonehorses:creature-horse-male-arabian using shape feverstonehorses:entity/land/horse-arabian
2.2.2024 12:56:57 [Error] Missing mapping for texture code #null during shape tesselation of item feverstonehorses:creature-horse-male-arabian using shape feverstonehorses:entity/land/horse-arabian
2.2.2024 12:56:57 [Error] Missing mapping for texture code #null during shape tesselation of item feverstonehorses:creature-horse-male-arabian using shape feverstonehorses:entity/land/horse-arabian
2.2.2024 12:56:57 [Error] Missing mapping for texture code #null during shape tesselation of item feverstonehorses:creature-horse-female-arabian using shape feverstonehorses:entity/land/horse-arabian
2.2.2024 12:56:57 [Error] Missing mapping for texture code #null during shape tesselation of item feverstonehorses:creature-horse-female-arabian using shape feverstonehorses:entity/land/horse-arabian
2.2.2024 12:56:57 [Error] Missing mapping for texture code #null during shape tesselation of item feverstonehorses:creature-horse-female-arabian using shape feverstonehorses:entity/land/horse-arabian
2.2.2024 12:56:57 [Error] Missing mapping for texture code #null during shape tesselation of item feverstonehorses:creature-horse-female-arabian using shape feverstonehorses:entity/land/horse-arabian
2.2.2024 12:56:57 [Error] Missing mapping for texture code #null during shape tesselation of item feverstonehorses:creature-foal-arabian using shape feverstonehorses:entity/land/horse-arabian
2.2.2024 12:56:57 [Error] Missing mapping for texture code #null during shape tesselation of item feverstonehorses:creature-foal-arabian using shape feverstonehorses:entity/land/horse-arabian
2.2.2024 12:56:57 [Error] Missing mapping for texture code #null during shape tesselation of item feverstonehorses:creature-foal-arabian using shape feverstonehorses:entity/land/horse-arabian
2.2.2024 12:56:57 [Error] Missing mapping for texture code #null during shape tesselation of item feverstonehorses:creature-foal-arabian using shape feverstonehorses:entity/land/horse-arabian

---

Thanks!

Hydromancerx, Jan 29th 2024 at 10:15 PM

Gerste

It was the recipe with the Knife. I guess i will have to make a chisel if i want a Pet Whistle then.

Gerste , Jan 29th 2024 at 9:47 PM

The whistle already has to different crafting recipes, one with a chisel and one with a knife. Hydromancerx

Hydromancerx, Jan 29th 2024 at 4:40 PM

So i use this and Weapons Pack Alpha and the Pet Whistle has the same recipie as Javelin head tips. Could you please alter the positon.configuration of the Pet Whistle so you can use both mods? Thanks in advance!

Gerste , Jan 22nd 2024 at 6:57 PM

Should be explained in the itemdescription CrusadingPriest

CrusadingPriest, Jan 22nd 2024 at 6:07 PM

How do you use the Pet carrying backpack? I saw it but have no idea how it works. 

Gerste , Jan 17th 2024 at 6:27 PM

Version 1.8.1 is compatible with all 1.18 versions after 1.18.8 LyingSheep

LyingSheep, Jan 16th 2024 at 10:55 AM

@Gerste are you planning on making the mod compatible with 1.18.15? Or only with newer versions of VS?

Willowwolf222, Jan 16th 2024 at 3:32 AM

Oh then I can't use the mods then, I have version 1.18.15 Gerste

Gerste , Jan 15th 2024 at 10:12 PM

You need to download the version that matches your game version. Willowwolf222

Willowwolf222, Jan 15th 2024 at 5:54 PM

Hi, so I'm trying to use the fox, wolf, cat, and horse mods and i have everything downloaded but it keeps saying "Unable to resolve some mod dependencies. Check log files" and I can't figure out how to get it working :(

Stroam, Jan 8th 2024 at 5:44 AM

Thanks. So much better than seeing a mention of other mods and then going back and searching by mod author.

Gerste , Jan 7th 2024 at 3:33 PM

Like this? Stroam

Stroam, Jan 7th 2024 at 4:35 AM

Please add links here for your other mentioned mods.

BraniyaKz, Dec 9th 2023 at 11:18 AM

@FMDS and Aodhwyn - Delete the mod & its config, re-download, and if the crash persists, check you windows redistributables 2015-2022 installation, perhaps repair or reinstall. Then restart your pc and try again. If nothing works, try downloading this mod. I released it way too early just for you. 😁

FMDS, Dec 7th 2023 at 11:38 PM

Gerste

Having crash issues on start up with v1.8.1 petai running on VS 1.18.15 

Crash on start up 

"System.Exception:Don't know how to instantiate collectible behavior of class 'considerpetfood' did you forget to register a mapping?"

I was hoping to use some mods with this as a dependancy. I believe Aodhwyn is having the same issue. Maybe an issue with update 1.18.15.

BraniyaKz, Dec 7th 2023 at 3:48 AM

@Gerste - Wildcraft bombardment for your petconfig.json healing items incoming!:

 
Note to all: You can simply paste this into your config, overwriting what's already there, and it should work, provided you've pasted it in correctly.
 
Also @Gerste - A fix for your bone texture path for the whistle in v.1.8.1:
  {
    "enabled": true,
    "file": "petai:shapes/petwhistle.json",
    "op": "replace",
    "path": "/textures/bone",
    "value": "game:block/creature/bone", // <--- This right here was the problem, now fixed.
    "side": "client",
    "dependsOn": [ { "modid": "petai" } ]
  }
Falco, Dec 4th 2023 at 2:00 PM

Wildcraft poutices work for ressurrecting (after adding them to the config), but they don't heal the wolf.
Also after ressurecting a few times, the model is offset from it's hitbox and the UI.

image

Aodhwyn, Dec 2nd 2023 at 8:13 PM

Gerste ive tried multiple version, in all different orders, i cant for the life of me get it to work without crashing, even just having pet ai alone with no mods to go with it crashes my game for some reason

Gerste , Nov 19th 2023 at 10:48 PM

Yeah you need to wait for the 1.19 game release or use one of the pre versions. DepressedPepe

DepressedPepe, Nov 19th 2023 at 10:46 PM

Hi, After updating to newest PetAI version, the mod doesnt work anymore. I run it on a server, all PerAi related entities didnt spawn, the whistle has No texture. 

Is there a correct way to update it..? xP 

Gerste , Nov 19th 2023 at 3:57 PM

You have to manually feed them Malfiros

Malfiros, Nov 19th 2023 at 3:43 PM

Do troughs work for feeding cats and dogs, for the purpose of breeding? Or do you have to manually feed them meats to get their portions up?

Gerste , Nov 12th 2023 at 4:18 PM

Currently not Whiteshadoh

Whiteshadoh, Nov 12th 2023 at 2:55 PM

Is there a way to impliment that the [Taming Notification] be sent to another chat so it doesnt clog up the default chat tab within game?

NukoSan, Oct 13th 2023 at 11:14 PM

fair enough ;-)

 

Gerste , Oct 13th 2023 at 10:46 PM

If you go into immersive/ third person mode you might be able to spot the reason behind this. NukoSan
Spoiler alert: I am going to hit you with the good old "Its not a bug, its a feature" :)

NukoSan, Oct 13th 2023 at 10:16 PM

When holding right-click the obedience of my tamed wolf is going up, not sure which mod is the source of this issue.

Gerste , Oct 1st 2023 at 12:10 PM

Good catch. Will be fixed in the next version. Moon_Dew

Tyron changed the location of the bone texture which causes this error.

Moon_Dew, Sep 24th 2023 at 2:26 AM

There's a minor conflict between this and Medieval Fashion Vanilla Textures.  Pet whistle is missing its texture.

Mucky, Sep 16th 2023 at 8:14 PM

Anybody else keep crashing with this new update?

Gikame, Aug 31st 2023 at 3:20 AM

Well weirdly enough, I took a bit of a break since last session and after I logged back into my world after a day it seemed to have fixed itself out of nowhere. I still made the change tho which did seem to prevent it for the time being. Or maybe not, I am not sure. Maybe something I did made it bug out, who knows o.o"

Gerste , Aug 27th 2023 at 10:13 AM

Can you go into the horse zip file and open ..\assets\feverstonehorses\entities\horse.json and there look for the following code block: 

{
"code": "stay",
"priority": 3,
"priorityForCancel": 1.7,
"command": "stay",
"movespeed": 0.006,
"maxDistance": 10,
"searchRange": 40,
"animation": "walk"
}

If you change the value of maxDistance to something lower like 1 for example, that should solve the problem Gikame

Otherwise there might be a bug in the stay command I need to fix.

Gikame, Aug 25th 2023 at 11:14 PM

@Gerste If that is true, it has been wandering quite far away from my location. On top, I brought it back home since and to its fenced in area and told it to stay and its been walking into the fence ever since for roughly an hour now :o

Gerste , Aug 25th 2023 at 9:15 PM

The horse won't stay completely still, but will stroll the nearby surroundings whilst staying at a certain distance. Gikame

Gikame, Aug 25th 2023 at 8:28 PM

Feverstone Horses + Pet AI. Works solid so far but the horse wont react to the "Stay" command whatsoever. It just keeps wandering off. Is this tied to the home area you put a gear into?

Kall, May 11th 2023 at 11:35 PM

Awesome stuff, can't wait to see what you add next!

Gerste , May 11th 2023 at 8:16 PM

I added a new command to the pet whistle to stop your pets from going rampage on each other. I also upgraded the set target command so you can actually change your pets current target with this. Kall

Kall, May 11th 2023 at 7:44 AM

Been having my pets try to kill each other when I accidentally hit one of them, I can set them all to passive but it takes a while before I can put them back on protective or they will just keep fighting each other. Fall damage can be a pain at times too when travelling around, they tend to launch themselves off the sides of cliffs haha

Poogans, May 2nd 2023 at 9:56 PM

@Apehjerne agreed, this literally just happened with my newly tamed wolf pup 😣

xXx_Ape_xXx, May 1st 2023 at 12:21 AM

Pet's should have a natural fear of anything on fire, especialy pit kilns and fire pits. I had a tame cat just casualy walk up to a pit kiln and lay down in the middle of it, and then die... Makes no sense 😒

AzuliBluespots, Apr 19th 2023 at 2:17 PM

I've been trying to tame a young alpaca, but I couldn't find out what I can give it. Or it wasn't accepting anything. 
Latest petAI plus the unofficial creatures and critters release - the map at least loads and animals can be found, but I'm not sure if everything is working fine.

Actually, I wonder if pack animals is working at all with 1.18

peppicatred, Mar 18th 2023 at 8:43 AM

Doesnt work, says cant solve mod dependensies or something

Sona, Mar 9th 2023 at 7:07 AM

So what do the specific behaviors do?

Gerste , Feb 6th 2023 at 6:38 PM

Strange, PetAI itself does not even introduce any new Textures. Are there no other mods being installed? Jin_Cat

Jin_Cat, Feb 6th 2023 at 6:15 AM

In combination with the mod Primitive Survival v3.1.1 breaks block textures(((( PetAI 1.5.5

version server 1.17.10 

Escafil, Jan 3rd 2023 at 6:04 AM

I also lost an animal. Bought a dog pup from a trader and tamed it 60%. Locked it in the house, and it teleported out to me outside. I went to bed close by and he's gone. Is there a command or is there some way to highlight entities so I can find him?

Xarl, Dec 28th 2022 at 11:49 AM

What are respawn commands for pets?
I lost a horse a good while back and now recently one wolf vanished and never respawned/reappeared albite he has a designated pet spot.

Gerste , Dec 13th 2022 at 5:44 PM

The pet beds are called pet cushions ingame. I will rework this in the future to avoid confusion MilkTheCow

Gerste , Dec 4th 2022 at 2:48 PM

The pet bed no longer has a UI. Pets will seek it by themselves once tired. LadyBlakeHammer

LadyBlakeHammer, Dec 3rd 2022 at 2:56 AM

How do you open the UI for the pet bed?

gndrneutralnoun, Oct 12th 2022 at 9:26 PM

Okay, cool. Problem: My wolf died, and I'm trying to heal it, but using poultices (specifically horsetail linen) with right click just heals me. Edit: Using a clean bandage worked, but you might want to make the action ctrl-right click or something so that others don't run into the same problem.

Gerste , Oct 12th 2022 at 9:22 PM

I completely removed the auto respawning of pets and most of the related stuff because it was not working properly. Pets should now sometimes seek their nests without the need of bein assigned to them. gndrneutralnoun

gndrneutralnoun, Oct 12th 2022 at 5:36 PM

I seem to remember that in previous versions you had to enable pets reviving via config. Do they automatically revive now? Do I have to use a resurrector item on their body, on their nest, or what? Also, I can't seem to assign pets to a bed anymore. Was that feature removed or am I missing something?

Gerste , Oct 1st 2022 at 6:23 PM

Thats a new one, can you dm me the details on discord? Yiasafrai

Yiasafrai, Oct 1st 2022 at 11:04 AM

i have no option to rename my pets whilst my friends on the same server do. I've tried resinstalling the mod. not sure what to do.

Gerste , Aug 14th 2022 at 4:31 PM

I turned down the whistle sound in the newest version. You don´t need such a config, just set the dogs aggression level to neutral or passive and this should no longer be an issue. Foolish

Foolish, Aug 7th 2022 at 3:16 AM

I second that the whistle is loud as heck.

 

Can you add a server config option so that tamed animals don't attack other players. We like to mess around on my server and an option to not be attacked when we hit each other (usually with sticks) would be nice.

Shion, May 5th 2022 at 11:54 PM

Can you make the whistling sound not that loud?

Would also be nice to be able to wear pet wistle as a necklage.

PeterSanderson, Apr 30th 2022 at 3:03 AM

Thanks Gerste, I was able to figure out what the issue was and was able to sort it out. The pens were not lit and drifters were attacking and killing them. Error on my part sheepish grin :)

Gerste , Apr 29th 2022 at 5:48 PM

Is this for all commands? What command and arguments are you using?

The wolfs could despawn in darker areas in previous version as this was the default for all animals off the vanilla game too. Should not happen in the newest version though. PeterSanderson

Gerste , Apr 18th 2022 at 9:43 PM

You should be able to craft a whistle using a chisel too because of that tincancrab

tincancrab, Apr 15th 2022 at 3:40 AM

Looks like the whistle competes with Primitive Survival, even though Cats can use fish from it, but unfortunately, when trying to make a whistle, I can only make a bone fish hook. Or am I doing it wrong?

Gerste , Apr 5th 2022 at 8:08 AM

Looks like there is an old version of petai in their folders.

Can you try removing the ModsByServer folder or manually checking if there is still a pre-1.4.0 petai version laying around somewhere? DEMMERS

DEMMERS, Apr 5th 2022 at 12:10 AM

Using latest 1.4.1,
Mod is on the server, clients joining the server see this:
System.Exception: Don't know how to instantiate block of class 'PetNest' did you forget to register a mapping?
at Vintagestory.Common.ClassRegistry.CreateBlock(String blockClass)
at Vintagestory.Common.BlockTypeNet.ReadBlockTypePacket(_A1oClULOCEj4s2RtiXvbRAocH0N packet, IWorldAccessor world, ClassRegistry registry)
at Vintagestory.Client.NoObf.GeneralPacketHandler.HandleServerAssetsStep1()
at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime)
at _eaiE9OWXDVmX2r6n7JaWPscBEkO._LvzIyYpsQCoC78JubjSO0HCjtTg(Single )
at _lAuHsYOBOAjBMdATFXwLUtH7N00._JvY4M2412YZu1OS3Ull8wgZBu1j(Single )
at _lAuHsYOBOAjBMdATFXwLUtH7N00._KmBeEx15nyyLrVqNDW6geSArpNr(Single )
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 479
at OpenTK.GameWindow.DispatchRenderFrame() in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 454
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 375
at _TRhArnJABwZoV9Vt7Ld2l65Xzgg._mhlr8s7wtMvxaJGpVy2Ag90jUBK(_3HJA5NvAIx31LXjscc3HGjXaR6q , String[] )
at _q0zAVOrWbMX04rMA9G3HIFVuGjA._mhlr8s7wtMvxaJGpVy2Ag90jUBK(ThreadStart )

DX65, Mar 15th 2022 at 4:37 PM

@Gerste Thanks I just wasn't sure so I asked I thought it would be nice alternative to having chickens that don't all run in the corner of their pens if they see the player as someone who cares for them. I mainly play in creative and thought it would be nice if there was tool to raise baby animals like chicks and goats.

Gerste , Mar 14th 2022 at 5:35 PM

PetAI itself does not introduce any new pets. It is just providing some nessecary tools to create pets. But these pets come from other mods. Currently there are dogs, cats, horses and pack animals.
If you wanted to make your own pets, you could look those up as examples and go from there.

Regarding your other question, I implemented a very basic system that introduces nests. It lets you define custom blocks that pets use to sleep on. DX65

DX65, Mar 13th 2022 at 8:42 PM

So is it currently only pet wolves? Could I have pet chickens or goats? Can I set homes i.e. areas they live or do they have to follow me everywhere?

Gerste , Mar 5th 2022 at 12:43 PM

Nope, pets still use the base game pathfinder which doesn´t consider them dangerous. Messing with the pathfinding is quite a hassle so i am probably going to leave that be for now :(. Shion

Shion, Mar 5th 2022 at 3:24 AM

Is pets habit of going into open fire (the clay pits) removed in this update?

Gerste , Feb 27th 2022 at 5:29 PM

Not yet. Lumber

I really want to implement houses for pets where they go if killed and where you can recall them to if they are lost.

Currently I am working on another side project, but once that hast its first release I plan on revisiting the petAI code and adding this feature together with fixing the breeding stuff Oke518.

Lumber, Feb 27th 2022 at 4:28 PM

Is there any way to recall pets? Mine had died during a storm, and I was out wandering the world when they spawned back in a day later. They are out in unloaded chunks somewhere and I'm not sure how to find the jerks. :)

Oke518, Feb 26th 2022 at 4:00 PM

on load my doges are breeding een though its toggled off.

Gerste , Feb 19th 2022 at 12:03 PM

There is an open issue on my github page regarding this issue where I am posting snapshot versions for serverowners to download and test. 
I could use more testers on this issue so I would be grateful if you took a look there.

It would be of great help if you could provide more information like:

  • How many pets are there on the server
  • How does the petseekentity task compare to the vanilla seekentity task (used by wolfes, hyenas, ...)
  • what aggressionlevel are the pets set to

If you are interested here is the newest snapshot version also posted on github: petai_snapshot.zip

YourCreator

YourCreator, Feb 19th 2022 at 9:37 AM

PetAi mods eats perfomance on server greatly. 
55 mods active with PetAi, FeverHorses, Cats, Dogs.
If i adds CreaturesAndCritters server took tick time more than 700ms
->

19.2.2022 10:08:49 [Notification] A tick took 102,29ms
entity-ai-tasks-tick-start-execPetAI.AiTaskPetSeekEntity: 66,31ms
sleep: 27,64ms
entity-done-bh-repulseagents: 1,59ms
entity-controlledphysics-end: 1,35ms
gmleVintagestory.GameContent.EntityPartitioning: ,58ms
entity-done-bh-timeddespawn: ,58ms
entity-done-bh-harvestable: ,35ms
entity-done-bh-controlledentityphysics: ,24ms

19.2.2022 10:08:52 [Notification] A tick took 119,59ms
entity-ai-tasks-tick-start-execPetAI.AiTaskPetSeekEntity: 71,51ms
sleep: 38,68ms
entity-done-bh-emotionstates: 1,66ms
entity-done-bh-repulseagents: 1,48ms
entity-controlledphysics-end: 1,15ms
entity-done-bh-timeddespawn: ,56ms
gmleVintagestory.GameContent.EntityPartitioning: ,54ms
entity-done-bh-harvestable: ,3ms

19.2.2022 10:08:54 [Notification] A tick took 121,27ms
entity-ai-tasks-tick-start-execPetAI.AiTaskPetSeekEntity: 67,54ms
sleep: 37,99ms
gmleVintagestory.GameContent.EntityPartitioning: 7,25ms
entity-done-bh-repulseagents: 1,94ms
entity-controlledphysics-end: 1,16ms
ss-tick-Vintagestory.Server.ServerSystemCompressChunks: ,81ms
entity-done-bh-timeddespawn: ,53ms
entity-done-bh-controlledentityphysics: ,24ms

19.2.2022 10:08:57 [Notification] A tick took 105,32ms
entity-ai-tasks-tick-start-execPetAI.AiTaskPetSeekEntity: 71,52ms
sleep: 25,1ms
entity-done-bh-repulseagents: 1,67ms
entity-controlledphysics-end: 1,35ms
gmleVintagestory.GameContent.EntityPartitioning: ,62ms
entity-done-bh-timeddespawn: ,59ms
entity-done-bh-controlledentityphysics: ,25ms
entity-done-bh-floatupwhenstuck: ,23ms

Gerste , Feb 13th 2022 at 5:50 PM

The error ocurred in the horse mod and will probably be fixed in the next version. Aledark

Thanks for pointing that out, I will add another recipe for the whistle in the next version that maybe uses a chisel or somthing to prevent this from happening.

There is currently no bowl implemented and its currently not planned, but maybe that changes in the future. Lisabet

Aledark, Feb 13th 2022 at 8:04 AM

Also posted on ferverstone github :) but those might be interlink so figured id report it to you and them.

1.16.3 stable- with pet ai(petai_v1.3.4.zip) and feverstonehorse(FeverstoneHorses-v1.2.4-1.16.x)

from server-main.txt

13.2.2022 02:36:16 [Error] System.NullReferenceException: Object reference not set to an instance of an object.
at Vintagestory.GameContent.EntityBehaviorHarvestable.SetHarvested(IPlayer byPlayer, Single dropQuantityMultiplier)
at Vintagestory.GameContent.ItemKnife.OnHeldInteractStop(Single secondsUsed, ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel)
at Vintagestory.Server.ServerSystemInventory.HandleHandInteraction(_EWaCktsS2JyUbMhFd5RdMtCiCZOA packet, ConnectedClient client)
at Vintagestory.Server.ServerMain.ProcessNetMessage(NetIncomingMessage msg, NetServer mainSocket)

13.2.2022 02:36:21 [Error] Error thrown trying to serialize entity with code feverstonehorses:horse-male, will not save, sorry! Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at PetAI.EntityPet.getInventoryTree()
at PetAI.EntityPet.ToBytes(BinaryWriter writer, Boolean forClient)
at Vintagestory.Server.ServerChunk.BeforeSerialization()
13.2.2022 02:26:08 [Error] Error thrown trying to serialize entity with code feverstonehorses:horse-female, will not save, sorry! Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at PetAI.EntityPet.getInventoryTree()
at PetAI.EntityPet.ToBytes(BinaryWriter writer, Boolean forClient)
at Vintagestory.Server.ServerChunk.BeforeSerialization()

Lisabet, Feb 13th 2022 at 1:14 AM

also, is it possible to have a pet bowl (if it doesn't exist and I don't see notes on it lol) so that once you've tamed and reached 100 obedience, the cats/dogs can eat from a pet bowl/dish?

Lisabet, Feb 13th 2022 at 12:48 AM

it seems the whistle has a 'fixed' recipe (knife under bone in the window) while bone hooks have a...formless? recipe; bone and knife in window, regardless of position

my guess is primitive survival needs to have a fixed recipe as well, so that it doesn't clash with anything else that uses a bone and knife lol

 

edit since I play singleplayer, a very quick easy 'fix' is to temporarily disable primitive survival, load in and make the whistle, close the server and reenable primitive survival

edit 2 if you try that quick fix, make sure you don't have anything in hollow log containers before disabling primitive survival lol

MKJwhoa95, Feb 12th 2022 at 1:28 AM

I'm having the same issue as CaveSalamander as well. Also using ver 1.3.4. with VS #v1.16.3. Perhaps Primitive Survival also needs a compatibility patch for it to be fully fixed.

CaveSalamander, Feb 11th 2022 at 6:04 PM

@Gerste seems so. I'm using ver 1.3.4, and pr.surv. ver 2.8.0

Gerste , Feb 11th 2022 at 7:43 AM

Still? I thought I fixed this since verson 1.3.1 CaveSalamander

CaveSalamander, Feb 11th 2022 at 3:03 AM

Small conflict with Primitive Survival, their bone fishing hook overrides the pet whistle recipe. Not sure which mod's author to mention this to ^-^

Gerste , Feb 8th 2022 at 8:00 PM

Don´t worry, you are not going crazy. There is a couple of modders who currently is implementing a horse mod using the PetAI system. I already implemented the neccessary systems in this library for riding and stuff so that everything is ready once their mod is finished :) Lash 

Lash, Feb 8th 2022 at 8:22 AM

Keep seeing you mention mounts in the changelog. Is there a mount mod somewhere or am I going crazy?

Evadx, Feb 5th 2022 at 5:05 PM

Man, that was fast. It works now! Thanks for the fix!

Gerste , Feb 5th 2022 at 4:42 PM

Should be fixed in petai_v1.3.4. Should also prevent the constant teleporting when following. Evadx

Evadx, Feb 5th 2022 at 3:45 PM

alright, so I've tamed two dogs, and I tried to use a bone on one that was over a trunk and a pottery vessel, and all containers stopped being able to be opened, regardless of whether a bone was in my hand or not. I then get this error in the event log when trying to load in to the game again:

5.2.2022 10:39:50 [Fatal] System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at Vintagestory.Essentials.WaypointsTraverser.get_CurrentTarget()
at Vintagestory.GameContent.AiTaskSeekEntity.ContinueExecute(Single dt)
at Vintagestory.GameContent.AiTaskManager.OnGameTick(Single dt)
at Vintagestory.GameContent.EntityBehaviorTaskAI.OnGameTick(Single deltaTime)
at Vintagestory.API.Common.Entities.Entity.OnGameTick(Single dt)
at Vintagestory.API.Common.EntityAgent.OnGameTick(Single dt)
at Vintagestory.Server.ServerSystemEntitySimulation.TickEntities(Single dt)
at Vintagestory.Server.ServerSystemEntitySimulation.OnServerTick(Single dt)
at Vintagestory.Server.ServerMain.Process()

I disabled all your pet mods, and it loaded fine. Thanks for taking a look at this.

Gerste , Feb 4th 2022 at 11:42 PM

Fixed in petai_v1.3.3. There is now a small button on the top-right of the command interface that lets you rename your pets. CreativeRealms

CreativeRealms, Feb 3rd 2022 at 12:20 AM

Would it be possible to allow naming/renaming in the command menu after an animal has been tamed? I livestream and closed the prompt for later since my viewers can redeem a reward for renaming animals. However, it seems as though there is no longer a way for me to name it should I wish to do so in the future.

iotid, Jan 28th 2022 at 7:22 AM

The purrs and hisses are good!  The meow is the one that really carries--had a cat easily 50 or 60 blocks away that was about twice the volume of everything else immediately near me.  Haven't had any issues with dog sounds, either, they're good.

Gerste , Jan 27th 2022 at 7:16 PM

I can try and turn the volume down for the cat sounds.

What sounds do you experience as too loud? Just the meow, or also the purring and hissing? iotid

iotid, Jan 27th 2022 at 1:33 PM

Might I make a request for a config option to mute the animals using this library?  Cats in particular have been out-of-place loud on our server, even from a long distance.  :<

Gerste , Jan 21st 2022 at 8:48 PM

Thank you very much. I will include all your translations in my next feature update :) Cendar

Cendar, Jan 19th 2022 at 4:30 AM

Hi! I made a french translation for your mod, feel free to add it if you want. 😊

fr.json - petai 1.2.1

Briaireous, Jan 18th 2022 at 11:23 PM

would be very cool if you can make it so that pets would show up on the minimap

Gerste , Nov 24th 2021 at 12:02 PM

This mod is already designed to do this. You just need to add the Tameable and ReceiveCommand to your entities as well as the corresponding AI Tasks.
You can check this out by looking at the cat and dog entities of my other mods, but if you have any specific questions, feel free to ask: G3rste#1850

WickedSchnitzel, Nov 24th 2021 at 9:31 AM

Maybe you could create a mod with some config where people would just have to place a specific entity code and then would be able to give commands to all sort of animals, even custom ones?

Gerste , Nov 24th 2021 at 8:39 AM

Should be fixed in v1.0.2.

Verlia, Nov 23rd 2021 at 3:37 AM

Bug; Game crash/error;

Version: v1.15.9 (Stable)11/22/2021 9:32:34 PM: Critical error occurred System.NullReferenceException: Object reference not set to an instance of an object. at PetAI.EntityBehaviorTameable.disobey(Single intervall)