kuper-adrian / statg-bot

Discord bot that posts PUBG statistics in your discord channel
MIT License
3 stars 2 forks source link

invalid region "steam" #17

Closed trololo151 closed 5 years ago

trololo151 commented 5 years ago

Hello! Pubg changed something, I do not know, now Error Error is issued invalid region "steam"

trololo151 commented 5 years ago

Are you here ?

kuper-adrian commented 5 years ago

hey trololo151,

yes I'm still here 😅Sorry for the late response, I was preoccupied with some other projects the last few weeks.

I get the same error message. It looks like Pubg Corp did some changes to the API again. Will look into this

Edit: Ok, found the bug. It's related to all pc-regions being grouped to the new region "steam" (or "kakao" for South Korea). Give me some time to fix this

kuper-adrian commented 5 years ago

Should work again. Would be cool if could answer if it does for you as well, @trololo151

trololo151 commented 5 years ago

did not help (

trololo151 commented 5 years ago

wrong season statistics zeros

 Handling stats command!
2018-12-19 03:45:21 [debug]:    Successfully fetched seasons data!
2018-12-19 03:45:21 [debug]:    Id of current season: division.bro.official.pc-2018-02
2018-12-19 03:45:21 [debug]:    Fetching stats...
2018-12-19 03:45:22 [debug]:    Successfully fetched stats!
2018-12-19 03:45:22 [debug]:    onResolved
kuper-adrian commented 5 years ago

Did you run npm install to update all dependecies? Keep in mind that a new season started with the Vikendi patch today. !statg stats displays seasons statistics, so if you haven't played since the update those stats beeing all zeros could be correct.

Btw: I plan a statg lifetime-stats command some time soon in order to display season-spanning stats.