echo($IDLogger::HighestID); - Shows the highest recorded ID$IDLogger::NoExport = 1; - Disables automatic exportingecho(getFileCount("config/client/logs/idlog/ids/*")); - Shows the total number of players that you have logged (Only counts exported IDs)echo(IDLogger_getTotalNameChanges()-getFileCount("config/client/logs/idlog/names/*")); - Shows the total number of name changes that you have logged (Only counts exported IDs)IDLogger_Search("[i]Name[/i]"); - Searches the log files for the specified name. The name does not need to be complete or case-sensitive. It will show all matches in the console when the search is finished.IDLogger_ViewStats([i]Blockland ID[/i]); - Shows information about the specified ID. IDLogger_ViewNameHistory([i]Blockland ID[/i]); - Shows the name history for the specified ID.
Active projects go in General Discussion.
I don't consider this "finished" because there's no GUI yet. Should I post it there anyway?
Isnt that more for servers?
I'm leaning towards this being the modification help forum and all of the active mod progress threads being moved to general discussion.
function secureClientCmd_ClientDrop(%name,%rowID){ %text = NPL_List.getRowTextById(%rowID); %id = getWord(%text,3+getWordCount(%text)-7); IDLogger_PlaytimeEndID(%id); Parent::secureClientCmd_ClientDrop(%name,%rowID);}
function newPlayerListGui::update(%this, %cl, %name, %BL_ID, %trust, %admin, %score)
function secureClientCmd_ClientDrop(%name,%rowID,%a,%b,%c,%d,%e,%f){ %text = NPL_List.getRowTextById(%rowID); %id = getField(%text,3); IDLogger_PlaytimeEndID(%id); //Tell the logger to stop recording this player's playtime. Parent::secureClientCmd_ClientDrop(%name,%rowID,%a,%b,%c,%d,%e,%f);}
Playtime logging is temporarily disabled due to bugs.Fixed the LAN ID and blank log files being created. (These will be deleted automatically)Added console command: IDLogger_Search("Name");Added console command: IDLogger_ViewStats(Blockland ID);Added console command: IDLogger_ViewNameHistory(Blockland ID);
Oh god what are you doing in the code...Code: [Select]function newPlayerListGui::update(%this, %cl, %name, %BL_ID, %trust, %admin, %score)is all you need.