Jump to content

inababila

Trade With Caution
  • Posts

    251
  • Joined

  • Last visited

  • Feedback

    100%

Posts posted by inababila

  1. 17 minutes ago, apa said:

    I was looking at that, I couldn't figure out the headers haha, it was 6am...

    What does yours include?

    I also have the same situation with @Lemons and here is what I use for headers:

    loginRequest.addHeader("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8");
    loginRequest.addHeader("Accept-Encoding", "gzip, deflate, br");
    loginRequest.addHeader("Accept-Language", "en-GB,en-US;q=0.8,en;q=0.6");
    loginRequest.addHeader("Cache-Control", "max-age=0");
    loginRequest.addHeader("Connection", "keep-alive");
    loginRequest.addHeader("Content-Type", "application/x-www-form-urlencoded");
    loginRequest.addHeader("Host", "secure.runescape.com");
    loginRequest.addHeader("Origin", "https://secure.runescape.com");
    loginRequest.addHeader("Referer", "https://secure.runescape.com/m=weblogin/loginform.ws?mod=www&ssl=1&expired=0&dest=account_settings.ws");
    loginRequest.addHeader("Upgrade-Insecure-Requests", "1");
    loginRequest.addHeader("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36");

    This was for login, so you will only need to change the referer link. Credits go to @Explv

    • Like 1
  2. This will be very useful. However, for account creation, it will be better if you could apply connecting to different proxies each time an account is created. Otherwise, it will be useless. For the username searching, it would be great to find out a unique character name. A project like this is too huge and needs so much work, so I would like to say good luck!

     

  3. And if you want to get recent messages from the chatbox after a while, here is what you will want to do.

    You add this to your class

    implements MessageListener

    and this is the code

    getChatbox().getMessages(MessageType.PLAYER).get(0).contains("noob")

    Gets the last player message sent containing noob. I find it useful because I have a message tracking system inside my script.

×
×
  • Create New...