[SharedXp] Tried to map a mod-provided API to interface 'SharedExp.GenericModConfigMenu.IGenericModConfigMenuApi', which isn't compatible with the actual mod API. Technical details: ArgumentException: Unhandled proxy/conversion method for info: ProxyInfo{target: TypeInfo{context: spacechase0.GenericModConfigMenu, type: GenericModConfigMenu.Framework.Api, GenericModConfigMenu, Version=1.12.0.0, Culture=neutral, PublicKeyToken=null}, proxy: TypeInfo{context: SharedExp.Batzpup, type: SharedExp.GenericModConfigMenu.IGenericModConfigMenuApi, SharedExp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null}} ---> ArgumentException: The IGenericModConfigMenuApi interface defines method OpenModMenuAsChildMenu which doesn't exist in the API or depends on an interface that cannot be mapped! at Nanoray.Pintail.ProxyManagerConfiguration`1.<>c.<.cctor>b__42_4(ProxyInfo`1 proxyInfo, MethodInfo proxyMethod) at Nanoray.Pintail.InterfaceOrDelegateProxyFactory`1.Prepare(ProxyManager`1 manager, String typeName) at Nanoray.Pintail.ProxyManager`1.ObtainProxyFactory(ProxyInfo`1 proxyInfo) --- End of inner exception stack trace --- at Nanoray.Pintail.ProxyManager`1.ObtainProxyFactory(ProxyInfo`1 proxyInfo) at Nanoray.Pintail.IProxyManagerExtensions.ObtainProxy[Context,TProxy](IProxyManager`1 self, Object instance, Context targetContext, Context proxyContext) at StardewModdingAPI.Framework.ModHelpers.ModRegistryHelper.GetApi[TInterface](String uniqueID) in SMAPI\Framework\ModHelpers\ModRegistryHelper.cs:line 135
Sorry I forgot to update the manifest ill replace the download with the proper one. SInce you already have it downloaded you can go to where your stardew valley mods are: C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods open shared exp, open manifest.json and change 1.1.0 to 1.1.1 Otherwise you could download it again if you want to
I have not tested it working with other mods other than the supported mods listed in the description. so Currently Supported mods:
Hardew Valley - Slow Life In The Valley
Skills made with SpaceCore
If the mods use the vanilla GainExp methods it will work if they use their own way of gain experience of a skill it will not unless i custom support it like the ones above.
They both seem to use spacecore , so if they use spacecore's way of gaining experience, it would be supported, that said i havent tested those mods myself. But in theory should work.
So now that ive been able to play multiplayer, it seems that when say, my friend levels up, i don't get the talent point from Vanilla professions plus despite also leveling up. and vise versa on my end. idk if there's a way to fix that or not on this side or if thats on their side
From my tests when player 1 gains exp, and level up that get a talent. Player 2 also gets the exp and levels up and gets a talent point. Until lvl 10. Past lvl 10 all things go a little whack with mastery exp seeming to get out of sync and exp past lvl 10 not being handled properly. My guess from the mods making so mastery doesnt count until later, so your friend receives your bonus exp as mastery but you dont. Anyway something with the mastery threshold is likely the culprit. Also both myself and VanillaPlusProfession patch the same function, doubt that is causing issues but it might. Im trying to track down where level stuff and mastery is being changed but not having a lot of success at the moment
it seems to get even worse. So if one of the mods Vanilla Professions Plus or Mastery Extended Is installed exp gain is normal past lvl 10. But if both are installed the person doing the action seems to get reduced exp and reduced mastery and dont know why. But the reduction seems to only happen on the client gainExperience, but the sync messages have the original exp values. AND mastery exp is even more strange. I dont think my code is responsible for this, i will a little more checking to make sure but some very strange things are happening when both are installed.
Have figured out a temporary solution it seems because of Mastery Extended splitting exp and mastery and assigning it in a custom way. I need to delay my patches until Mastery extended is fully patched, and then copy those patches. Should be a solution out today
me and my husband have gotten this mod and when either of us host the game this is what the one that isnt hosting gets we dont get it at the same time please help us get this fixed
[SharedXp] This mod failed in the Multiplayer.ModMessageReceived event. Technical details:NullReferenceException: Object reference not set to an instance of an object. at SharedExp.ModEntry.OnModMessageReceived(Object sender, ModMessageReceivedEventArgs e) in C:\Users\Batzpup\Documents\Mods\StardewValley\SharedExp\SharedExp\ModEntry.cs:line 157 at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(Action`2 invoke) in /home/pathoschild/git/SMAPI/src/SMAPI/Framework/Events/ManagedEvent.cs:line 139od and if im hosting the game or he is hosting this game the one that isn't hosting gets this
Im cant replicate it locally, but ill grab a friend and see if we get that error. Im not sure if the error line makes a lot of sense as it suggests no internal config file, regardless i'll test some more, but if you can send me what mods you are using with, i may be able to replicate. Thanks
yes we are we are using most of the expansion mods and the stuff that is required we were using the the mod before you updated it with all the other mods and it was working forgotten woods cindersnap circle daisyniko's tilesheets high tech backpacks lumisteria tilesheets indoor and outdoor mini obelisk nice day for fishing open at first light saloon sells loved dishes adventurer's guild expanded automate axolotls villages axolotls in stardew baldur's village busloctions console comands content patcher content patcher animations custom backpack framework custom companions custom npcexclusions dam desert expansion destroyable bushes downtown zuzu dwarven expansion Dynamic maps tiles east scarp escasmoddingplugins eventrepeater expanded preconditionsutility experiencebars farmtypemanger flooded cave fostoria genericmodconfigmenu grampleton fields greenhouserobinupgrade holdtobreakgeodes instant tool upgrades item extensions jsonassets kimberlite item extensions longer days look up anything mail frameworkmod mappingextensionsandextraproperties morebackpacks mousefishing npcmaplocation objectcolorstacksizefix pfmautomate portaiture producerframeworkmod remapping ridgeside village sharedexp shoptileframework skullcavernelevator spacecore spiral mine shortcuts stardewvalley expanded stoffton trading trainstation twinfield farms unlockablebundles visiblefish walkto the desert redux waterflowers and sea plants
So i managed to get the same error as you, although it didnt cause a crash. This error seems to be something weird with SMAPI not giving me valid player Id's when passing a mod message. Ive made a temporary work around that avoids that. Let me know if that fixes it for you.
The vanilla hidden luck skill. Doesnt support spacecore skills. It maybe something i think about doing, especially if spacechase is open to some questions on the networking side of their skills system. But i don't imagine it'll be soon.
Sorry that it took nearly a year, I've had a lot of other projects and forgot about this existing until recently. It should work with masteries now, if you have issues let me know ill be checking mod nexus for about another month.
"Syncs up experience gains across all players." Could you make it on mastery as well? It's considered part of exp and it would be a great feature in the 1.6 update. Thanks!
This mod really dropped off my radar as something i had apologies. It should be updated and working with masteries now let me know if you find any issues.
It means if you have Lvl 5 mining and your friend has Lvl 2 when they join the game they will be level 5 mining . This is really only relevant when you have an existing world before using the mod and use the mod later
I loved the mod, but it seems to be crashing for me in local co-op. Yesterday after i leveled up mining, it broke. First it was as soon as i got my first level. I then uninstalled all professions, then it crashed after level 2 or 3 of stone (i can't remember). Both times Smapilog didn't show any errors before the crash, last line was sharing exp to my wife after hitting the last rock, then crash.
I've made my set up as close as i can according to your smapi log but unfortunely i am unable to reproduce the crash. With my inability to reproduce it and no errors in the logs im not to sure what i can do to help figure out the issue. If removing my mod stops the crashing it may be best to do that, and then when you want to sync levels back up then reinstall play for one day, sleep to save then remove and continue. I know this is not ideal but I'm not to sure what i can do to help here, Let me know if updating other mods makes the issue go away, and if it specifically only crashes when my mod is installed. Thank you and sorry.
64 comments
Technical details: ArgumentException: Unhandled proxy/conversion method for info: ProxyInfo{target: TypeInfo{context: spacechase0.GenericModConfigMenu, type: GenericModConfigMenu.Framework.Api, GenericModConfigMenu, Version=1.12.0.0, Culture=neutral, PublicKeyToken=null}, proxy: TypeInfo{context: SharedExp.Batzpup, type: SharedExp.GenericModConfigMenu.IGenericModConfigMenuApi, SharedExp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null}}
---> ArgumentException: The IGenericModConfigMenuApi interface defines method OpenModMenuAsChildMenu which doesn't exist in the API or depends on an interface that cannot be mapped!
at Nanoray.Pintail.ProxyManagerConfiguration`1.<>c.<.cctor>b__42_4(ProxyInfo`1 proxyInfo, MethodInfo proxyMethod)
at Nanoray.Pintail.InterfaceOrDelegateProxyFactory`1.Prepare(ProxyManager`1 manager, String typeName)
at Nanoray.Pintail.ProxyManager`1.ObtainProxyFactory(ProxyInfo`1 proxyInfo)
--- End of inner exception stack trace ---
at Nanoray.Pintail.ProxyManager`1.ObtainProxyFactory(ProxyInfo`1 proxyInfo)
at Nanoray.Pintail.IProxyManagerExtensions.ObtainProxy[Context,TProxy](IProxyManager`1 self, Object instance, Context targetContext, Context proxyContext)
at StardewModdingAPI.Framework.ModHelpers.ModRegistryHelper.GetApi[TInterface](String uniqueID) in SMAPI\Framework\ModHelpers\ModRegistryHelper.cs:line 135
When I open Stardew.
SInce you already have it downloaded you can go to where your stardew valley mods are:
C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods open shared exp, open manifest.json and change 1.1.0 to 1.1.1
Otherwise you could download it again if you want to
so
Currently Supported mods:
- Hardew Valley - Slow Life In The Valley
- Skills made with SpaceCore
If the mods use the vanilla GainExp methods it will work if they use their own way of gain experience of a skill it will not unless i custom support it like the ones above.Player 2 also gets the exp and levels up and gets a talent point.
Until lvl 10.
Past lvl 10 all things go a little whack with mastery exp seeming to get out of sync and exp past lvl 10 not being handled properly.
My guess from the mods making so mastery doesnt count until later, so your friend receives your bonus exp as mastery but you dont.
Anyway something with the mastery threshold is likely the culprit.
Also both myself and VanillaPlusProfession patch the same function, doubt that is causing issues but it might.
Im trying to track down where level stuff and mastery is being changed but not having a lot of success at the moment
So if one of the mods Vanilla Professions Plus or Mastery Extended
Is installed exp gain is normal past lvl 10.
But if both are installed the person doing the action seems to get reduced exp and reduced mastery and dont know why.
But the reduction seems to only happen on the client gainExperience, but the sync messages have the original exp values.
AND mastery exp is even more strange.
I dont think my code is responsible for this, i will a little more checking to make sure but some very strange things are happening when both are installed.
I need to delay my patches until Mastery extended is fully patched, and then copy those patches.
Should be a solution out today
[SharedXp] This mod failed in the Multiplayer.ModMessageReceived event. Technical details:NullReferenceException: Object reference not set to an instance of an object. at SharedExp.ModEntry.OnModMessageReceived(Object sender, ModMessageReceivedEventArgs e) in C:\Users\Batzpup\Documents\Mods\StardewValley\SharedExp\SharedExp\ModEntry.cs:line 157 at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(Action`2 invoke) in /home/pathoschild/git/SMAPI/src/SMAPI/Framework/Events/ManagedEvent.cs:line 139od and if im hosting the game or he is hosting this game the one that isn't hosting gets this
Thank you for the report
Thanks
forgotten woods cindersnap circle daisyniko's tilesheets high tech backpacks lumisteria tilesheets indoor and outdoor
mini obelisk nice day for fishing open at first light saloon sells loved dishes adventurer's guild expanded automate
axolotls villages axolotls in stardew baldur's village busloctions console comands content patcher
content patcher animations custom backpack framework custom companions custom npcexclusions dam
desert expansion destroyable bushes downtown zuzu dwarven expansion Dynamic maps tiles east scarp escasmoddingplugins eventrepeater expanded preconditionsutility experiencebars farmtypemanger flooded cave
fostoria genericmodconfigmenu grampleton fields greenhouserobinupgrade holdtobreakgeodes instant tool upgrades
item extensions jsonassets kimberlite item extensions longer days look up anything mail frameworkmod
mappingextensionsandextraproperties morebackpacks mousefishing npcmaplocation objectcolorstacksizefix pfmautomate portaiture producerframeworkmod remapping ridgeside village sharedexp shoptileframework skullcavernelevator spacecore spiral mine shortcuts stardewvalley expanded stoffton trading trainstation
twinfield farms unlockablebundles visiblefish walkto the desert redux waterflowers and sea plants
This error seems to be something weird with SMAPI not giving me valid player Id's when passing a mod message.
Ive made a temporary work around that avoids that.
Let me know if that fixes it for you.
Might be worth it to add if it's spacecore version as it could mean all spacecore skill work (unless you tested and it doesn't work)
Doesnt support spacecore skills.
It maybe something i think about doing, especially if spacechase is open to some questions on the networking side of their skills system.
But i don't imagine it'll be soon.
It should work with masteries now, if you have issues let me know ill be checking mod nexus for about another month.
Could you make it on mastery as well? It's considered part of exp and it would be a great feature in the 1.6 update. Thanks!
It should be updated and working with masteries now let me know if you find any issues.
"Has the option to allow catchup exp, when a new players join it boosts their exp up to everyone else's (On by default)"
This is really only relevant when you have an existing world before using the mod and use the mod later
https://smapi.io/log/5b2147c3cf524068b47ce2c3e2bc7d2a?format=RawView
With my inability to reproduce it and no errors in the logs im not to sure what i can do to help figure out the issue.
If removing my mod stops the crashing it may be best to do that, and then when you want to sync levels back up then reinstall play for one day, sleep to save then remove and continue. I know this is not ideal but I'm not to sure what i can do to help here,
Let me know if updating other mods makes the issue go away, and if it specifically only crashes when my mod is installed.
Thank you and sorry.