need help something easy i think

Discussion in 'Programming General' started by luisdead, Jul 22, 2015.

need help something easy i think
  1. Unread #1 - Jul 22, 2015 at 5:45 PM
  2. luisdead
    Joined:
    Jan 25, 2007
    Posts:
    924
    Referrals:
    1
    Sythe Gold:
    661

    luisdead Apprentice
    Banned

    need help something easy i think

    well i would like to know if its possible for me to be able to set a key to do
    the following functions :


    click f4 and then click a spell on runescape 07 lets say

    f4 changes you to mage spells and the click would be on bone 2 banana would this be possible and would it be easy or hard ?
     
  3. Unread #2 - Jul 22, 2015 at 6:36 PM
  4. SmokeHut
    Joined:
    Aug 17, 2011
    Posts:
    1,504
    Referrals:
    0
    Sythe Gold:
    112
    Discord Unique ID:
    865859811747692554
    Discord Username:
    Okesseril#7961
    Gohan has AIDS Sythe's 10th Anniversary

    SmokeHut Great men grow tired of contentedness.
    $100 USD Donor New

    need help something easy i think

    Easy, however what would be easier is to script it in a client that already takes measures for anti-ban.
     
    ^ Minted likes this.
  5. Unread #3 - Jul 22, 2015 at 8:00 PM
  6. Blupig
    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant

    Blupig BEEF TOILET
    $5 USD Donor

    need help something easy i think

    Honestly for something like this I wouldn't even be worried about a ban. The advantage of using a scriptable bot is that you wouldn't have to sacrifice your cursor. If this is just a little project for you to do in a little program, then by all means go for it, but unless you're hooking the RS applet with Java, you'll always have to use your actual cursor for mouse movements.
     
    ^ Minted likes this.
  7. Unread #4 - Jul 22, 2015 at 11:48 PM
  8. luisdead
    Joined:
    Jan 25, 2007
    Posts:
    924
    Referrals:
    1
    Sythe Gold:
    661

    luisdead Apprentice
    Banned

    need help something easy i think

    can either of you guys help me with this :eek:
     
  9. Unread #5 - Dec 1, 2017 at 6:15 PM
  10. Minted
    Joined:
    Dec 1, 2017
    Posts:
    70
    Referrals:
    0
    Sythe Gold:
    22

    Minted Member

    need help something easy i think

    This can be done. One method would be to embed RuneScape into a panel as mdiChild (assuming you're using a .NET language). Disable the user from resizing the panel and form. Now, you can accurately pin-point the coordinates of the spell on the RuneScape interface (which can no longer be resized).
    Use a coordinate set relating to what's inside the panel (the embedded RuneScape client), and don't use coordinates relating to your screen. Once you have the coordinates relating to the location of the spell, use SendInput to sent a left-mouse click to the spell.
    Obviously the click will activate once you send F4 (I presume you know how to do this).
    Since the coordinates are relative to the panel, you can send this click even if the client is partially off the screen, for example.

    Hope this helped :D
    - Minted
     
< How can i improve my mouseclick bot | Which programming language should I use? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site