meepen / salien-bot

Steam Summer Sale 2018 "Salien" minigame bot - runs in console or browser
MIT License
418 stars 104 forks source link

Headless: Added username to log info #142

Closed ghost closed 6 years ago

ghost commented 6 years ago

Added username to log info (as requested through issue #140) through the client grabbing the player name. It's done this way rather than grabbing the persona from the gettoken.json, because a direct token argument for the command line was implemented. Therefore, this would work with anyone.

meepen commented 6 years ago

where is gPlayerName defined?

CaptainFlint commented 6 years ago

I've implemented the same using:

        info_lines.push(["Account name", gettoken['persona_name']]);
callmenemo491 commented 6 years ago

PR #142 & #143, look to address the same thing...