funny-snek / always-on-server-for-multiplayer Goto Github PK
View Code? Open in Web Editor NEWA Headless server mod for Stardew Valley
License: The Unlicense
A Headless server mod for Stardew Valley
License: The Unlicense
I have the file in the right folder, but the invite code never goes to it, and it never goes to my clipboard. Your code looks right, and even in debug mode I'm not seeing any exceptions, so I don't know what the problem is.
EDIT: Found the logfile. Looks like no error is displayed there from AOS, but SMAPI is still writing to it. My guess is that there's something there that's conventional for Windows, but breaks on Unlx-like. I don't think it's the hardcoded path, either: The system did generate a user count file on its own. It looks like the means for handling file writing is written slightly differently in SMAPI itself here. @Pathoschild would you take a look at this when you get a spare minute?
EDIT EDIT: I looked it over, but MCS, xbuild, and dotnet are all fighting me tooth and nail to get this compiled, so I can't really run any tests.
Thanks!
I'm wondering if I need to write a newer version of the headless online server.
This is sort of working. However after awhile the game hangs and when you try to reload it there are lots of errors. The only way to resolve is to use an older save.
Hi,
I have found a "bug", if I switch On/Off the Server mode, my Character gets Level Up ... I understand why you need to do it, BUT if you don't turn Off Server Mode AND close the game without resetting your Skill LvLs, Skill LvLs can be stuck at LvL 10.
Current Behavior/Reproduce
data/SaveFolderName.json
got stored wrong LvLsWorkaround (Fix):
Mods/Always On Server/data/SaveFolderName.json
Maybe Fix ?:
Get rid of the load/store Skill data, depending on the Server On/Off reset ... somehow, I don't know if you can Listen to LvLUp Events (in SMAPI) and just preset all Professions in the config.json, so you can just "set" the Profession after Sleep.
Addition Notes:
SDV Version: 1.3.32
SMAPI Version: 2.9.3
Always On Server (Mod) Version: 1.20.0
No Warnings or Error in SMAPI Console
Other Mods are loaded, should effect Skill LvLs
data/SaveFolderName.json
before Server On
{
"FarmingLevel": 5,
"MiningLevel": 1,
"ForagingLevel": 4,
"FishingLevel": 2,
"CombatLevel": 1
}
data/SaveFolderName.json
after Server On and Game Restart
{
"FarmingLevel": 10,
"MiningLevel": 10,
"ForagingLevel": 4,
"FishingLevel": 10,
"CombatLevel": 10
}
I have no Idea why ForagingLevel
is still LvL 4
, maybe I got an LvLUp after saving and LvL sets by the Game
can you update to compatible with 1.5? please.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.