powerbot/RSBot — Issue #683: Friendlist bug
Author: Bakkes
Created: 2011-10-19 09:12:31+00:00
State: open

What steps will reproduce the problem?
It seems that Jagex updated something with the friendschat?
When you use ctx.friendChat.friendsList.add(String playername) it actually deletes a player.
ctx.friendChat.friendsList.remove(String playername) doesn't seem to do anything

What is the issue?
It looks like
public static final int FRIENDSLIST_BUTTON_ADD_FRIEND = 28;
public static final int FRIENDSLIST_BUTTON_REMOVE_FRIEND = 37;
are wrong.
getCount() doesn't work either, i think FRIENDSLIST_LABEL_FRIENDS_COUNT is wrong

Do you know how to fix the bug?
public static final int FRIENDSLIST_BUTTON_ADD_FRIEND = 23;
public static final int FRIENDSLIST_BUTTON_REMOVE_FRIEND = 28;
FRIENDSLIST_LABEL_FRIENDS_COUNT should be changed to 18 (?)