skadistats / clarity-examples

Example code for clarity
BSD 3-Clause "New" or "Revised" License
113 stars 37 forks source link

Jump to tick at n-th effective minute mark #43

Closed rudpes closed 1 year ago

rudpes commented 4 years ago

Greetings.

For a project of mine, I'm trying to read player status (gold, last hits, items ...) at the 5th, 10th, 15th minute of play. Is there a way to do so ? it is possible to jump to the tick at the n-th minute mark ?

Thanks

rudpes commented 4 years ago

Sorry, found the answers. Apologies for the alert :)

spheenik commented 4 years ago

Hmm, I'd say this is not trivial, so if you have a nice answer, share it, please! :-)

rudpes commented 4 years ago

Will do, I'm still learning

I used info here https://github.com/skadistats/clarity/issues/218 to map the current minute.

As for the information. I'm still trying to find how to map the inventory of items.

For Gold/EXP per min, I assume I have to track EXP/Gold earned until that tick ?

spheenik commented 4 years ago

I'm not sure...