FrostBug Posted June 24, 2014 Share 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 Link to comment Share on other sites More sharing options...
Joseph Posted June 24, 2014 Share 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 Link to comment Share on other sites More sharing options...
trap god Posted June 25, 2014 Share Posted June 25, 2014 Not what you asked, but to get an ingame username it's getClient().accessor.getMyPlayer().getName() Link to comment Share on other sites More sharing options...
denoxum Posted June 25, 2014 Share Posted June 25, 2014 BotApplication.getInstance().getOSAccount().username; 2 Link to comment Share on other sites More sharing options...