Zeex / samp-plugin-profiler

Performance profiler plugin for SA-MP server
http://forum.sa-mp.com/showthread.php?t=271129
BSD 2-Clause "Simplified" License
48 stars 8 forks source link

Profiler only attach to the first filterscript #20

Closed oscar-broman closed 9 years ago

oscar-broman commented 9 years ago

It appears to only read the first entry of profile_filterscripts.

This is what it looks like:

profile_gamemode 1
profile_filterscripts aa bb cc
profile_format html
call_graph 0
profile_filterscripts aa bb cc
[2015-09-22 11:28:34] Filterscripts
[2015-09-22 11:28:34] ---------------
[2015-09-22 11:28:34]   Loading filterscript 'aa.amx'...
[2015-09-22 11:28:34] [profiler] Attached profiler to filterscripts/aa.amx
[2015-09-22 11:28:34]   Loading filterscript 'bb.amx'...
[2015-09-22 11:28:34]   Loading filterscript 'cc.amx'...
[2015-09-22 11:28:34]   Loaded 3 filterscripts.

[2015-09-22 11:28:34] [profiler] Attached profiler to gamemodes/gamemode.amx
oscar-broman commented 9 years ago

Thanks!

oscar-broman commented 8 years ago

I'm not sure if this fix worked. I can never make it profile more than 1 filterscript.

Zeex commented 8 years ago

Should be ok now

Zeex commented 8 years ago

Fixed in 2.14.

oscar-broman commented 8 years ago

:+1: