Pathoschild / SMAPI

The modding API for Stardew Valley.
https://smapi.io/
GNU Lesser General Public License v3.0
1.86k stars 263 forks source link

Missing Method? #88

Closed Reggie4u2 closed 8 years ago

Reggie4u2 commented 8 years ago

Whenever I try to run my game it trows a System.MissingMethodException

Zoryn4163 commented 8 years ago

Details?

Reggie4u2 commented 8 years ago

I recently installed the cheats menu mod and after placing everything in its respected folder I click in SMAPI.exe and when the command prompt comes up it says a bunch of things then says "Game failed to start: System.MissingMethodException: Method not found: 'Int32 StardewValley.Game1.getMouseX()'. at StardewModdingAPI.Inheritance.SGame.Update(GameTime gameTime) at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun) at StardewModdingAPI.Program.RunGame()"

Zoryn4163 commented 8 years ago

Does this occur with no mods installed? Which version of SMAPI are you using?

Reggie4u2 commented 8 years ago

Yes it happens without any mods installed and I'm using 0.39.4

Zoryn4163 commented 8 years ago

Have you tried 0.39.5?

Reggie4u2 commented 8 years ago

Yes I have

Zoryn4163 commented 8 years ago

I'm 99% certain that a mod is causing that. Are you certain your mods folder is empty? Note that there are 2 'Mods' folders.

Reggie4u2 commented 8 years ago

Yes the mod folder is completely empty

Zoryn4163 commented 8 years ago

Try deleting the entire mods folder itself. I cannot reproduce this, and I've yet to have anyone that's tested my builds run into this.

Reggie4u2 commented 8 years ago

I am so sorry I figured out what was causing the problem it was purely due to my own negligence that this happened. I forgot I copied my steam folders and I was running everything from the wrong folder. Everything is working perfectly now I am sorry for causing you trouble.

Zoryn4163 commented 8 years ago

It's all good. Have a nice day/evening.