FrostBug Posted June 24, 2014 Posted June 24, 2014 Seeing as bot.getUsername() has been deprecated, does anyone know of a replacement? Im fairly certain that while bot.getUsername() returned the username of the osb account logged into the client, the client.accessor.getUsername() returns the username of an osrs account profile, which is not what I need. Thanks
Joseph Posted June 24, 2014 Posted June 24, 2014 Seeing as bot.getUsername() has been deprecated, does anyone know of a replacement? Im fairly certain that while bot.getUsername() returned the username of the osb account logged into the client, the client.accessor.getUsername() returns the username of an osrs account profile, which is not what I need. Thanks wtf shouldnt it be the other way around, the os username should be deprecated, and we should be able to access the bots username 1
trap god Posted June 25, 2014 Posted June 25, 2014 Not what you asked, but to get an ingame username it's getClient().accessor.getMyPlayer().getName()
denoxum Posted June 25, 2014 Posted June 25, 2014 BotApplication.getInstance().getOSAccount().username; 2