mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 22:42:26 +01: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:
@@ -222,7 +222,9 @@ var/list/admin_verbs_debug = list(
|
||||
/client/proc/reset_openturf,
|
||||
/datum/admins/proc/capture_map,
|
||||
/client/proc/global_ao_regenerate,
|
||||
/client/proc/add_client_color
|
||||
/client/proc/add_client_color,
|
||||
/client/proc/connect_ntsl,
|
||||
/client/proc/disconnect_ntsl
|
||||
)
|
||||
|
||||
var/list/admin_verbs_paranoid_debug = list(
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
/client/proc/disconnect_ntsl()
|
||||
set name = "NTSL Disconnect"
|
||||
set category = "Debug"
|
||||
if(!check_rights(R_DEBUG)) return
|
||||
|
||||
if(ntsl2.connected)
|
||||
log_admin("[key_name(src)] disabled NTSL",admin_key=key_name(src))
|
||||
message_admins("[key_name_admin(src)] disabled NTSL", 1)
|
||||
|
||||
ntsl2.disconnect()
|
||||
|
||||
feedback_add_details("admin_verb","DNT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
else
|
||||
to_chat(src, "<span class='warning'>NTSL2+ Daemon is already disconnected.</span>")
|
||||
|
||||
/client/proc/connect_ntsl()
|
||||
set name = "NTSL Connect"
|
||||
set category = "Debug"
|
||||
if(!check_rights(R_DEBUG)) return
|
||||
|
||||
if(!ntsl2.connected)
|
||||
log_admin("[key_name(src)] enabled NTSL",admin_key=key_name(src))
|
||||
message_admins("[key_name_admin(src)] enabled NTSL", 1)
|
||||
|
||||
ntsl2.attempt_connect()
|
||||
|
||||
feedback_add_details("admin_verb","CNT") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
else
|
||||
to_chat(src, "<span class='warning'>NTSL2+ Daemon is already connected.</span>")
|
||||
Reference in New Issue
Block a user