Adblock breaks this site

need help something easy i think

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

  1. luisdead

    luisdead Apprentice
    Banned

    Joined:
    Jan 25, 2007
    Posts:
    924
    Referrals:
    1
    Sythe Gold:
    661
    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 ?
     
  2. SmokeHut

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

    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
    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.
  3. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    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
    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.
  4. luisdead

    luisdead Apprentice
    Banned

    Joined:
    Jan 25, 2007
    Posts:
    924
    Referrals:
    1
    Sythe Gold:
    661
    need help something easy i think

    can either of you guys help me with this :eek:
     
  5. Minted

    Minted Member

    Joined:
    Dec 1, 2017
    Posts:
    70
    Referrals:
    0
    Sythe Gold:
    22
    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? >


 
 
Adblock breaks this site