-
Notifications
You must be signed in to change notification settings - Fork 38
WardsPlacedChangedEvent does not fire #39
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
Comments
Hello Johan, The player detail for placed wards is only available in spectator mode. At least that's what I have documented for that field, https://github.com/antonpup/Dota2GSI/blob/master/Dota2GSI/Nodes/PlayerProvider/PlayerDetails.cs#L209. I am not sure that Dota 2 itself exposes positional information for wards. Even if it does, the positional coordinates are usually only available while spectating a game. At least for CS2, no positional coordinates are available when a local player is in the game. You might be able to get placed ward locations from the Minimap provider, https://github.com/antonpup/Dota2GSI/blob/master/Dota2GSI/Nodes/MinimapProvider/MinimapElement.cs. |
Hey @antonpup thank you for taking your time to answer. I was hoping to use this tool as a crutch for debugging player (playing) related events. Unfortunately it is not that helpful for me to extract the events from a replay, as my research revolves around understanding the bounding boxes that events are grouped into (the map is enourmous but events such was wards being placed are grouped into a 128 x 128 grid). I suspect that you may be right about using the Can you say anything about whether or not this will run on a live game? |
You would have to try it out in a local/practice match. What I know is that most/all data is available when spectating a match (you can see both teams and the game is delayed so there isn't much issue with cheating), but during the game, some information is not available. |
The event
PlayerWardsPlacedChanged
does not fire when the player places a ward.Other events are firing in my test setup so I guess it's specific to this event.
GameState.Player.LocalPlayer.WardsPlaced
also does not change.Semi related request:
Is there any chance you can expand the Ward related events to contain information about where the ward was placed? This data is the reason I tried this library out. I am working on another DOTA project that deals with ward positions and I want to use this to debug ward positions.
The text was updated successfully, but these errors were encountered: