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

Questions about Parsing Player's Orders #112

Open
Orion-Zheng opened this issue May 6, 2024 · 0 comments
Open

Questions about Parsing Player's Orders #112

Orion-Zheng opened this issue May 6, 2024 · 0 comments

Comments

@Orion-Zheng
Copy link

Orion-Zheng commented May 6, 2024

Hi, thank you for your work! 😃This project helps me a lot on extracting hero's positions with game time. I noticed current parser didn't include parsing about player's order info, which is crucial for some Reinforcement Learning scenarios. So I am working on extracting some player's order data based on this project's Parser and Replay class and hope to get some advice. (BTW in the visualization, there are angles about hero's moving directions. I'm curious about how does that work🤔Because I am a newbie for Javascript, I have little idea about the logics in the React.js frontend code)

Here's what I do so far:
First, I refer to the repo MOBA_RL (a repo 2 years ago, cannot run right now) and let the Parser to listen to the CDOTAUserMsg_SpectatorPlayerUnitOrders message when parsing.
image
image
Then I can access the content of some player's orders.
image

Then I hope to parse the order's information according to the orderType, which are all listed in a protobuf ENUM here
image
But I didn't find documentations about what does these order types refer to and how to understand fields in these message. The code of MOBA_RL project is buggy for current replay files so it also provides little information. Could anyone give me some suggestions on this?

BTW, when learning the code for these projects, there's a question that has puzzled me for a long time: How do you know which information is in which fields of those packets? Is there some development documentation explaining all these protobuf? or is all this derived from reverse engineering by the Open Source Community?

Any help will be really appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant