EdwardCYC / AHK-Scripts

Automate game tasks in Ragnarok Online. Contains non-RO scripts.
13 stars 5 forks source link

Teleport AHK #1

Open Ztikm opened 3 years ago

Ztikm commented 3 years ago

Hi bro,

When you use the AHK of teleport the color of the pixel put in the script is don't detect in my game, do you have a solution idea for this?

EdwardCYC commented 3 years ago

Sorry for the late response. I am guessing that you are referring to the Auto-Teleport.ahk script. My guildmate wrote this script and I believe that he used a custom GRF where the colour of the target cell has been changed to Blue (Hex: 0000FF) in order to use this script.

You will need a GRF editing software like GRF Editor to change the target cell colour to Blue (or any other colour) in order for this script to work. If you want to use a different colour, you will also need to edit the ColorID value in the PixelSearch command (in this case it is 0x0000FF):

PixelSearch, PixX, PixY, 0, 0, 1600, 900, 0x0000FF, 5, Fast, rgb

For more information on PixelSearch please refer to AHK's documentation below: https://www.autohotkey.com/docs/commands/PixelSearch.htm