To combat this the only exploration method built in currently is lua m
Which displays lua addon memory and is hard to read because it's cut off.
Thanks to Randomnick112233
We can use this simple code as a script
Code
console_log 1 lua m wait 2 console_log 0
To take it a step further we will need a bat file
Named whatever like renameconsolelog
This part is optional
Code
@echo off
setlocal
:: Get current date and time in a safe format
for /f "tokens=1-4 delims=/ " %%a in ("%date%") do (
set mm=%%a
set dd=%%b
set yyyy=%%c
)
for /f "tokens=1-2 delims=: " %%a in ("%time%") do (
set hh=%%a
set min=%%b
)
:: Remove leading spaces and format time
set hh=%hh: =0%
set min=%min: =0%
:: Construct the new filename
set newname=consolelog_%yyyy%-%mm%-%dd%_%hh%-%min%.txt
:: Rename the file
rename "C:\windower4\consolelog.txt" "%newname%"
:: Move the renamed file to the same folder (optional)
move "%newname%" "C:\windower4\%newname%"
endlocalYou would then add "run <pathtobatfile>" to your original script
As I am writing this at work I did not have a chance to check if the paths are 100%
You will also need the run plugin
While this won't provide us with 100% insight especially since it only shows memory usage and not CPU or read and writes
I hope that with this thread people can post some of the biggest offenders that need a complete unload after a few hours of gameplay
Which can them be turned into a simple reusable script when the client gets sluggish
