Skip to content

GDenisC/osa-experiments

 
 

Repository files navigation

Open Source Arras

Experiments

  • Added 3d, 4d shapes support
  • New 3D food mockups
  • Updated growth, growth curve, 8 NEW growth curves look at Game/gamemodeconfigs/growth.js
  • Shapes cannot spawn on players
  • Shapes spawn instantly (while loop instead of if statement)
  • Procedural Classes addon (WIP)
  • Weapons addon and WEAPONS (WIP)
  • makeFat facilitator
  • sharedHealth facilitator
  • Celestials gamemode
  • Updated laby food (rarities, tier auto-generation, global.js)
  • Updated mothership gamemode (a bit)
  • Major memory leak fix (fixed in unstable branch)

Logo

GitHub Release Discord GitHub repo size

Warning

Open Source Arras is beta software. This build is not representative of the final product. Expect bugs and missing features.

Setup Guide (Localhost)

This guide covers setting up your server on your own hardware and only supports devices running up-to-date versions of Windows/macOS/Linux.

You'll first need to install Node.js. It doesn't matter if you pick the LTS or Latest version, they'll both work fine.

Once Node.js is installed, open your terminal application (Command Prompt for Windows users) and run the command npm i ws. This will install the WebSocket library that Open Source Arras uses.

After installing ws, download the source code of the latest release of Open Source Arras. Extract it once it's downloaded and open either run.bat (if you're on Windows) or run.sh (if you're not). If there aren't any errors, your server will start up. Go to localhost:3000 in your favourite web browser (keep the terminal window open, closing it will shut down the server) to play.

Note

If you want to stay up to date, create a fork, download a git client (such as GitHub Desktop), and sync the fork whenever there's a major update.

Major updates may introduce breaking changes that alter how certain things work. It is your responsibility to keep your private server up-to-date and functioning.

Server setup

You can set up in-game servers in config.js file, in SERVERS. For further explanation, see the setting itself. It's an array of objects where each object is a server.

Travelling between servers (Nexus)

Copy this code into your server's PROPERTIES:

SERVER_TRAVEL_PROPERTIES: {
    LOOP_INTERVAL: 10000, // how often the portal loop executes
    AMOUNT: 1, // amount of portals to spawn
},
SERVER_TRAVEL: [
    {
        IP: "<YourIP>", // destination server IP, don't add "https://" or any slashes to it
        PORTAL_PROPERTIES: {
            SPAWN_CHANCE: 3, // chance for a portal to spawn somewhere in the map each loop iteration (higher = more chances)
            COLOR: "red", // portal color
        }
    }
]

Note

Make sure to set ALLOW_SERVER_TRAVEL to true in your destination server's PROPERTIES.

Other Links

p.s. if something goes terribly wrong it's not our fault

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.2%
  • HTML 1.7%
  • CSS 1.1%