Blizzard / Blizzard/s2client-api

Questions about MORPH_ORBITALCOMMAND and map_path.

Open
#243 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.7k
Forks
280
PR merge metrics
No merged PRs in 30d

Description

Question 1
I can get the ABILITY_ID::TRAIN_SCV construction progress(order.progress) and ABILITY_ID::BUILD_BARRACKS construction progress(unit->build_progress)
But MORPH_ORBITALCOMMAND I can't get progress, it's always 0.

Question 2
//class Replay : public sc2::ReplayObserver
//sc2::Replay *rep;

const sc2::ObservationInterface* obs = Observation();
std::cout << "map_path:" << rep->ReplayControl()->GetReplayInfo().map_path << std::endl;
std::cout << "replay_path:" << rep->ReplayControl()->GetReplayInfo().replay_path << std::endl;
std::cout << "local_map_path:" << obs->GetGameInfo().local_map_path << std::endl;

Some replays map_path is empty.
map_path:
replay_path:E:\program\sc2ai\my\RepTools\output\Replays\Catalyst LE.SC2Replay
local_map_path:

But some of the replays map_path are available.
map_path:OdysseyLE.SC2Map
replay_path:E:\program\sc2ai\my\RepTools\output\Replays\33.Sc2Replay
local_map_path:OdysseyLE.SC2Map

These replays can play normally in sc2.

thx

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.