Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track difference between Loot Master assign and rools #27

Open
Blazewardog opened this issue Jan 27, 2022 · 0 comments
Open

Track difference between Loot Master assign and rools #27

Blazewardog opened this issue Jan 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Blazewardog
Copy link

I'm using the custom HTTP end point to run a loot tracker for my static. I decided to try and separate greed rolls vs the assigned ones as we don't count greed towards our loot distribution.

I thought I could determine this via LootEventType or Roll being non-zeor or LootMessageType but all 3 are the same across both loot events. I've settled on parsing the message for "claims" to mean loot master and "obtains" for rolls, but I think they really should be separate LootEventTypes.

Example loot messages below (with player names redacted)

{"Timestamp":1643259383414,"LootMessage":{"XivChatType":4158,"LogKind":62,"LogKindName":"LootNotice","LootMessageType":4158,"LootMessageTypeName":"OtherPlayerObtainLoot","Message":"obtains an Asphodelos hand gear coffer.","MessageParts":["","Ultros obtains an ","","Asphodelos hand gear coffer","."],"ItemId":35737,"ItemName":"Asphodelos Hand Gear Coffer","IsHq":false},"LootEventType":9,"LootEventTypeName":"Obtain","IsLocalPlayer":false,"PlayerName":"","World":"Ultros","PlayerDisplayName":"","Roll":0,"TerritoryTypeId":1007,"ContentId":807,"LootEventId":"c373d358-c020-46ec-8095-ec638e934d4b","ItemName":"Asphodelos Hand Gear Coffer"}
{"Timestamp":1643259328016,"LootMessage":{"XivChatType":4158,"LogKind":62,"LogKindName":"LootNotice","LootMessageType":4158,"LootMessageTypeName":"OtherPlayerObtainLoot","Message":"claims the Asphodelos leg gear coffer.","MessageParts":["","Famfrit claims the ","","Asphodelos leg gear coffer","."],"ItemId":35738,"ItemName":"Asphodelos Leg Gear Coffer","IsHq":false},"LootEventType":9,"LootEventTypeName":"Obtain","IsLocalPlayer":false,"PlayerName":"","World":"Famfrit","PlayerDisplayName":"","Roll":0,"TerritoryTypeId":1007,"ContentId":807,"LootEventId":"502217bd-c2d1-4573-96f3-e05ed73c3b95","ItemName":"Asphodelos Leg Gear Coffer"}
@kalilistic kalilistic added the enhancement New feature or request label Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants