Modding Help SpaceCore

Discussion in 'Mods' started by Memere, Feb 29, 2020.

  1. Memere

    Memere Yeah, You!

    Hello,
    Log Host: https://smapi.io/log/c9f4b695932c4ae89c4f16bca893fdba
    Log Friends: https://smapi.io/log/6860743e93ff4bc884d6aee4f556e672

    But friends get an error when they log in and I don't find the problem it shows them:


    [Json Assets] Loading stuff early (MP client)
    [Json Assets] Adding default/leveled recipes
    [SpaceCore] This mod failed in the GameLoop.SaveLoaded event. Technical details:
    System.InvalidOperationException: Can't use Helper.Data.ReadSaveData because this isn't the main player. (Save files are stored on the main player's computer.)
    à StardewModdingAPI.Framework.ModHelpers.DataHelper.ReadSaveData[TModel](String key) dans C:\source\_Stardew\SMAPI\src\SMAPI\Framework\ModHelpers\DataHelper.cs:ligne 85
    à SpaceCore.SpaceCore.onSaveLoaded(Object sender, SaveLoadedEventArgs e) dans G:\StardewValley\Mods_1.4\SpaceCore_SDV\SpaceCore.cs:ligne 168
    à StardewModdingAPI.Framework.Events.ManagedEvent`1.<>c__DisplayClass19_1.<Raise>b__1() dans C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Events\ManagedEvent.cs:ligne 106
    à StardewModdingAPI.Framework.PerformanceMonitoring.PerformanceMonitor.Track(String collectionName, String sourceName, Action action) dans C:\source\_Stardew\SMAPI\src\SMAPI\Framework\PerformanceMonitoring\PerformanceMonitor.cs:ligne 87
    à StardewModdingAPI.Framework.Events.ManagedEvent`1.<>c__DisplayClass19_0.<Raise>b__0() dans C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Events\ManagedEvent.cs:ligne 106
    [NPC Map Locations] Adjusted markers for Robin, Wizard
    [NPC Map Locations] Handled tracking for custom locations: BlueMoonVineyard, Desert, Farm, ForestWest, GrampletonFields, LostWoods, ShearwaterBridge, SpriteSpring, TownEast.
    [NPC Map Locations] Using recolored map maps\flashShifter.stardewValleyExpandedCP\spring_map.png.
    [NPC Map Locations] Unknown location: FarmHouse.


    And when we save:


    [SpaceCore] Doing skill menus
    [SpaceCore] This mod failed in the GameLoop.Saved event. Technical details:
    System.ArgumentNullException: La valeur ne peut pas être null.
    Nom du paramètre : path1
    à System.IO.Path.Combine(String path1, String path2)
    à SpaceCore.SpaceCore.onSaved(Object sender, SavedEventArgs e) dans G:\StardewValley\Mods_1.4\SpaceCore_SDV\SpaceCore.cs:ligne 250
    à StardewModdingAPI.Framework.Events.ManagedEvent`1.<>c__DisplayClass19_1.<Raise>b__1() dans C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Events\ManagedEvent.cs:ligne 106
    à StardewModdingAPI.Framework.PerformanceMonitoring.PerformanceMonitor.Track(String collectionName, String sourceName, Action action) dans C:\source\_Stardew\SMAPI\src\SMAPI\Framework\PerformanceMonitoring\PerformanceMonitor.cs:ligne 87
    à StardewModdingAPI.Framework.Events.ManagedEvent`1.<>c__DisplayClass19_0.<Raise>b__0() dans C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Events\ManagedEvent.cs:ligne 106
     
    • Wingyl

      Wingyl Scruffy Nerf-Herder

      SpaceCore complains about existing if you're not the host in Multiplayer; SpaceChase is probably going to fix it eventually, but in the meantime SpaceCore grumbles in red in the log about not being the host but continues to work fine.
       
      • Memere

        Memere Yeah, You!

        Okay very thanks
         

        Share This Page