After updating ASF multiple accounts have been renamed
Hi. After updating ASF multiple accounts have been renamed to [unassigned]. What could be the reason?
Met the same problem yesterday, but it was after asf restart, so I thought it's because previous instance didn't exit properly. But if it is not only me - then probably it's some problem either with asf or with steam.
Got the same problem with couple accounts. Nickname is set to null in xml files.
There is no logical explanation as why that should happen, because nickname is ONLY set, if it's non-null: https://github.com/JustArchi/ArchiSteamFarm/blob/master/ArchiSteamFarm/Bot.cs#L759
Moreover, if that would be ASF request, it would either not succeed, or set your nickname accordingly, and not make it unassigned.
Even if such situation happened, although I can't reproduce it with neither main nor my alts, it couldn't be caused by ASF, because default SteamNickname is "null" and you must define it to use other value.
Conclusion: Steam fuckup, nothing to fix. I see it very often as temporary problem and everything goes back to normal after some time.
Unless you can provide steps to reproduce issue, I doubt there is anything to be done.
I would agree that this is steam fuckup, but it seems to affect only to asf users. But if steam would not "hiccup" like this again, there is nothing to worry about.
There is no logical explanation why something like that would happen, as there is no method to change your nickname to null or make it unassigned, and even if there is one, ASF simply doesn't use it. Nickname is set ONCE after logging in, and only if SteamNickname is not "null". If that would be ASF problem, it would affect all accounts, including mine, and not some random ones for unknown reasons.
I would say it's some incompatibility of steamkit and steam, that only happens once in a while. I thinks so, because when there was infestation of scam-bots, I've seen some bots with [unassigned] instead of name. I suppose those bots were based on steamkit too, because - what else it could be? Here, look at my blacklisted users: http://imgur.com/bVv5yUD
Possible. Either way, not ASF issue.
Closing it until somebody provides some steps to reproduce, or any other clue that would make it possible for fix.
Maybe about SteamKit? https://github.com/JustArchi/ArchiSteamFarm/blob/aa1c1962de069be235744735440cd736ffab2c26/packages/SteamKit2.1.6.5/readme.txt#L308 I see one of my bots try to reconnect to Steam and fail login many time. Then I check my bot profile, I found my bot name is changed to [unassigned].
I see one of my bots try to reconnect to Steam and fail login many time.
Logs.
Sorry, I closed window so it has no log. Has an option to write log file in your application?
On linux, just redirect stdout. On windows, I don't think so.
If there is anything weird happening, I need logs to guess what went wrong. If there are no logs, and I can't reproduce it, it falls under "won't fix".
I'll add independent logging I guess.
On windows, I don't think so.
On windows - just redirect stdout.
So, I tried to reproduce it. As I recall - the problem happened to me in the past when bot was connected, I stopped it, an started again. I took one config file, set up a copy of asf in separate folder, and tried to start-stop it all over. After about 10-15 retries, I gave up, removed the whole folder with logs (!) and started asf with all my accounts in main folder. Soon after that I noticed that I got [unassigned] on the account I was using in the tests :laughing: So, here is a full log of this start, but sadly no previous logs that were the cause for this :disappointed: asf_2015_12_20__23_40_28.txt Also, I replaced bot names for the sake of my paranoia. The bot that got [unassigned] is botname2 here. ~~And, just noticed another strange thing - in steam profile it's just [unassigned], but in chat he has (8) next to his name, like this: http://imgur.com/8cW9TgJ~~ This is because i have 7 [unassigned] bots in my blacklist, so it's not important.
@JustArchi I am looking at it and can not understand how it possible, but I found something.
- String
[unassigned]is hardcoded. - SteamKit caches real name when
SteamUser.AccountInfoCallbackcomes in to send it with new persona state. - You call
SetPersonaStatewhen callback comes in. It is OK, right? But what ifSteamUsermanager broadcasts this callback beforeSteamFriendsmanager caches it? :scream: Or it is impossibro?
PS: Sorry if my english is too poor for you :(
What I don't like is this:
20.12.2015 23:41:11 [*] INFO: OnConnected() <botname2> Connected to Steam!
20.12.2015 23:41:12 [*] INFO: StopFarming() <botname2> Farming stopped!
20.12.2015 23:41:12 [!] WARNING: OnDisconnected() <botname2> Disconnected from Steam, reconnecting...
20.12.2015 23:41:12 [*] INFO: OnLoggedOn() <botname2> Successfully logged on!
To me it looks like for some reason 2 bots are running and trying to fight with each other.
Thing is I have no idea how it's even possible for such scenario to happen, because the only way new bot instance can be created is through ResponseStart() and main Program entry point, and according to @Ryzhehvost it happened out of sudden, without stopping/starting bots, right after start of the app, so it's not possible that there was more than one instance of that bot.
20.12.2015 23:41:07 [*] INFO: OnConnected() <botname2> Connected to Steam!
20.12.2015 23:41:08 [*] INFO: OnLoggedOn() <botname2> Successfully logged on!
20.12.2015 23:41:08 [*] INFO: Init() <botname2> Logging in to ISteamUserAuth...
20.12.2015 23:41:10 [*] INFO: Init() <botname2> Success!
20.12.2015 23:41:10 [*] INFO: StartFarming() <botname2> Checking possibility to farm...
20.12.2015 23:41:11 [*] INFO: StopFarming() <botname2> Sending signal to stop farming
20.12.2015 23:41:11 [*] INFO: StopFarming() <botname2> Waiting for reaction...
20.12.2015 23:41:11 [*] INFO: OnConnected() <botname2> Connected to Steam!
It doesn't make ANY sense to me, why the hell would second connected response happen, something had to call SteamClient.Disconnect() for that previously, and why the hell something called StopFarming() at the same time.
@Ne3tCode I doubt it's SK2 issue, I'm more likely to believe that something is really fucked up here regarding ASF flow, some request out of sudden enters in between the call from one and another, and causes a fuckup because of that. I think I'll just add more debug logs to try to understand what exactly is happening.