1. dejavu4you

    dejavu4you Naked Wanderer

    Guys can someone help me or do simple mod for this game? pls
    Simple i mean change script in this game to this would read seperate from folder save after command game restart or reset-refresh chuck (forgot ready). There is like save is set for a file global-object.bin and the same reset. Be nice if script save the same file name but after reset read everything what is inside this folder.
    I edit dll for global... to be read and save from local network (ruter -usb port). Now i can play on anyone pc in the home using one save but problem is that when my son playing in the same time with me he cant save after my save game -we lost progress building.
    Ik often comming update and nobady not be change that all the time but i will help if someone show me what exactly need add/edit (can be ready dll and i coppy idea in new update)
    Im not good with writing the script and sorry for my bad spelling.

    Coop or multiplayer in Subnautica? I'm afraid not.
    FAQ - Multiplayer, experimental branch bugs, more... :: Subnautica General Gameplay Discussion

    dll:
    Assembly-CSharp.dll
    Assembly-CSharp-firstpass.dll
     
  2. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    You'd need more than just editing the DLLs, the game has no actual networking in it.
     
  3. dejavu4you

    dejavu4you Naked Wanderer

    Maybe idk :(
    Dont want to disturb you but I will add this.

    -------------------------------------------------

    global-object

    // LargeWorldStreamer
    public static string GetGlobalRootPath(string prefix)
    {
    return Path.Combine(prefix, "global-objects.bin"); edited by self-> \\BTHUB3\USB_Disk\SanDisk_07811560_1\Multiplayer\global-objects.bin
    }
    -------------------------------------------------
    OnConsoleCommand_gamereset

    // LargeWorldStreamer
    private void OnConsoleCommand_gamereset()
    {
    this.cellManager.ResetEntityDistributions();
    this.ForceUnloadAll();
    this.UnloadGlobalRoot();
    this.LoadGlobalRoot();
    this.LoadSceneObjects();
    }

    -------------------------------------------------

    // LargeWorldStreamer
    public void LoadGlobalRoot()
    {
    this.UnloadGlobalRoot();
    byte[] fileFromCache = SaveLoadManager.main.GetFileFromCache(LargeWorldStreamer.GetGlobalRootPath(string.Empty));
    string globalRootPath = LargeWorldStreamer.GetGlobalRootPath(this.fallbackPrefix);
    if (fileFromCache != null)
    {
    this.serializer.LoadObjectTreeFromBytes(fileFromCache, new Action<GameObject>(this.OnGlobalRootLoaded), 0);
    }
    else if (File.Exists(globalRootPath))
    {
    this.serializer.LoadObjectTreeFromFile(globalRootPath, new Action<GameObject>(this.OnGlobalRootLoaded), 0);
    }
    else
    {
    GameObject gameObject = new GameObject("Global Root");
    gameObject.AddComponent<StoreInformationIdentifier>();
    this.OnGlobalRootLoaded(gameObject);
    }
    }
     
  4. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    You'd still need a networking platform/server.
     
  5. dejavu4you

    dejavu4you Naked Wanderer

    But this is only for a files path and person can be invisible. (only read files from network disk or share in Hamachi)
    We well wait for proper one multiplayer and on this time we can share world :)
     
  6. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    If you want a simple sync setup, then just create a symlink (google it ;)) from where the game stores to the sync method such as Dropbox or whatever.
     
    dejavu4you likes this.
  7. dejavu4you

    dejavu4you Naked Wanderer

    Agree and i love uncle google. Problem is that how to add second path for other player
    e.g. i set on my file globaldejavu.bin other person globalgoogle.bin ;) ....
    How to set save game like my globaldejavu.bin and the same time when we/I use command resetgame then procedure have to read everything from this folder files or after logout.
    Is hard for me explained this :(
     
  8. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Why do you need multiple files if you are just trying to sync the same game file?
     
  9. dejavu4you

    dejavu4you Naked Wanderer

    Dont have idea do I need multiple file :( If i put "block" and save game, person who playing on the same time use share file save my save is gone. It looks like cant refresh chuck. Command not helping. If u have any idea what or how to mod the game we were very grateful (co-op players).
    If needs any more news on this subject or something else then please post here or directly to me on mail.
     
  10. SlovakSoftware(Official)

    SlovakSoftware(Official) Naked Wanderer

    Are you making this mod or what it is ???