1. This forum is archived for reference. For support & bug reports visit the help section of forums.stardewvalley.net

MailBox freeze issue

Discussion in 'Support' started by DaffyWench, Apr 9, 2017.

  1. DaffyWench

    DaffyWench Yeah, You!

    I've had 3 characters that have run into this issue, and I've just stopped playing that character and created a new one but its getting tiresome so I'm reaching out for help.
    The Error Log is this:
    [00:49:00 ERROR SMAPI] An error occured in the base update loop: System.ArgumentOutOfRangeException: 'minValue' cannot be greater than maxValue.
    Parameter name: minValue
    at System.Random.Next(Int32 minValue, Int32 maxValue)
    at StardewValley.Menus.LetterViewerMenu..ctor(String mail, String mailTitle)
    at StardewValley.GameLocation.mailbox()
    at StardewValley.GameLocation.performAction(String action, Farmer who, Location tileLocation)
    at StardewValley.GameLocation.checkAction(Location tileLocation, Rectangle viewport, Farmer who)
    at StardewValley.Locations.BuildableGameLocation.checkAction(Location tileLocation, Rectangle viewport, Farmer who)
    at StardewValley.Farm.checkAction(Location tileLocation, Rectangle viewport, Farmer who)
    at StardewValley.Game1.tryToCheckAt(Vector2 grabTile, Farmer who)
    at StardewValley.Game1.pressActionButton(KeyboardState currentKBState, MouseState currentMouseState, GamePadState currentPadState)
    at StardewValley.Game1.UpdateControlInput(GameTime time)
    at StardewValley.Game1.Update(GameTime gameTime)
    at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 208

    I'm not sure what min value and max value its talking about. I'd appreciate any help so I can get back to my farm! I'm having the grandest time with the mods everyone builds!!
     
    • Borodin

      Borodin Oxygen Tank

      I must be missing something--but I'm not seeing any mod loading, which is why you'd use SMAPI in the first place. What mods are you running? And which version of SMAPI?
       
      • DaffyWench

        DaffyWench Yeah, You!

        so sorry. I just copied the log pertaining to mailbox. Here's the complete log. I'm running SMAPI 1.9
        [00:48:03 INFO SMAPI] SMAPI 1.9 with Stardew Valley 1.11 on Microsoft Windows 10 Home
        [00:48:03 DEBUG SMAPI] Mods go here: C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods
        [00:48:03 DEBUG SMAPI] Loading SMAPI...
        [00:48:03 DEBUG SMAPI] Loading game...
        [00:48:03 DEBUG SMAPI] Loading mods...
        [00:48:03 TRACE SMAPI] Loading AllCropsAllSeasons.dll...
        [00:48:03 INFO SMAPI] Loaded All Crops All Seasons by cantorsdust & community, v1.3 | Allows crops to be planted and grown during any season.
        [00:48:03 TRACE SMAPI] Loading Automate.dll...
        [00:48:03 INFO SMAPI] Loaded Automate by Pathoschild, v1.0 | Lets you automate crafting machines, fruit trees, and more by connecting them to chests. (SDV 1.11 version.)
        [00:48:03 TRACE SMAPI] Rewriting CasksAnywhere for OS...
        [00:48:03 TRACE SMAPI] Rewrote CasksAnywhere to fix StardewModdingAPI.Inheritance.ItemStackChange type...
        [00:48:03 TRACE SMAPI] Loading CasksAnywhere.dll (rewritten in memory)...
        [00:48:03 INFO SMAPI] Loaded CasksAnywhere by LeonBlade, v1.1-alpha | Allows casts to be used anywhere.
        [00:48:03 TRACE SMAPI] Loading ExperienceBars.dll...
        [00:48:03 INFO SMAPI] Loaded Experience Bars by , v1.0.1 | Shows experience bars in the top-left corner.
        [00:48:03 TRACE SMAPI] Loading FishingOverhaul.dll...
        [00:48:03 INFO SMAPI] Loaded Teh's Fishing Overhaul by TehPers, v1.2.4 | A complete overhaul of vanilla fishing, with a huge amount of customization.
        [00:48:03 WARN SMAPI] Ignored folder "psconfigs" which doesn't have a manifest.json.
        [00:48:03 TRACE SMAPI] Loading MoreArtifactSpot.dll...
        [00:48:03 INFO SMAPI] Loaded MoreArtifactSpot by , v1.0 | Just more artifact spots.
        [00:48:03 TRACE SMAPI] Loading PlantOnGrass.dll...
        [00:48:03 INFO SMAPI] Loaded PlantOnGrass by Demiacle, v0.1.1-1 | Allows crops to be planted on green grass
        [00:48:03 TRACE SMAPI] Loading RelationshipBar.dll...
        [00:48:03 INFO SMAPI] Loaded Relationship Bar by Sly Merc, v1.1 | Shows the current relationship level and the progress to the next level in UI form.
        [00:48:03 TRACE SMAPI] Loading TimeFreeze.dll...
        [00:48:03 INFO SMAPI] Loaded TimeFreeze by , v1.0 | Emulating old HM style games where time is frozen inside.
        [00:48:03 TRACE SMAPI] Loading TrainerMod.dll...
        [00:48:03 INFO SMAPI] Loaded Trainer Mod by SMAPI, v1.9 | Adds SMAPI console commands that let you manipulate the game.
        [00:48:04 DEBUG SMAPI] Loaded 10 mods.
        [00:48:04 WARN SMAPI] Experience Bars used Mod.Entry(object[]) instead of Mod.Entry(IModHelper), which is deprecated since SMAPI 1.0. This will break in a future version of SMAPI.
        [00:48:04 WARN SMAPI] MoreArtifactSpot used Mod.Entry(object[]) instead of Mod.Entry(IModHelper), which is deprecated since SMAPI 1.0. This will break in a future version of SMAPI.
        [00:48:04 DEBUG SMAPI] Starting game...
        [00:48:05 DEBUG SMAPI] Starting console...
        [00:48:05 INFO SMAPI] Type 'help' for help, or 'help <cmd>' for a command's usage
        [00:48:07 ALERT Automate] Update to version 1.1 available.
        [00:48:49 WARN SMAPI] MoreArtifactSpot used PlayerEvents.LoadedGame, which is deprecated since SMAPI 1.6. This will break in a future version of SMAPI.
        [00:48:49 WARN SMAPI] MoreArtifactSpot used the Config class, which is deprecated since SMAPI 1.0. This will break in a future version of SMAPI.
        [00:49:00 ERROR SMAPI] An error occured in the base update loop: System.ArgumentOutOfRangeException: 'minValue' cannot be greater than maxValue.
        Parameter name: minValue
        at System.Random.Next(Int32 minValue, Int32 maxValue)
        at StardewValley.Menus.LetterViewerMenu..ctor(String mail, String mailTitle)
        at StardewValley.GameLocation.mailbox()
        at StardewValley.GameLocation.performAction(String action, Farmer who, Location tileLocation)
        at StardewValley.GameLocation.checkAction(Location tileLocation, Rectangle viewport, Farmer who)
        at StardewValley.Locations.BuildableGameLocation.checkAction(Location tileLocation, Rectangle viewport, Farmer who)
        at StardewValley.Farm.checkAction(Location tileLocation, Rectangle viewport, Farmer who)
        at StardewValley.Game1.tryToCheckAt(Vector2 grabTile, Farmer who)
        at StardewValley.Game1.pressActionButton(KeyboardState currentKBState, MouseState currentMouseState, GamePadState currentPadState)
        at StardewValley.Game1.UpdateControlInput(GameTime time)
        at StardewValley.Game1.Update(GameTime gameTime)
        at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 208
         
        • Borodin

          Borodin Oxygen Tank

          Have you tried running the game from the executable, just to see if you can get into the mailbox without issue?
           
          • DaffyWench

            DaffyWench Yeah, You!

            yep. same freeze issue. I've gone over the game save file to see if anything jumps out (I have a little bit of programming background) but I see nothing that would be causing it. Every character its happened with its been the same error about the min can't exceed the max value, but I don't know what value its referencing.
             
            • DaffyWench

              DaffyWench Yeah, You!

              Okay, its not really a fix, more of a bandaid, but I figured the issue was a conflict between the letter in the mailbox and some event that was trying to run, so I just deleted the mail in the box. It was something from Lewis so may have to do with his purple shorts. Honestly that man is a horny toad.
               
              • Borodin

                Borodin Oxygen Tank

                Indeed. I wouldn't trust anything that Lewis is involved. I mean, the man does nothing except wander around praising his own mayoral skills. It's a wonder the villagers haven't tied him up and dropped him in the caverns with a note to the flying serpents that he tastes good with relish.
                 
                • DaffyWench

                  DaffyWench Yeah, You!

                  its just too bad we cant interact with the NPCs that way because I'd definitely set him up. But I AM dismayed by how sad the villagers are. They ALL have soap opera lives. ok, so problem somewhat solved and its on to research why some of my mods aren't working. Toodles!
                   

                  Share This Page