diff --git a/code/__HELPERS/_logging.dm b/code/__HELPERS/_logging.dm index cbc514d7232..0ed5dd944db 100644 --- a/code/__HELPERS/_logging.dm +++ b/code/__HELPERS/_logging.dm @@ -125,7 +125,7 @@ WRITE_LOG(GLOB.world_game_log, "WORLD: [html_decode(text)][log_end]") /proc/log_runtime_txt(text) // different from /tg/'s log_runtime because our error handler has a log_runtime proc already that does other stuff - GLOB.world_runtime_log << text + WRITE_LOG(GLOB.world_runtime_log, text) /proc/log_config(text) WRITE_LOG(GLOB.config_error_log, text) diff --git a/code/_onclick/item_attack.dm b/code/_onclick/item_attack.dm index ab794b23b18..6a658886f83 100644 --- a/code/_onclick/item_attack.dm +++ b/code/_onclick/item_attack.dm @@ -66,7 +66,7 @@ user.do_attack_animation(M) M.attacked_by(src, user, def_zone) - add_attack_logs(user, M, "attacked with [name] (INTENT: [uppertext(user.a_intent)]) (DAMTYPE: [uppertext(damtype)])", admin_notify = (force > 0)) + add_attack_logs(user, M, "Attacked with [name] (INTENT: [uppertext(user.a_intent)]) (DAMTYPE: [uppertext(damtype)])", admin_notify = (force > 0 && damtype != STAMINA)) add_fingerprint(user) diff --git a/code/game/gamemodes/game_mode.dm b/code/game/gamemodes/game_mode.dm index 76e81c234e4..1a8d8cde680 100644 --- a/code/game/gamemodes/game_mode.dm +++ b/code/game/gamemodes/game_mode.dm @@ -107,8 +107,7 @@ tries_left = 5 //reset our tries since we found a new chump //make sure we have chumps before we try misinforming them. if we don't make a note of it. if(!chumps.len) - message_admins("Game mode failed to find ANY chumps. Possible causes: no one is opposed/skeptical, or FalseIncarnate can't code.") - log_admin("Game mode failed to find ANY chumps. Possible causes: no one is opposed/skeptical, or FalseIncarnate can't code.") + log_debug("Game mode failed to find ANY chumps. This is likely due to the server being in extreme low-pop with no one set to opposed or skeptical.") return 0 //we've got chumps! misinform them! for(var/mob/living/carbon/human/chump in chumps) diff --git a/code/game/world.dm b/code/game/world.dm index f7cf1a758b7..4ebeadedc6f 100644 --- a/code/game/world.dm +++ b/code/game/world.dm @@ -68,7 +68,7 @@ var/world_topic_spam_protect_ip = "0.0.0.0" var/world_topic_spam_protect_time = world.timeofday /world/Topic(T, addr, master, key) - log_debug("WORLD/TOPIC: \"[T]\", from:[addr], master:[master], key:[key]") + log_misc("WORLD/TOPIC: \"[T]\", from:[addr], master:[master], key:[key]") var/list/input = params2list(T) var/key_valid = (config.comms_password && input["key"] == config.comms_password) //no password means no comms, not any password diff --git a/code/modules/martial_arts/martial.dm b/code/modules/martial_arts/martial.dm index 29c6044e386..3e1be19b0de 100644 --- a/code/modules/martial_arts/martial.dm +++ b/code/modules/martial_arts/martial.dm @@ -55,7 +55,7 @@ D.apply_damage(damage, BRUTE, affecting, armor_block) - add_attack_logs(A, D, "Melee attacked with [src]") + add_attack_logs(A, D, "Melee attacked with martial-art [src]", admin_notify = (damage > 0) ? TRUE : FALSE) if((D.stat != DEAD) && damage >= A.species.punchstunthreshold) D.visible_message("[A] has weakened [D]!!", \ diff --git a/code/modules/mob/mob_grab.dm b/code/modules/mob/mob_grab.dm index 72513f57de2..1c4b0f38fbe 100644 --- a/code/modules/mob/mob_grab.dm +++ b/code/modules/mob/mob_grab.dm @@ -263,6 +263,7 @@ state = GRAB_AGGRESSIVE icon_state = "grabbed1" hud.icon_state = "reinforce1" + add_attack_logs(assailant, affecting, "Aggressively grabbed", admin_notify = FALSE) else if(state < GRAB_NECK) if(isslime(affecting)) to_chat(assailant, "You squeeze [affecting], but nothing interesting happens.") @@ -272,7 +273,7 @@ state = GRAB_NECK icon_state = "grabbed+1" assailant.setDir(get_dir(assailant, affecting)) - add_attack_logs(assailant, affecting, "Neck grabbed") + add_attack_logs(assailant, affecting, "Neck grabbed", admin_notify = FALSE) if(!iscarbon(assailant)) affecting.LAssailant = null else