Hey I'm new to this. I thought I followed all of the instructions. I've installed SMAPI I have put 2 mods in the mod folder and it does neither. The mods are the always on server and NPC location as that one would be easier to see if it was working. I haven't seen how to get SMAPI logs it only pulls up a command line interface when I load the game so thats the only thing of SMAPI I've seen.
apparently there is a mod interface that is supposed to load up according a video I just watched in 2021
EDIT: NVM all of the guides never mention downloading Vortex it would have been nice.
Funny-snek was awesome enough to post it on github and gave is free and unencumbered with his permissions stated as:
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
I'll be uploading the fork on my github soon to the public once I cleanup my embarassing updates/edits so we can all work together and add the latest events/functionality we want to see. It's still a bit buggy but able to be compiled/run with SMAPI 4.0 + Stardew 1.6.0
The skills going to 10 is by design but may be a buggy implementation, from what I can tell, the author intended to set the host character's skills to level 10 if in server mode.
It stores a copy of the player's true skills in a json file so it can set the skills back to their originals when not in server mode. I haven't tested but it's possible this is not working properly or isn't being reflected to the user because of how skills usually display as progressing overnight.
Here is an example function which is executed when the user toggles the server mode on or off (this code is repeated in multiple places, the main part to look at is the lines like `Game1.player.FarmingLevel = 10` etc).
if (!IsEnabled) { Helper.ReadConfig<ModConfig>(); IsEnabled = true; this.Monitor.Log("Server Mode On!", LogLevel.Info); Game1.chatBox.addInfoMessage("The Host is in Server Mode!"); Game1.displayHUD = true; Game1.addHUDMessage(new HUDMessage("Server Mode On!", "")); Game1.options.pauseWhenOutOfFocus = false; // store levels, set in game levels to max var data = this.Helper.Data.ReadJsonFile<ModData>($"data/{Constants.SaveFolderName}.json") ?? new ModData(); data.FarmingLevel = Game1.player.FarmingLevel; data.MiningLevel = Game1.player.MiningLevel; data.ForagingLevel = Game1.player.ForagingLevel; data.FishingLevel = Game1.player.FishingLevel; data.CombatLevel = Game1.player.CombatLevel; this.Helper.Data.WriteJsonFile($"data/{Constants.SaveFolderName}.json", data); Game1.player.FarmingLevel = 10; Game1.player.MiningLevel = 10; Game1.player.ForagingLevel = 10; Game1.player.FishingLevel = 10; Game1.player.CombatLevel = 10; /////////////////////////////////////////// } else { IsEnabled = false; this.Monitor.Log("The server off!", LogLevel.Info); Game1.chatBox.addInfoMessage("The Host has returned!"); Game1.displayHUD = true; Game1.addHUDMessage(new HUDMessage("Server Mode Off!", "")); //set player levels to stored levels var data = this.Helper.Data.ReadJsonFile<ModData>($"data/{Constants.SaveFolderName}.json") ?? new ModData(); Game1.player.FarmingLevel = data.FarmingLevel; Game1.player.MiningLevel = data.MiningLevel; Game1.player.ForagingLevel = data.ForagingLevel; Game1.player.FishingLevel = data.FishingLevel; Game1.player.CombatLevel = data.CombatLevel; ////////////////////////////////////// }
134 comments
apparently there is a mod interface that is supposed to load up according a video I just watched in 2021
EDIT: NVM all of the guides never mention downloading Vortex it would have been nice.
Funny-snek was awesome enough to post it on github and gave is free and unencumbered with his permissions stated as:
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
I'll be uploading the fork on my github soon to the public once I cleanup my embarassing updates/edits so we can all work together and add the latest events/functionality we want to see. It's still a bit buggy but able to be compiled/run with SMAPI 4.0 + Stardew 1.6.0
there seem to be bugs like people getting kicked during events.
my skills get messed up and sometimes i wake up with lvl 10 in everything.
This is the best public mod we have atm, if there are any other solutions (that dont cost $) then tell me pls...
It stores a copy of the player's true skills in a json file so it can set the skills back to their originals when not in server mode. I haven't tested but it's possible this is not working properly or isn't being reflected to the user because of how skills usually display as progressing overnight.
Here is an example function which is executed when the user toggles the server mode on or off (this code is repeated in multiple places, the main part to look at is the lines like `Game1.player.FarmingLevel = 10` etc).
if (!IsEnabled)
{
Helper.ReadConfig<ModConfig>();
IsEnabled = true;
this.Monitor.Log("Server Mode On!", LogLevel.Info);
Game1.chatBox.addInfoMessage("The Host is in Server Mode!");
Game1.displayHUD = true;
Game1.addHUDMessage(new HUDMessage("Server Mode On!", ""));
Game1.options.pauseWhenOutOfFocus = false;
// store levels, set in game levels to max
var data = this.Helper.Data.ReadJsonFile<ModData>($"data/{Constants.SaveFolderName}.json") ?? new ModData();
data.FarmingLevel = Game1.player.FarmingLevel;
data.MiningLevel = Game1.player.MiningLevel;
data.ForagingLevel = Game1.player.ForagingLevel;
data.FishingLevel = Game1.player.FishingLevel;
data.CombatLevel = Game1.player.CombatLevel;
this.Helper.Data.WriteJsonFile($"data/{Constants.SaveFolderName}.json", data);
Game1.player.FarmingLevel = 10;
Game1.player.MiningLevel = 10;
Game1.player.ForagingLevel = 10;
Game1.player.FishingLevel = 10;
Game1.player.CombatLevel = 10;
///////////////////////////////////////////
}
else
{
IsEnabled = false;
this.Monitor.Log("The server off!", LogLevel.Info);
Game1.chatBox.addInfoMessage("The Host has returned!");
Game1.displayHUD = true;
Game1.addHUDMessage(new HUDMessage("Server Mode Off!", ""));
//set player levels to stored levels
var data = this.Helper.Data.ReadJsonFile<ModData>($"data/{Constants.SaveFolderName}.json") ?? new ModData();
Game1.player.FarmingLevel = data.FarmingLevel;
Game1.player.MiningLevel = data.MiningLevel;
Game1.player.ForagingLevel = data.ForagingLevel;
Game1.player.FishingLevel = data.FishingLevel;
Game1.player.CombatLevel = data.CombatLevel;
//////////////////////////////////////
}
Thanks, Jaggard