Git Product home page Git Product logo

always-on-server-for-multiplayer's People

Contributors

funny-snek avatar pathoschild avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

always-on-server-for-multiplayer's Issues

Invite Code neither copied to clipboard nor written to output file on Linux

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!

Update for 1.5?

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.

Resetting Skill LvL 10

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

  • Set Server Mode On
  • Save the Game (via Player 2)
    • (Save stores LvL 10 skills ?)
  • Quit the Game without Server Mode Off
  • Restart Game
  • Set Server Mode On
  • data/SaveFolderName.json got stored wrong LvLs
  • (Set Server Mode Off)

Workaround (Fix):

  • Set Server Mode On
  • edit your Mods/Always On Server/data/SaveFolderName.json
  • Set Server Mode Off
  • (Save Game)

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.