Results 1 to 15 of 15
  1. #1
    FIRExFACTION's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    74
    Reputation
    10
    Thanks
    10

    [AHK] Auto HP and MP Potion grabber

    Grabs HP and MP Potions and returns the mouse to the original position
    WARNING: You Must tweak the mouse position for it to double click or it MAY not work (try it)
    DOUBLE WARNING: Only works with fullscreen mod unless tweaked
    Press 1 to activate (editable)
    Code:
    1::
    loop
    {
    PixelGetColor, red, 1758, 799
    sleep 1
    if red = 0x8A85EC
    {
    MouseGetPos, MouseX, MouseY
    Click, 1758, 799, 2
    MouseMove, %MouseX%, %MouseY%
    }
    PixelGetColor, blue, 1758, 799
    sleep 1
    if blue = 0xDF8AA5
    {
    MouseGetPos, MouseX, MouseY
    Click, 1758, 799, 2
    MouseMove, %MouseX%, %MouseY%
    sleep, 1
    }
    }
    My first release ^_^
    Last edited by FIRExFACTION; 06-11-2013 at 11:49 AM.
     

    Quote Originally Posted by xXGoliathXx View Post
    +1 vouch, really nice to trade with him
    no complications fast and easy!
    Quote Originally Posted by RedProphet View Post
    I went first, and he followed through. I would definitely trust this guy. Smooth trade. Had me on the edge of my seat on whether or not he scammed me, but he pulled through.
    +1000 good sir.
    Quote Originally Posted by kris4x View Post
    Date:2013.06.17
    Other Person involved: None, he did go first, i respect that.
    Item that has been sold/traded: 8 life pots
    Selling Thread (URL): ----
    Optional: A nice guy, trust him hes legit.
    Quote Originally Posted by petitpierre View Post
    18,50 for 22L and 6mana real quick
    petitpierre , paypal transfer.
    Quote Originally Posted by iViperz View Post
    FORMAT:
    Date:2013.06.16
    Other Person involved: This guy goes first, hes very legit and nice.
    Item that has been sold/traded: Wizzard tops
    Selling Thread (URL):
    Optional: Legit.
    Quote Originally Posted by imarchie View Post
    Good Seller, fast and legit ;0 Thanks
    Quote Originally Posted by SuperSean View Post
    I vouch for FIRExFACTION Bought $18 worth of stuff off him, +1

  2. The Following 2 Users Say Thank You to FIRExFACTION For This Useful Post:

    SuperFrogMan (06-11-2013),Yotsuba (06-11-2013)

  3. #2
    SuperFrogMan's Avatar
    Join Date
    May 2013
    Gender
    female
    Posts
    13
    Reputation
    10
    Thanks
    0
    Sweet. Can't wait to try this out!

  4. #3
    CFazio's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    1
    How i can put this code in my client?

  5. #4
    JustAnoobROTMG's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    1,916
    Reputation
    185
    Thanks
    18,230
    Quote Originally Posted by CFazio View Post
    How i can put this code in my client?
    Since when AHK is a client?
    Due to a recent DMCA takedown attempt we had to remove Faintmako brain. Please do not paid attention to what he say or do.


  6. The Following 3 Users Say Thank You to JustAnoobROTMG For This Useful Post:

    cucuYeL (06-11-2013),FIRExFACTION (06-11-2013),GimmeSomeClient (07-07-2013)

  7. #5
    cucuYeL's Avatar
    Join Date
    Jun 2012
    Gender
    female
    Location
    En la revista
    Posts
    1,412
    Reputation
    272
    Thanks
    2,693
    Quick Tutorial:
    Save the code he posted as an AHK script
    Double click the script
    ???
    Profit

    (First you need to download AHK though...)

  8. The Following User Says Thank You to cucuYeL For This Useful Post:

    FIRExFACTION (06-11-2013)

  9. #6
    FIRExFACTION's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    74
    Reputation
    10
    Thanks
    10
    ^_^ glad people like it if anyone one has any problems with the script let me know, although you should be able to figure it out, also there are 2 lines of code to be edited for the mouse coordinates just mess with the coordinates till it clicks on the hp/mp pot
     

    Quote Originally Posted by xXGoliathXx View Post
    +1 vouch, really nice to trade with him
    no complications fast and easy!
    Quote Originally Posted by RedProphet View Post
    I went first, and he followed through. I would definitely trust this guy. Smooth trade. Had me on the edge of my seat on whether or not he scammed me, but he pulled through.
    +1000 good sir.
    Quote Originally Posted by kris4x View Post
    Date:2013.06.17
    Other Person involved: None, he did go first, i respect that.
    Item that has been sold/traded: 8 life pots
    Selling Thread (URL): ----
    Optional: A nice guy, trust him hes legit.
    Quote Originally Posted by petitpierre View Post
    18,50 for 22L and 6mana real quick
    petitpierre , paypal transfer.
    Quote Originally Posted by iViperz View Post
    FORMAT:
    Date:2013.06.16
    Other Person involved: This guy goes first, hes very legit and nice.
    Item that has been sold/traded: Wizzard tops
    Selling Thread (URL):
    Optional: Legit.
    Quote Originally Posted by imarchie View Post
    Good Seller, fast and legit ;0 Thanks
    Quote Originally Posted by SuperSean View Post
    I vouch for FIRExFACTION Bought $18 worth of stuff off him, +1

  10. #7
    Limit67's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    139
    Reputation
    10
    Thanks
    9
    I can't seem to get it to work. I've tried manipulating the mouse coordinates to where the potion would be in the first slot but I'll admit, I don't have any AHK experience...

  11. #8
    6ixth's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    3,033
    Reputation
    661
    Thanks
    19,905
    Good Work!

  12. #9
    The richest man is not the one who has the most but the one who needs the least.
    MPGH Member
    Alde.'s Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    1,706
    Reputation
    166
    Thanks
    3,627
    My Mood
    Sleepy
    Alde is Alde is

  13. #10
    dg123's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    552
    Reputation
    10
    Thanks
    264
    My Mood
    Bored
    pshh when i post a script on this section earl yells at me...when this guys does it we cheer! Fire, do you want me to fix it so it works with fullscreen and non fullscreen?
    Edit: wait does this work with all ground slots? 0_0 or just the first one...
    Edit #2 ..... can i use this in my mega realmscript....id be editing the script completely but ill give you full credit.

    ---------- Post added at 10:56 PM ---------- Previous post was at 10:39 PM ----------

    what i suggest to you...add pictures into the script....it would make it so you would not have to set x,y

    here i made it way faster X and y are set to no fs on flashplayer
    Code:
    ;made by FIRExFACTION ;D (but i fixed it up :D)
    1::
    loop
    {
    PixelGetColor, red, 647, 580
    sleep 1
    if red = 0x8A85EC
    {
    MouseGetPos, MouseX, MouseY
    MouseMove, 647, 580
    SendEvent {LButton Down}
    SendEvent {LButton Up}
    SendEvent {LButton Down}
    SendEvent {LButton Up}
    MouseMove, %MouseX%, %MouseY%
    }
    MouseGetPos, MouseX, MouseY
    PixelGetColor, blue, 647, 580
    if blue = 0xDF8AA5
    {
    MouseGetPos, MouseX, MouseY
    MouseMove, 647, 580
    SendEvent {Lbutton down}
    SendEvent {LButton up}
    SendEvent {Lbutton down}
    SendEvent {LButton up}
    MouseMove, %MouseX%, %MouseY%
    }
    }
    Return
    Last edited by dg123; 06-11-2013 at 10:38 PM.

  14. The Following User Says Thank You to dg123 For This Useful Post:

    FIRExFACTION (06-11-2013)

  15. #11
    FIRExFACTION's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Posts
    74
    Reputation
    10
    Thanks
    10
    Quote Originally Posted by dg123 View Post
    pshh when i post a script on this section earl yells at me...when this guys does it we cheer! Fire, do you want me to fix it so it works with fullscreen and non fullscreen?
    Edit: wait does this work with all ground slots? 0_0 or just the first one...
    Edit #2 ..... can i use this in my mega realmscript....id be editing the script completely but ill give you full credit.

    ---------- Post added at 10:56 PM ---------- Previous post was at 10:39 PM ----------

    what i suggest to you...add pictures into the script....it would make it so you would not have to set x,y

    heres the code for no fs and no stretched... the x and y is already set...i plan too make it faster and make it for all slots!
    Code:
    ;made by FIRExFACTION ;D (I fixed the x and y for no fs, im gonna make it faster too)
    1::
    loop
    {
    PixelGetColor, red, 647, 580
    if red = 0x8A85EC
    {
    MouseGetPos, MouseX, MouseY
    Click, 647, 580, 2
    MouseMove, %MouseX%, %MouseY%
    }
    PixelGetColor, blue, 647, 580
    if blue = 0xDF8AA5
    {
    MouseGetPos, MouseX, MouseY
    Click, 647, 580, 2
    MouseMove, %MouseX%, %MouseY%
    }
    }
    Sure! just eave my name in the script or give credit, it could use some tweaking, and it only works for those coordinates, essentially it picks up the color from the spot where an item drops and if it detect either the color of an hp or mp pot in that location it double clicks, but it should be edited to search for the client window or detect the inventory location (the hp and mp pot inventory) and then the script could base its coordinates from there like:

    search (using images) for hp and mp pot inventory and then store those coordinates as x, and y

    add or subtract a certain number to (x) add or subtract a certain number to (y)
    [Note that the numbers added and subtracted to each x and y should be the same since the GUI is relative]

    and that would give you the location of where stuff drops on any client
    THIS WAY, if you tend to store hp and mp pots in your inventory when normal slots are full (by switching pot that's in the bag with item) the script wouldn't be confused

    it'd be really cool if my script was implemented into the mega script ^_^

    I thought your mega realm script was fantastic, i can see if i can work on it
    add me on skype: firexfaction
    i've got many other useful realm scripts that i've been working on for a while that aren't quite ready to be released yet ill see if you can take a look at em
     

    Quote Originally Posted by xXGoliathXx View Post
    +1 vouch, really nice to trade with him
    no complications fast and easy!
    Quote Originally Posted by RedProphet View Post
    I went first, and he followed through. I would definitely trust this guy. Smooth trade. Had me on the edge of my seat on whether or not he scammed me, but he pulled through.
    +1000 good sir.
    Quote Originally Posted by kris4x View Post
    Date:2013.06.17
    Other Person involved: None, he did go first, i respect that.
    Item that has been sold/traded: 8 life pots
    Selling Thread (URL): ----
    Optional: A nice guy, trust him hes legit.
    Quote Originally Posted by petitpierre View Post
    18,50 for 22L and 6mana real quick
    petitpierre , paypal transfer.
    Quote Originally Posted by iViperz View Post
    FORMAT:
    Date:2013.06.16
    Other Person involved: This guy goes first, hes very legit and nice.
    Item that has been sold/traded: Wizzard tops
    Selling Thread (URL):
    Optional: Legit.
    Quote Originally Posted by imarchie View Post
    Good Seller, fast and legit ;0 Thanks
    Quote Originally Posted by SuperSean View Post
    I vouch for FIRExFACTION Bought $18 worth of stuff off him, +1

  16. #12
    dg123's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    552
    Reputation
    10
    Thanks
    264
    My Mood
    Bored
    Quote Originally Posted by FIRExFACTION View Post
    Sure! just eave my name in the script or give credit, it could use some tweaking, and it only works for those coordinates, essentially it picks up the color from the spot where an item drops and if it detect either the color of an hp or mp pot in that location it double clicks, but it should be edited to search for the client window or detect the inventory location (the hp and mp pot inventory) and then the script could base its coordinates from there like:

    search (using images) for hp and mp pot inventory and then store those coordinates as x, and y

    add or subtract a certain number to (x) add or subtract a certain number to (y)
    [Note that the numbers added and subtracted to each x and y should be the same since the GUI is relative]

    and that would give you the location of where stuff drops on any client
    THIS WAY, if you tend to store hp and mp pots in your inventory when normal slots are full (by switching pot that's in the bag with item) the script wouldn't be confused

    it'd be really cool if my script was implemented into the mega script ^_^

    I thought your mega realm script was fantastic, i can see if i can work on it
    add me on skype: firexfaction
    i've got many other useful realm scripts that i've been working on for a while that aren't quite ready to be released yet ill see if you can take a look at em
    yeah ive completely made your script fast....ill make it so you can use other slots....also if your slots are full it will drink it

  17. #13
    Knorrex's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    ~
    Posts
    517
    Reputation
    15
    Thanks
    975
    My Mood
    Angelic
    Quote Originally Posted by dg123 View Post
    MouseMove, 647, 580
    SendEvent {Lbutton down}
    SendEvent {LButton up}
    SendEvent {Lbutton down}
    SendEvent {LButton up}
    This is the most stupid way to send a double click I've ever seen...

  18. #14
    dg123's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    552
    Reputation
    10
    Thanks
    264
    My Mood
    Bored
    Quote Originally Posted by Knorrex View Post
    This is the most stupid way to send a double click I've ever seen...
    cool, but it's faster.

  19. #15
    Knorrex's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    ~
    Posts
    517
    Reputation
    15
    Thanks
    975
    My Mood
    Angelic
    Quote Originally Posted by dg123 View Post
    cool, but it's faster.
    Ok, prove it now.

Similar Threads

  1. [Release] Auto Typer and Clicker mad by Chappy, Sticky please?
    By -Chappy- in forum Runescape Hacks / Bots
    Replies: 5
    Last Post: 05-27-2010, 12:48 AM
  2. [Release] v.84 GK uEMI (VAC) [With Auto CS and NO advertisement]]
    By CAFlames in forum MapleStory Hacks, Cheats & Trainers
    Replies: 27
    Last Post: 05-15-2010, 10:40 AM
  3. [Release] Auto Clicker And TYper BY GarysHood
    By M.P.G.H[Killer] in forum CrossFire Hacks & Cheats
    Replies: 15
    Last Post: 04-17-2010, 05:56 PM
  4. [Release] Flames Tapper v2.0 [w/Hotkeys, Auto-reconnect, and MORE!]
    By CAFlames in forum Combat Arms Hacks & Cheats
    Replies: 17
    Last Post: 02-08-2010, 07:37 PM
  5. [Request] Auto Clicker and Auto Keyboard
    By ZincNitrate in forum Blackshot Hacks & Cheats
    Replies: 14
    Last Post: 12-10-2009, 03:45 AM

Tags for this Thread