Jump to content

homes196

Members
  • Posts

    3
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

homes196's Achievements

Newbie

Newbie (1/10)

1

Reputation

  1. @Explv Thank you for the detailed response, using myPlayer().getName().equals fixed my issue. I mix up other practices from other programming languages (Lua) sometimes and I'm not that great at Java yet.
  2. I've defined my player's display name in a String variable (changed actual player's name for this example): String MULE_NAME = "displayname"; And a method that checks their name: public void getJob() { if (getPlayers().myPlayer().getName() == MULE_NAME) { CURRENT_JOB = "Mule"; } else { CURRENT_JOB = "Other job"; } } It ALWAYS returns as "Other job". I've double checked that I've entered the right display name into MULE_NAME and even had the log output the variable and my player's name every loop. They match in the log yet apparently are not the same. What gives?
  3. Mine does this too and has been since I started using OSBot, no idea what the issue is. Minimizing and restoring the window fixes it temporarily though.
×
×
  • Create New...