#GitHub - RaphaelIT7/gmod-vprof

1 messages · Page 1 of 1 (latest)

pure turret
#

@umbral drum am i doing something wrong?

#

i seem to be getting unknown command for both after requiring

#

it did work tho

#

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 harold

molten gazelle
#

wow finally vprof that doesnt require restarting your server in condebug mode just to be usable

umbral drum
#

xd, I'm gonna look into it why the convars are hidden on linux

pure turret
#

time to beat chatgpt to make me a simple hierarchy viewer

#

i actually wonder if it can, never done this

umbral drum
#

I don't think it would be too hard to get chatgpt to code it xd

pure turret
#

i never use chatgpt like that, if i succeed i'll make a github pages for it or smth

surreal willow
#

remove FCVAR_DEVELOPMENTONLY ?

pure turret
umbral drum
#

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)
dusky flare
pure turret
umbral drum
#

the convars are now being registered without crashing :D