Giter VIP home page Giter VIP logo

Comments (6)

azeier avatar azeier commented on May 23, 2024

My solution for this in HDT was to set the names on the first CURRENT_PLAYER change.

from python-hsreplay.

azeier avatar azeier commented on May 23, 2024

Here's more detailed explanation:

Excerpt from the log:

D 13:20:09.6106926 GameState.DebugPrintPower() -     Player EntityID=2 PlayerID=1 GameAccountId=[hi=144115198130930503 lo=15856412]
[...]
D 13:20:09.6106926 GameState.DebugPrintPower() -         tag=CURRENT_PLAYER value=1
[...]
D 13:20:09.6116931 GameState.DebugPrintPower() -     Player EntityID=3 PlayerID=2 GameAccountId=[hi=144115198130930503 lo=71919920]
[...]
[...]
D 13:20:28.3481950 GameState.DebugPrintPower() -     TAG_CHANGE Entity=Epix tag=CURRENT_PLAYER value=0
D 13:20:28.3481950 GameState.DebugPrintPower() -     TAG_CHANGE Entity=ALEKS tag=CURRENT_PLAYER value=1
  • On reconnect we know the CURRENT_PLAYER (PlayerID=1)
  • The first CURRENT_PLAYER tag change to 0 occours on Entity=Epix
  • Therefore we know the player with PlayerID=1 is Epix

from python-hsreplay.

jleclanche avatar jleclanche commented on May 23, 2024

Try after HearthSim/python-hearthstone@8986ebd

from python-hsreplay.

azeier avatar azeier commented on May 23, 2024

http://hsreplay.net/joust/replay/e8c20d26-2d39-48da-a144-8decb96f33b5

Generated with 1.1, no player names. Contains only the part after the reconnect (this is correct).

from python-hsreplay.

azeier avatar azeier commented on May 23, 2024

Oh, this is fun, there is the log: http://files.hsdecktracker.net/powerlog_reconnect_uhp.txt
UNKNOWN HUMAN PLAYER :)

from python-hsreplay.

jleclanche avatar jleclanche commented on May 23, 2024

I pushed a fix... it's not perfect but it'll be better now.

from python-hsreplay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.