#GitHub - RaphaelIT7/gmod-vprof
1 messages · Page 1 of 1 (latest)
@umbral drum am i doing something wrong?
i seem to be getting unknown command for both after requiring
it did work tho
ouch
would be cool to make some kind of simple website/ui where you can paste this is in, so you can unfold and fold it
feels like a bunch of work for something ppl rarely use tho
this is much better than what i was using though
local function dump()
require( "enginespew" )
file.Write( "spew.txt", "" )
hook.Add( "EngineSpew", "logs", function( _, logMsg )
file.Append( "spew.txt", logMsg .. "\n" )
end )
RunConsoleCommand( "vprof_generate_report_hierarchy" )
timer.Simple( 0.1, function()
hook.Remove( "EngineSpew", "logs" )
end )
end
concommand.Add( "vprof_dumpspew", dump )
was what i was doing before 
wow finally vprof that doesnt require restarting your server in condebug mode just to be usable
xd, I'm gonna look into it why the convars are hidden on linux
time to beat chatgpt to make me a simple hierarchy viewer
i actually wonder if it can, never done this
I don't think it would be too hard to get chatgpt to code it xd
i never use chatgpt like that, if i succeed i'll make a github pages for it or smth
remove FCVAR_DEVELOPMENTONLY ?

I got somewhat Windows to work and after a bit of sleep I'm going to look into why registering the convars causes a crash.
(Currently they are not getting registered, hence why they don't seem to exist)
Also on Windows the results currently look different because I hooked into PushPooledStrin for now.
| | | CLuaGamemode::CallWithArgs
| | | | CLuaInterface::PushPooledString (NetworkEntityCreated)
Oh you should told me this before I can work on that
would be pretty cool
the convars are now being registered without crashing :D