World CPU Usage: 160
World Tick Lag: 1
but the game is really laggy, im not the host, its on a shell server so i cant do the profiling thing so is there a way to know what is causing it
I don't think what Gluscap suggested is going to work if you didn't do something like this somewhere:
if(!world.GetConfig("admin", "FKI")) This code will allow you to view the profiler in the way Gluscap suggested, whether you're the host or not. |
Oh no i dont have that in my cod anywhere. To add it do i jsut copy past yours then change ur key to mine?
|
In response to Naruto 5292
|
|
That would work.
|
In response to Naruto 5292
|
|
No sir, it works as-is.
|
In response to FKI
|
|
Where do i put the code?like
world |
In response to Naruto 5292
|
|
Yes sir.
|
In response to FKI
|
|
I put the code in, i went to option and messages>client>command>typed in .debug and presed enter, it just freezes the game for me
|
In response to Naruto 5292
|
|
I don't know what .debug does, but you should be able to just go straight to the profiler through Options and Messages > Server > Profile.
|
Profile will come up, but will be blank. Just close it, wait a while and then do it again.