Author Topic: Hatmod causing massive lag?  (Read 1087 times)

I was having a lot of lag from seemingly nowhere, and I finally remembered to type trace into the console. I saw the word hat a lot so I'm just assuming it could be the hat mod. lol here's the console log

It's likely.

Mind posting your HatMod addon if it's not private? Probably the scheduling is too fast.

Code: [Select]
Entering hatLoop(18296)
Leaving hatLoop() - return 416036
Entering hatLoop(18296)
Leaving hatLoop() - return 416040
Entering hatLoop(18296)
Leaving hatLoop() - return 416044
Entering hatLoop(18296)
Leaving hatLoop() - return 416048
Entering hatLoop(18296)
Leaving hatLoop() - return 416052
Entering hatLoop(18296)
Leaving hatLoop() - return 416056
Entering hatLoop(18296)
Leaving hatLoop() - return 416060
Entering hatLoop(18296)
Leaving hatLoop() - return 416064
Entering hatLoop(18296)
Leaving hatLoop() - return 416068
Entering hatLoop(18296)
Leaving hatLoop() - return 416072
Entering hatLoop(18296)
Leaving hatLoop() - return 416076
Entering hatLoop(18296)
Leaving hatLoop() - return 416080
Entering hatLoop(18296)
Leaving hatLoop() - return 416084
Entering syncHatList(18296)
Leaving syncHatList() - return 416084
Entering syncHatList(18296)
Leaving syncHatList() - return 416084
Entering syncHatList(18296)

It's likely.

Mind posting your HatMod addon if it's not private? Probably the scheduling is too fast.

Code: [Select]
Entering hatLoop(18296)
Leaving hatLoop() - return 416036
Entering hatLoop(18296)
Leaving hatLoop() - return 416040
Entering hatLoop(18296)
Leaving hatLoop() - return 416044
Entering hatLoop(18296)
Leaving hatLoop() - return 416048
Entering hatLoop(18296)
Leaving hatLoop() - return 416052
Entering hatLoop(18296)
Leaving hatLoop() - return 416056
Entering hatLoop(18296)
Leaving hatLoop() - return 416060
Entering hatLoop(18296)
Leaving hatLoop() - return 416064
Entering hatLoop(18296)
Leaving hatLoop() - return 416068
Entering hatLoop(18296)
Leaving hatLoop() - return 416072
Entering hatLoop(18296)
Leaving hatLoop() - return 416076
Entering hatLoop(18296)
Leaving hatLoop() - return 416080
Entering hatLoop(18296)
Leaving hatLoop() - return 416084
Entering syncHatList(18296)
Leaving syncHatList() - return 416084
Entering syncHatList(18296)
Leaving syncHatList() - return 416084
Entering syncHatList(18296)
It's rusty&munks


Oh.
I'm going to try disabling it and see how long I go without lag. If it eliminates it I'll send a msg to munk about it

Badspot

  • Administrator
From the look of it, you have created some kind of infinite loop command with Client_ServerCommandGui that contains a syntax error.  Just remove Client_ServerCommandGui.zip.  

After investigation, the hat mod can also cause an infinite number of schedule loops to happen.  So remove that too.
« Last Edit: August 22, 2012, 02:49:25 AM by Badspot »

From the look of it, you have created some kind of infinite loop command with Client_ServerCommandGui that contains a syntax error.  Just remove Client_ServerCommandGui.zip.  

After investigation, the hat mod can also cause an infinite number of schedule loops to happen.  So remove that too.
Oh ok, I never would have guessed it to be the servercommandgui, thanks!

To be clear, It is the Hat mod, not server command GUI that is causing lag.  You have a custom function with a syntax error set to a looping keybind most likely.  You can also tell because the console spam from it stops abruptly, probably at whatever point you let go of the key.

To be clear, It is the Hat mod, not server command GUI that is causing lag.  You have a custom function with a syntax error set to a looping keybind most likely.  You can also tell because the console spam from it stops abruptly, probably at whatever point you let go of the key.
ok I understand now. I got a little confused there for a moment lol
Anyways I sent a msg to munk about it as well, so maybe it can be addressed somehow

i've had a fixed version made for so long but i hate releasing without any new hats so told rusty too and he never got back so forgot to update. for the time being i'm just going to say remove it and wait until rusty gives me new hats to do a real update

i've had a fixed version made for so long but i hate releasing without any new hats so told rusty too and he never got back so forgot to update. for the time being i'm just going to say remove it and wait until rusty gives me new hats to do a real update
alrighty,

thanks for the everything guys!

i've had a fixed version made for so long but i hate releasing without any new hats so told rusty too and he never got back so forgot to update. for the time being i'm just going to say remove it and wait until rusty gives me new hats to do a real update

Please just update it, regardless of whether there are new hats.  I don't want to disable these because I have hat events on an important build that I don't want messed up, and probably so do many others.

i've had a fixed version made for so long but i hate releasing without any new hats so told rusty too and he never got back so forgot to update. for the time being i'm just going to say remove it and wait until rusty gives me new hats to do a real update

Wait, can the old hats not be traded over to the new HatMod?