GithubHelp home page GithubHelp logo

c0mputery / selfsufficient Goto Github PK

View Code? Open in Web Editor NEW
20.0 1.0 0.0 75 KB

A mod for Content Warning that allows you to use your own Photon Server instance.

License: GNU General Public License v3.0

C# 100.00%

selfsufficient's Introduction

Self Sufficient

TO BE CLEAR THE VIRALITY MOD IS REQUIRED IF YOU WANT TO HAVE 5+ PLAYER MATCHES WORK WITHIN CONTENT WARNING.

Why This Mod Is Needed

Photon has put a cap onto landfalls Pun/Voice server instances that only allows for matches of 4 people or less to be made. This causes issues with the Virality mod when matches larger than 4 player are used, since it cant make you know make the match. What this mod does is allows for you, as the user, to replace the Photon appID that the game uses with one of your own. This is done by changing a value within the config to your own appID. To get your own appID you will need to create a Photon account and make a new app. This is a simple process and is free. These free instances allow for upto 16 player matches. Additionally this mod will automatically sync the appID of the host when a lobby is joined, given both clients are using the mod.

Video Tutorial

Video Tutorial (recommended): Here

Installation for client (This is without using a mod manager. If you use something like R2ModMan just install it like anything else).

  1. Install BepInEx, and run the game once to generate the BepInEx folder.
  2. Install the Virality mod.
  3. Download the latest release dll of Self Sufficient from the Releases page on GitHub or ThunderStore.
  4. Done! That's all that's needed if you are not hosting the mod.

Installation for host.

HOSTING WITH YOUR OWN APPID MAY CAUSE YOUR PHOTON ACCOUNT LINKED WITH SAID APPID TO BE TERMINATED, USE AT YOUR OWN RISK
So far no account has been terminated because of this mod.

  1. Do everything that the setup client does.
  2. Put the dll into the plugins folder in the BepInEx folder.
  3. Run the game once to generate the config file.
  4. Edit the config file with your own appID. (See Configuration for more information.)
  5. Make sure to restart your game or reload the menu.
  6. That's it, have fun hosting 5+ player games.

Configuration

The config file is located at RootGameDirectory\BepInEx\config\Computery.SelfSufficient.cfg. You will need to edit this file and add your own appID. To get these you will need to create a Photon account and make a new app.

  1. To make/login to a photon account go to Photon Signin.
  2. Once logged in you will need to create one new app. This is done by clicking on the "Create a new App" button.
  3. Select "Pun" from the "Select Photon SDK" dropdown.
  4. Then scroll down the page and press the "Create" button.
  5. Once you have created the appID you will need to copy it into the config file. The AppID should fill in the Pun section. It is unnecessary to fill in the voice section that as that is handled automatically.
  6. After you have done this you can save and close the file.
  7. Restart the game and you can now host 5+ player games.

Special Thanks

  • Anthony Stainton: Tech Support Help! Would not have been able to finish this if I had to help every person in the, in addition they made an excellent tutorial video.
  • Bobbie: Original idea for syncing AppID's over the Steam Lobby.
  • CammanderCat - Transpiler help.
  • dhkatz - Made the codeInstruction transpiler in ConnectionPatches.

FAQ

  • Does everybody need the config or just the host?
    • Only the host needs the config.

If You are on ThunderStore go to GitHub to see a more upto date FAQ.

selfsufficient's People

Contributors

c0mputery avatar

Stargazers

Yemibox avatar Chalee avatar Madame Natt avatar  avatar  avatar Penial avatar Wolfie avatar  avatar  avatar kosma avatar Main Fighter avatar SK avatar  avatar  avatar Zuruh avatar Nikita Shevchenko avatar ElonGates avatar  avatar Zay avatar  avatar

Watchers

 avatar

selfsufficient's Issues

cannot join friend

after setting up the mod

when I try to join my friends it connects for a second and it goes to a connecting screen before booting me out without a message

Failed To Authenticate With Servers

Upon starting the game with the 1.8.a update, I no longer have a server connection with my own photon server. "Authentication type not supported (none configured)". Seems like Landfall changed the requirement to having a steam authentication on the photon server?

Question

If i have the mod installed and i want to join a friend that doesnt have the mod installed
can i join and also if the roles are reversed(so im the host) can they join?

Currently not working

After update 3.0, it isn't working and no one can connect to the lobby. Is there any fix?

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.