PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: SaintSinner on 11 November, 2003, 16:48:15

Title: dirtyfingers datalog
Post by: SaintSinner on 11 November, 2003, 16:48:15
i know there are alot of new users and some may be testing new scripts
dirtyfingers datalog(it logs everything from connections to searching) it can be found in the script archive.

ok if you are using datalog and get
Syntax Error: assertion failed!  stats not found. no problem.

at the top of the script you have this section
you have to change this



Connectlogfile = "scripts/Datalog/connectlog.txt"
Datalogfile = "scripts/Datalog/datalog.txt"
Statisticsfile = "scripts/Datalog/stats.txt"
-- Connectlogfile = "Datalog/connectlog.txt"
-- Datalogfile = "Datalog/datalog.txt"
-- Statisticsfile = "Datalog/stats.txt"

 


you have to remove the "scripts/" part
it should look like this

Connectlogfile = "Datalog/connectlog.txt"
Datalogfile = "Datalog/datalog.txt"
Statisticsfile = "Datalog/stats.txt"
-- Connectlogfile = "Datalog/connectlog.txt"
-- Datalogfile = "Datalog/datalog.txt"
-- Statisticsfile = "Datalog/stats.txt"

 

then create a new folder called datalog
restart the hub and you will get the stats getting logged in now.

i hope that helps someone, its a great script to see raw hubstats.