Firstbloodio / dapp

FirstBlood Dapp
MIT License
8 stars 7 forks source link

FirstBlood.Setup.1.0.2 still can not login Witness Account #5

Open ghost opened 5 years ago

ghost commented 5 years ago

This version can be logged in Player Account. But still can not login Witness Account. @zackcoburn fb

ghost commented 5 years ago

os windows 10

zackcoburn commented 5 years ago

Thanks for reporting this. I have reproduced the issue on Windows 10 and will release a fix soon.

zackcoburn commented 5 years ago

Check out the latest release (1.0.3). This should take care of the issues with logging in as a witness.

ghost commented 5 years ago

There's no Steam User associated with the provided detail. There's no such witness username available. https://steamcommunity.com/id/[USERNAME], It works for my username. And my account is public updated(1.0.3) fb2 @zackcoburn

zackcoburn commented 5 years ago

Hi @FB4EVER, that's strange. There should be a file in C:\Users\[USERNAME]\AppData\Local\Programs\FirstBlood\resources\app\servers.json. I'm curious what that file contains for you.

ghost commented 5 years ago

fb3

ghost commented 5 years ago

[{"host":"153.254.86.143","port":"27017"},{"host":"153.254.86.142","port":"27018"},{"host":"153.254.86.143","port":"27019"},{"host":"153.254.86.142","port":"27019"},{"host":"153.254.86.142","port":"27017"},{"host":"153.254.86.143","port":"27018"},{"host":"103.10.124.164","port":"27017"},{"host":"103.10.124.165","port":"27017"},{"host":"103.10.124.165","port":"27018"},{"host":"155.133.245.37","port":"27019"},{"host":"155.133.245.36","port":"27018"},{"host":"103.10.124.162","port":"27017"},{"host":"103.10.124.163","port":"27019"},{"host":"103.10.124.163","port":"27017"},{"host":"103.10.124.164","port":"27019"},{"host":"103.10.124.162","port":"27019"},{"host":"103.10.124.164","port":"27018"},{"host":"103.10.124.165","port":"27019"},{"host":"103.10.124.163","port":"27018"},{"host":"155.133.245.37","port":"27018"},{"host":"155.133.245.36","port":"27019"},{"host":"155.133.245.37","port":"27017"},{"host":"155.133.245.36","port":"27017"},{"host":"103.10.124.162","port":"27018"},{"host":"162.254.195.47","port":"27017"},{"host":"162.254.195.46","port":"27018"},{"host":"162.254.195.45","port":"27017"},{"host":"162.254.195.44","port":"27019"},{"host":"162.254.195.47","port":"27019"},{"host":"162.254.195.45","port":"27018"},{"host":"162.254.195.46","port":"27017"},{"host":"162.254.195.44","port":"27018"},{"host":"162.254.195.44","port":"27017"},{"host":"162.254.195.46","port":"27019"},{"host":"162.254.195.47","port":"27018"},{"host":"162.254.195.45","port":"27019"},{"host":"162.254.193.7","port":"27017"},{"host":"162.254.193.6","port":"27018"},{"host":"162.254.193.47","port":"27019"},{"host":"162.254.193.7","port":"27019"},{"host":"162.254.193.7","port":"27018"},{"host":"162.254.193.46","port":"27019"},{"host":"162.254.193.6","port":"27017"},{"host":"162.254.193.6","port":"27019"},{"host":"162.254.193.47","port":"27017"},{"host":"162.254.193.46","port":"27018"},{"host":"162.254.193.46","port":"27017"},{"host":"162.254.193.47","port":"27018"},{"host":"155.133.227.12","port":"27017"},{"host":"155.133.227.11","port":"27018"},{"host":"155.133.227.12","port":"27019"},{"host":"155.133.227.12","port":"27018"},{"host":"155.133.227.11","port":"27019"},{"host":"205.196.6.75","port":"27017"},{"host":"205.196.6.67","port":"27018"},{"host":"155.133.254.132","port":"27018"},{"host":"205.196.6.75","port":"27019"},{"host":"205.196.6.67","port":"27019"},{"host":"155.133.254.133","port":"27018"},{"host":"155.133.254.133","port":"27019"},{"host":"155.133.254.132","port":"27019"},{"host":"205.196.6.67","port":"27017"},{"host":"205.196.6.75","port":"27018"},{"host":"155.133.254.133","port":"27017"},{"host":"155.133.227.11","port":"27017"},{"host":"155.133.254.132","port":"27017"},{"host":"162.254.192.101","port":"27019"},{"host":"162.254.192.100","port":"27017"},{"host":"162.254.192.101","port":"27017"},{"host":"162.254.192.100","port":"27019"},{"host":"162.254.192.101","port":"27018"},{"host":"162.254.192.100","port":"27018"},{"host":"162.254.192.109","port":"27017"},{"host":"162.254.192.109","port":"27019"},{"host":"162.254.192.108","port":"27018"},{"host":"162.254.192.108","port":"27017"},{"host":"162.254.192.109","port":"27018"},{"host":"162.254.192.108","port":"27019"},{"host":"162.254.196.84","port":"27017"},{"host":"162.254.196.83","port":"27019"},{"host":"162.254.196.68","port":"27018"},{"host":"162.254.196.67","port":"27018"},{"host":"162.254.196.83","port":"27017"},{"host":"162.254.196.83","port":"27018"},{"host":"162.254.196.68","port":"27017"},{"host":"162.254.196.84","port":"27018"},{"host":"162.254.196.67","port":"27019"},{"host":"162.254.196.68","port":"27019"},{"host":"162.254.196.67","port":"27017"},{"host":"162.254.196.84","port":"27019"},{"host":"162.254.197.180","port":"27017"},{"host":"162.254.197.42","port":"27017"},{"host":"162.254.197.180","port":"27018"},{"host":"162.254.197.42","port":"27018"},{"host":"162.254.197.40","port":"27019"},{"host":"162.254.197.40","port":"27017"},{"host":"162.254.197.42","port":"27019"},{"host":"162.254.197.181","port":"27019"},{"host":"162.254.197.181","port":"27017"},{"host":"162.254.197.40","port":"27018"}]

ghost commented 5 years ago

It seems that the content is different from yours.

ghost commented 5 years ago

i found it. but why that is different location fb4

zackcoburn commented 5 years ago

It ends up in a different location when run as an executable on Windows 10. The C:\Users\[USERNAME]\AppData\Local\Programs\FirstBlood\resources\app\servers.json gets updated every time you start the Dapp with the latest list of servers. That being said, I'm currently unable to reproduce your issue on Windows 10. Do you happen to have a different Steam account you can try with (I'd like to rule that out).

ghost commented 5 years ago

i created a new Steam account to try. Not working There's no such witness username available.

zackcoburn commented 5 years ago

Ah, one more thing to try, and hopefully this is the issue: do you have SteamGuard enabled? It should be disabled, otherwise the Dapp won't be able to log in for you (especially when you're away from the computer, but the Dapp needs to connect as a witness). Even if you think you have SteamGuard disabled, it might actually be enabled, and only causing an issue when you log in through the Dapp, so make sure you double check your SteamGuard settings in your profile. @FB4EVER

ghost commented 5 years ago

thank you so much @zackcoburn I can login witness account now. But I am missing the PLAY option fb6 Also in player account ,i cannot create a challenge fb7 fb5

zackcoburn commented 5 years ago

@FB4EVER: When you logged in as a witness, did you also fill out the player part of the login screen? If you fill out just the player part, you'll only have the "Play" button. If you fill out just the witness part, you'll only have the "Witness" button. If you fill out both, you should have both buttons available.

For creating the challenge, can you show more of the error log (you can do pm2 logs --lines 500 to see more)? I'm also curious what gas price you used. Maybe you used a too-low gas price in MetaMask and the transaction just timed out.

ghost commented 5 years ago

@zackcoburn Thank you, I have both button now. pm2 logs 500.txt For the gas price , I am using the suggested price fb7

ghost commented 5 years ago

I successfully created the challenge. The problem is that it takes several times to create the challenge and no players are here to test with me.. fb8

ghost commented 5 years ago

I want to suggest that the host can resend the room invitation. If I miss the invitation, I need to re-initiate the challenge and the refund will take a long time.