View Single Post
  #3  
Unread 12-08-2020, 05:02 AM
Myrthian Myrthian is offline
The Wary
 
Join Date: Feb 2018
Posts: 3
Quote:
Originally Posted by RingTailCat
I have over 80 alts, and my wife has many more than that, so tracking some basic info is very useful for us.

I have a personal plugin that allows me to create a CSV file with the followings columns:

Code:
Date,Time,Account,Server,Player,Race,Class,Lvl
The date and time are the timestamp for the last event for a character. This is valid even if the client shuts down with the black quit screen, but not if the client crashes.

It requires a lot of manual initialization at this time, e.g to set up server level Lua files with the server name for each server. I believe this info is now available in the output from a /loc command.

The code to create the CSV file is a bash script that requires a Cygwin install to provide grep, sed, sort, etc. I could probably rewrite this to use python3.

I don't have a way to distinguish between multiple subscriptions in the same account. If you don't know what this means, you probably have one subscription per account.

Unfortunately a lot of the info you would like to see can not be retrieved through the Lua API. Some of these could be captured by continuously monitoring messages in the chat channels usually displayed in the General chat tab. I currently do this some of this by logging the chat tabs and analyzing the logs outside the game.

BTW, I am RingTailCat from lotro-wiki.com.
That is a lot of work for a workaround to provide data for only a few fields.

In that case it seems to be far easier to create an addon for an in-game spreadsheet and use the few API calls available to fill in specific fields and have the user fill in the rest manually.

Titanbar already offers gold, currency, experience and reputation trackers: maybe that/a similar code can be used to fill in those fields or rather give the user a GUI to do so in the spreadsheet?
Reply With Quote