Results 1 to 6 of 6

Thread: quick queston, is there a interface close all?

  1. #1
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default quick queston, is there a interface close all?

    Sometimes in my powerminer, it clicks a extra rock by accident and i get the message ' your inventory is full ' so then the powerminer tries to use the hotkey to drop the ores, and well it does not work because the interface is at the bottom so is there a function to fix this?

  2. #2
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    FindNPCChatText() / TypeByte(VK_Space)

  3. #3
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by riwu View Post
    FindNPCChatText() / TypeByte(VK_Space)
    So would it be like

    Simba Code:
    FindNPCChatText('Your inventory is too full');

  4. #4
    Join Date
    Sep 2012
    Location
    Australia.
    Posts
    839
    Mentioned
    16 Post(s)
    Quoted
    225 Post(s)

    Default

    Quote Originally Posted by rjj95 View Post
    So would it be like

    Simba Code:
    FindNPCChatText('Your inventory is too full');
    If that's the text it displays, then yes.

    Also, as Riwu stated, you could just use:

    Simba Code:
    TypeByte(VK_SPACE);

  5. #5
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Ya know, SRL already has functions to handle things like this. Try using "ClickToContinue;", it will recognize if you have the 'green arrow' in your chat box, if so it will press the space bar once. Just put it wherever you have your mining loop that checks your inventory.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  6. #6
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    thanks added no more problems with this

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •