ID:2392864
 
(See the best response by Kaiochao.)
Code:
proc name: New Character (/mob/proc/New_Character)
usr: (src)
src: Styling (/mob/player)
src.loc: null
call stack:
Styling (/mob/player): New Character()
Styling (/mob/player): Choose Login()
Styling (/mob/player): Login()
runtime error: bad client
proc name: Grid (/mob/proc/Grid)
usr: (src)
src: PLAYERKEY (/mob/player)
src.loc: null
call stack:
PLAYERKEY (/mob/player): Grid("CreationHumanM", null, null)
PLAYERKEY (/mob/player): Skin()
PLAYERKEY (/mob/player): New Character()
PLAYERKEY (/mob/player): Choose Login()
PLAYERKEY (/mob/player): Login()
2018-08-18T17:57:27 | World Save Start 17:57.27
2018-08-18T17:57:55 | World Save Success 17:57.55


Problem description:

Above is my error log, during the process my games FPS seemed to drop to 1-2 and the game was made unplayable.

This hasn't been frequent, yet, but I want to try and catch it before it becomes a problem.

Any ideas or tips on how to create a null check, and if null check is met then to delete player save and boot from server?
Best response
Both of these runtime errors' call stacks show different players creating new characters. How is saving involved? What is null that you're trying to check? What's the actual error of the first runtime that you didn't include in your copy/paste? Runtime errors start with "runtime error", not "proc name".

If your game is freezing, I'd suspect some loop going out of control.
SO! Upon further investigation, it seems those were just well timed null procs, that didn't actually drop the server.

I have a player save that when he changed his icon and whenever he used anything that provides input to the game it would lag the server. If he relogs after doing such, it would crash Dream Daemon.

I am running the compiler and dream daemon on Stable BYOND.

I have the corrupted save files if there is a way to share them for assistance
I loaded his save in a separate server and went through all of his variables...

It seems that his type has changed from a /mob/player to a /mob/player (Unknown) which makes sense as to why it is causing server issues.

Any clue what could cause this?