comment out panicwriter and saytesting

This commit is contained in:
D3athrow
2015-07-20 16:02:44 -05:00
parent 2867574f47
commit d59f6a07b0
1093 changed files with 7971 additions and 7972 deletions

View File

@@ -1,7 +1,7 @@
/datum/admins/proc/DB_ban_record(var/bantype, var/mob/banned_mob, var/duration = -1, var/reason, var/job = "", var/rounds = 0, var/banckey = null)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/DB_ban_record() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/DB_ban_record() called tick#: [world.time]")
if(!check_rights(R_BAN)) return
@@ -102,7 +102,7 @@
datum/admins/proc/DB_ban_unban(var/ckey, var/bantype, var/job = "")
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\datum/admins/proc/DB_ban_unban() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\datum/admins/proc/DB_ban_unban() called tick#: [world.time]")
if(!check_rights(R_BAN)) return
@@ -171,7 +171,7 @@ datum/admins/proc/DB_ban_unban(var/ckey, var/bantype, var/job = "")
datum/admins/proc/DB_ban_edit(var/banid = null, var/param = null)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\datum/admins/proc/DB_ban_edit() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\datum/admins/proc/DB_ban_edit() called tick#: [world.time]")
if(!check_rights(R_BAN)) return
@@ -233,7 +233,7 @@ datum/admins/proc/DB_ban_edit(var/banid = null, var/param = null)
datum/admins/proc/DB_ban_unban_by_id(var/id)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\datum/admins/proc/DB_ban_unban_by_id() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\datum/admins/proc/DB_ban_unban_by_id() called tick#: [world.time]")
if(!check_rights(R_BAN)) return
@@ -284,7 +284,7 @@ datum/admins/proc/DB_ban_unban_by_id(var/id)
set category = "Admin"
set name = "Banning Panel"
set desc = "Edit admin permissions"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/DB_ban_panel() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/DB_ban_panel() called tick#: [world.time]")
if(!holder)
return
@@ -292,7 +292,7 @@ datum/admins/proc/DB_ban_unban_by_id(var/id)
holder.DB_ban_panel()
/datum/admins/proc/DB_ban_panel(var/playerckey = null, var/adminckey = null)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/DB_ban_panel() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/DB_ban_panel() called tick#: [world.time]")
if(!usr.client)
return

View File

@@ -3,7 +3,7 @@ var/savefile/Banlist
/proc/CheckBan(var/ckey, var/id, var/address)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/CheckBan() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/CheckBan() called tick#: [world.time]")
if(!Banlist) // if Banlist cannot be located for some reason
LoadBans() // try to load the bans
if(!Banlist) // uh oh, can't find bans!
@@ -56,13 +56,13 @@ var/savefile/Banlist
return 0
/proc/UpdateTime() //No idea why i made this a proc.
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/UpdateTime() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/UpdateTime() called tick#: [world.time]")
CMinutes = (world.realtime / 10) / 60
return 1
/proc/LoadBans()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/LoadBans() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/LoadBans() called tick#: [world.time]")
Banlist = new("data/banlist.bdb")
log_admin("Loading Banlist")
@@ -80,7 +80,7 @@ var/savefile/Banlist
return 1
/proc/ClearTempbans()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ClearTempbans() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ClearTempbans() called tick#: [world.time]")
UpdateTime()
Banlist.cd = "/base"
@@ -100,7 +100,7 @@ var/savefile/Banlist
/proc/AddBan(ckey, computerid, reason, bannedby, temp, minutes, address)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/AddBan() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/AddBan() called tick#: [world.time]")
var/bantimestamp
@@ -126,7 +126,7 @@ var/savefile/Banlist
return 1
/proc/RemoveBan(foldername)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/RemoveBan() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/RemoveBan() called tick#: [world.time]")
var/key
var/id
@@ -156,7 +156,7 @@ var/savefile/Banlist
return 1
/proc/GetExp(minutes as num)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/GetExp() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/GetExp() called tick#: [world.time]")
UpdateTime()
var/exp = minutes - CMinutes
if (exp <= 0)
@@ -172,7 +172,7 @@ var/savefile/Banlist
return timeleftstring
/datum/admins/proc/unbanpanel()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/unbanpanel() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/unbanpanel() called tick#: [world.time]")
var/count = 0
var/dat
//var/dat = "<HR><B>Unban Player:</B> <span class='warning'>(U) = Unban , (E) = Edit Ban<span class='good'>(Total<HR><table border=1 rules=all frame=void cellspacing=0 cellpadding=3 ></span></span>"
@@ -206,7 +206,7 @@ var/savefile/Banlist
/proc/CreateBans()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/CreateBans() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/CreateBans() called tick#: [world.time]")
UpdateTime()
@@ -236,7 +236,7 @@ var/savefile/Banlist
Banlist.cd = "/base"
/proc/ClearAllBans()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ClearAllBans() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ClearAllBans() called tick#: [world.time]")
Banlist.cd = "/base"
for (var/A in Banlist.dir)
RemoveBan(A)

View File

@@ -5,7 +5,7 @@
#define TOR_UPDATE_INTERVAL 216000 //~6 hours
/proc/ToRban_isbanned(var/ip_address)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ToRban_isbanned() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ToRban_isbanned() called tick#: [world.time]")
var/savefile/F = new(TORFILE)
if(F)
if( ip_address in F.dir )
@@ -13,7 +13,7 @@
return 0
/proc/ToRban_autoupdate()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ToRban_autoupdate() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ToRban_autoupdate() called tick#: [world.time]")
var/savefile/F = new(TORFILE)
if(F)
var/last_update
@@ -23,7 +23,7 @@
return
/proc/ToRban_update()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ToRban_update() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ToRban_update() called tick#: [world.time]")
spawn(0)
diary << "Downloading updated ToR data..."
var/http[] = world.Export("http://exitlist.torproject.org/exit-addresses")
@@ -48,7 +48,7 @@
/client/proc/ToRban(task in list("update","toggle","show","remove","remove all","find"))
set name = "ToRban"
set category = "Server"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/ToRban() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/ToRban() called tick#: [world.time]")
if(!holder) return
switch(task)
if("update")

View File

@@ -5,7 +5,7 @@ var/global/floorIsLava = 0
////////////////////////////////
/proc/message_admins(var/msg)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/message_admins() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/message_admins() called tick#: [world.time]")
msg = "<span class=\"admin\"><span class=\"prefix\">ADMIN LOG:</span> <span class=\"message\">[msg]</span></span>"
log_adminwarn(msg)
for(var/client/C in admins)
@@ -13,7 +13,7 @@ var/global/floorIsLava = 0
C << msg
/proc/msg_admin_attack(var/text) //Toggleable Attack Messages
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/msg_admin_attack() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/msg_admin_attack() called tick#: [world.time]")
var/rendered = "<span class=\"admin\"><span class=\"prefix\">ADMIN LOG:</span> <span class=\"message\">[text]</span></span>"
log_adminwarn(rendered)
for(var/client/C in admins)
@@ -29,7 +29,7 @@ var/global/floorIsLava = 0
set category = "Admin"
set name = "Show Player Panel"
set desc="Edit player (respawn, ban, heal, etc)"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/show_player_panel() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/show_player_panel() called tick#: [world.time]")
if(!M)
usr << "You seem to be selecting a mob that doesn't exist anymore."
@@ -239,7 +239,7 @@ var/global/floorIsLava = 0
/datum/admins/proc/PlayerNotes()
set category = "Admin"
set name = "Player Notes"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/PlayerNotes() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/PlayerNotes() called tick#: [world.time]")
if (!istype(src,/datum/admins))
src = usr.client.holder
@@ -251,7 +251,7 @@ var/global/floorIsLava = 0
/datum/admins/proc/checkCID()
set category = "Admin"
set name = "Lookup bans on Computer ID"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/checkCID() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/checkCID() called tick#: [world.time]")
if(!usr)
return
@@ -270,7 +270,7 @@ var/global/floorIsLava = 0
/datum/admins/proc/checkCKEY()
set category = "Admin"
set name = "Lookup bans on CKEY"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/checkCKEY() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/checkCKEY() called tick#: [world.time]")
if(!usr)
return
@@ -286,7 +286,7 @@ var/global/floorIsLava = 0
return
/datum/admins/proc/PlayerNotesPage(page)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/PlayerNotesPage() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/PlayerNotesPage() called tick#: [world.time]")
var/dat = "<B>Player notes</B><HR>"
var/savefile/S=new("data/player_notes.sav")
var/list/note_keys
@@ -327,7 +327,7 @@ var/global/floorIsLava = 0
/datum/admins/proc/player_has_info(var/key as text)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/player_has_info() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/player_has_info() called tick#: [world.time]")
var/savefile/info = new("data/player_saves/[copytext(key, 1, 2)]/[key]/info.sav")
var/list/infos
info >> infos
@@ -335,7 +335,7 @@ var/global/floorIsLava = 0
else return 1
/proc/exportnotes(var/key as text)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/exportnotes() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/exportnotes() called tick#: [world.time]")
var/savefile/info = new("data/player_saves/[copytext(key, 1, 2)]/[key]/info.sav")
var/list/infos
info >> infos
@@ -362,7 +362,7 @@ var/global/floorIsLava = 0
/datum/admins/proc/show_player_info(var/key as text)
set category = "Admin"
set name = "Show Player Info"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/show_player_info() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/show_player_info() called tick#: [world.time]")
if (!istype(src,/datum/admins))
src = usr.client.holder
@@ -412,7 +412,7 @@ var/global/floorIsLava = 0
set category = "Fun"
set name = "Access Newscaster Network"
set desc = "Allows you to view, add and edit news feeds."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/access_news_network() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/access_news_network() called tick#: [world.time]")
if (!istype(src,/datum/admins))
src = usr.client.holder
@@ -656,7 +656,7 @@ var/global/floorIsLava = 0
/datum/admins/proc/Jobbans()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/Jobbans() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/Jobbans() called tick#: [world.time]")
if(!check_rights(R_BAN)) return
var/dat = "<B>Job Bans!</B><HR><table>"
@@ -669,7 +669,7 @@ var/global/floorIsLava = 0
usr << browse(dat, "window=ban;size=400x400")
/datum/admins/proc/Game()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/Game() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/Game() called tick#: [world.time]")
if(!check_rights(0)) return
var/dat = {"
@@ -703,7 +703,7 @@ var/global/floorIsLava = 0
return
/datum/admins/proc/Secrets()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/Secrets() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/Secrets() called tick#: [world.time]")
if(!check_rights(0)) return
var/dat = "<B>The first rule of adminbuse is: you don't talk about the adminbuse.</B><HR>"
@@ -849,7 +849,7 @@ var/global/floorIsLava = 0
set category = "Server"
set name = "Restart"
set desc="Restarts the world"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/restart() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/restart() called tick#: [world.time]")
if (!usr.client.holder)
return
@@ -881,7 +881,7 @@ var/global/floorIsLava = 0
set category = "Special Verbs"
set name = "Announce"
set desc="Announce your desires to the world"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/announce() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/announce() called tick#: [world.time]")
if(!check_rights(0)) return
@@ -897,7 +897,7 @@ var/global/floorIsLava = 0
set category = "Server"
set desc="Globally Toggles OOC"
set name="Toggle OOC"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleooc() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleooc() called tick#: [world.time]")
ooc_allowed = !( ooc_allowed )
if (ooc_allowed)
@@ -913,7 +913,7 @@ var/global/floorIsLava = 0
set category = "Server"
set desc="Toggle dis bitch"
set name="Toggle Dead OOC"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleoocdead() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleoocdead() called tick#: [world.time]")
dooc_allowed = !( dooc_allowed )
log_admin("[key_name(usr)] toggled OOC.")
@@ -924,7 +924,7 @@ var/global/floorIsLava = 0
set category = "Server"
set desc="Toggle traitor scaling"
set name="Toggle Traitor Scaling"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggletraitorscaling() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggletraitorscaling() called tick#: [world.time]")
traitor_scaling = !traitor_scaling
log_admin("[key_name(usr)] toggled Traitor Scaling to [traitor_scaling].")
@@ -935,7 +935,7 @@ var/global/floorIsLava = 0
set category = "Server"
set desc="Start the round RIGHT NOW"
set name="Start Now"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/startnow() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/startnow() called tick#: [world.time]")
if(!ticker)
alert("Unable to start the game as it is not set up.")
@@ -954,7 +954,7 @@ var/global/floorIsLava = 0
set category = "Server"
set desc="People can't enter"
set name="Toggle Entering"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleenter() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleenter() called tick#: [world.time]")
enter_allowed = !( enter_allowed )
if (!( enter_allowed ))
@@ -970,7 +970,7 @@ var/global/floorIsLava = 0
set category = "Server"
set desc="People can't be AI"
set name="Toggle AI"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleAI() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleAI() called tick#: [world.time]")
config.allow_ai = !( config.allow_ai )
if (!( config.allow_ai ))
@@ -985,7 +985,7 @@ var/global/floorIsLava = 0
set category = "Server"
set desc="Respawn basically"
set name="Toggle Respawn"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleaban() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleaban() called tick#: [world.time]")
abandon_allowed = !( abandon_allowed )
if (abandon_allowed)
@@ -1001,7 +1001,7 @@ var/global/floorIsLava = 0
set category = "Server"
set desc="Toggle alien mobs"
set name="Toggle Aliens"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggle_aliens() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggle_aliens() called tick#: [world.time]")
aliens_allowed = !aliens_allowed
log_admin("[key_name(usr)] toggled Aliens to [aliens_allowed].")
@@ -1014,7 +1014,7 @@ var/global/floorIsLava = 0
set category = "Server"
set desc="Delay the game start/end"
set name="Delay"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/delay() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/delay() called tick#: [world.time]")
if(!check_rights(R_ADMIN)) return
if (!ticker || ticker.current_state != GAME_STATE_PREGAME)
@@ -1046,7 +1046,7 @@ var/global/floorIsLava = 0
set category = "Server"
set desc="Toggle admin jumping"
set name="Toggle Jump"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/adjump() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/adjump() called tick#: [world.time]")
config.allow_admin_jump = !(config.allow_admin_jump)
message_admins("<span class='notice'>Toggled admin jumping to [config.allow_admin_jump].</span>")
@@ -1056,7 +1056,7 @@ var/global/floorIsLava = 0
set category = "Server"
set desc="Toggle admin spawning"
set name="Toggle Spawn"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/adspawn() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/adspawn() called tick#: [world.time]")
config.allow_admin_spawning = !(config.allow_admin_spawning)
message_admins("<span class='notice'>Toggled admin item spawning to [config.allow_admin_spawning].</span>")
@@ -1066,7 +1066,7 @@ var/global/floorIsLava = 0
set category = "Server"
set desc="Toggle admin revives"
set name="Toggle Revive"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/adrev() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/adrev() called tick#: [world.time]")
config.allow_admin_rev = !(config.allow_admin_rev)
message_admins("<span class='notice'>Toggled reviving to [config.allow_admin_rev].</span>")
@@ -1076,7 +1076,7 @@ var/global/floorIsLava = 0
set category = "Server"
set desc="Reboots the server post haste"
set name="Immediate Reboot"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/immreboot() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/immreboot() called tick#: [world.time]")
if(!usr.client.holder) return
if( alert("Reboot server?",,"Yes","No") == "No")
@@ -1102,7 +1102,7 @@ var/global/floorIsLava = 0
/datum/admins/proc/unprison(var/mob/M in mob_list)
set category = "Admin"
set name = "Unprison"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/unprison() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/unprison() called tick#: [world.time]")
if (M.z == 2)
if (config.allow_admin_jump)
@@ -1118,7 +1118,7 @@ var/global/floorIsLava = 0
////////////////////////////////////////////////////////////////////////////////////////////////ADMIN HELPER PROCS
/proc/is_special_character(mob/M as mob) // returns 1 for specail characters and 2 for heroes of gamemode
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/is_special_character() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/is_special_character() called tick#: [world.time]")
if(!ticker || !ticker.mode)
return 0
if (!istype(M))
@@ -1166,7 +1166,7 @@ var/global/floorIsLava = 0
/*
/datum/admins/proc/get_sab_desc(var/target)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/get_sab_desc() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/get_sab_desc() called tick#: [world.time]")
switch(target)
if(1)
return "Destroy at least 70% of the plasma canisters on the station"
@@ -1187,7 +1187,7 @@ var/global/floorIsLava = 0
set category = "Debug"
set desc = "(atom path) Spawn an atom"
set name = "Spawn"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/spawn_atom() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/spawn_atom() called tick#: [world.time]")
if(!check_rights(R_SPAWN)) return
@@ -1222,7 +1222,7 @@ var/global/floorIsLava = 0
set category = "Admin"
set desc = "Edit mobs's memory and role"
set name = "Show Traitor Panel"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/show_traitor_panel() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/show_traitor_panel() called tick#: [world.time]")
if(!istype(M))
usr << "This can only be used on instances of type /mob"
@@ -1239,7 +1239,7 @@ var/global/floorIsLava = 0
set category = "Debug"
set desc="Reduces view range when wearing welding helmets"
set name="Toggle tinted welding helmes"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggletintedweldhelmets() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggletintedweldhelmets() called tick#: [world.time]")
tinted_weldhelh = !( tinted_weldhelh )
if (tinted_weldhelh)
@@ -1254,7 +1254,7 @@ var/global/floorIsLava = 0
set category = "Server"
set desc="Guests can't enter"
set name="Toggle guests"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleguests() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/toggleguests() called tick#: [world.time]")
guests_allowed = !( guests_allowed )
if (!( guests_allowed ))
@@ -1268,14 +1268,14 @@ var/global/floorIsLava = 0
/client/proc/unjobban_panel()
set name = "Unjobban Panel"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/unjobban_panel() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/unjobban_panel() called tick#: [world.time]")
if (src.holder)
src.holder.unjobbanpanel()
feedback_add_details("admin_verb","UJBP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return
/datum/admins/proc/output_ai_laws()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/output_ai_laws() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/output_ai_laws() called tick#: [world.time]")
var/ai_number = 0
for(var/mob/living/silicon/S in mob_list)
ai_number++
@@ -1299,7 +1299,7 @@ var/global/floorIsLava = 0
/datum/admins/proc/show_skills(var/mob/living/carbon/human/M as mob in mob_list)
set category = "Admin"
set name = "Show Skills"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/show_skills() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/show_skills() called tick#: [world.time]")
if (!istype(src,/datum/admins))
src = usr.client.holder
@@ -1315,7 +1315,7 @@ var/global/floorIsLava = 0
set category = "Admin"
set name = "Update Mob Sprite"
set desc = "Should fix any mob sprite update errors."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/update_mob_sprite() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/update_mob_sprite() called tick#: [world.time]")
if (!holder)
src << "Only administrators may use this command."
@@ -1338,7 +1338,7 @@ var/global/floorIsLava = 0
var/admin_shuttle_location = 0 // 0 = centcom 13, 1 = station
proc/move_admin_shuttle()
writepanic("[__FILE__].[__LINE__] \\/proc/move_admin_shuttle() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] \\/proc/move_admin_shuttle() called tick#: [world.time]")
var/area/fromArea
var/area/toArea
if (admin_shuttle_location == 1)
@@ -1359,7 +1359,7 @@ proc/move_admin_shuttle()
var/ferry_location = 0 // 0 = centcom , 1 = station
proc/move_ferry()
writepanic("[__FILE__].[__LINE__] \\/proc/move_ferry() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] \\/proc/move_ferry() called tick#: [world.time]")
var/area/fromArea
var/area/toArea
if (ferry_location == 1)
@@ -1380,7 +1380,7 @@ proc/move_ferry()
var/alien_ship_location = 1 // 0 = base , 1 = mine
proc/move_alien_ship()
writepanic("[__FILE__].[__LINE__] \\/proc/move_alien_ship() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] \\/proc/move_alien_ship() called tick#: [world.time]")
var/area/fromArea
var/area/toArea
if (alien_ship_location == 1)
@@ -1397,7 +1397,7 @@ proc/move_alien_ship()
return
proc/formatJumpTo(location, where = "")
writepanic("[__FILE__].[__LINE__] \\/proc/formatJumpTo() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] \\/proc/formatJumpTo() called tick#: [world.time]")
var/turf/loc
if (isturf(location))
@@ -1411,7 +1411,7 @@ proc/formatJumpTo(location, where = "")
return "<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[loc.x];Y=[loc.y];Z=[loc.z]'>[where]</a>"
proc/formatLocation(location)
writepanic("[__FILE__].[__LINE__] \\/proc/formatLocation() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] \\/proc/formatLocation() called tick#: [world.time]")
var/turf/loc
if (isturf(location))
@@ -1424,7 +1424,7 @@ proc/formatLocation(location)
return answer
proc/formatPlayerPanel(var/mob/U,var/text="PP")
writepanic("[__FILE__].[__LINE__] \\/proc/formatPlayerPanel() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] \\/proc/formatPlayerPanel() called tick#: [world.time]")
return "<A HREF='?_src_=holder;adminplayeropts=\ref[U]'>[text]</A>"
//Credit to MrStonedOne from TG for this QoL improvement
@@ -1432,7 +1432,7 @@ proc/formatPlayerPanel(var/mob/U,var/text="PP")
//returns 0 if we don't plan to trap the event
/datum/admins/proc/cmd_ghost_drag(var/mob/dead/observer/frommob, var/mob/living/tomob)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/cmd_ghost_drag() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/cmd_ghost_drag() called tick#: [world.time]")
//if we couldn't do it manually, we can't do it here - the 0 means no message is displayed for failure
if (!check_rights(R_VAREDIT, 0))

View File

@@ -49,16 +49,16 @@ var/global/list/investigations=list(
handle = file(src.filename)
/datum/log_controller/proc/write(var/message)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/log_controller/proc/write() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/log_controller/proc/write() called tick#: [world.time]")
handle << url_decode(message)
/datum/log_controller/proc/read(var/mob/user)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/log_controller/proc/read() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/log_controller/proc/read() called tick#: [world.time]")
user << browse(handle,"window=investigate[subject];size=800x300")
// Calls our own formatting functions, but then appends to the global log.
/atom/proc/investigation_log(var/subject, var/message)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/atom/proc/investigation_log() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/atom/proc/investigation_log() called tick#: [world.time]")
var/datum/log_controller/I = investigations[subject]
if(!I)
warning("SOME ASSHAT USED INVALID INVESTIGATION ID [subject]")
@@ -69,14 +69,14 @@ var/global/list/investigations=list(
// Permits special snowflake formatting.
/atom/proc/format_investigation_text(var/message)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/atom/proc/format_investigation_text() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/atom/proc/format_investigation_text() called tick#: [world.time]")
return "<small>[time2text(world.timeofday,"hh:mm")] \ref[src] ([x],[y],[z])</small> || [src] [message]<br />"
//ADMINVERBS
/client/proc/investigate_show(var/subject in AVAILABLE_INVESTIGATIONS)
set name = "Investigate"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/investigate_show() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/investigate_show() called tick#: [world.time]")
if(!holder)
src << "<span class='warning'>You're not an admin, go away.</span>"

View File

@@ -5,7 +5,7 @@
/client/proc/admin_memo(task in list("write","show","delete"))
set name = "Memo"
set category = "Server"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/admin_memo() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/admin_memo() called tick#: [world.time]")
if(!ENABLE_MEMOS) return
if(!check_rights(0)) return
switch(task)
@@ -15,7 +15,7 @@
//write a message
/client/proc/admin_memo_write()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/admin_memo_write() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/admin_memo_write() called tick#: [world.time]")
var/savefile/F = new(MEMOFILE)
if(F)
var/memo = input(src,"Type your memo\n(Leaving it blank will delete your current memo):","Write Memo",null) as null|message
@@ -33,7 +33,7 @@
//show all memos
/client/proc/admin_memo_show()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/admin_memo_show() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/admin_memo_show() called tick#: [world.time]")
if(ENABLE_MEMOS)
var/savefile/F = new(MEMOFILE)
if(F)
@@ -42,7 +42,7 @@
//delete your own or somebody else's memo
/client/proc/admin_memo_delete()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/admin_memo_delete() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/admin_memo_delete() called tick#: [world.time]")
var/savefile/F = new(MEMOFILE)
if(F)
var/ckey

View File

@@ -2,7 +2,7 @@ var/list/admin_ranks = list() //list of all ranks with associated rights
//load our rank - > rights associations
/proc/load_admin_ranks()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/load_admin_ranks() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/load_admin_ranks() called tick#: [world.time]")
admin_ranks.len = 0
var/previous_rights = 0
@@ -56,12 +56,12 @@ var/list/admin_ranks = list() //list of all ranks with associated rights
/proc/load_admins()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/load_admins() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/load_admins() called tick#: [world.time]")
//clear the datums references
admin_datums.len = 0
for(var/client/C in admins)
C.remove_admin_verbs()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\C.remove_admin_verbs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\C.remove_admin_verbs() called tick#: [world.time]")
C.holder = null
admins.len = 0
@@ -142,24 +142,24 @@ var/list/admin_ranks = list() //list of all ranks with associated rights
#ifdef TESTING
/client/verb/changerank(newrank in admin_ranks)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/verb/changerank() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/verb/changerank() called tick#: [world.time]")
if(holder)
holder.rank = newrank
holder.rights = admin_ranks[newrank]
else
holder = new /datum/admins(newrank,admin_ranks[newrank],ckey)
remove_admin_verbs()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\remove_admin_verbs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\remove_admin_verbs() called tick#: [world.time]")
holder.associate(src)
/client/verb/changerights(newrights as num)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/verb/changerights() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/verb/changerights() called tick#: [world.time]")
if(holder)
holder.rights = newrights
else
holder = new /datum/admins("testing",newrights,ckey)
remove_admin_verbs()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\remove_admin_verbs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\remove_admin_verbs() called tick#: [world.time]")
holder.associate(src)
#endif

View File

@@ -32,7 +32,7 @@ world/New()
// add a new news datums
proc/make_report(body, author, okey, cid)
writepanic("[__FILE__].[__LINE__] \\/proc/make_report() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] \\/proc/make_report() called tick#: [world.time]")
var/savefile/Reports = new("data/reports.sav")
var/list/reports
var/lastID
@@ -59,7 +59,7 @@ proc/make_report(body, author, okey, cid)
// load the reports from disk
proc/load_reports()
writepanic("[__FILE__].[__LINE__] \\/proc/load_reports() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] \\/proc/load_reports() called tick#: [world.time]")
var/savefile/Reports = new("data/reports.sav")
var/list/reports
@@ -71,7 +71,7 @@ proc/load_reports()
// check if there are any unhandled reports
client/proc/unhandled_reports()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/unhandled_reports() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/unhandled_reports() called tick#: [world.time]")
if(!src.holder) return 0
var/list/reports = load_reports()
@@ -84,7 +84,7 @@ client/proc/unhandled_reports()
// checks if the player has an unhandled report against him
client/proc/is_reported()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/is_reported() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/is_reported() called tick#: [world.time]")
var/list/reports = load_reports()
for(var/datum/admin_report/N in reports) if(!N.done)
@@ -95,7 +95,7 @@ client/proc/is_reported()
// display only the reports that haven't been handled
client/proc/display_admin_reports()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/display_admin_reports() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/display_admin_reports() called tick#: [world.time]")
set category = "Admin"
set name = "Display Admin Reports"
if(!src.holder) return
@@ -124,7 +124,7 @@ client/proc/display_admin_reports()
client/proc/Report(mob/M as mob in mob_list)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/Report() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/Report() called tick#: [world.time]")
set category = "Admin"
if(!src.holder)
return
@@ -143,7 +143,7 @@ client/proc/Report(mob/M as mob in mob_list)
display_admin_reports()
client/proc/mark_report_done(ID as num)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/mark_report_done() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/mark_report_done() called tick#: [world.time]")
if(!src.holder || src.holder.level < 0)
return
@@ -164,7 +164,7 @@ client/proc/mark_report_done(ID as num)
client/proc/edit_report(ID as num)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/edit_report() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/edit_report() called tick#: [world.time]")
if(!src.holder || src.holder.level < 0)
src << "<b>You tried to modify the news, but you're not an admin!"
return

View File

@@ -276,9 +276,9 @@ var/list/admin_verbs_mod = list(
/datum/admins/proc/show_skills
)
/client/proc/add_admin_verbs()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/add_admin_verbs() called tick#: [world.time]")
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/add_admin_verbs() called tick#: [world.time]")
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\\\/client/proc/add_admin_verbs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/add_admin_verbs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/add_admin_verbs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\\\/client/proc/add_admin_verbs() called tick#: [world.time]")
if(holder)
verbs += admin_verbs_default
if(holder.rights & R_BUILDMODE) verbs += /client/proc/togglebuildmodeself
@@ -297,9 +297,9 @@ var/list/admin_verbs_mod = list(
if(holder.rights & R_ADMINBUS) verbs += /client/proc/secrets
/client/proc/remove_admin_verbs()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/remove_admin_verbs() called tick#: [world.time]")
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/remove_admin_verbs() called tick#: [world.time]")
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\\\/client/proc/remove_admin_verbs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/remove_admin_verbs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/remove_admin_verbs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\\\/client/proc/remove_admin_verbs() called tick#: [world.time]")
verbs.Remove(
admin_verbs_default,
/client/proc/togglebuildmodeself,
@@ -342,7 +342,7 @@ var/list/admin_verbs_mod = list(
/client/proc/hide_most_verbs()//Allows you to keep some functionality while hiding some verbs
set name = "Adminverbs - Hide Most"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/hide_most_verbs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/hide_most_verbs() called tick#: [world.time]")
verbs.Remove(/client/proc/hide_most_verbs, admin_verbs_hideable)
verbs += /client/proc/show_verbs
@@ -353,7 +353,7 @@ var/list/admin_verbs_mod = list(
/client/proc/hide_verbs()
set name = "Adminverbs - Hide All"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/hide_verbs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/hide_verbs() called tick#: [world.time]")
remove_admin_verbs()
verbs += /client/proc/show_verbs
src << "<span class='interface'>Almost all of your adminverbs have been hidden.</span>"
@@ -363,7 +363,7 @@ var/list/admin_verbs_mod = list(
/client/proc/show_verbs()
set name = "Adminverbs - Show"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/show_verbs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/show_verbs() called tick#: [world.time]")
verbs -= /client/proc/show_verbs
add_admin_verbs()
@@ -377,7 +377,7 @@ var/list/admin_verbs_mod = list(
/client/proc/admin_ghost()
set category = "Admin"
set name = "Aghost"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/admin_ghost() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/admin_ghost() called tick#: [world.time]")
if(!holder) return
if(istype(mob,/mob/dead/observer))
//re-enter
@@ -402,7 +402,7 @@ var/list/admin_verbs_mod = list(
set name = "Invisimin"
set category = "Admin"
set desc = "Toggles ghost-like invisibility (Don't abuse this)"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/invisimin() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/invisimin() called tick#: [world.time]")
if(holder && mob)
if(mob.invisibility == INVISIBILITY_OBSERVER)
mob.invisibility = initial(mob.invisibility)
@@ -420,7 +420,7 @@ var/list/admin_verbs_mod = list(
/client/proc/player_panel()
set name = "Player Panel"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/player_panel() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/player_panel() called tick#: [world.time]")
if(holder)
holder.player_panel_old()
feedback_add_details("admin_verb","PP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -429,7 +429,7 @@ var/list/admin_verbs_mod = list(
/client/proc/player_panel_new()
set name = "Player Panel New"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/player_panel_new() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/player_panel_new() called tick#: [world.time]")
if(holder)
holder.player_panel_new()
feedback_add_details("admin_verb","PPN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -438,7 +438,7 @@ var/list/admin_verbs_mod = list(
/client/proc/check_antagonists()
set name = "Check Antagonists"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/check_antagonists() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/check_antagonists() called tick#: [world.time]")
if(holder)
holder.check_antagonists()
log_admin("[key_name(usr)] checked antagonists.") //for tsar~
@@ -448,7 +448,7 @@ var/list/admin_verbs_mod = list(
/client/proc/jobbans()
set name = "Display Job bans"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/jobbans() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/jobbans() called tick#: [world.time]")
if(holder)
if(config.ban_legacy_system)
holder.Jobbans()
@@ -460,7 +460,7 @@ var/list/admin_verbs_mod = list(
/client/proc/unban_panel()
set name = "Unban Panel"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/unban_panel() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/unban_panel() called tick#: [world.time]")
if(holder)
if(config.ban_legacy_system)
holder.unbanpanel()
@@ -472,7 +472,7 @@ var/list/admin_verbs_mod = list(
/client/proc/game_panel()
set name = "Game Panel"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/game_panel() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/game_panel() called tick#: [world.time]")
if(holder)
holder.Game()
feedback_add_details("admin_verb","GP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -481,7 +481,7 @@ var/list/admin_verbs_mod = list(
/client/proc/secrets()
set name = "Secrets"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/secrets() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/secrets() called tick#: [world.time]")
if (holder)
holder.Secrets()
feedback_add_details("admin_verb","S") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -490,7 +490,7 @@ var/list/admin_verbs_mod = list(
/client/proc/colorooc()
set category = "Fun"
set name = "OOC Text Color"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/colorooc() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/colorooc() called tick#: [world.time]")
if(!holder) return
var/new_ooccolor = input(src, "Please select your OOC colour.", "OOC colour") as color|null
if(new_ooccolor)
@@ -502,7 +502,7 @@ var/list/admin_verbs_mod = list(
/client/proc/stealth()
set category = "Admin"
set name = "Stealth Mode"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/stealth() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/stealth() called tick#: [world.time]")
if(holder)
if(holder.fakekey)
holder.fakekey = null
@@ -520,7 +520,7 @@ var/list/admin_verbs_mod = list(
#define AUTOBANTIME 90
/client/proc/warn(warned_ckey)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/warn() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/warn() called tick#: [world.time]")
var/reason = "Autobanning due to too many formal warnings"
if(!check_rights(R_ADMIN)) return
@@ -567,7 +567,7 @@ var/list/admin_verbs_mod = list(
feedback_add_details("admin_verb","WARN") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/unwarn(warned_ckey)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/unwarn() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/unwarn() called tick#: [world.time]")
if(!check_rights(R_ADMIN)) return
if(!warned_ckey || !istext(warned_ckey)) return
@@ -605,7 +605,7 @@ var/list/admin_verbs_mod = list(
set category = "Special Verbs"
set name = "Drop Bomb"
set desc = "Cause an explosion of varying strength at your location."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/drop_bomb() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/drop_bomb() called tick#: [world.time]")
var/turf/epicenter = mob.loc
var/list/choices = list("Small Bomb", "Medium Bomb", "Big Bomb", "Custom Bomb")
@@ -632,7 +632,7 @@ var/list/admin_verbs_mod = list(
set category = "Fun"
set name = "Give Spell"
set desc = "Gives a spell to a mob."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/give_spell() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/give_spell() called tick#: [world.time]")
var/spell/S = input("Choose the spell to give to that guy", "ABRAKADABRA") as null|anything in spells
if(!S) return
@@ -645,7 +645,7 @@ var/list/admin_verbs_mod = list(
set category = "Fun"
set name = "Give Disease"
set desc = "Gives a Disease to a mob."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/give_disease() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/give_disease() called tick#: [world.time]")
var/datum/disease/D = input("Choose the disease to give to that guy", "ACHOO") as null|anything in diseases
if(!D) return
T.contract_disease(new D, 1)
@@ -657,7 +657,7 @@ var/list/admin_verbs_mod = list(
set category = "Special Verbs"
set name = "Make Sound"
set desc = "Display a message to everyone who can hear the target"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/make_sound() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/make_sound() called tick#: [world.time]")
if(istype(O))
var/message = input("What do you want the message to be?", "Make Sound") as text|null
if(!message)
@@ -679,7 +679,7 @@ var/list/admin_verbs_mod = list(
/client/proc/togglebuildmodeself()
set name = "Toggle Build Mode Self"
set category = "Special Verbs"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/togglebuildmodeself() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/togglebuildmodeself() called tick#: [world.time]")
if(src.mob)
togglebuildmode(src.mob)
feedback_add_details("admin_verb","TBMS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -688,7 +688,7 @@ var/list/admin_verbs_mod = list(
set category = "Special Verbs"
set name = "OSay"
set desc = "Make an object say something"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/object_talk() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/object_talk() called tick#: [world.time]")
var/message = input(usr, "What do you want the message to be?", "Make Sound") as text | null
if(!message)
return
@@ -709,7 +709,7 @@ var/list/admin_verbs_mod = list(
set category = "Debug"
set name = "Kill Air"
set desc = "Toggle Air Processing"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/kill_air() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/kill_air() called tick#: [world.time]")
if(air_processing_killed)
air_processing_killed = 0
usr << "<b>Enabled air processing.</b>"
@@ -723,7 +723,7 @@ var/list/admin_verbs_mod = list(
/client/proc/deadmin_self()
set name = "De-admin self"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/deadmin_self() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/deadmin_self() called tick#: [world.time]")
if(holder)
if(alert("Are you sure you want to deadmin?","Deadmin","Yes","No")=="No")
@@ -739,7 +739,7 @@ var/list/admin_verbs_mod = list(
/client/proc/toggle_log_hrefs()
set name = "Toggle href logging"
set category = "Server"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/toggle_log_hrefs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/toggle_log_hrefs() called tick#: [world.time]")
if(!holder) return
if(config)
if(config.log_hrefs)
@@ -752,7 +752,7 @@ var/list/admin_verbs_mod = list(
/client/proc/check_ai_laws()
set name = "Check AI Laws"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/check_ai_laws() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/check_ai_laws() called tick#: [world.time]")
if(holder)
src.holder.output_ai_laws()
@@ -762,7 +762,7 @@ var/list/admin_verbs_mod = list(
/client/proc/mod_panel()
set name = "Moderator Panel"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/mod_panel() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/mod_panel() called tick#: [world.time]")
/* if(holder)
holder.mod_panel()*/
@@ -772,7 +772,7 @@ var/list/admin_verbs_mod = list(
/client/proc/editappear(mob/living/carbon/human/M as mob in mob_list)
set name = "Edit Appearance"
set category = "Fun"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/editappear() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/editappear() called tick#: [world.time]")
if(!check_rights(R_FUN)) return
@@ -829,7 +829,7 @@ var/list/admin_verbs_mod = list(
/client/proc/playernotes()
set name = "Show Player Info"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/playernotes() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/playernotes() called tick#: [world.time]")
if(holder)
holder.PlayerNotes()
return
@@ -837,7 +837,7 @@ var/list/admin_verbs_mod = list(
/client/proc/free_slot()
set name = "Free Job Slot"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/free_slot() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/free_slot() called tick#: [world.time]")
if(holder)
var/list/jobs = list()
for (var/datum/job/J in job_master.occupations)
@@ -854,7 +854,7 @@ var/list/admin_verbs_mod = list(
/client/proc/toggleattacklogs()
set name = "Toggle Attack Log Messages"
set category = "Preferences"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/toggleattacklogs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/toggleattacklogs() called tick#: [world.time]")
prefs.toggles ^= CHAT_ATTACKLOGS
prefs.save_preferences_sqlite(src, ckey)
@@ -866,7 +866,7 @@ var/list/admin_verbs_mod = list(
/client/proc/commandname()
set name = "Set Command Name"
set category = "Fun"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/commandname() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/commandname() called tick#: [world.time]")
var/text = input(usr,"Please select a new Central Command name.", null)as text|null
if(text)
@@ -875,7 +875,7 @@ var/list/admin_verbs_mod = list(
/client/proc/toggledebuglogs()
set name = "Toggle Debug Log Messages"
set category = "Preferences"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/toggledebuglogs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/toggledebuglogs() called tick#: [world.time]")
prefs.toggles ^= CHAT_DEBUGLOGS
prefs.save_preferences_sqlite(src, ckey)
@@ -889,7 +889,7 @@ var/list/admin_verbs_mod = list(
set category = "Fun"
set name = "Man Up"
set desc = "Tells mob to man up and deal with it."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/man_up() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/man_up() called tick#: [world.time]")
T << "<span class='notice'><b><font size=3>Man up and deal with it.</font></b></span>"
T << "<span class='notice'>Move on.</span>"
@@ -901,7 +901,7 @@ var/list/admin_verbs_mod = list(
set category = "Fun"
set name = "Man Up Global"
set desc = "Tells everyone to man up and deal with it."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/global_man_up() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/global_man_up() called tick#: [world.time]")
for (var/mob/T as mob in mob_list)
T << "<br><center><span class='notice'><b><font size=4>Man up.<br> Deal with it.</font></b><br>Move on.</span></center><br>"
@@ -915,7 +915,7 @@ var/list/admin_verbs_mod = list(
set name = "Re-admin self"
set category = "Admin"
set desc = "Regain your admin powers."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/readmin() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/readmin() called tick#: [world.time]")
var/datum/admins/D = admin_datums[ckey]
if(config.admin_legacy_system)
src << "<span class='notice'>Legacy admins is not supported yet</span>"
@@ -952,7 +952,7 @@ var/list/admin_verbs_mod = list(
/client/proc/achievement()
set name = "Give Achievement"
set category = "Fun"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/achievement() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/achievement() called tick#: [world.time]")
if(!check_rights(R_FUN)) return
@@ -1000,7 +1000,7 @@ var/list/admin_verbs_mod = list(
set name = "Toggle MoMMI Static"
set desc = "Toggle whether MoMMIs can see mobs or if the mobs are cloaked in static"
set category = "Fun"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/mommi_static() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/mommi_static() called tick#: [world.time]")
if(!holder || !config)
return

View File

@@ -4,20 +4,20 @@ var/appearanceban_runonce //Updates legacy bans with new info
var/appearance_keylist[0] //to store the keys
/proc/appearance_fullban(mob/M, reason)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/appearance_fullban() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/appearance_fullban() called tick#: [world.time]")
if (!M || !M.key) return
appearance_keylist.Add(text("[M.ckey] ## [reason]"))
appearance_savebanfile()
/proc/appearance_client_fullban(ckey)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/appearance_client_fullban() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/appearance_client_fullban() called tick#: [world.time]")
if (!ckey) return
appearance_keylist.Add(text("[ckey]"))
appearance_savebanfile()
//returns a reason if M is banned, returns 0 otherwise
/proc/appearance_isbanned(mob/M)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/appearance_isbanned() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/appearance_isbanned() called tick#: [world.time]")
if(M)
for(var/s in appearance_keylist)
if( findtext(s,M.ckey) == 1 )
@@ -32,21 +32,21 @@ var/appearance_keylist[0] //to store the keys
/*
DEBUG
/mob/verb/list_all_appearances()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/verb/list_all_appearances() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/verb/list_all_appearances() called tick#: [world.time]")
set name = "list all appearances"
for(var/s in appearance_keylist)
world << s
/mob/verb/reload_appearances()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/verb/reload_appearances() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/verb/reload_appearances() called tick#: [world.time]")
set name = "reload appearances"
appearance_loadbanfile()
*/
/proc/appearance_loadbanfile()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/appearance_loadbanfile() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/appearance_loadbanfile() called tick#: [world.time]")
if(config.ban_legacy_system)
var/savefile/S=new("data/appearance_full.ban")
S["keys[0]"] >> appearance_keylist
@@ -75,18 +75,18 @@ DEBUG
appearance_keylist.Add("[ckey]")
/proc/appearance_savebanfile()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/appearance_savebanfile() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/appearance_savebanfile() called tick#: [world.time]")
var/savefile/S=new("data/appearance_full.ban")
S["keys[0]"] << appearance_keylist
/proc/appearance_unban(mob/M)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/appearance_unban() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/appearance_unban() called tick#: [world.time]")
appearance_remove("[M.ckey]")
appearance_savebanfile()
/proc/appearance_updatelegacybans()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/appearance_updatelegacybans() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/appearance_updatelegacybans() called tick#: [world.time]")
if(!appearanceban_runonce)
log_admin("Updating appearancefile!")
// Updates bans.. Or fixes them. Either way.
@@ -96,7 +96,7 @@ DEBUG
/proc/appearance_remove(X)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/appearance_remove() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/appearance_remove() called tick#: [world.time]")
for (var/i = 1; i <= length(appearance_keylist); i++)
if( findtext(appearance_keylist[i], "[X]") )
appearance_keylist.Remove(appearance_keylist[i])
@@ -106,7 +106,7 @@ DEBUG
/*
proc/DB_ban_isappearancebanned(var/playerckey)
writepanic("[__FILE__].[__LINE__] \\/proc/DB_ban_isappearancebanned() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] \\/proc/DB_ban_isappearancebanned() called tick#: [world.time]")
establish_db_connection()
if(!dbcon.IsConnected())
return

View File

@@ -4,20 +4,20 @@ var/jobban_runonce // Updates legacy bans with new info
var/jobban_keylist[0] //to store the keys & ranks
/proc/jobban_fullban(mob/M, rank, reason)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/jobban_fullban() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/jobban_fullban() called tick#: [world.time]")
if (!M || !M.key) return
jobban_keylist.Add(text("[M.ckey] - [rank] ## [reason]"))
jobban_savebanfile()
/proc/jobban_client_fullban(ckey, rank)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/jobban_client_fullban() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/jobban_client_fullban() called tick#: [world.time]")
if (!ckey || !rank) return
jobban_keylist.Add(text("[ckey] - [rank]"))
jobban_savebanfile()
//returns a reason if M is banned from rank, returns 0 otherwise
/proc/jobban_isbanned(mob/M, rank)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/jobban_isbanned() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/jobban_isbanned() called tick#: [world.time]")
if(M && rank)
/*
if(_jobban_isbanned(M, rank)) return "Reason Unspecified" //for old jobban
@@ -40,21 +40,21 @@ var/jobban_keylist[0] //to store the keys & ranks
/*
DEBUG
/mob/verb/list_all_jobbans()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/verb/list_all_jobbans() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/verb/list_all_jobbans() called tick#: [world.time]")
set name = "list all jobbans"
for(var/s in jobban_keylist)
world << s
/mob/verb/reload_jobbans()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/verb/reload_jobbans() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/verb/reload_jobbans() called tick#: [world.time]")
set name = "reload jobbans"
jobban_loadbanfile()
*/
/proc/jobban_loadbanfile()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/jobban_loadbanfile() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/jobban_loadbanfile() called tick#: [world.time]")
if(config.ban_legacy_system)
var/savefile/S=new("data/job_full.ban")
S["keys[0]"] >> jobban_keylist
@@ -93,23 +93,23 @@ DEBUG
jobban_keylist.Add("[ckey] - [job]")
/proc/jobban_savebanfile()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/jobban_savebanfile() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/jobban_savebanfile() called tick#: [world.time]")
var/savefile/S=new("data/job_full.ban")
S["keys[0]"] << jobban_keylist
/proc/jobban_unban(mob/M, rank)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/jobban_unban() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/jobban_unban() called tick#: [world.time]")
jobban_remove("[M.ckey] - [rank]")
jobban_savebanfile()
/proc/ban_unban_log_save(var/formatted_log)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ban_unban_log_save() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ban_unban_log_save() called tick#: [world.time]")
text2file(formatted_log,"data/ban_unban_log.txt")
/proc/jobban_updatelegacybans()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/jobban_updatelegacybans() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/jobban_updatelegacybans() called tick#: [world.time]")
if(!jobban_runonce)
log_admin("Updating jobbanfile!")
// Updates bans.. Or fixes them. Either way.
@@ -119,7 +119,7 @@ DEBUG
/proc/jobban_remove(X)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/jobban_remove() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/jobban_remove() called tick#: [world.time]")
for (var/i = 1; i <= length(jobban_keylist); i++)
if( findtext(jobban_keylist[i], "[X]") )
jobban_keylist.Remove(jobban_keylist[i])

View File

@@ -1,6 +1,6 @@
/var/create_mob_html = null
/datum/admins/proc/create_mob(var/mob/user)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/create_mob() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/create_mob() called tick#: [world.time]")
if (!create_mob_html)
var/mobjs = null
mobjs = list2text(typesof(/mob), ";")

View File

@@ -1,7 +1,7 @@
/var/create_object_html = null
/datum/admins/proc/create_object(var/mob/user)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/create_object() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/create_object() called tick#: [world.time]")
if (!create_object_html)
var/objectjs = null
objectjs = list2text(typesof(/obj), ";")
@@ -13,7 +13,7 @@
/datum/admins/proc/quick_create_object(var/mob/user)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/quick_create_object() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/quick_create_object() called tick#: [world.time]")
var/quick_create_object_html = null
var/pathtext = null

View File

@@ -1,6 +1,6 @@
/var/create_turf_html = null
/datum/admins/proc/create_turf(var/mob/user)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/create_turf() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/create_turf() called tick#: [world.time]")
if (!create_turf_html)
var/turfjs = null
turfjs = list2text(typesof(/turf), ";")

View File

@@ -25,21 +25,21 @@ var/list/admin_datums = list()
admin_datums[ckey] = src
/datum/admins/proc/associate(client/C)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/associate() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/associate() called tick#: [world.time]")
if(istype(C))
owner = C
owner.holder = src
owner.add_admin_verbs() //TODO
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\owner.add_admin_verbs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\owner.add_admin_verbs() called tick#: [world.time]")
admins |= C
owner.verbs -= /client/proc/readmin
/datum/admins/proc/disassociate()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/disassociate() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/disassociate() called tick#: [world.time]")
if(owner)
admins -= owner
owner.remove_admin_verbs()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\owner.remove_admin_verbs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\owner.remove_admin_verbs() called tick#: [world.time]")
owner.holder = null
owner = null
@@ -50,7 +50,7 @@ if it doesn't return 1 and show_msg=1 it will prints a message explaining why th
generally it would be used like so:
proc/admin_proc()
writepanic("[__FILE__].[__LINE__] \\/proc/admin_proc() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] \\/proc/admin_proc() called tick#: [world.time]")
if(!check_rights(R_ADMIN)) return
world << "you have enough rights!"
@@ -58,7 +58,7 @@ NOTE: it checks usr! not src! So if you're checking somebody's rank in a proc wh
you will have to do something like if(client.rights & R_ADMIN) yourself.
*/
/proc/check_rights(rights_required, show_msg=1)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/check_rights() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/check_rights() called tick#: [world.time]")
if(usr && usr.client)
if(rights_required)
if(usr.client.holder)
@@ -77,7 +77,7 @@ you will have to do something like if(client.rights & R_ADMIN) yourself.
// Making this a bit less of a roaring asspain. - N3X
/mob/proc/check_rights(rights_required)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/proc/check_rights() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/proc/check_rights() called tick#: [world.time]")
if(src && src.client)
if(rights_required)
if(src.client.holder)
@@ -90,7 +90,7 @@ you will have to do something like if(client.rights & R_ADMIN) yourself.
//probably a bit iffy - will hopefully figure out a better solution
/proc/check_if_greater_rights_than(client/other)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/check_if_greater_rights_than() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/check_if_greater_rights_than() called tick#: [world.time]")
if(usr && usr.client)
if(usr.client.holder)
if(!other || !other.holder)
@@ -104,7 +104,7 @@ you will have to do something like if(client.rights & R_ADMIN) yourself.
/client/proc/deadmin()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/deadmin() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/deadmin() called tick#: [world.time]")
admin_datums -= ckey
if(holder)
holder.disassociate()
@@ -112,7 +112,7 @@ you will have to do something like if(client.rights & R_ADMIN) yourself.
return 1
/datum/admins/proc/checkSessionKey(var/recurse=0)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/checkSessionKey() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/checkSessionKey() called tick#: [world.time]")
if(recurse==5)
return "\[BROKEN\]";
recurse++

View File

@@ -2,7 +2,7 @@ var/savefile/Banlistjob
/proc/_jobban_isbanned(var/client/clientvar, var/rank)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/_jobban_isbanned() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/_jobban_isbanned() called tick#: [world.time]")
if(!clientvar) return 1
ClearTempbansjob()
var/id = clientvar.computer_id
@@ -23,7 +23,7 @@ var/savefile/Banlistjob
/proc/LoadBansjob()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/LoadBansjob() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/LoadBansjob() called tick#: [world.time]")
Banlistjob = new("data/job_fullnew.bdb")
log_admin("Loading Banlistjob")
@@ -41,7 +41,7 @@ var/savefile/Banlistjob
return 1
/proc/ClearTempbansjob()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ClearTempbansjob() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ClearTempbansjob() called tick#: [world.time]")
UpdateTime()
Banlistjob.cd = "/base"
@@ -60,7 +60,7 @@ var/savefile/Banlistjob
/proc/AddBanjob(ckey, computerid, reason, bannedby, temp, minutes, rank)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/AddBanjob() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/AddBanjob() called tick#: [world.time]")
UpdateTime()
var/bantimestamp
if (temp)
@@ -163,7 +163,7 @@ var/savefile/Banlistjob
return 1
/proc/RemoveBanjob(foldername)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/RemoveBanjob() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/RemoveBanjob() called tick#: [world.time]")
var/key
var/id
var/rank
@@ -195,7 +195,7 @@ var/savefile/Banlistjob
return 1
/proc/GetBanExpjob(minutes as num)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/GetBanExpjob() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/GetBanExpjob() called tick#: [world.time]")
UpdateTime()
var/exp = minutes - CMinutes
if (exp <= 0)
@@ -211,7 +211,7 @@ var/savefile/Banlistjob
return timeleftstring
/datum/admins/proc/unjobbanpanel()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/unjobbanpanel() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/unjobbanpanel() called tick#: [world.time]")
var/count = 0
var/dat
//var/dat = "<HR><B>Unban Player:</B> <span class='warning'>(U) = Unban , (E) = Edit Ban<span class='good'>(Total<HR><table border=1 rules=all frame=void cellspacing=0 cellpadding=3 ></span></span>"
@@ -240,7 +240,7 @@ var/savefile/Banlistjob
log_admin("[usr.client.ckey] has banned from [job] [ckey].\nReason: [reason]\nThis is a permanent ban.")
message_admins("<span class='warning'>[usr.client.ckey] has banned from [job] [ckey].\nReason: [reason]\nThis is a permanent ban.</span>")
/datum/admins/proc/timejobban(ckey, computerid, reason, bannedby, temp, minutes, rank)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/timejobban() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/timejobban() called tick#: [world.time]")
if(AddBanjob(ckey, computerid, reason, usr.ckey, 1, mins, job))
M << "<span class='warning'><BIG><B>You have been jobbanned from [job] by [usr.client.ckey].\nReason: [reason].</B></BIG></span>"
M << "<span class='warning'>This is a temporary ban, it will be removed in [mins] minutes.</span>"
@@ -254,7 +254,7 @@ var/savefile/Banlistjob
/proc/CreateBansjob()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/CreateBansjob() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/CreateBansjob() called tick#: [world.time]")
UpdateTime()
@@ -284,7 +284,7 @@ var/savefile/Banlistjob
Banlistjob.cd = "/base"
/proc/ClearAllBansjob()
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ClearAllBansjob() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/ClearAllBansjob() called tick#: [world.time]")
Banlistjob.cd = "/base"
for (var/A in Banlistjob.dir)
RemoveBanjob(A, "full")

View File

@@ -2,12 +2,12 @@
set category = "Admin"
set name = "Permissions Panel"
set desc = "Edit admin permissions"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/edit_admin_permissions() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/edit_admin_permissions() called tick#: [world.time]")
if(!check_rights(R_PERMISSIONS)) return
usr.client.holder.edit_admin_permissions()
/datum/admins/proc/edit_admin_permissions()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/edit_admin_permissions() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/edit_admin_permissions() called tick#: [world.time]")
if(!check_rights(R_PERMISSIONS)) return
var/output = {"<!DOCTYPE html>
@@ -56,7 +56,7 @@
usr << browse(output,"window=editrights;size=600x500")
/datum/admins/proc/log_admin_rank_modification(var/adm_ckey, var/new_rank)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/log_admin_rank_modification() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/log_admin_rank_modification() called tick#: [world.time]")
if(config.admin_legacy_system) return
if(!usr.client)
@@ -107,7 +107,7 @@
usr << "<span class='notice'>Admin rank changed.</span>"
/datum/admins/proc/log_admin_permission_modification(var/adm_ckey, var/new_permission)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/log_admin_permission_modification() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/log_admin_permission_modification() called tick#: [world.time]")
if(config.admin_legacy_system) return
if(!usr.client)

View File

@@ -5,12 +5,12 @@
#define NOTESFILE "data/player_notes.sav" //where the player notes are saved
datum/admins/proc/notes_show(var/ckey)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\datum/admins/proc/notes_show() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\datum/admins/proc/notes_show() called tick#: [world.time]")
usr << browse("<head><title>Player Notes</title></head><body>[notes_gethtml(ckey)]</body>","window=player_notes;size=700x400")
datum/admins/proc/notes_gethtml(var/ckey)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\datum/admins/proc/notes_gethtml() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\datum/admins/proc/notes_gethtml() called tick#: [world.time]")
var/savefile/notesfile = new(NOTESFILE)
if(!notesfile) return "<font color='red'>Error: Cannot access [NOTESFILE]</font>"
if(ckey)
@@ -34,7 +34,7 @@ datum/admins/proc/notes_gethtml(var/ckey)
//originally had seperate entries such as var/by to record who left the note and when
//but the current bansystem is a heap of dung.
/proc/notes_add(var/ckey, var/note)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/proc/notes_add() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/proc/notes_add() called tick#: [world.time]")
if(!ckey)
ckey = ckey(input(usr,"Who would you like to add notes for?","Enter a ckey",null) as text|null)
if(!ckey) return
@@ -52,7 +52,7 @@ datum/admins/proc/notes_gethtml(var/ckey)
//handles removing entries from the buffer, or removing the entire directory if no start_index is given
/proc/notes_remove(var/ckey, var/start_index, var/end_index)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/proc/notes_remove() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/proc/notes_remove() called tick#: [world.time]")
var/savefile/notesfile = new(NOTESFILE)
if(!notesfile) return
@@ -90,7 +90,7 @@ datum/admins/proc/notes_gethtml(var/ckey)
//Hijacking this file for BS12 playernotes functions. I like this ^ one systemm alright, but converting sounds too bothersome~ Chinsky.
/proc/notes_add(var/key, var/note, var/mob/usr)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/notes_add() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/notes_add() called tick#: [world.time]")
if (!key || !note)
return
@@ -144,7 +144,7 @@ datum/admins/proc/notes_gethtml(var/ckey)
/proc/notes_del(var/key, var/index)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/notes_del() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/notes_del() called tick#: [world.time]")
var/savefile/info = new("data/player_saves/[copytext(key, 1, 2)]/[key]/info.sav")
var/list/infos
info >> infos

View File

@@ -1,6 +1,6 @@
/datum/admins/proc/player_panel_new()//The new one
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/player_panel_new() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/player_panel_new() called tick#: [world.time]")
if (!usr.client.holder)
return
var/dat = "<html><head><title>Admin Player Panel</title></head>"
@@ -325,7 +325,7 @@
//The old one
/datum/admins/proc/player_panel_old()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/player_panel_old() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/player_panel_old() called tick#: [world.time]")
if (!usr.client.holder)
return
@@ -391,7 +391,7 @@
/datum/admins/proc/check_antagonists()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/check_antagonists() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/check_antagonists() called tick#: [world.time]")
if (ticker && ticker.current_state >= GAME_STATE_PLAYING)
var/dat = "<html><head><title>Round Status</title></head><body><h1><B>Round Status</B></h1>"

View File

@@ -1,7 +1,7 @@
/proc/getbrokeninhands()
set name = "Broken Sprite List"
set category = "Debug"
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/getbrokeninhands() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/getbrokeninhands() called tick#: [world.time]")
if(!alert("Are you sure you want to get the broken sprites list?",,"Yes","No") == "Yes") return
var/icon/IL = new('icons/mob/in-hand/left/items_lefthand.dmi')

View File

@@ -17,7 +17,7 @@
/client/proc/SDQL2_query(query_text as message)
set category = "Debug"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/SDQL2_query() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/SDQL2_query() called tick#: [world.time]")
if(!check_rights(R_DEBUG)) //Shouldn't happen... but just to be safe.
message_admins("<span class='warning'>ERROR: Non-admin [usr.key] attempted to execute a SDQL query!</span>")
@@ -144,7 +144,7 @@
/proc/SDQL_parse(list/query_list)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/SDQL_parse() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/SDQL_parse() called tick#: [world.time]")
var/datum/SDQL_parser/parser = new(query_list)
var/list/query_tree = parser.parse()
@@ -155,7 +155,7 @@
/proc/SDQL_testout(list/query_tree, indent = 0)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/SDQL_testout() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/SDQL_testout() called tick#: [world.time]")
var/spaces = ""
for(var/s = 0, s < indent, s++)
spaces += " "
@@ -182,7 +182,7 @@
/proc/SDQL_from_objs(list/tree)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/SDQL_from_objs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/SDQL_from_objs() called tick#: [world.time]")
if("world" in tree)
return list(world)
@@ -201,7 +201,7 @@
/proc/SDQL_get_all(type, location)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/SDQL_get_all() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/SDQL_get_all() called tick#: [world.time]")
var/list/out = list()
if(type == "*")
@@ -246,7 +246,7 @@
/proc/SDQL_expression(datum/object, list/expression, start = 1)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/SDQL_expression() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/SDQL_expression() called tick#: [world.time]")
var/result = 0
var/val
@@ -302,7 +302,7 @@
return result
/proc/SDQL_value(datum/object, list/expression, start = 1)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/SDQL_value() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/SDQL_value() called tick#: [world.time]")
var/i = start
var/val = null
@@ -344,7 +344,7 @@
/proc/SDQL_var(datum/object, list/expression, start = 1)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/SDQL_var() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/SDQL_var() called tick#: [world.time]")
if(expression[start] in object.vars)
@@ -359,7 +359,7 @@
/proc/SDQL2_tokenize(query_text)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/SDQL2_tokenize() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/SDQL2_tokenize() called tick#: [world.time]")
var/list/whitespace = list(" ", "\n", "\t")
var/list/single = list("(", ")", ",", "+", "-", ".")

View File

@@ -65,13 +65,13 @@
/datum/SDQL_parser/proc/parse_error(error_message)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/SDQL_parser/proc/parse_error() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/SDQL_parser/proc/parse_error() called tick#: [world.time]")
error = 1
usr << "<span class='warning'>SQDL2 Parsing Error: [error_message]</span>"
return query.len + 1
/datum/SDQL_parser/proc/parse()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/SDQL_parser/proc/parse() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/SDQL_parser/proc/parse() called tick#: [world.time]")
tree = list()
query(1, tree)
@@ -81,7 +81,7 @@
return tree
/datum/SDQL_parser/proc/token(i)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/SDQL_parser/proc/token() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/SDQL_parser/proc/token() called tick#: [world.time]")
if(i <= query.len)
return query[i]
@@ -89,7 +89,7 @@
return null
/datum/SDQL_parser/proc/tokens(i, num)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/SDQL_parser/proc/tokens() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/SDQL_parser/proc/tokens() called tick#: [world.time]")
if(i + num <= query.len)
return query.Copy(i, i + num)
@@ -97,7 +97,7 @@
return null
/datum/SDQL_parser/proc/tokenl(i)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/SDQL_parser/proc/tokenl() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/SDQL_parser/proc/tokenl() called tick#: [world.time]")
return lowertext(token(i))

View File

@@ -7,7 +7,7 @@ var/list/adminhelp_ignored_words = list("unknown","the","a","an","of","monkey","
set category = "Admin"
set name = "Adminhelp"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/verb/adminhelp() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/verb/adminhelp() called tick#: [world.time]")
if(say_disabled) //This is here to try to identify lag problems
usr << "<span class='warning'>Speech is currently admin-disabled.</span>"
return

View File

@@ -2,7 +2,7 @@
set name = "Jump to Area"
set desc = "Area to jump to"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/Jump() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/Jump() called tick#: [world.time]")
if(!src.holder)
src << "Only administrators may use this command."
return
@@ -33,7 +33,7 @@
/client/proc/jumptoturf(var/turf/T in world)
set name = "Jump to Turf"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/jumptoturf() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/jumptoturf() called tick#: [world.time]")
if(!src.holder)
src << "Only administrators may use this command."
return
@@ -49,7 +49,7 @@
/client/proc/jumptomob(var/mob/M in mob_list)
set category = "Admin"
set name = "Jump to Mob"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/jumptomob() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/jumptomob() called tick#: [world.time]")
if(!src.holder)
src << "Only administrators may use this command."
@@ -72,7 +72,7 @@
/client/proc/jumptocoord(tx as num, ty as num, tz as num)
set category = "Admin"
set name = "Jump to Coordinate"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/jumptocoord() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/jumptocoord() called tick#: [world.time]")
if (!holder)
src << "Only administrators may use this command."
@@ -93,7 +93,7 @@
/client/proc/jumptokey()
set category = "Admin"
set name = "Jump to Key"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/jumptokey() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/jumptokey() called tick#: [world.time]")
if(!src.holder)
src << "Only administrators may use this command."
@@ -120,7 +120,7 @@
set category = "Admin"
set name = "Get Mob"
set desc = "Mob to teleport"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/Getmob() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/Getmob() called tick#: [world.time]")
if(!src.holder)
src << "Only administrators may use this command."
return
@@ -136,7 +136,7 @@
set category = "Admin"
set name = "Get Key"
set desc = "Key to teleport"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/Getkey() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/Getkey() called tick#: [world.time]")
if(!src.holder)
src << "Only administrators may use this command."
@@ -164,7 +164,7 @@
/client/proc/sendmob(var/mob/M in sortmobs())
set category = "Admin"
set name = "Send Mob"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/sendmob() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/sendmob() called tick#: [world.time]")
if(!src.holder)
src << "Only administrators may use this command."
return

View File

@@ -2,7 +2,7 @@
/client/proc/cmd_admin_pm_context(mob/M as mob in mob_list)
set category = null
set name = "Admin PM Mob"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_pm_context() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_pm_context() called tick#: [world.time]")
if(!holder)
src << "<font color='red'>Error: Admin-PM-Context: Only administrators may use this command.</font>"
return
@@ -14,7 +14,7 @@
/client/proc/cmd_admin_pm_panel()
set category = "Admin"
set name = "Admin PM"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_pm_panel() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_pm_panel() called tick#: [world.time]")
if(!holder)
src << "<font color='red'>Error: Admin-PM-Panel: Only administrators may use this command.</font>"
return
@@ -38,7 +38,7 @@
//takes input from cmd_admin_pm_context, cmd_admin_pm_panel or /client/Topic and sends them a PM.
//Fetching a message if needed. src is the sender and C is the target client
/client/proc/cmd_admin_pm(var/client/C, var/msg)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_pm() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_pm() called tick#: [world.time]")
if(prefs.muted & MUTE_ADMINHELP)
src << "<font color='red'>Error: Private-Message: You are unable to use PM-s (muted).</font>"
return

View File

@@ -2,7 +2,7 @@
set category = "Special Verbs"
set name = "Asay" //Gave this shit a shorter name so you only have to time out "asay" rather than "admin say" to use it --NeoFite
set hidden = 1
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_say() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_say() called tick#: [world.time]")
if(!check_rights(R_ADMIN)) return
msg = copytext(sanitize(msg), 1, MAX_MESSAGE_LEN)
@@ -22,7 +22,7 @@
set category = "Special Verbs"
set name = "mWindow"
set hidden = 1
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_mod_window() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_mod_window() called tick#: [world.time]")
if(!check_rights(R_ADMIN|R_MOD)) return
winset(src, "window1", "is-visible=true")
@@ -31,7 +31,7 @@
set category = "Special Verbs"
set name = "Msay"
set hidden = 1
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_mod_say() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_mod_say() called tick#: [world.time]")
if(!check_rights(R_ADMIN|R_MOD)) return

View File

@@ -7,7 +7,7 @@ client/proc/antag_madness(var/mob/M in mob_list)
set desc = "Turns the target player into a random fully geared antag."
set category = "Fun"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/antag_madness() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/antag_madness() called tick#: [world.time]")
if(!holder)
return
@@ -73,7 +73,7 @@ client/proc/antag_madness(var/mob/M in mob_list)
feedback_add_details("admin_verb","AM") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/obj/structure/stool/bed/chair/vehicle/adminbus/proc/antag_madness_adminbus(var/mob/M)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/obj/structure/stool/bed/chair/vehicle/adminbus/proc/antag_madness_adminbus() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/obj/structure/stool/bed/chair/vehicle/adminbus/proc/antag_madness_adminbus() called tick#: [world.time]")
if(!M.mind)
return
@@ -113,7 +113,7 @@ client/proc/antag_madness(var/mob/M in mob_list)
M << "<span class='danger'>You get the feeling that you're not the only one who remembered his true origin. Will they be your allies or your foes? That is for you to decide.</span>"
/proc/create_madness(var/mob/living/carbon/human/M, var/choice)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/create_madness() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/create_madness() called tick#: [world.time]")
if (M.mind.assigned_role == "Clown")
M << "The adminbus has allowed you to overcome your clownish nature, allowing you to wield weapons without harming yourself."
M.mutations.Remove(M_CLUMSY)

View File

@@ -1,7 +1,7 @@
/client/proc/atmosscan()
set category = "Mapping"
set name = "Check Plumbing"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/atmosscan() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/atmosscan() called tick#: [world.time]")
if(!src.holder)
src << "Only administrators may use this command."
return
@@ -30,7 +30,7 @@
/client/proc/powerdebug()
set category = "Mapping"
set name = "Check Power"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/powerdebug() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/powerdebug() called tick#: [world.time]")
if(!src.holder)
src << "Only administrators may use this command."
return

View File

@@ -4,7 +4,7 @@ var/inactive_keys = "None<br>"
/client/proc/check_customitem_activity()
set category = "Admin"
set name = "Check activity of players with custom items"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/check_customitem_activity() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/check_customitem_activity() called tick#: [world.time]")
var/dat = "<b>Inactive players with custom items</b><br>"
@@ -37,7 +37,7 @@ var/inactive_keys = "None<br>"
usr << browse(dat, "window=inactive_customitems;size=600x480")
/proc/populate_inactive_customitems_list(var/client/C)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/populate_inactive_customitems_list() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/populate_inactive_customitems_list() called tick#: [world.time]")
//set background = 1
if(checked_for_inactives)

View File

@@ -3,7 +3,7 @@
set category = "Fun"
set desc = "Shows a cinematic." // Intended for testing but I thought it might be nice for events on the rare occasion Feel free to comment it out if it's not wanted.
set hidden = 1
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cinematic() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cinematic() called tick#: [world.time]")
if(alert("Are you sure you want to run [cinematic]?","Confirmation","Yes","No")=="No") return
if(!ticker) return
switch(cinematic)

View File

@@ -2,7 +2,7 @@
/client/proc/cmd_admin_change_custom_event()
set category = "Fun"
set name = "Change Custom Event"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_change_custom_event() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_change_custom_event() called tick#: [world.time]")
if(!holder)
src << "Only administrators may use this command."
@@ -30,7 +30,7 @@
set category = "OOC"
set name = "Custom Event Info"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/verb/cmd_view_custom_event() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/verb/cmd_view_custom_event() called tick#: [world.time]")
if(!custom_event_msg || custom_event_msg == "")
src << "There currently is no known custom event taking place."
src << "Keep in mind: it is possible that an admin has not properly set this."

View File

@@ -2,7 +2,7 @@
set category = "Special Verbs"
set name = "Dsay" //Gave this shit a shorter name so you only have to time out "dsay" rather than "dead say" to use it --NeoFite
set hidden = 1
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/dsay() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/dsay() called tick#: [world.time]")
if(!src.holder)
src << "Only administrators may use this command."
return

View File

@@ -1,7 +1,7 @@
/client/proc/Debug2()
set category = "Debug"
set name = "Debug-Game"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/Debug2() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/Debug2() called tick#: [world.time]")
if(!check_rights(R_DEBUG)) return
if(Debug2)
@@ -29,7 +29,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
/client/proc/callproc()
set category = "Debug"
set name = "Advanced ProcCall"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/callproc() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/callproc() called tick#: [world.time]")
if(!check_rights(R_DEBUG)) return
@@ -134,7 +134,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
/client/proc/callatomproc(var/atom/target as anything)
set category = "Debug"
set name = "Atom ProcCall"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/callatomproc() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/callatomproc() called tick#: [world.time]")
if(!check_rights(R_DEBUG)) return
@@ -205,7 +205,7 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
/client/proc/Cell()
set category = "Debug"
set name = "Air Status in Location"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/Cell() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/Cell() called tick#: [world.time]")
if(!mob)
return
var/turf/T = mob.loc
@@ -231,7 +231,7 @@ Pressure: [env.return_pressure()]"}
/client/proc/cmd_admin_robotize(var/mob/M in mob_list)
set category = "Fun"
set name = "Make Robot"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_robotize() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_robotize() called tick#: [world.time]")
if(!ticker)
alert("Wait until the game starts")
@@ -246,7 +246,7 @@ Pressure: [env.return_pressure()]"}
/client/proc/cmd_admin_mommify(var/mob/M in mob_list)
set category = "Fun"
set name = "Make MoMMI"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_mommify() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_mommify() called tick#: [world.time]")
if(!ticker)
alert("Wait until the game starts")
@@ -261,7 +261,7 @@ Pressure: [env.return_pressure()]"}
/client/proc/cmd_admin_animalize(var/mob/M in mob_list)
set category = "Fun"
set name = "Make Simple Animal"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_animalize() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_animalize() called tick#: [world.time]")
if(!ticker)
alert("Wait until the game starts")
@@ -283,7 +283,7 @@ Pressure: [env.return_pressure()]"}
set category = "Fun"
set name = "Make pAI"
set desc = "Specify a location to spawn a pAI device, then specify a key to play that pAI"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/makepAI() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/makepAI() called tick#: [world.time]")
var/list/available = list()
for(var/mob/C in mob_list)
@@ -310,7 +310,7 @@ Pressure: [env.return_pressure()]"}
/client/proc/cmd_admin_alienize(var/mob/M in mob_list)
set category = "Fun"
set name = "Make Alien"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_alienize() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_alienize() called tick#: [world.time]")
if(!ticker)
alert("Wait until the game starts")
@@ -329,7 +329,7 @@ Pressure: [env.return_pressure()]"}
/client/proc/cmd_admin_slimeize(var/mob/M in mob_list)
set category = "Fun"
set name = "Make slime"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_slimeize() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_slimeize() called tick#: [world.time]")
if(!ticker)
alert("Wait until the game starts")
@@ -346,7 +346,7 @@ Pressure: [env.return_pressure()]"}
/*
/client/proc/cmd_admin_monkeyize(var/mob/M in world)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_monkeyize() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_monkeyize() called tick#: [world.time]")
set category = "Fun"
set name = "Make Monkey"
@@ -362,7 +362,7 @@ Pressure: [env.return_pressure()]"}
alert("Invalid mob")
/client/proc/cmd_admin_changelinginize(var/mob/M in world)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_changelinginize() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_changelinginize() called tick#: [world.time]")
set category = "Fun"
set name = "Make Changeling"
@@ -381,7 +381,7 @@ Pressure: [env.return_pressure()]"}
*/
/*
/client/proc/cmd_admin_abominize(var/mob/M in world)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_abominize() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_abominize() called tick#: [world.time]")
set category = null
set name = "Make Abomination"
@@ -399,7 +399,7 @@ Pressure: [env.return_pressure()]"}
*/
/*
/client/proc/make_cultist(var/mob/M in world) // -- TLE, modified by Urist
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/make_cultist() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/make_cultist() called tick#: [world.time]")
set category = "Fun"
set name = "Make Cultist"
set desc = "Makes target a cultist"
@@ -445,7 +445,7 @@ Pressure: [env.return_pressure()]"}
/client/proc/cmd_debug_del_all()
set category = "Debug"
set name = "Del-All"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_debug_del_all() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_debug_del_all() called tick#: [world.time]")
// to prevent REALLY stupid deletions
var/blocked = list(/obj, /mob, /mob/living, /mob/living/carbon, /mob/living/carbon/human, /mob/dead, /mob/dead/observer, /mob/living/silicon, /mob/living/silicon/robot, /mob/living/silicon/ai)
@@ -461,7 +461,7 @@ Pressure: [env.return_pressure()]"}
/client/proc/cmd_debug_make_powernets()
set category = "Debug"
set name = "Make Powernets"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_debug_make_powernets() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_debug_make_powernets() called tick#: [world.time]")
makepowernets()
log_admin("[key_name(src)] has remade the powernet. makepowernets() called.")
message_admins("[key_name_admin(src)] has remade the powernets. makepowernets() called.", 0)
@@ -470,7 +470,7 @@ Pressure: [env.return_pressure()]"}
/client/proc/cmd_debug_tog_aliens()
set category = "Server"
set name = "Toggle Aliens"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_debug_tog_aliens() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_debug_tog_aliens() called tick#: [world.time]")
aliens_allowed = !aliens_allowed
log_admin("[key_name(src)] has turned aliens [aliens_allowed ? "on" : "off"].")
@@ -480,7 +480,7 @@ Pressure: [env.return_pressure()]"}
/client/proc/cmd_admin_grantfullaccess(var/mob/M in mob_list)
set category = "Admin"
set name = "Grant Full Access"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_grantfullaccess() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_grantfullaccess() called tick#: [world.time]")
if (!ticker)
alert("Wait until the game starts")
@@ -513,7 +513,7 @@ Pressure: [env.return_pressure()]"}
set category = "Admin"
set name = "Assume direct control"
set desc = "Direct intervention"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_assume_direct_control() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_assume_direct_control() called tick#: [world.time]")
if(!check_rights(R_DEBUG|R_ADMIN)) return
if(M.ckey)
@@ -533,7 +533,7 @@ Pressure: [env.return_pressure()]"}
/client/proc/cmd_admin_areatest()
set category = "Mapping"
set name = "Test areas"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_areatest() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_areatest() called tick#: [world.time]")
var/list/areas_all = list()
var/list/areas_with_APC = list()
@@ -622,7 +622,7 @@ Pressure: [env.return_pressure()]"}
/client/proc/cmd_admin_dress(var/mob/living/carbon/human/M in mob_list)
set category = "Fun"
set name = "Select equipment"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_dress() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_dress() called tick#: [world.time]")
if(!ishuman(M))
alert("Invalid mob")
@@ -1090,7 +1090,7 @@ Pressure: [env.return_pressure()]"}
set category = "Debug"
set name = "Start Singularity"
set desc = "Sets up the singularity and all machines to get power flowing through the station"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/startSinglo() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/startSinglo() called tick#: [world.time]")
if(alert("Are you sure? This will start up the engine. Should only be used during debug!",,"Yes","No") != "Yes")
return
@@ -1153,7 +1153,7 @@ Pressure: [env.return_pressure()]"}
set category = "Debug"
set name = "Free Power"
set desc = "Replaces all SMES on the map with magical ones."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cheat_power() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cheat_power() called tick#: [world.time]")
if(alert("Are you sure? This will completely fuck over your round!",,"Yes","No") != "Yes")
return
@@ -1178,7 +1178,7 @@ Pressure: [env.return_pressure()]"}
set category = "Debug"
set name = "Start Atmos"
set desc = "WOW ATMOS DID THEIR JOBS!!!1"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/setup_atmos() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/setup_atmos() called tick#: [world.time]")
if(alert("Are you sure? This will completely fuck over your round!",,"Yes","No") != "Yes")
return
@@ -1202,7 +1202,7 @@ Pressure: [env.return_pressure()]"}
set category = "Debug"
set name = "Debug Mob Lists"
set desc = "For when you just gotta know"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_debug_mob_lists() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_debug_mob_lists() called tick#: [world.time]")
switch(input("Which list?") in list("Players","Admins","Mobs","Living Mobs","Dead Mobs", "Clients"))
if("Players")
@@ -1220,7 +1220,7 @@ Pressure: [env.return_pressure()]"}
/client/proc/cmd_admin_toggle_block(var/mob/M,var/block)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_toggle_block() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_toggle_block() called tick#: [world.time]")
if(!ticker)
alert("Wait until the game starts")
return
@@ -1240,7 +1240,7 @@ Pressure: [env.return_pressure()]"}
set category = "Debug"
set name = "Dump Instance Counts"
set desc = "MEMORY PROFILING IS TOO HIGH TECH"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_dump_instances() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_dump_instances() called tick#: [world.time]")
var/date_string = time2text(world.realtime, "YYYY-MM-DD")
var/F=file("data/logs/profiling/[date_string]_instances.csv")
fdel(F)
@@ -1253,7 +1253,7 @@ Pressure: [env.return_pressure()]"}
/client/proc/cmd_admin_find_bad_blood_tracks()
set category = "Debug"
set name = "Find broken blood tracks"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_find_bad_blood_tracks() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_find_bad_blood_tracks() called tick#: [world.time]")
if(!holder) return
message_admins("[src] used find broken blood tracks")
var/date_string = time2text(world.realtime, "YYYY-MM-DD")
@@ -1280,7 +1280,7 @@ Pressure: [env.return_pressure()]"}
/client/proc/cmd_admin_dump_macprofile()
set category = "Debug"
set name = "Dump Machine and Object Profiling"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_dump_macprofile() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_dump_macprofile() called tick#: [world.time]")
var/date_string = time2text(world.realtime, "YYYY-MM-DD")
var/F =file("data/logs/profiling/[date_string]_machine_profiling.csv")
@@ -1304,7 +1304,7 @@ Pressure: [env.return_pressure()]"}
/client/proc/cmd_admin_dump_machine_type_list()
set category = "Debug"
set name = "Dump Machine type list"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_dump_machine_type_list() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_dump_machine_type_list() called tick#: [world.time]")
if(!machines.len && !power_machines.len)
usr << "Machines has no length!"
@@ -1341,7 +1341,7 @@ Pressure: [env.return_pressure()]"}
/client/proc/cmd_admin_dump_delprofile()
set category = "Debug"
set name = "Dump Del Profiling"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_dump_delprofile() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_dump_delprofile() called tick#: [world.time]")
var/date_string = time2text(world.realtime, "YYYY-MM-DD")
var/F =file("data/logs/profiling/[date_string]_del_profiling.csv")
@@ -1374,7 +1374,7 @@ Pressure: [env.return_pressure()]"}
set category = "Fun"
set name = "Dispense Money"
set desc = "Honk"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/gib_money() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/gib_money() called tick#: [world.time]")
var/response = input(src,"How much moneys?") as num
if( response < 1) return
@@ -1384,7 +1384,7 @@ var/global/blood_virus_spreading_disabled = 0
/client/proc/disable_bloodvirii()
set category = "Debug"
set name = "Disable Blood Virus Spreading"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/disable_bloodvirii() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/disable_bloodvirii() called tick#: [world.time]")
//usr << "<span class='warning'>Proc disabled.</span>"
@@ -1398,7 +1398,7 @@ var/global/blood_virus_spreading_disabled = 0
set category = "Server"
set name = "Reload Style Sheet"
set desc = "Reload the Style Sheet (be careful)."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/reload_style_sheet() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/reload_style_sheet() called tick#: [world.time]")
for(var/client/C in clients)
winset(C, null, "outputwindow.output.style=[config.world_style_config];")
@@ -1408,7 +1408,7 @@ var/global/blood_virus_spreading_disabled = 0
set category = "Server"
set name = "Reset Style Sheet"
set desc = "Reset the Style Sheet (restore to default)."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/reset_style_sheet() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/reset_style_sheet() called tick#: [world.time]")
for(var/client/C in clients)
winset(C, null, "outputwindow.output.style=[world_style];")
@@ -1418,7 +1418,7 @@ var/global/blood_virus_spreading_disabled = 0
/client/proc/cmd_admin_cluwneize(var/mob/M in mob_list)
set category = "Fun"
set name = "Make Cluwne"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_cluwneize() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_cluwneize() called tick#: [world.time]")
if(!ticker)
alert("Wait until the game starts")
return
@@ -1434,7 +1434,7 @@ client/proc/make_invulnerable(var/mob/M in mob_list)
set name = "Toggle Invulnerability"
set desc = "Make the target atom invulnerable to all form of damage."
set category = "Fun"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/make_invulnerable() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/make_invulnerable() called tick#: [world.time]")
var/isinvuln = 0
if(M.flags & INVULNERABLE)
isinvuln = 1
@@ -1457,7 +1457,7 @@ client/proc/delete_all_adminbus()
set name = "Delete every Adminbus"
set desc = "When the world cannot handle them anymore."
set category = "Fun"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/delete_all_adminbus() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/delete_all_adminbus() called tick#: [world.time]")
if(alert(usr, "Delete every single Adminbus in the game world?", "Delete Adminbus", "Yes", "No") != "Yes")
return
@@ -1469,7 +1469,7 @@ client/proc/delete_all_bomberman()
set name = "Remove all that Bomberman shit"
set desc = "4th wall ointment."
set category = "Fun"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/delete_all_bomberman() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/delete_all_bomberman() called tick#: [world.time]")
if(!check_rights(R_FUN)) return
@@ -1520,7 +1520,7 @@ client/proc/create_bomberman_arena()
set name = "Create a Bomberman Arena"
set desc = "Create a customizable Bomberman-type arena."
set category = "Fun"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/create_bomberman_arena() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/create_bomberman_arena() called tick#: [world.time]")
if(!check_rights(R_FUN)) return
@@ -1538,7 +1538,7 @@ client/proc/control_bomberman_arena()
set name = "Arena Control Panel"
set desc = "Control or Remove an existing Bomberman-type arena."
set category = "Fun"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/control_bomberman_arena() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/control_bomberman_arena() called tick#: [world.time]")
if(!check_rights(R_FUN)) return
@@ -1667,7 +1667,7 @@ client/proc/control_bomberman_arena()
client/proc/mob_list()
set name = "show mob list"
set category = "Debug"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/mob_list() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/mob_list() called tick#: [world.time]")
if(!holder) return
usr << "mob list length is [mob_list.len]"
@@ -1686,7 +1686,7 @@ client/proc/mob_list()
client/proc/check_bomb()
set name = "Check Bomb Impact"
set category = "Debug"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/check_bomb() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/check_bomb() called tick#: [world.time]")
var/newmode = alert("Use the new method?","Check Bomb Impact", "Yes","No")
@@ -1755,7 +1755,7 @@ client/proc/cure_disease()
set name = "Cure Disease"
set category = "Debug"
if(!holder) return
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/cure_disease() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/cure_disease() called tick#: [world.time]")
var/list/disease_by_name = list("-Cure All-" = null) + disease2_list + active_diseases

View File

@@ -1,7 +1,7 @@
/client/proc/air_report()
set category = "Debug"
set name = "Show Air Report"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/air_report() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/air_report() called tick#: [world.time]")
/*(!master_controller || !air_master)
alert(usr,"Master_controller or air_master not found.","Air Report")
@@ -45,7 +45,7 @@
/client/proc/air_status(turf/target as turf)
set category = "Debug"
set name = "Display Air Status"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/air_status() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/air_status() called tick#: [world.time]")
/*(!isturf(target))
return
@@ -64,7 +64,7 @@
*/
/client/proc/_fix_delayers(var/dtype)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/_fix_delayers() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/_fix_delayers() called tick#: [world.time]")
var/largest_delay = 0
var/mob/most_delayed_mob = null
var/delay=0
@@ -96,14 +96,14 @@
message_admins("world.time = [world.time]", 1)
feedback_add_details("admin_verb","UFE") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
return
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/fix_next_move() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/fix_next_move() called tick#: [world.time]")
#undef GATHER_DELAYER_LOCKUPS
/client/proc/radio_report()
set category = "Debug"
set name = "Radio report"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/radio_report() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/radio_report() called tick#: [world.time]")
var/filters = list(
"1" = "RADIO_TO_AIRALARM",
@@ -141,7 +141,7 @@
/client/proc/reload_admins()
set name = "Reload Admins"
set category = "Debug"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/reload_admins() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/reload_admins() called tick#: [world.time]")
if(!check_rights(R_SERVER)) return
@@ -153,7 +153,7 @@
/client/proc/jump_to_dead_group()
set name = "Jump to dead group"
set category = "Debug"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/jump_to_dead_group() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/jump_to_dead_group() called tick#: [world.time]")
/*
if(!holder)
@@ -177,7 +177,7 @@
set name = "Kill Local Airgroup"
set desc = "Use this to allow manual manupliation of atmospherics."
set category = "Debug"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/kill_airgroup() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/kill_airgroup() called tick#: [world.time]")
/*
if(!holder)
@@ -202,7 +202,7 @@
set name = "Print Jobban Log"
set desc = "This spams all the active jobban entries for the current round to standard output."
set category = "Debug"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/print_jobban_old() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/print_jobban_old() called tick#: [world.time]")
usr << "<b>Jobbans active in this round.</b>"
for(var/t in jobban_keylist)
@@ -212,7 +212,7 @@
set name = "Search Jobban Log"
set desc = "This searches all the active jobban entries for the current round and outputs the results to standard output."
set category = "Debug"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/print_jobban_old_filter() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/print_jobban_old_filter() called tick#: [world.time]")
var/filter = input("Contains what?","Filter") as text|null
if(!filter)
@@ -227,7 +227,7 @@
/client/proc/dump_chemreactions()
set category = "Debug"
set name = "Dump Chemical Reactions"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/dump_chemreactions() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/dump_chemreactions() called tick#: [world.time]")
var/paths = typesof(/datum/chemical_reaction) - /datum/chemical_reaction

View File

@@ -22,7 +22,7 @@
set name = ".giveruntimelog"
set desc = "Give somebody access to any session logfiles saved to the /log/runtime/ folder."
set category = null
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/giveruntimelog() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/giveruntimelog() called tick#: [world.time]")
if(!src.holder)
src << "<font color='red'>Only Admins may use this command.</font>"
@@ -44,7 +44,7 @@
set name = ".getruntimelog"
set desc = "Retrieve any session logfiles saved by dreamdeamon."
set category = null
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/getruntimelog() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/getruntimelog() called tick#: [world.time]")
var/path = browse_files("data/logs/runtime/")
if(!path)
@@ -74,7 +74,7 @@
set name = ".getserverlog"
set desc = "Fetch logfiles from data/logs"
set category = null
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/getserverlog() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/getserverlog() called tick#: [world.time]")
var/path = browse_files("data/logs/")
if(!path)
@@ -105,7 +105,7 @@
set category = "Admin"
set name = "Show Server Log"
set desc = "Shows today's server log."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/view_txt_log() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/view_txt_log() called tick#: [world.time]")
var/path = "data/logs/[time2text(world.realtime,"YYYY/MM-Month/DD-Day")].log"
if( fexists(path) )
@@ -130,7 +130,7 @@
set category = "Admin"
set name = "Show Server Attack Log"
set desc = "Shows today's server attack log."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/view_atk_log() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/view_atk_log() called tick#: [world.time]")
var/path = "data/logs/[time2text(world.realtime,"YYYY/MM-Month/DD-Day")] Attack.log"
if( fexists(path) )

View File

@@ -40,14 +40,14 @@ var/intercom_range_display_status = 0
/client/proc/do_not_use_these()
set category = "Mapping"
set name = "-None of these are for ingame use!!"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/do_not_use_these() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/do_not_use_these() called tick#: [world.time]")
..()
/client/proc/camera_view()
set category = "Mapping"
set name = "Camera Range Display"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/camera_view() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/camera_view() called tick#: [world.time]")
if(camera_range_display_status)
camera_range_display_status = 0
@@ -69,7 +69,7 @@ var/intercom_range_display_status = 0
/client/proc/sec_camera_report()
set category = "Mapping"
set name = "Camera Report"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/sec_camera_report() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/sec_camera_report() called tick#: [world.time]")
if(!master_controller)
alert(usr,"Master_controller not found.","Sec Camera Report")
@@ -110,7 +110,7 @@ var/intercom_range_display_status = 0
/client/proc/intercom_view()
set category = "Mapping"
set name = "Intercom Range Display"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/intercom_view() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/intercom_view() called tick#: [world.time]")
if (intercom_range_display_status)
intercom_range_display_status = FALSE
@@ -130,7 +130,7 @@ var/intercom_range_display_status = 0
/client/proc/enable_debug_verbs()
set category = "Debug"
set name = "Debug verbs"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/enable_debug_verbs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/enable_debug_verbs() called tick#: [world.time]")
if(!check_rights(R_DEBUG)) return
@@ -177,7 +177,7 @@ var/intercom_range_display_status = 0
/client/proc/count_objects_on_z_level()
set category = "Mapping"
set name = "Count Objects On Level"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/count_objects_on_z_level() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/count_objects_on_z_level() called tick#: [world.time]")
var/level = input("Which z-level?","Level?") as text
if(!level) return
@@ -223,7 +223,7 @@ var/intercom_range_display_status = 0
set background = 1
set category = "Mapping"
set name = "Count Objects All"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/count_objects_all() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/count_objects_all() called tick#: [world.time]")
var/type_text = input("Which type path?","") as text
if(!type_text) return
@@ -252,7 +252,7 @@ var/intercom_range_display_status = 0
set category = "Mapping"
set name = "Check Sim/Unsim Bounds"
set background = 1
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/check_sim_unsim() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/check_sim_unsim() called tick#: [world.time]")
// this/can/be/next/to = list(these)
var/list/acceptable_types=list(
@@ -328,7 +328,7 @@ var/global/prevent_airgroup_regroup = 0
/*
/client/proc/break_all_air_groups()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/break_all_air_groups() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/break_all_air_groups() called tick#: [world.time]")
set category = "Mapping"
set name = "Break All Airgroups"
@@ -338,7 +338,7 @@ var/global/prevent_airgroup_regroup = 0
message_admins("[src.ckey] used 'Break All Airgroups'")*/
/client/proc/regroup_all_air_groups()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/regroup_all_air_groups() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/regroup_all_air_groups() called tick#: [world.time]")
set category = "Mapping"
set name = "Regroup All Airgroups Attempt"
@@ -350,7 +350,7 @@ var/global/prevent_airgroup_regroup = 0
message_admins("[src.ckey] used 'Regroup All Airgroups Attempt'")*/
/client/proc/kill_pipe_processing()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/kill_pipe_processing() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/kill_pipe_processing() called tick#: [world.time]")
set category = "Mapping"
set name = "Kill pipe processing"
@@ -363,7 +363,7 @@ var/global/prevent_airgroup_regroup = 0
message_admins("[src.ckey] used 'kill pipe processing', restoring all pipe processing.")*/
/client/proc/kill_air_processing()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/kill_air_processing() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/kill_air_processing() called tick#: [world.time]")
set category = "Mapping"
set name = "Kill air processing"
@@ -379,7 +379,7 @@ var/global/prevent_airgroup_regroup = 0
var/global/say_disabled = 0
/*
/client/proc/disable_communication()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/disable_communication() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/disable_communication() called tick#: [world.time]")
set category = "Mapping"
set name = "Disable all communication verbs"
@@ -397,7 +397,7 @@ var/global/movement_disabled = 0
var/global/movement_disabled_exception //This is the client that calls the proc, so he can continue to run around to gauge any change to lag.
/*
/client/proc/disable_movement()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/disable_movement() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/disable_movement() called tick#: [world.time]")
set category = "Mapping"
set name = "Disable all movement"

View File

@@ -2,7 +2,7 @@
set category = "Debug"
set name = "Mass Edit Variables"
set desc="(target) Edit all instances of a target item's variables"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_mass_modify_object_variables() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_mass_modify_object_variables() called tick#: [world.time]")
var/method = 0 //0 means strict type detection while 1 means this type and all subtypes (IE: /obj/item with this set to 1 will set it to ALL itms)
@@ -25,7 +25,7 @@
/client/proc/massmodify_variables(var/atom/O, var/var_name = "", var/method = 0)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/massmodify_variables() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/massmodify_variables() called tick#: [world.time]")
if(!check_rights(R_VAREDIT)) return
var/list/locked = list("vars", "key", "ckey", "client")

View File

@@ -6,7 +6,7 @@ var/list/forbidden_varedit_object_types = list(
/*
/client/proc/cmd_modify_object_variables(obj/O as obj|mob|turf|area in world)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_modify_object_variables() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_modify_object_variables() called tick#: [world.time]")
set category = "Debug"
set name = "Edit Variables"
set desc="(target) Edit a target item's variables"
@@ -17,7 +17,7 @@ var/list/forbidden_varedit_object_types = list(
/client/proc/cmd_modify_ticker_variables()
set category = "Debug"
set name = "Edit Ticker Variables"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_modify_ticker_variables() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_modify_ticker_variables() called tick#: [world.time]")
if (ticker == null)
src << "Game hasn't started yet."
@@ -27,7 +27,7 @@ var/list/forbidden_varedit_object_types = list(
/client/proc/mod_list_add_ass() //haha
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/mod_list_add_ass() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/mod_list_add_ass() called tick#: [world.time]")
var/class = "text"
if(src.holder && src.holder.marked_datum)
@@ -78,7 +78,7 @@ var/list/forbidden_varedit_object_types = list(
/client/proc/mod_list_add(var/list/L)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/mod_list_add() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/mod_list_add() called tick#: [world.time]")
var/class = "text"
if(src.holder && src.holder.marked_datum)
@@ -132,7 +132,7 @@ var/list/forbidden_varedit_object_types = list(
L += var_value
/client/proc/mod_list(var/list/L)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/mod_list() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/mod_list() called tick#: [world.time]")
if(!check_rights(R_VAREDIT)) return
if(!istype(L,/list))
@@ -325,7 +325,7 @@ var/list/forbidden_varedit_object_types = list(
/client/proc/modify_variables(var/atom/O, var/param_var_name = null, var/autodetect_class = 0)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/modify_variables() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/modify_variables() called tick#: [world.time]")
if(!check_rights(R_VAREDIT)) return
var/list/locked = list("vars", "key", "ckey", "client", "firemut", "ishulk", "telekinesis", "xray", "virus", "cuffed", "ka", "last_eaten", "icon", "icon_state", "mutantrace")

View File

@@ -2,7 +2,7 @@ client/proc/one_click_antag()
set name = "Create Antagonist"
set desc = "Auto-create an antagonist of your choice"
set category = "Admin"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/one_click_antag() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/one_click_antag() called tick#: [world.time]")
if(holder)
holder.one_click_antag()
return
@@ -10,7 +10,7 @@ client/proc/one_click_antag()
/datum/admins/proc/one_click_antag()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/one_click_antag() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/one_click_antag() called tick#: [world.time]")
var/dat = {"<B>One-click Antagonist</B><br>
<a href='?src=\ref[src];makeAntag=1'>Make Traitors</a><br>
@@ -31,7 +31,7 @@ client/proc/one_click_antag()
/datum/admins/proc/makeMalfAImode()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeMalfAImode() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeMalfAImode() called tick#: [world.time]")
var/list/mob/living/silicon/AIs = list()
var/mob/living/silicon/malfAI = null
@@ -53,7 +53,7 @@ client/proc/one_click_antag()
/datum/admins/proc/makeTraitors()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeTraitors() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeTraitors() called tick#: [world.time]")
var/datum/game_mode/traitor/temp = new
if(config.protect_roles_from_antagonist)
@@ -92,7 +92,7 @@ client/proc/one_click_antag()
/datum/admins/proc/makeChanglings()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeChanglings() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeChanglings() called tick#: [world.time]")
var/datum/game_mode/changeling/temp = new
if(config.protect_roles_from_antagonist)
@@ -124,7 +124,7 @@ client/proc/one_click_antag()
/datum/admins/proc/makeRevs()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeRevs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeRevs() called tick#: [world.time]")
var/datum/game_mode/revolution/temp = new
if(config.protect_roles_from_antagonist)
@@ -155,7 +155,7 @@ client/proc/one_click_antag()
return 0
/datum/admins/proc/makeWizard()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeWizard() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeWizard() called tick#: [world.time]")
var/list/mob/dead/observer/candidates = list()
var/mob/dead/observer/theghost = null
@@ -181,7 +181,7 @@ client/proc/one_click_antag()
/datum/admins/proc/makeCult()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeCult() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeCult() called tick#: [world.time]")
var/datum/game_mode/cult/temp = new
if(config.protect_roles_from_antagonist)
@@ -215,7 +215,7 @@ client/proc/one_click_antag()
/datum/admins/proc/makeNukeTeam()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeNukeTeam() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeNukeTeam() called tick#: [world.time]")
var/list/mob/dead/observer/candidates = list()
var/mob/dead/observer/theghost = null
@@ -304,11 +304,11 @@ client/proc/one_click_antag()
/datum/admins/proc/makeAliens()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeAliens() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeAliens() called tick#: [world.time]")
alien_infestation(3)
return 1
/datum/admins/proc/makeDeathsquad()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeDeathsquad() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeDeathsquad() called tick#: [world.time]")
var/list/mob/dead/observer/candidates = list()
var/mob/dead/observer/theghost = null
var/input = "Purify the station."
@@ -367,7 +367,7 @@ client/proc/one_click_antag()
/proc/makeBody(var/mob/dead/observer/G_found) // Uses stripped down and bastardized code from respawn character
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/makeBody() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/makeBody() called tick#: [world.time]")
if(!G_found || !G_found.key) return
//First we spawn a dude.
@@ -386,7 +386,7 @@ client/proc/one_click_antag()
return new_character
/datum/admins/proc/create_syndicate_death_commando(obj/spawn_location, syndicate_leader_selected = 0)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/create_syndicate_death_commando() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/create_syndicate_death_commando() called tick#: [world.time]")
var/mob/living/carbon/human/new_syndicate_commando = new(spawn_location.loc)
var/syndicate_commando_leader_rank = pick("Lieutenant", "Captain", "Major")
var/syndicate_commando_rank = pick("Corporal", "Sergeant", "Staff Sergeant", "Sergeant 1st Class", "Master Sergeant", "Sergeant Major")
@@ -416,7 +416,7 @@ client/proc/one_click_antag()
/datum/admins/proc/makeVoxRaiders()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeVoxRaiders() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/makeVoxRaiders() called tick#: [world.time]")
var/list/mob/dead/observer/candidates = list()
var/mob/dead/observer/theghost = null
@@ -464,7 +464,7 @@ client/proc/one_click_antag()
/datum/admins/proc/create_vox_raider(obj/spawn_location, leader_chosen = 0)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/create_vox_raider() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/create_vox_raider() called tick#: [world.time]")
var/mob/living/carbon/human/new_vox = new(spawn_location.loc)

View File

@@ -1,5 +1,5 @@
/client/proc/only_one()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/only_one() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/only_one() called tick#: [world.time]")
if(!ticker)
alert("The game hasn't started yet!")
return

View File

@@ -1,7 +1,7 @@
/client/proc/play_sound(var/sound/S as sound)
set category = "Fun"
set name = "Play Global Sound"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/play_sound() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/play_sound() called tick#: [world.time]")
if(!check_rights(R_SOUNDS)) return
var/sound/uploaded_sound = sound(S, repeat = 0, wait = 1, channel = 777)
@@ -21,7 +21,7 @@
/client/proc/play_local_sound(var/sound/S as sound)
set category = "Fun"
set name = "Play Local Sound"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/play_local_sound() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/play_local_sound() called tick#: [world.time]")
if(!check_rights(R_SOUNDS)) return
if(!istype(S)) S = sound(S)
log_admin("[key_name(src)] played a local sound [S]")
@@ -33,7 +33,7 @@
/*
/client/proc/cuban_pete()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cuban_pete() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cuban_pete() called tick#: [world.time]")
set category = "Fun"
set name = "Cuban Pete Time"
@@ -50,7 +50,7 @@
/client/proc/bananaphone()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/bananaphone() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/bananaphone() called tick#: [world.time]")
set category = "Fun"
set name = "Banana Phone"
@@ -62,7 +62,7 @@
client/proc/space_asshole()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/space_asshole() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/space_asshole() called tick#: [world.time]")
set category = "Fun"
set name = "Space Asshole"
@@ -74,7 +74,7 @@ client/proc/space_asshole()
client/proc/honk_theme()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/honk_theme() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\client/proc/honk_theme() called tick#: [world.time]")
set category = "Fun"
set name = "Honk"

View File

@@ -1,7 +1,7 @@
/proc/possess(obj/O as obj in world)
set name = "Possess Obj"
set category = "Object"
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/possess() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/possess() called tick#: [world.time]")
if(istype(O,/obj/machinery/singularity))
if(config.forbid_singulo_possession)
@@ -31,7 +31,7 @@
set name = "Release Obj"
set category = "Object"
//usr.loc = get_turf(usr)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/release() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/release() called tick#: [world.time]")
if(usr.control_object && usr.name_archive) //if you have a name archived and if you are actually relassing an object
usr.real_name = usr.name_archive
@@ -50,7 +50,7 @@
set desc = "Give this guy possess/release verbs"
set category = "Debug"
set name = "Give Possessing Verbs"
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/givetestverbs() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/givetestverbs() called tick#: [world.time]")
M.verbs += /proc/possess
M.verbs += /proc/release
feedback_add_details("admin_verb","GPV") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!

View File

@@ -1,7 +1,7 @@
/mob/verb/pray(msg as text)
set category = "IC"
set name = "Pray"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/verb/pray() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/verb/pray() called tick#: [world.time]")
if(say_disabled) //This is here to try to identify lag problems
usr << "<span class='warning'>Speech is currently admin-disabled.</span>"
@@ -34,14 +34,14 @@
//log_admin("HELP: [key_name(src)]: [msg]")
/proc/Centcomm_announce(var/text , var/mob/Sender)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/Centcomm_announce() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/Centcomm_announce() called tick#: [world.time]")
var/msg = copytext(sanitize(text), 1, MAX_MESSAGE_LEN)
msg = "<span class='notice'><b><font color=orange>CENTCOMM:</font>[key_name(Sender, 1)] (<A HREF='?_src_=holder;adminplayeropts=\ref[Sender]'>PP</A>) (<A HREF='?_src_=vars;Vars=\ref[Sender]'>VV</A>) (<A HREF='?_src_=holder;subtlemessage=\ref[Sender]'>SM</A>) (<A HREF='?_src_=holder;adminplayerobservejump=\ref[Sender]'>JMP</A>) (<A HREF='?_src_=holder;secretsadmin=check_antagonist'>CA</A>) (<A HREF='?_src_=holder;BlueSpaceArtillery=\ref[Sender]'>BSA</A>) (<A HREF='?_src_=holder;CentcommReply=\ref[Sender]'>RPLY</A>):</b> [msg]</span>"
admins << msg
admins << 'sound/effects/msn.ogg'
/proc/Syndicate_announce(var/text , var/mob/Sender)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/Syndicate_announce() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/Syndicate_announce() called tick#: [world.time]")
var/msg = copytext(sanitize(text), 1, MAX_MESSAGE_LEN)
msg = "<span class='notice'><b><font color=crimson>SYNDICATE:</font>[key_name(Sender, 1)] (<A HREF='?_src_=holder;adminplayeropts=\ref[Sender]'>PP</A>) (<A HREF='?_src_=vars;Vars=\ref[Sender]'>VV</A>) (<A HREF='?_src_=holder;subtlemessage=\ref[Sender]'>SM</A>) (<A HREF='?_src_=holder;adminplayerobservejump=\ref[Sender]'>JMP</A>) (<A HREF='?_src_=holder;secretsadmin=check_antagonist'>CA</A>) (<A HREF='?_src_=holder;BlueSpaceArtillery=\ref[Sender]'>BSA</A>) (<A HREF='?_src_=holder;SyndicateReply=\ref[Sender]'>RPLY</A>):</b> [msg]</span>"
admins << msg

View File

@@ -1,7 +1,7 @@
/client/proc/cmd_admin_drop_everything(mob/M as mob in mob_list)
set category = null
set name = "Drop Everything"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_drop_everything() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_drop_everything() called tick#: [world.time]")
if(!holder)
src << "Only administrators may use this command."
return
@@ -20,7 +20,7 @@
/client/proc/cmd_admin_prison(mob/M as mob in mob_list)
set category = "Admin"
set name = "Prison"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_prison() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_prison() called tick#: [world.time]")
if(!holder)
src << "Only administrators may use this command."
return
@@ -48,7 +48,7 @@
/client/proc/cmd_admin_subtle_message(mob/M as mob in mob_list)
set category = "Special Verbs"
set name = "Subtle Message"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_subtle_message() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_subtle_message() called tick#: [world.time]")
if(!ismob(M)) return
if (!holder)
@@ -74,7 +74,7 @@
/client/proc/cmd_admin_world_narrate() // Allows administrators to fluff events a little easier -- TLE
set category = "Special Verbs"
set name = "Global Narrate"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_world_narrate() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_world_narrate() called tick#: [world.time]")
if (!holder)
src << "Only administrators may use this command."
@@ -92,7 +92,7 @@
/client/proc/cmd_admin_direct_narrate(var/mob/M) // Targetted narrate -- TLE
set category = "Special Verbs"
set name = "Direct Narrate"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_direct_narrate() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_direct_narrate() called tick#: [world.time]")
if(!holder)
src << "Only administrators may use this command."
@@ -117,7 +117,7 @@
/client/proc/cmd_admin_local_narrate() // View targetted narration
set category = "Special Verbs"
set name = "Local Narrate"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_local_narrate() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_local_narrate() called tick#: [world.time]")
if(!holder)
src << "Only administrators may use this command."
@@ -139,7 +139,7 @@
/client/proc/cmd_admin_godmode(mob/M as mob in mob_list)
set category = "Special Verbs"
set name = "Godmode"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_godmode() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_godmode() called tick#: [world.time]")
if(!holder)
src << "Only administrators may use this command."
@@ -153,7 +153,7 @@
proc/cmd_admin_mute(mob/M as mob, mute_type, automute = 0)
writepanic("[__FILE__].[__LINE__] \\/proc/cmd_admin_mute() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] \\/proc/cmd_admin_mute() called tick#: [world.time]")
if(automute)
if(!config.automute_on) return
else
@@ -206,7 +206,7 @@ proc/cmd_admin_mute(mob/M as mob, mute_type, automute = 0)
/client/proc/cmd_admin_add_random_ai_law()
set category = "Fun"
set name = "Add Random AI Law"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_add_random_ai_law() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_add_random_ai_law() called tick#: [world.time]")
if(!holder)
src << "Only administrators may use this command."
@@ -227,7 +227,7 @@ proc/cmd_admin_mute(mob/M as mob, mute_type, automute = 0)
//I use this proc for respawn character too. /N
/proc/create_xeno(ckey)
writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/create_xeno() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] (no type)([usr ? usr.ckey : ""]) \\/proc/create_xeno() called tick#: [world.time]")
if(!ckey)
var/list/candidates = list()
for(var/mob/M in get_active_candidates(ROLE_ALIEN))
@@ -261,7 +261,7 @@ Ccomp's first proc.
*/
/client/proc/get_ghosts(var/notify = 0,var/what = 2)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/get_ghosts() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/get_ghosts() called tick#: [world.time]")
// what = 1, return ghosts ass list.
// what = 2, return mob list
@@ -290,7 +290,7 @@ Ccomp's first proc.
set category = "Special Verbs"
set name = "Allow player to respawn"
set desc = "Let's the player bypass the 30 minute wait to respawn or allow them to re-enter their corpse."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/allow_character_respawn() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/allow_character_respawn() called tick#: [world.time]")
if(!holder)
src << "Only administrators may use this command."
@@ -306,7 +306,7 @@ Ccomp's first proc.
var/response = alert(src, "Are you sure you wish to allow this individual to play?","Ghost has used AntagHUD","Yes","No")
if(response == "No") return
G.timeofdeath=-19999 /* time of death is checked in /mob/verb/abandon_mob() which is the Respawn verb.
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/verb/abandon_mob() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/verb/abandon_mob() called tick#: [world.time]")
timeofdeath is used for bodies on autopsy but since we're messing with a ghost I'm pretty sure
there won't be an autopsy.
*/
@@ -322,7 +322,7 @@ Ccomp's first proc.
set category = "Server"
set name = "Toggle antagHUD usage"
set desc = "Toggles antagHUD usage for observers"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/toggle_antagHUD_use() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/toggle_antagHUD_use() called tick#: [world.time]")
if(!holder)
src << "Only administrators may use this command."
@@ -357,7 +357,7 @@ Ccomp's first proc.
set category = "Server"
set name = "Toggle antagHUD Restrictions"
set desc = "Restricts players that have used antagHUD from being able to join this round."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/toggle_antagHUD_restrictions() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/toggle_antagHUD_restrictions() called tick#: [world.time]")
if(!holder)
src << "Only administrators may use this command."
@@ -393,7 +393,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
set category = "Special Verbs"
set name = "Respawn Character"
set desc = "Respawn a person that has been gibbed/dusted/killed. They must be a ghost for this to work and preferably should not have a body to go back into."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/respawn_character() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/respawn_character() called tick#: [world.time]")
if(!holder)
src << "Only administrators may use this command."
@@ -560,7 +560,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/cmd_admin_add_freeform_ai_law()
set category = "Fun"
set name = "Add Custom AI law"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_add_freeform_ai_law() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_add_freeform_ai_law() called tick#: [world.time]")
if(!holder)
src << "Only administrators may use this command."
@@ -590,7 +590,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/cmd_admin_rejuvenate(mob/living/M as mob in mob_list)
set category = "Special Verbs"
set name = "Rejuvenate"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_rejuvenate() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_rejuvenate() called tick#: [world.time]")
if(!holder)
src << "Only administrators may use this command."
@@ -613,7 +613,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/cmd_admin_create_centcom_report()
set category = "Special Verbs"
set name = "Create Command Report"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_create_centcom_report() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_create_centcom_report() called tick#: [world.time]")
if(!holder)
src << "Only administrators may use this command."
@@ -647,7 +647,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/cmd_admin_delete(atom/O as obj|mob|turf in world)
set category = "Admin"
set name = "Delete"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_delete() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_delete() called tick#: [world.time]")
if (!holder)
src << "Only administrators may use this command."
@@ -678,7 +678,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/cmd_admin_explosion(atom/O as obj|mob|turf in world)
set category = "Special Verbs"
set name = "Explosion"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_explosion() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_explosion() called tick#: [world.time]")
if(!check_rights(R_DEBUG|R_FUN)) return
@@ -729,7 +729,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/cmd_admin_gib(mob/M as mob in mob_list)
set category = "Special Verbs"
set name = "Gib"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_gib() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_gib() called tick#: [world.time]")
if(!check_rights(R_ADMIN|R_FUN)) return
@@ -751,7 +751,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/cmd_admin_gib_self()
set name = "Gibself"
set category = "Fun"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_gib_self() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_gib_self() called tick#: [world.time]")
var/confirm = alert(src, "You sure?", "Confirm", "Yes", "No")
if(confirm == "Yes")
@@ -765,7 +765,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
feedback_add_details("admin_verb","GIBS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/*
/client/proc/cmd_manual_ban()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_manual_ban() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_manual_ban() called tick#: [world.time]")
set name = "Manual Ban"
set category = "Special Verbs"
if(!authenticated || !holder)
@@ -822,7 +822,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
*/
/client/proc/update_world()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/update_world() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/update_world() called tick#: [world.time]")
// If I see anyone granting powers to specific keys like the code that was here,
// I will both remove their SVN access and permanently ban them from my servers.
return
@@ -830,7 +830,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/cmd_admin_check_contents(mob/living/L as mob in mob_list)
set category = "Special Verbs"
set name = "Check Mob Contents"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_check_contents() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_check_contents() called tick#: [world.time]")
for (var/content in get_contents_in_object(L))
if (content)
@@ -840,7 +840,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/* This proc is DEFERRED. Does not do anything.
/client/proc/cmd_admin_remove_plasma()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_remove_plasma() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_remove_plasma() called tick#: [world.time]")
set category = "Debug"
set name = "Stabilize Atmos."
if(!holder)
@@ -874,7 +874,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
set category = "Special Verbs"
set name = "Change View Range"
set desc = "switches between 1x and custom views"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/toggle_view_range() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/toggle_view_range() called tick#: [world.time]")
if(view == world.view)
view = input("Select view range:", "FUCK YE", 7) in list(1,2,3,4,5,6,7,8,9,10,11,12,13,14,128)
@@ -889,7 +889,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/admin_call_shuttle()
set category = "Admin"
set name = "Call Shuttle"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/admin_call_shuttle() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/admin_call_shuttle() called tick#: [world.time]")
if ((!( ticker ) || emergency_shuttle.location))
return
@@ -917,7 +917,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/admin_cancel_shuttle()
set category = "Admin"
set name = "Cancel Shuttle"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/admin_cancel_shuttle() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/admin_cancel_shuttle() called tick#: [world.time]")
if(!check_rights(R_ADMIN)) return
@@ -936,7 +936,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/admin_deny_shuttle()
set category = "Admin"
set name = "Toggle Deny Shuttle"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/admin_deny_shuttle() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/admin_deny_shuttle() called tick#: [world.time]")
if (!ticker)
return
@@ -951,7 +951,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
/client/proc/cmd_admin_attack_log(mob/M as mob in mob_list)
set category = "Special Verbs"
set name = "Attack Log"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_attack_log() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/cmd_admin_attack_log() called tick#: [world.time]")
usr << text("<span class='danger'>Attack Log for []</span>", mob)
for(var/t in M.attack_log)
@@ -963,7 +963,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
set category = "Fun"
set name = "Make Everyone Random"
set desc = "Make everyone have a random appearance. You can only use this before rounds!"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/everyone_random() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/everyone_random() called tick#: [world.time]")
if(!check_rights(R_FUN)) return
@@ -998,7 +998,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
set category = "Server"
set name = "Toggle random events on/off"
set desc = "Toggles random events such as meteors, black holes, blob (but not space dust) on/off"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/toggle_random_events() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/toggle_random_events() called tick#: [world.time]")
if(!check_rights(R_SERVER)) return

View File

@@ -4,7 +4,7 @@ var/const/commandos_possible = 6 //if more Commandos are needed in the future
var/global/sent_strike_team = 0
/client/proc/strike_team()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/strike_team() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/strike_team() called tick#: [world.time]")
if(!ticker)
usr << "<font color='red'>The game hasn't started yet!</font>"
return
@@ -99,7 +99,7 @@ var/global/sent_strike_team = 0
return 1
/client/proc/create_death_commando(obj/spawn_location, leader_selected = 0)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/create_death_commando() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/create_death_commando() called tick#: [world.time]")
var/mob/living/carbon/human/new_commando = new(spawn_location.loc)
var/commando_leader_rank = pick("Lieutenant", "Captain", "Major")
var/commando_rank = pick("Corporal", "Sergeant", "Staff Sergeant", "Sergeant 1st Class", "Master Sergeant", "Sergeant Major")
@@ -127,7 +127,7 @@ var/global/sent_strike_team = 0
/mob/living/carbon/human/proc/equip_death_commando(leader_selected = 0)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/living/carbon/human/proc/equip_death_commando() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/living/carbon/human/proc/equip_death_commando() called tick#: [world.time]")
equip_to_slot_or_del(new /obj/item/device/radio/headset/deathsquad(src), slot_ears)

View File

@@ -6,7 +6,7 @@ var/global/sent_syndicate_strike_team = 0
set category = "Fun"
set name = "Spawn Syndicate Strike Team"
set desc = "Spawns a squad of commandos in the Syndicate Mothership if you want to run an admin event."
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/syndicate_strike_team() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/syndicate_strike_team() called tick#: [world.time]")
if(!src.holder)
src << "Only administrators may use this command."
@@ -105,7 +105,7 @@ var/global/sent_syndicate_strike_team = 0
feedback_add_details("admin_verb","SDTHS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/create_syndicate_death_commando(obj/spawn_location, syndicate_leader_selected = 0)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/create_syndicate_death_commando() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/create_syndicate_death_commando() called tick#: [world.time]")
var/mob/living/carbon/human/new_syndicate_commando = new(spawn_location.loc)
var/syndicate_commando_leader_rank = pick("Lieutenant", "Captain", "Major")
var/syndicate_commando_rank = pick("Corporal", "Sergeant", "Staff Sergeant", "Sergeant 1st Class", "Master Sergeant", "Sergeant Major")
@@ -132,7 +132,7 @@ var/global/sent_syndicate_strike_team = 0
/mob/living/carbon/human/proc/equip_syndicate_commando(syndicate_leader_selected = 0)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/living/carbon/human/proc/equip_syndicate_commando() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/living/carbon/human/proc/equip_syndicate_commando() called tick#: [world.time]")
var/obj/item/device/radio/R = new /obj/item/device/radio/headset/syndicate(src)
R.set_frequency(SYND_FREQ) //Same frequency as the syndicate team in Nuke mode.

View File

@@ -2,7 +2,7 @@
set category = "Debug"
set name = "Set Ticklag"
set desc = "Sets a new tick lag. Recommend you don't mess with this too much! The standard value has been .55 for some time"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/ticklag() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/ticklag() called tick#: [world.time]")
if(!check_rights(R_DEBUG)) return

View File

@@ -1,7 +1,7 @@
/client/proc/triple_ai()
set category = "Fun"
set name = "Create AI Triumvirate"
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/triple_ai() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/client/proc/triple_ai() called tick#: [world.time]")
if(ticker.current_state > GAME_STATE_PREGAME)
usr << "This option is currently only usable during pregame. This may change at a later date."

View File

@@ -2,7 +2,7 @@ var/global/vox_tick = 1
/mob/living/carbon/human/proc/equip_vox_raider()
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/living/carbon/human/proc/equip_vox_raider() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/living/carbon/human/proc/equip_vox_raider() called tick#: [world.time]")
var/obj/item/device/radio/R = new /obj/item/device/radio/headset/syndicate(src)
R.set_frequency(SYND_FREQ) //Same frequency as the syndicate team in Nuke mode.

View File

@@ -13,7 +13,7 @@
// [config.vgws_base_url]/index.php/route?get_var=value
// s is automatically added when admin=1.
/datum/admins/proc/getVGPanel(var/route,var/list/query=list(),var/admin=0)
writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/getVGPanel() called tick#: [world.time]")
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/datum/admins/proc/getVGPanel() called tick#: [world.time]")
checkSessionKey()
var/url="[config.vgws_base_url]/index.php/[route]"
if(admin)