Closed vudung45 closed 11 years ago
This is a well known Steam issue, nothing to do with SteamBot.
Try manually blocking and then unblocking yourself / bot / whatever and it should work.
@FrozenHaxor : Not just that. I even added a command that after trade is finished, bot will unfriend the trader.... After that, i can't add bot again....
I think you know about dota2lounge. Their bots can unfriend and accept friend request whenever they want without being ignored
@vudung45 Well maybe they are doing some trickery like removing, blocking then unblocking in timed periods, I believe it's all about steam.
@FrozenHaxor : is there anyway to unblock and block a friend using this steambot?
Did you even bother to read the manual...? 13 lis 2013 05:50 "vudung45" notifications@github.com napisa³(a):
@FrozenHaxor https://github.com/FrozenHaxor : is there anyway to unblock and block a friend using this steambot?
Reply to this email directly or view it on GitHubhttps://github.com/Jessecar96/SteamBot/issues/497#issuecomment-28364398 .
@FrozenHaxor Take an easy man .... This was not steam problem. I checked it out last night and fixed it. There was a conflict in bot.cs that bot doesnt remove its friend when the user removes it -> the user still in the friendlist some how -> bot doesnt accept the friend request! I have fixed that.. gonna upload it here soon
@vudung45 You must have messed something up, my bots act fine after someone removes them. Or it's a result of some recent commits maybe?
this is what i changed in bot.cs
msg.Handle<SteamFriends.FriendsListCallback> (callback =>
{
foreach (SteamFriends.FriendsListCallback.Friend friend in callback.FriendList)
{
if (!friends.Contains(friend.SteamID))
{
friends.Add(friend.SteamID);
if (friend.Relationship == EFriendRelationship.RequestRecipient)
{
SteamFriends.AddFriend(friend.SteamID);
GetUserHandler(friend.SteamID).OnFriendAdd();
}
}
if (friend.Relationship == EFriendRelationship.None)
{
friends.Remove(friend.SteamID);
GetUserHandler(friend.SteamID).OnFriendRemove();
}
}
});
If some of u got this problem, please use my fix for bot.cs up there
I found out a bug ! One time, i tried to unfriend my bot then add again... Bot ignore my friend request?
Is there any solution for this?