06-22-2015, 04:10 AM
(This post was last modified: 06-22-2015, 04:53 AM by DiamondToaster.)
Aww, I've got three fun ones that I was gonna submit.
EDIT: I did find the problem, I just can't seem to find where it went wrong though.
EDIT #2: I DID IT. The answer hit me like a brick. The cWorld:DoWithEntityByID() was returning nil references, thus Entity:GetPosY() would return nil and occasionally crash the server if an operation was done on it. I fixed it using cWorld:DoWithEntityInBox() instead. Whoever came up with that idea, you are a lifesaver.
EDIT: I did find the problem, I just can't seem to find where it went wrong though.
EDIT #2: I DID IT. The answer hit me like a brick. The cWorld:DoWithEntityByID() was returning nil references, thus Entity:GetPosY() would return nil and occasionally crash the server if an operation was done on it. I fixed it using cWorld:DoWithEntityInBox() instead. Whoever came up with that idea, you are a lifesaver.