How Do I Log Data From The Game?

Eorzea Time
 
 
 
Langues: JP EN FR DE
users online
Forum » FFXI » General » How do I log data from the game?
How do I log data from the game?
 Bahamut.Senaki
Offline
Serveur: Bahamut
Game: FFXI
user: Senaki
Posts: 122
By Bahamut.Senaki 2024-10-24 19:13:26
Link | Citer | R
 
Hi!

I want to find a way to log events within the game with certain conditions applied.

As an example, "when max haste" (and be able to record the distinct haste level somehow), "xyz damage output over 10 minutes, with xyz coming from WS, crits, white damage, etc.

Or like, to find insights from: “when Empy AM T3 is active” -> xyz. Better to WS at what TP based on xyz numbers shown.

Just putting it automatically into a text file would be fine.

Does anyone know how I can do this?

Thank you,
- Senaki
VIP
Offline
Posts: 789
By Lili 2024-10-25 03:28:44
Link | Citer | R
 
"Just" :D

You need to write a parser for this as none of those that currently exists (scoreboard, parse, leaderboard, kparser) are able of something like that.

There's about a billion ways to go at it, but they will all have at least three components:
- a logging part to record the damage numbers and timestamp of each event (logger can do this already for you)
- an addon that is able to recognize and record "status changes" (haste levels, empy am, etc etc) and the timestamp associated to each so that they can be correlated to the above point
- something to analyze the data gathered and can Do The Math and give you the info you need

It's not straightforward.
[+]
 Bahamut.Senaki
Offline
Serveur: Bahamut
Game: FFXI
user: Senaki
Posts: 122
By Bahamut.Senaki 2024-10-25 10:31:09
Link | Citer | R
 
Lili said: »
"Just" :D

You need to write a parser for this as none of those that currently exists (scoreboard, parse, leaderboard, kparser) are able of something like that.

There's about a billion ways to go at it, but they will all have at least three components:
- a logging part to record the damage numbers and timestamp of each event (logger can do this already for you)
- an addon that is able to recognize and record "status changes" (haste levels, empy am, etc etc) and the timestamp associated to each so that they can be correlated to the above point
- something to analyze the data gathered and can Do The Math and give you the info you need

It's not straightforward.

Appreciate the response.

Little projects like this are what forces me to learn to be a better programmer. Even if I fail at it, it builds experience. :)
 Asura.Pergatory
Offline
Serveur: Asura
Game: FFXI
user: Pergatory
Posts: 1383
By Asura.Pergatory 2024-10-25 12:41:09
Link | Citer | R
 
I remember KParser having some ability to write custom logging functions. I used it once to report my pet's TP after every blood pact with an /echo command which the parser captured for me when I was trying to do some testing on SMN. You can have Gearswap report things to the log via the /echo command as well, for capturing things like whether you have AM3 up or not.

Afraid I don't recall where any of the reference docs would be for doing that, though. Good luck.
 Asura.Iamaman
Offline
Serveur: Asura
Game: FFXI
user: iamaman
Posts: 876
By Asura.Iamaman 2024-10-25 14:33:12
Link | Citer | R
 
On haste AFAIK the server never sends a haste level to the client so you have to calculate it based on the buffs/debuffs you have.

I had code to do this at one point, I think I lifted it from GearInfo or possibly Motes at one point, but ultimately abandoned it. Some of the more automated luas for jobs like NIN and DNC will have code to set different sets for various haste levels and different dual wield amounts, so that code would be there also.

Wherever I lifted it from, I had to tweak it somewhat. Even then it wasn't 100% reliable and it seems like in content where events were getting dropped, it wouldn't always pick up when a buff wore or was added especially if you only check it during a buff change.
[+]