I think this is instance communication

This commit is contained in:
AffectedArc07
2021-09-20 23:50:51 +01:00
parent 9c14b6b732
commit 890e7e5ce5
16 changed files with 163 additions and 127 deletions

View File

@@ -139,7 +139,6 @@ GLOBAL_LIST_INIT(admin_verbs_server, list(
/client/proc/set_ooc,
/client/proc/reset_ooc,
/client/proc/set_next_map,
/client/proc/refresh_instances,
/client/proc/manage_queue,
/client/proc/add_queue_server_bypass
))

View File

@@ -7,6 +7,8 @@
return
to_chat(usr, "<b>Server instances info</b>")
to_chat(usr, "<b>AA you need to finish this you lazy oaf</b>")
/*
for(var/datum/peer_server/PS in GLOB.configuration.instancing.peers)
// We havnt even been discovered, so we cant even be online
if(!PS.discovered)
@@ -20,13 +22,5 @@
// If we are here, we are online, so we can do a rich report
to_chat(usr, "ID [PS.server_id] - <font color='green'><b>ONLINE</b></font> (Players: [PS.playercount])")
*/
/client/proc/refresh_instances()
set name = "Force Refresh Server Instances"
set desc = "Force refresh the local cache of server instances"
set category = "Server"
if(!check_rights(R_SERVER))
return
SSinstancing.check_peers(TRUE) // Force check