Hi, you should update your mods code, the console is throwing these following errors:
"[02:09:58 WARN SMAPI] Some mods may stop working in SMAPI 2.0 (but they'll work fine for now). Try updating mods with 'deprecated code' warnings; if that doesn't remove the warnings, let the mod authors know about this message or see http://stardewvalleywiki.com/Modding:SMAPI_2.0 for details."
This mod is designed to only work inside a coop or a barn. Go inside the coop or barn you want to add an animal to, and then press Page Up, and it should bring up the menu. Let me know if you're using it inside an animal house and the menu still doesn't come up.
From what you've said, as far as I can tell you're doing everything right, I'm not sure what else to suggest. I've uploaded a new version, which is essentially the same but with a lot more logging. Try installing it, you'll need to change the config setting "enableLogging" to true.
Ideally you'll see these log messages, and the menu will open: [MailOrderPigs] Mod loaded successfully. [MailOrderPigs] Attempting to bring up menu. [MailOrderPigs] Bringing up menu. [MailOrderPigs] Returning stock for building: (Coop or Deluxe Barn or whatever)
If you see those 4 messages in your log output after pressing the hot key but the menu is still not up, then I really don't know what's going on.
Also, if you happen to see this message, when you're definitely in an animal house, something very strange is going on. [MailOrderPigs] Problem bringing up menu: you are not in an animal house. Location name is: (something)
If the menu doesn't come up, hopefully there will be an error message, or something indicating that something didn't go right.
Also, I gotta ask this, but I'm assuming you're playing SDV on Windows?
Love the idea of the mod, but unfortunately it crashes my game every time I go to buy an animal in their specific coop/barn. It'll ask to choose what animal, and give it a name, but then when I click okay the whole game just drops.
Thanks for reporting this, I'll look into it. I'm incorporating this functionality into another of my mods (PelicanFiber) and so definitely have an interest that this works as expected.
15 comments
Tried it and it works for me.
https://community.playstarbound.com/threads/updating-mods-for-stardew-valley-1-4.156000/page-3
-anon
"[02:09:58 WARN SMAPI] Some mods may stop working in SMAPI 2.0 (but they'll work fine for now). Try updating mods with 'deprecated code' warnings; if that doesn't remove the warnings, let the mod authors know about this message or see http://stardewvalleywiki.com/Modding:SMAPI_2.0 for details."
"[02:09:58 WARN SMAPI] MailOrderPigs uses deprecated code (PlayerEvents.LoadedGame)."
"[02:09:58 WARN SMAPI] MailOrderPigs is missing some manifest fields (UniqueID) which will be required in an upcoming SMAPI version."
"[02:09:58 WARN SMAPI] MailOrderPigs uses deprecated code (Mod.Entry(object[]) instead of Mod.Entry(IModHelper))."
"[02:17:13 WARN SMAPI] MailOrderPigs uses deprecated code (the Config class)."
"[02:17:13 WARN SMAPI] MailOrderPigs uses deprecated code (the Log class)."
I use the latest versions of SV and SMAPI which are 11.15.1 for SMAPI and 1.2.33 for SV.
Hopefully you can fix this soon
Ideally you'll see these log messages, and the menu will open:
[MailOrderPigs] Mod loaded successfully.
[MailOrderPigs] Attempting to bring up menu.
[MailOrderPigs] Bringing up menu.
[MailOrderPigs] Returning stock for building: (Coop or Deluxe Barn or whatever)
If you see those 4 messages in your log output after pressing the hot key but the menu is still not up, then I really don't know what's going on.
Also, if you happen to see this message, when you're definitely in an animal house, something very strange is going on.
[MailOrderPigs] Problem bringing up menu: you are not in an animal house. Location name is: (something)
If the menu doesn't come up, hopefully there will be an error message, or something indicating that something didn't go right.
Also, I gotta ask this, but I'm assuming you're playing SDV on Windows?
I will test out the new version TODAY.
Yes I am on Windows 10.
I will let you know if it works. I know how much effort goes into making mods.