Tool SMAPI: Stardew Modding API

Discussion in 'Mods' started by ClxS, Mar 6, 2016.

  1. snthe

    snthe Space Hobo

    Youre right, the problem is weapon.xnb
    Game work well now..
    Thank you for you both @Pathoschild
     
    • 78star

      78star Void-Bound Voyager

      Hello. I am getting a runtime error IndexOutOfRangeException. I will attach the error log bellow, but I am going to college for computer science so if you could explain how you figured out how to fix it please let me know so I can help others/do it myself in the future :D.


      Code:
      [13:02:46 INFO  SMAPI] SMAPI 1.15.3 with Stardew Valley 1.2.33 on Microsoft Windows 10 Pro
      [13:02:46 DEBUG SMAPI] Mods go here: C:\Program Files (x86)\Steam\steamapps\common\Stardew Valley\Mods
      [13:02:46 DEBUG SMAPI] Preparing SMAPI...
      [13:02:46 TRACE SMAPI] Overriding content manager...
      [13:02:46 ERROR SMAPI] The game crashed last time you played. That can be due to bugs in the game, but if it happens repeatedly you can ask for help here: http://community.playstarbound.com/threads/108375/.
      [13:02:46 ERROR SMAPI] If you ask for help, make sure to attach this file: C:\Users\78star\AppData\Roaming\StardewValley\ErrorLogs\SMAPI-crash.txt
      [13:02:46 INFO  SMAPI] Press any key to delete the crash data and continue playing.
      [13:02:48 DEBUG SMAPI] Starting game...
      [13:02:54 TRACE SMAPI] Detecting common issues...
      [13:02:54 DEBUG SMAPI] Loading mod metadata...
      [13:02:54 DEBUG SMAPI] Loading mods...
      [13:02:54 TRACE SMAPI] Loading All Professions from AllProfessions\AllProfessions.dll...
      [13:02:54 TRACE SMAPI] Loading Better Ranching from BetterRanching\BetterRanching.dll...
      [13:02:54 TRACE SMAPI]    Rewrote BetterRanching.dll to fix StardewValley.Game1.player field...
      [13:02:54 TRACE SMAPI]    Rewrote BetterRanching.dll to fix StardewValley.Game1.activeClickableMenu field...
      [13:02:54 TRACE SMAPI] Loading Chest Label System from ChestLabelSystem\ChestLabelSystem.dll...
      [13:02:54 TRACE SMAPI]    Rewrote ChestLabelSystem.dll to fix StardewValley.Game1.activeClickableMenu field...
      [13:02:54 TRACE SMAPI]    Rewrote ChestLabelSystem.dll to fix StardewValley.Game1.gameMode field...
      [13:02:54 TRACE SMAPI] Loading LovedLabels from LovedLabels\LovedLabels.dll...
      [13:02:54 TRACE SMAPI] Loading Simple Crop Label from SimpleCropLabel\SimpleCropLabel.dll...
      [13:02:54 TRACE SMAPI] Loading Better Sprinklers from SMAPISprinklerMod\SMAPISprinklerMod.dll...
      [13:02:54 TRACE SMAPI] Loading Trainer Mod from TrainerMod\TrainerMod.dll...
      [13:02:54 INFO  SMAPI] Loaded 7 mods:
      [13:02:54 INFO  SMAPI]    All Professions 1.3 by cantorsdust & community | Gives you all possible professions when you level up, instead of just the one chosen.
      [13:02:54 INFO  SMAPI]    Better Ranching 1.3 by Urbanyeti | Removes delay on failed milk/shear attempts and displays when animals can be milked/sheared.
      [13:02:54 INFO  SMAPI]    Better Sprinklers 2.3.1-pathoschild-update.3 by Maurício Gomes (Speeder) | Make the Sprinklers work better.
      [13:02:54 INFO  SMAPI]    Chest Label System 1.5.1-pathoschild-update by Maurício Gomes (Speeder) | Lets you label your chests.
      [13:02:54 INFO  SMAPI]    LovedLabels 2.1 by Advize & Jinxiewinxie | Gives pets customizable tooltips so you can see who needs the love.
      [13:02:54 INFO  SMAPI]    Simple Crop Label 5.1 by TheMusketeer | Identify crops and trees on farm
      [13:02:54 INFO  SMAPI]    Trainer Mod 1.15.1 by SMAPI | Adds SMAPI console commands that let you manipulate the game.
      [13:02:55 INFO  Simple Crop Label] config file value "mouse_hover" is False
      [13:02:55 DEBUG SMAPI] Starting console...
      [13:02:55 TRACE SMAPI] Context: locale set to en.
      [13:02:55 INFO  SMAPI] Type 'help' for help, or 'help <cmd>' for a command's usage
      [13:02:55 ALERT SMAPI] You can update SMAPI from version 1.15.3 to 1.15.4
      [13:03:28 TRACE Console.Out] gameMode was 'titleScreenGameMode (0)', set to 'loadingMode (6)'.
      [13:03:28 TRACE Console.Out] getLoadEnumerator('Olivia_163328549')
      [13:03:33 TRACE Console.Out] gameMode was 'loadingMode (6)', set to 'playingGameMode (3)'.
      [13:03:33 TRACE SMAPI] Context: loaded saved game 'Olivia_163328549', starting fall 26 Y2.
      [13:03:42 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:42 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] An error occured in the overridden update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
         at StardewValley.Game1.Update(GameTime gameTime)
         at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 259
      [13:03:43 ERROR SMAPI] SMAPI requested an immediate game shutdown: the game crashed when updating, and SMAPI was unable to recover the game.
      
      Also there was this file.

      Code:
      Message: Index was outside the bounds of the array.
      InnerException:
      Stack Trace:    at StardewValley.Game1.Update(GameTime gameTime)
         at Microsoft.Xna.Framework.Game.Tick()
         at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
         at Microsoft.Xna.Framework.GameHost.OnIdle()
         at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
         at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
         at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
         at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
         at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
         at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
         at System.Windows.Forms.Application.Run(Form mainForm)
         at Microsoft.Xna.Framework.WindowsGameHost.Run()
         at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
         at StardewValley.Program.Main(String[] args)
       
      • Badtimefrank99

        Badtimefrank99 Intergalactic Tourist

        Keeps crashing when I try to go to bed on spring 28.
         

          Attached Files:

        • Pathoschild

          Pathoschild Giant Laser Beams

          Unfortunately we can't directly diagnose errors in the game's Update method (see proposed game change to fix that). Here are some things to try:
          1. Update to the latest version of SMAPI.
          2. Remove all your SMAPI mods temporarily; does it still happen? If not, reinstall your mods one at a time until it starts happening again.
          3. If it still happens with no SMAPI mods installed, try resetting your content files.
          Let me know what the results are and I'll help you from there. :)

          Can you try it again, then post your SMAPI-crash.txt file instead?
           
          • Badtimefrank99

            Badtimefrank99 Intergalactic Tourist

            [22:56:16 ERROR SMAPI] An error occured in the base update loop: System.IndexOutOfRangeException: Index was outside the bounds of the array.
            at StardewValley.Object.getDescription()
            at StardewValley.Menus.InventoryMenu.hover(Int32 x, Int32 y, Item heldItem)
            at StardewValley.Menus.MenuWithInventory.performHoverAction(Int32 x, Int32 y)
            at StardewValley.Menus.ItemGrabMenu.performHoverAction(Int32 x, Int32 y)
            at StardewValley.Game1.updateActiveMenu(GameTime gameTime)
            at StardewValley.Game1.Update(GameTime gameTime)
            at StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 614

            I can't seem to make it crash now, but that's being spammed.
             
            • Pathoschild

              Pathoschild Giant Laser Beams

            • Badtimefrank99

              Badtimefrank99 Intergalactic Tourist

              Deleted it and fixed it, gonna go spend an hour looking for what mod added it. yeah for xnbloader.

              Already tracked down the culprit mod.
               
              • SVFarmRanch

                SVFarmRanch Orbital Explorer

                Hello, Im not sure how to post or if im in the right thread. I was told to go to the SMAPI thread, yet i cant seem to create a new post, so I am replying here as if it were a new post.
                My issue is that I cannot get my mods to work. I posted earlier in the Mods forum. It seems that the DOS window is not showing up. I can successfully install the smapi, get the window to press 1 to install and it says done. but when I run the game from steam, no dos window shows up. I do have the steam launcher pointed at the stardew api.exe file. It seems since the big update, the mods fail to launch anymore. Im not sure what I am doing wrong. Can you help me?
                 
                • Cassius Skye

                  Cassius Skye Intergalactic Tourist

                  Hallo! Every time I hover over say.. my strawberries in-game, the game instant crashes and shows me this error:

                  [12:30:56 ERROR SMAPI] An error occured in the overridden draw loop: System.Exception: Couldn't invoke the private StardewModdingAPI.Framework.SGame::drawHUD field ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
                  at StardewValley.Object.getDescription()
                  at StardewValley.Menus.Toolbar.draw(SpriteBatch b)
                  at StardewValley.Game1.drawHUD()
                  --- End of inner exception stack trace ---
                  at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
                  at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
                  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
                  at StardewModdingAPI.Framework.Reflection.PrivateMethod.Invoke(Object[] arguments) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\Reflection\PrivateMethod.cs:line 91
                  --- End of inner exception stack trace ---
                  at StardewModdingAPI.Framework.Reflection.PrivateMethod.Invoke(Object[] arguments) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\Reflection\PrivateMethod.cs:line 95
                  at StardewModdingAPI.Framework.SGame.<>c.<.ctor>b__61_1() in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 168
                  at StardewModdingAPI.Framework.SGame.DrawImpl(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 1192
                  at StardewModdingAPI.Framework.SGame.Draw(GameTime gameTime) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:line 668


                  (it seems all the D : text is made into faces cx)

                  Any help would be much appreciated! ^>^
                   
                  • Pathoschild

                    Pathoschild Giant Laser Beams

                    Try this:
                    1. right-click Stardew Valley in Steam;
                    2. click Properties;
                    3. click Set Launch Options;
                    4. post a screenshot of that window;
                    5. and copy the launch options and paste them here too.
                    It looks like you replaced your Content\Data\ObjectInformation.xnb file with a broken or outdated one. Resetting your content files should fix that.
                     
                    • lxs597

                      lxs597 Intergalactic Tourist

                      Hello,My smapi have a trouble,someone tell me can get help from here.In the morning,I ask the question in "support" but no one reply. So should I ask in the post?

                      My smapi usually crash in September.I test delete all mods ,it work good.But it must be crash when I install any mod.I have play the same day twenty times.It usually crash in 6:00pm~1:00pm. Sometimes I only open but play,it have not crash.I think maybe problem have solved and keep playing.It crash……

                      Most of the situation,there noting in log.I only find the bug log tree times.But today I got it.Can somebody help me?

                      stardew is 1.2.33 smapi is 1.15.4 system is windows 10 1703
                      Mod have fastanimations\getdress\skipintro\calendaranywhere

                      Code:
                      [10:49:24 ERROR SMAPI] The game failed unexpectedly: System.AccessViolationException: Try to read or write protected memory. This usually indicates that other memory is corrupted.
                      在 Microsoft.Xna.Framework.Audio.UnsafeNativeMethods.SoundBank.PlayCue(UInt32 hSoundBank, String string, Int32 length)
                      在 Microsoft.Xna.Framework.Audio.SoundBank.PlayCue(String name)
                      在 StardewValley.Game1.playSound(String cueName)
                      在 StardewValley.FarmerSprite.checkForFootstep()
                      在 StardewValley.FarmerSprite.animate(Int32 Milliseconds)
                      在 StardewValley.FarmerSprite.animate(Int32 whichAnimation, Int32 milliseconds)
                      在 StardewValley.FarmerSprite.animate(Int32 whichAnimation, GameTime time)
                      在 StardewValley.Farmer.MovePosition(GameTime time, Rectangle viewport, GameLocation currentLocation)
                      在 StardewValley.Farmer.Update(GameTime time, GameLocation location)
                      在 StardewValley.Game1.UpdateCharacters(GameTime time)
                      在 StardewValley.Game1.Update(GameTime gameTime)
                      在 StardewModdingAPI.Framework.SGame.Update(GameTime gameTime) 位置 D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\SGame.cs:行号 614
                      在 Microsoft.Xna.Framework.Game.Tick()
                      在 Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
                      在 Microsoft.Xna.Framework.GameHost.OnIdle()
                      在 Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
                      在 Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
                      在 System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
                      在 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
                      在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
                      在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
                      在 System.Windows.Forms.Application.Run(Form mainForm)
                      在 Microsoft.Xna.Framework.WindowsGameHost.Run()
                      在 Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
                      在 Microsoft.Xna.Framework.Game.Run()
                      在 StardewModdingAPI.Program.RunInteractively() 位置 D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Program.cs:行号 225
                      [10:49:24 INFO SMAPI] Game has ended. Press any key to exit.
                       
                      • Pathoschild

                        Pathoschild Giant Laser Beams

                        Hi @lxs597. That error means there's a problem with your system memory, probably not related to your mods. I suggest performing a memory test to check if your computer's RAM is corrupt.
                         
                        • zeixx

                          zeixx Space Spelunker

                          I recently updated to SMAPI 1.15.4, and now my game keeps crashing whenever I try to grab something from the inventory bar. Also, I can't take anything out of chests now, which may be related to Categorize Chests 1.4.2 which I usually use. I tried taking it out of the mod folder and using an old save, but that didn't fix anything. I'd appreciate any help!
                           

                            Attached Files:

                          • Pathoschild

                            Pathoschild Giant Laser Beams

                          • zeixx

                            zeixx Space Spelunker

                            Thanks!! That fixed it. :)
                             
                            • lxs597

                              lxs597 Intergalactic Tourist

                              Very thanks.But I check ram ,it' have not damage:nuruconfused:
                               
                              • Badtimefrank99

                                Badtimefrank99 Intergalactic Tourist

                                [09:52:53 ERROR SMAPI] A mod failed handling the LocationEvents.CurrentLocationChanged event:
                                System.NullReferenceException: Object reference not set to an instance of an object.
                                at StardewNotification.ProductionNotification.CheckShedProductions()
                                at StardewNotification.ProductionNotification.CheckProductionAroundFarm()
                                at StardewNotification.ModEntry.ReceiveCurrentLocationChanged(Object sender, EventArgsCurrentLocationChanged e)
                                at StardewModdingAPI.Framework.InternalExtensions.SafelyRaiseGenericEvent[TEventArgs](IMonitor monitor, String name, IEnumerable`1 handlers, Object sender, TEventArgs args) in D:\source\_Stardew\SMAPI\src\StardewModdingAPI\Framework\InternalExtensions.cs:line 65

                                Keeps printing out in the console but I can't tell what is broken or missing to fix it.

                                Suggestion would be to replace "A mod" with "mod name" so it's easier to identify the problems on our own.
                                 
                                • Cassius Skye

                                  Cassius Skye Intergalactic Tourist


                                  Yeah you were totally right, I actually solved this myself a lil bit ago but only because i was experimenting with new mods lol. Thank you for your reply! You rock.
                                   
                                  • Pathoschild

                                    Pathoschild Giant Laser Beams

                                  • worldworld

                                    worldworld Astral Cartographer

                                    Doesn't have SMAPI a manifest itself? The SMAPI window told me so, so I moved the folder elsewhere, and the error doesn't appear again. I guess that it's still running the game? I still don't understand much from modding.
                                     

                                    Share This Page