Hailot / LaneSmashScript-1

Script for the LaneSmash tournament

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PS2 Scrims Script

Overlay Example

Getting Started

Requirements

Make sure you have the latest node.js installed. This application requires at least Node 7.6.0 to run.

Installation

Run install.bat.

Running A Match

Starting The Script

IMPORTANT: You need to restart the script BEFORE EVERY MATCH, regardless of how the match ended or if the script terminated with an error. Failing to do so may result in subsequent matches being scored incorrectly and other undesirable effects.

Run start.bat. Alternatively, run the following from the command line: If the script started up successfully, you should see a message like this in opened terminal window:

Starting server...
Connect to website @ localhost:3000

Setting Up A Match

In the browser of your choice, navigate to http://localhost:3000/admin.

You should see a screen with these forms on the left admin view

Other Admin Fields

Start Match

Will Start the Timer

Disable the change of teams or lane

Pause Match

Will Pause the Timer

Do not allow to change teams or lane

Resume Match

Will Resume the Timer

Do not allow to change teams or lane

End Round Match

Will End round prematurally. Will reset timer to default value

Will allow to change lane and teams

Reset Match

Will Reset the Match. Will reset timer to default value, the number off round, the score

Will allow to change lane and teams

Second Round and More

For the Second Round Just press Start

Streaning Overlay Setup - OBS

In your streaming scene, add a new BrowserSource source and set to URL to http://localhost:3000/.

Set the Width and Height to the full width of your monitor, and clear out the CSS box.

Check the Refresh browser when scene becomes active box at the bottom of the Properties window.

Click OK to save the source, then make sure it's visible and positioned above your Planetside 2 source.

The Properties for your BrowserSource should look something like this
BrowserSource Properties

Credits

Created by Atypick Supported by the API and WebSocket of Middd

About

Script for the LaneSmash tournament


Languages

Language:JavaScript 58.7%Language:HTML 24.6%Language:CSS 16.5%Language:Batchfile 0.2%