Results 1 to 7 of 7
  1. #1
    RiftFr's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    78
    Reputation
    10
    Thanks
    43
    My Mood
    Amazed

    External auto nexus (AHK?)

    Hello, i'd like an external auto nexus, maybe an AHK script or something, i've searched the forum but found none (working at least). Thanks!

  2. #2
    citydrifter's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    653
    Reputation
    32
    Thanks
    2,436
    My Mood
    Yeehaw
    This might take more work, I looked up the basics to it.
    //AHK version

    //... Maybe use #IfWinActive to detect flashplayer window
    A.You need to find what colors and location determined by pixels you want to detect.
    B.When that color in (pixels) changes, you need to set a keystroke to (nexus), default setting is (R)
    C.Initiate Nexus keystroke.
    Example:
    Code:
    	
    t::  ; toggle
    PixelGetColor, Red, 696, 311; Gets the color at the coordinates in the active window
    	if(Red = 0x545454){ ; checks if the found color is completely RED
    		Send, R

    //AutoIt Version

    Do something like this
    //Find pixel(location)
    Code:
    $z = PixelSearch( 696, 311,  0x545454)
         if $z = true then
                send("r")
    Last edited by citydrifter; 10-09-2018 at 10:38 PM. Reason: updated x y, color

  3. The Following User Says Thank You to citydrifter For This Useful Post:

    RiftFr (10-10-2018)

  4. #3
    RiftFr's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    78
    Reputation
    10
    Thanks
    43
    My Mood
    Amazed
    I can't get it to work, I suppose 696, 311 are X and Y, so i'm changing them to the X and Y pixel I want on my screen but the AHK just doesn't work and AutoIT gives me an error : https://prntscr.com/l4nxfr I've got experience with neither of these two programs

  5. #4
    Azuki's Avatar
    Join Date
    Mar 2015
    Gender
    female
    Location
    京都市
    Posts
    1,110
    Reputation
    195
    Thanks
    20,162
    My Mood
    Angelic
    writing an external autonexus is relatively simple but dumb, just get a client that looks normal and just enable autonexus.

    make a loop
    check if coordinate x,y isnt red but the grey color == health too low
    nexus

    BTC: 1LLm4gaPYCZsczmi8n1ia1GsEMsDRs2ayy
    ETH: 0x7d8045F6e452045439c831D09BAB19Bf9D5263EE



  6. The Following User Says Thank You to Azuki For This Useful Post:

    Austen_Dayton (10-11-2018)

  7. #5
    Austen_Dayton's Avatar
    Join Date
    Mar 2018
    Gender
    female
    Location
    DUBAI
    Posts
    303
    Reputation
    10
    Thanks
    18
    Quote Originally Posted by Azuki View Post
    writing an external autonexus is relatively simple but dumb, just get a client that looks normal and just enable autonexus.

    make a loop
    check if coordinate x,y isnt red but the grey color == health too low
    nexus
    You are sincerely right!

  8. #6
    citydrifter's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    653
    Reputation
    32
    Thanks
    2,436
    My Mood
    Yeehaw
    Sorry I used wrong syntax for AHK in my example.

    I must say this is not a very good way to go about "auto nexus."

    In English this would be like "Alexa If color is gray at hp bar at 30%, then press R."
    Alexa is being the executable in this case. Just joking.

    Here is what you really must do.

    Use the Function "PixelGetColor" to check color in the pixels, Both AutoIt and AHK use this.

    We use the "if (X,Y)" this is a logic flow construct. X is 696, Y is 311

    Color must use is in hex form: "0x545454"

    Here is the latest code - AHK
    Press T to Activate


    Code:
    T::
    A::ExitApp 
    
    MsgBox, Autonexus activated! Press "A" to terminate script.
    Loop
    {
    PixelGetColor, Red, 696, 309 ; pixels
    if Red = 0x545454
     {
    Send, R
    }
    }

  9. #7
    RiftFr's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    78
    Reputation
    10
    Thanks
    43
    My Mood
    Amazed
    Quote Originally Posted by citydrifter View Post
    Sorry I used wrong syntax for AHK in my example.

    I must say this is not a very good way to go about "auto nexus."

    In English this would be like "Alexa If color is gray at hp bar at 30%, then press R."
    Alexa is being the executable in this case. Just joking.

    Here is what you really must do.

    Use the Function "PixelGetColor" to check color in the pixels, Both AutoIt and AHK use this.

    We use the "if (X,Y)" this is a logic flow construct. X is 696, Y is 311

    Color must use is in hex form: "0x545454"

    Here is the latest code - AHK
    Press T to Activate


    Code:
    T::
    A::ExitApp 
    
    MsgBox, Autonexus activated! Press "A" to terminate script.
    Loop
    {
    PixelGetColor, Red, 696, 309 ; pixels
    if Red = 0x545454
     {
    Send, R
    }
    }
    Thank you but, you script doesn't seem to work, either T or A closes the script, also it doesn't press R when the X and Y I assigned are turning grey.

    Thank you tho for the time you're spending for me and also sorry, I don't have the basic for AHK

Similar Threads

  1. [Help Request] AHK Auto Nexus script that lets you select a pixel search area..
    By furnaps in forum Realm of the Mad God Help & Requests
    Replies: 2
    Last Post: 12-29-2013, 05:34 PM
  2. small ahk auto nexus untill new client
    By dg123 in forum Realm of the Mad God Tutorials & Source Code
    Replies: 7
    Last Post: 06-18-2013, 09:02 PM
  3. Hacked Client 123.5.1 No Auto Nexus
    By theweedman in forum Realm of the Mad God Help & Requests
    Replies: 2
    Last Post: 09-07-2012, 12:12 AM
  4. 123.3.1 Auto-aim, Auto-nexus, No-clip (Toggled)
    By un0rth0d0x in forum Realm of the Mad God Hacks & Cheats
    Replies: 19
    Last Post: 07-03-2012, 03:05 AM
  5. [Release] Auto Nexus
    By sportukr23 in forum Realm of the Mad God Hacks & Cheats
    Replies: 10
    Last Post: 07-02-2012, 03:02 PM