Offline Multiplayer
GrindFest's offline multiplayer allows you to compete against other players by sharing your bot code to run on other people's machines and having their bots to run on yours.
This guide will help you set up your bot repository and share it with other players.
Quick Start
- Your bot must inherit from IsolatedHero
- You can only use allowed namespaces like GrindFest.Isolated
- Your bot must be in a public Git repository
- There is no IsBotting, the bot is always running
- Update method on your bot runs every 0.1 seconds (instead of every frame)
- Classes in isolated namespace look and work the same as in the normal one.
Note
If you want to test that your script isn't using any forbidden namespace you can turn on "Force Isolated API" in the game settings.
If you want to test security of isolation through WebAssembly you can turn on "Disable Security Static Code Analysis" in the game settings.
Setting Up Git Repository
- Create a public Git repository
- The game will automatically recognize if your Script directory is a git repository
- Send commit with your working bot for approval through the game settings.
Note
As a temporary security measure all bots are manually approved.
Security Concerns
To ensure no malicious code is executed on your machine, there are several security measures in place:
- Manual bot approval
- Static code analysis
- Allowed namespaces:
- System
- GrindFest.Isolated
- Allowed namespaces:
- Isolation through WebAssembly