Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > RF Online
You last visited: Today at 10:20

  • Please register to post and access all features, it's quick, easy and FREE!

 

Autohotkey dual client autoloot

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2009
Posts: 20
Received Thanks: 2
*help* Autohotkey loot script multibox

Hello! Anyway I got interested with making a script to this game im playing RF online. I need help! because when I use this script on 2 notepads it is working but when I try it on RF clients it seem not to work properly, it keys 1 with the client im on 1 but not with the other or even if it's minimized.

What i want to happen is for when I press [ to press 1 on the both client! Please help

Quote:
#NoEnv
#singleInstance, Force
#MaxThreadsPerHotkey, 2
SetBatchLines, -1
DetectHiddenWindows, On
CoordMode, Mouse, Screen
CoordMode, Pixel, Screen
CoordMode, Tooltip, Screen
SetTitleMatchMode, 2
SetKeyDelay, 30,50
SetMouseDelay 10
SendMode Event

key2send = x ;<-- change this key to the key you want to actually send
timerval = -1000 ;<-- change this to the the timer interval you want
; make sure it is a negative number!

Gosub WinSetupStuff
Gosub Timer5s
Return

;=================================================
;get the game window unique instance id
;-------------------------------------------------
q:: ;<-- Setup window id
WinSetupStuff:
Suspend On
While (!GetKeyState("MButton","P"))
{ ToolTip, Left Click on your game window and press MButton to grab the window id
}
KeyWait, MButton
WinGet, vWinID,ID,A
Suspend, Off
ToolTip
vWinID = ahk_id %vWinID%
WinGetTitle, vWinName, %vWinID%
Return

;=================================================
; this is the timer that sends to the game window
;-------------------------------------------------------------------------
Timer5s:
IfWinExist, %vWinID%
{
ControlSend,,%key2send%, %vWiniD%
Sleep 100
}
SetTimer, Timer5s, %timerval%
Return

esc:: ExitApp
I've tried this one too. Both have the same outcome. Im pulling my hair with this one

Quote:
#Persistent
#SingleInstance, Force
[::
WinGet, RF_Online, List, ahk_class

{
ControlSend, , 1, "ahk_id " .
sleep 1000
ControlSend, , 1, "ahk_id " .
}



aesop1 is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
autoloot ?
hi is there a working auto loot type program or macro that current working ? thank you
0 Replies - Ragnarok Online
autoloot?
Hi, i was wondering if someone try to make a code to look for a treasure chest or a pointer (look for a hand not for a sword). lol, i have a hard...
8 Replies - Battle of the Immortals
Umm.. is there an autoloot bot?
Kinda new to this forum thing. Tell me what I'm doing wrong xD. And I'm trying to request an autolooterr..
5 Replies - Mabinogi
[AutoHotKey] AutoLoot
Darkfall AutoLoot for AutoHotKey ;AutoHotKey script to auto loot at mouse cursor. By Keraam from PhantomRogue's AutoLoot Script ;Press ` to set...
0 Replies - General Gaming Discussion
#autoloot
i find out about something nice but i need answor on 1 question will autoloot will work if i just sit around spwan will it look if an rare item...
4 Replies - CO2 Main - Discussions / Questions



All times are GMT +1. The time now is 10:20.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.