getting combat logs

getting combat logs

in API Development

Posted by: JordanJD.3209

JordanJD.3209

According to a recent AMA on Reddit, it was determined something like a DPS counter was allowed in gw2. How would I go about getting the combat log information through the API?

getting combat logs

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

You can’t.
Read here https://forum-en.gw2archive.eu/forum/community/api/Chat-log/first#post6291874
Anyway you can calculate the DPS or other using the info you get from API:2/skills, API:2/traits and wiki. What you calculate is not exactly as an in-game combat log, but it gives good info to work on.

getting combat logs

in API Development

Posted by: JordanJD.3209

JordanJD.3209

You can’t.
Read here https://forum-en.gw2archive.eu/forum/community/api/Chat-log/first#post6291874
Anyway you can calculate the DPS or other using the info you get from API:2/skills, API:2/traits and wiki. What you calculate is not exactly as an in-game combat log, but it gives good info to work on.

Thank you for the reply, if I am correct that says that it is possible but not reliable. I will check it out.

getting combat logs

in API Development

Posted by: JordanJD.3209

JordanJD.3209

The following is what you get back for the combat log from the chat log. It contains damage direction (output), does this contain outgoing damage from other people? Why would that be true?

Combat
For Combat, the details object contains the following properties:
direction (string) – Possible values:
Incoming
Outgoing
type (string) – Possible values:
Buff Damage
Healing
Damage
Interrupts
Mitigated Damage

getting combat logs

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Someone is able to read combat chat log with Computer Vision techniques, or maybe reading the game memory (this is prohibited by the Terms of Service of Guild Wars 2), but you can’t get that data from API.
What you are talking about in your last post is a suggestion of a hypothetical API that returns info about your chats, but it doesn’t exist!! You can’t get any of those properties!!
Anyway you can’t get outgoing damage from other people even in the game itself. Simply what someone do in their apps is to share info between players, so you can know the DPS of a party member etc…

getting combat logs

in API Development

Posted by: JordanJD.3209

JordanJD.3209

I don’t want info of other people, i only want to get combat data of my own.

getting combat logs

in API Development

Posted by: JordanJD.3209

JordanJD.3209

Oh i completely misunderstood, i thought the chatlog api existed… but that was the user’s suggestion.

getting combat logs

in API Development

Posted by: Elfo Bianco.3786

Elfo Bianco.3786

Oh i completely misunderstood, i thought the chatlog api existed… but that was the user’s suggestion.

Is exactly what I said
When you need to check API existence you can read the list here https://api.guildwars2.com/v2 , it gives you the list of the current existing API

getting combat logs

in API Development

Posted by: JordanJD.3209

JordanJD.3209

Oh i completely misunderstood, i thought the chatlog api existed… but that was the user’s suggestion.

Is exactly what I said
When you need to check API existence you can read the list here https://api.guildwars2.com/v2 , it gives you the list of the current existing API

Yeah I got it, I misunderstood your original comment.