mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-05 15:02:56 +00:00
NTSL2+ (#6256)
Warning! Big Scary Change! NTSL2+ is a re-work of NTSL. The goals of this rework are to remove worries regarding server load, and make it impossible for a malicious program to crash the server. The result is an asynchronous daemon based interpreted language, called NTSL2+. The Daemon in question can be found Here Features: Programming Language worth considering a programming language Limit-able execution - Unable to hold the server up Runs on Modular Computers Shitty in-game networking. Players can finally write their own laptop programs I cannot stress that enough.
This commit is contained in:
@@ -292,6 +292,10 @@ var/list/gamemode_cache = list()
|
||||
var/ert_scaling_factor_antag = 1
|
||||
var/ert_scaling_factor_dead = 2
|
||||
|
||||
// Configurable hostname / port for the NTSL Daemon.
|
||||
var/ntsl_hostname = "localhost"
|
||||
var/ntsl_port = "1945"
|
||||
|
||||
/datum/configuration/New()
|
||||
var/list/L = typesof(/datum/game_mode) - /datum/game_mode
|
||||
for (var/T in L)
|
||||
@@ -894,6 +898,11 @@ var/list/gamemode_cache = list()
|
||||
if ("ert_scaling_factor_dead")
|
||||
ert_scaling_factor_dead = text2num(value)
|
||||
|
||||
if ("ntsl_hostname")
|
||||
ntsl_hostname = value
|
||||
if ("ntsl_port")
|
||||
ntsl_port = value
|
||||
|
||||
else
|
||||
log_misc("Unknown setting in configuration: '[name]'")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user