Hallo zusammen,
ich spiele auf PS4 und benutze derzeit das Xim Apex in Verbindung mit Xim Link.
Damit lässt sich auch Autohotkey benutzen, wodurch ich mal angefangen habe einen Script zu erstellen, welchen ich nachfolgend posten werde.
Vielleicht hat ja jemand Lust mal einen Blick drauf zu werfen, um eventuelle Fehler die mir gar nicht auffallen zu entdecken.
Viel Spaß beim drüber schauen.
gg
Autohotkey in Verbindung mit Xim Apex - Xim Link
Moderator: jNizM
-
- Posts: 4
- Joined: 04 Jul 2018, 19:21
-
- Posts: 4
- Joined: 04 Jul 2018, 19:21
Re: Autohotkey in Verbindung mit Xim Apex - Xim Link
Code: Select all
; xxx REMAP KEYS
; xxx REMAP KEYS
~6::
Flagaim:=8
sleep, 7500
Flagaim:=16
return
f5::return
f6::return
f7::return
f8::return
~z::k
~w::u
i::
Flagaim:=16
Flagbuild:=0
Flaginventar:=0
Flagtime:=5
Send {f10 Down}
sleep, 5
Send {f10 Up}
sleep, 5
Send {f9 Down}
sleep, 5
Send {f9 Up}
sleep, 5
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {7 Down}
sleep, 5
Send {7 Up}
sleep, 5
Send {0 Down}
sleep, 5
Send {0 Up}
sleep, 5
Send {7 Down}
sleep, 5
Send {7 Up}
Flagaim:=16
Flagbuild:=0
Flaginventar:=0
Flagtime:=5
return
; xxx INVENTAR TOGGLE
; xxx INVENTAR TOGGLE
#SingleInstance Force
Flaginventar:=0
return
$x::
Flaginventar:=1
Flagbuild:=0
Send {0 Down}
sleep, 5
Send {0 Up}
sleep, 5
Send {3 Down}
sleep, 5
Send {3 Up}
sleep, 5
Send {x Down}
sleep, 5
Send {x Up}
sleep, 5
Send {numpad5 Down}
sleep, 5
Send {numpad5 Up}
sleep, 75
return
#IF (Flaginventar=1)
lbutton::j
wheelup::
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {3 Down}
sleep, 5
Send {3 Up}
Flaginventar:=0
Flagbuild:=0
return
wheeldown::
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {3 Down}
sleep, 5
Send {3 Up}
Flaginventar:=0
Flagbuild:=0
return
space::
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {3 Down}
sleep, 5
Send {3 Up}
Flaginventar:=0
Flagbuild:=0
return
8::
Send {m Down}
sleep, 5
Send {m Up}
sleep, 5
Send {v Down}
sleep, 5
Send {v Up}
sleep, 5
Send {j Down}
sleep, 5
Send {j Up}
return
tab::return
7::return
e::return
r::return
f::return
q::return
x::return
c::return
v::return
1::return
4::return
n::return
b::return
6::return
z::return
y::return
lshift::return
lcontrol::return
sc056::return
lalt::return
numpad0::return
numpad1::return
numpad2::return
numpad3::return
numpad4::return
numpad5::return
numpad6::return
numpad7::return
numpad8::return
numpad9::return
numpadadd::return
numpadsub::return
numpaddot::return
numpadenter::return
#IF
; xxx BUILD MODE TOGGLE
; xxx BUILD MODE TOGGLE
#SingleInstance Force
Flagbuild:=0
return
e::
Flagbuild:=1
Flaginventar:=0
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {k Down}
sleep, 5
Send {k Up}
sleep, 5
Send {2 Down}
sleep, 5
Send {2 up}
return
8::
Flagbuild:=1
Flaginventar:=0
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {k Down}
sleep, 5
Send {k Up}
sleep, 5
Send {2 Down}
sleep, 5
Send {2 up}
return
f::
Flagbuild:=2
Flaginventar:=0
Send {2 Down}
sleep, 10
Send {2 up}
sleep, 5
Send {g Down}
sleep, 375
Send {g Up}
return
#IF (Flagbuild=1)
7::
Flagbuild:=0
Flaginventar:=0
send {e down}
sleep, 5
send {e up}
return
r::
Flagbuild:=0
Flaginventar:=0
send {7 down}
sleep, 5
send {7 up}
sleep, 5
send {r down}
sleep, 5
send {r up}
return
tab::
Flagbuild:=0
Flaginventar:=0
send {7 down}
sleep, 5
send {7 up}
sleep, 5
send {r down}
sleep, 5
send {r up}
return
$e::
Flagbuild:=0
Flaginventar:=0
send {e down}
sleep, 5
send {e up}
return
f::
Flagbuild:=2
Flaginventar:=0
Send {g Down}
sleep, 375
Send {g Up}
return
f1::
send {g down}
sleep, 5
send {g up}
sleep, 5
send {i down}
sleep, 5
send {i up}
sleep, 5
send {g down}
sleep, 5
send {g up}
return
wheelup::
send {i down}
sleep, 5
send {i up}
return
wheeldown::
send {i down}
sleep, 5
send {i up}
sleep, 5
send {i down}
sleep, 5
send {i up}
return
z::
Send {o Down}
sleep, 5
Send {o Up}
sleep, 5
Send {o Down}
sleep, 5
Send {o Up}
sleep, 5
Send {o Down}
sleep, 5
Send {o Up}
sleep, 5
Send {k Down}
sleep, 5
Send {k Up}
sleep, 5
Send {k Down}
sleep, 5
Send {k Up}
sleep, 5
Send {k Down}
sleep, 5
Send {k Up}
sleep, 5
Send {h Down}
sleep, 5
Send {h Up}
sleep, 5
Send {h Down}
sleep, 5
Send {h Up}
sleep, 5
Send {h Down}
sleep, 5
Send {h Up}
return
lbutton::
While GetKeyState("lbutton", "P")
{
Send {h Down}
sleep, 5
Send {h Up}
sleep, 5
Send {h Down}
sleep, 5
Send {h Up}
sleep, 5
Send {h Down}
sleep, 5
Send {h Up}
sleep, 5
}
return
rbutton::
While GetKeyState("rbutton", "P")
{
Send {k Down}
sleep, 5
Send {k Up}
sleep, 5
Send {k Down}
sleep, 5
Send {k Up}
sleep, 5
Send {k Down}
sleep, 5
Send {k Up}
sleep, 5
}
return
8::
While GetKeyState("8", "P")
{
Send {o Down}
sleep, 5
Send {o Up}
sleep, 5
Send {o Down}
sleep, 5
Send {o Up}
sleep, 5
Send {o Down}
sleep, 5
Send {o Up}
sleep, 5
}
return
6::
While GetKeyState("6", "P")
{
Send {p Down}
sleep, 5
Send {p Up}
sleep, 5
Send {p Down}
sleep, 5
Send {p Up}
sleep, 5
Send {p Down}
sleep, 5
Send {p Up}
sleep, 5
}
return
x::
Flagbuild:=3
Flaginventar:=0
Send {r Down}
sleep, 5
Send {r Up}
return
1::return
4::return
q::return
c::return
v::return
numpad0::return
numpad1::return
numpad2::return
numpad3::return
numpad4::return
numpad5::return
numpad6::return
numpad7::return
numpad8::return
numpad9::return
numpadadd::return
numpadsub::return
numpaddot::return
numpadenter::return
#IF
#IF (Flagbuild=2)
lbutton::h
rbutton::
Send {i Down}
sleep, 5
Send {i Up}
return
7::
Flagbuild:=0
Flaginventar:=0
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {7 Down}
sleep, 5
Send {7 Up}
sleep, 5
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {2 Down}
sleep, 5
Send {2 Up}
return
$r::
Flagbuild:=0
Flaginventar:=0
Send {7 Down}
sleep, 5
Send {7 Up}
sleep, 5
Send {r Down}
sleep, 5
Send {r Up}
return
tab::
Flagbuild:=0
Flaginventar:=0
send {7 down}
sleep, 5
send {7 up}
sleep, 5
send {r down}
sleep, 5
send {r up}
return
e::
Flagbuild:=1
Flaginventar:=0
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {7 Down}
sleep, 5
Send {7 Up}
sleep, 5
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {2 Down}
sleep, 5
Send {2 Up}
return
return
f::
Flagbuild:=1
Flaginventar:=0
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {7 Down}
sleep, 5
Send {7 Up}
sleep, 5
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {2 Down}
sleep, 5
Send {2 Up}
return
wheelup::
Flagbuild:=1
Flaginventar:=0
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {7 Down}
sleep, 5
Send {7 Up}
sleep, 5
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {2 Down}
sleep, 5
Send {2 Up}
return
wheeldown::
Flagbuild:=1
Flaginventar:=0
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {7 Down}
sleep, 5
Send {7 Up}
sleep, 5
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {2 Down}
sleep, 5
Send {2 Up}
sleep, 5
return
8::
Flagbuild:=1
Flaginventar:=0
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {7 Down}
sleep, 5
Send {7 Up}
sleep, 5
Send {g Down}
sleep, 5
Send {g Up}
sleep, 5
Send {2 Down}
sleep, 5
Send {2 Up}
sleep, 5
return
x::return
c::return
v::return
1::return
4::return
6::return
z::return
q::return
f1::return
f2::return
numpad0::return
numpad1::return
numpad2::return
numpad3::return
numpad4::return
numpad5::return
numpad6::return
numpad7::return
numpad8::return
numpad9::return
numpadadd::return
numpadsub::return
numpaddot::return
numpadenter::return
#IF
#IF (Flagbuild=3)
lbutton::r
rbutton::lshift
lshift::lshift
7::
Flagbuild:=0
Flaginventar:=0
send {e down}
sleep, 5
send {e up}
return
$e::
Flagbuild:=0
Flaginventar:=0
send {e down}
sleep, 5
send {e up}
return
f::
Flagbuild:=0
Flaginventar:=0
send {e down}
sleep, 5
send {e up}
return
r::
Flagbuild:=0
Flaginventar:=0
send {7 down}
sleep, 5
send {7 up}
sleep, 5
Send {r Down}
sleep, 5
Send {r Up}
return
tab::
Flagbuild:=0
Flaginventar:=0
send {7 down}
sleep, 5
send {7 up}
sleep, 5
send {r down}
sleep, 5
send {r up}
return
8::
Flagbuild:=1
Send {k Down}
sleep, 5
Send {k Up}
return
6::
Flagbuild:=1
Send {k Down}
sleep, 5
Send {k Up}
return
wheelup::
Send {7 Down}
sleep, 5
Send {7 Up}
Flagbuild:=0
return
wheeldown::
Send {7 Down}
sleep, 5
Send {7 Up}
Flagbuild:=0
return
z::return
1::return
4::return
q::return
x::return
c::return
v::return
numpad0::return
numpad1::return
numpad2::return
numpad3::return
numpad4::return
numpad5::return
numpad6::return
numpad7::return
numpad8::return
numpad9::return
numpadadd::return
numpadsub::return
numpaddot::return
numpadenter::return
#IF
; xxx SHOT MODE TOGGLE
; xxx SHOT MODE TOGGLE
#SingleInstance Force
Flagaim:=0
return
~numpadsub::
Flagaim:=16
Flagbuild:=0
Flaginventar:=0
Flagtime:=5
Send {e Down}
sleep, 5
Send {e Up}
sleep, 5
Send {7 Down}
sleep, 5
Send {7 Up}
sleep, 5
Send {0 Down}
sleep, 5
Send {0 Up}
sleep, 5
Send {3 Down}
sleep, 5
Send {3 Up}
return
~numpadadd::
Flagaim:=0
Flagbuild:=0
Flaginventar:=0
Send {e Down}
sleep, 5
Send {e Up}
sleep, 5
Send {7 Down}
sleep, 5
Send {7 Up}
sleep, 5
Send {0 Down}
sleep, 5
Send {0 Up}
sleep, 5
Send {3 Down}
sleep, 5
Send {3 Up}
return
~numpad0::
Flagbuild:=0
Flaginventar:=0
Flagtime:=5
Send {e Down}
sleep, 5
Send {e Up}
sleep, 5
Send {7 Down}
sleep, 5
Send {7 Up}
sleep, 5
Send {0 Down}
sleep, 5
Send {0 Up}
sleep, 5
Send {3 Down}
sleep, 5
Send {3 Up}
return
~numpaddot::
Flagbuild:=0
Flaginventar:=0
Flagtime:=10
Send {e Down}
sleep, 5
Send {e Up}
sleep, 5
Send {7 Down}
sleep, 5
Send {7 Up}
sleep, 5
Send {0 Down}
sleep, 5
Send {0 Up}
sleep, 5
Send {3 Down}
sleep, 5
Send {3 Up}
return
~numpadenter::
Flagbuild:=0
Flaginventar:=0
Flagtime:=25
Send {e Down}
sleep, 5
Send {e Up}
sleep, 5
Send {7 Down}
sleep, 5
Send {7 Up}
sleep, 5
Send {0 Down}
sleep, 5
Send {0 Up}
sleep, 5
Send {3 Down}
sleep, 5
Send {3 Up}
return
numpad1::
Flagaim:=11
Flagbuild:=0
Flaginventar:=0
return
numpad2::
Flagaim:=12
Flagbuild:=0
Flaginventar:=0
return
numpad3::
Flagaim:=13
Flagbuild:=0
Flaginventar:=0
return
numpad4::
Flagaim:=14
Flagbuild:=0
Flaginventar:=0
return
numpad5::
Flagaim:=15
Flagbuild:=0
Flaginventar:=0
return
numpad6::
Flagaim:=16
Flagbuild:=0
Flaginventar:=0
return
numpad7::
Flagaim:=17
Flagbuild:=0
Flaginventar:=0
return
numpad8::
Flagaim:=18
Flagbuild:=0
Flaginventar:=0
return
numpad9::
Flagaim:=19
Flagbuild:=0
Flaginventar:=0
return
#IF (Flagaim=8)
rbutton::
While GetKeyState("rbutton", "P")
{
Send {rbutton Down}
sleep, 175
Send {rbutton Up}
sleep, 5
}
return
lbutton::
While GetKeyState("lbutton", "P")
{
Send {lbutton Down}
sleep, 5
Send {lbutton up}
sleep, 225
}
return
#IF
#IF (Flagaim=10)
rbutton::
While GetKeyState("rbutton", "P")
{
Send {rbutton Down}
sleep, 25
Send {rbutton Up}
sleep, %Flagtime%
}
return
#IF
#IF (Flagaim=11)
rbutton::
While GetKeyState("rbutton", "P")
{
Send {rbutton Down}
sleep, 50
Send {rbutton Up}
sleep, %Flagtime%
}
return
#IF
#IF (Flagaim=12)
rbutton::
While GetKeyState("rbutton", "P")
{
Send {rbutton Down}
sleep, 75
Send {rbutton Up}
sleep, %Flagtime%
}
return
#IF
#IF (Flagaim=13)
rbutton::
While GetKeyState("rbutton", "P")
{
Send {rbutton Down}
sleep, 100
Send {rbutton Up}
sleep, %Flagtime%
}
return
#IF
#IF (Flagaim=14)
rbutton::
While GetKeyState("rbutton", "P")
{
Send {rbutton Down}
sleep, 125
Send {rbutton Up}
sleep, %Flagtime%
}
return
#IF
#IF (Flagaim=15)
rbutton::
While GetKeyState("rbutton", "P")
{
Send {rbutton Down}
sleep, 150
Send {rbutton Up}
sleep, %Flagtime%
}
return
#IF
#IF (Flagaim=16)
rbutton::
While GetKeyState("rbutton", "P")
{
Send {rbutton Down}
sleep, 175
Send {rbutton Up}
sleep, %Flagtime%
}
return
#IF
#IF (Flagaim=17)
rbutton::
While GetKeyState("rbutton", "P")
{
Send {rbutton Down}
sleep, 200
Send {rbutton Up}
sleep, %Flagtime%
}
return
#IF
#IF (Flagaim=18)
rbutton::
While GetKeyState("rbutton", "P")
{
Send {rbutton Down}
sleep, 225
Send {rbutton Up}
sleep, %Flagtime%
}
return
#IF
#IF (Flagaim=19)
rbutton::
While GetKeyState("rbutton", "P")
{
Send {rbutton Down}
sleep, 250
Send {rbutton Up}
sleep, %Flagtime%
}
return
#IF
; xxx WEAPON FAST SWITCH
; xxx WEAPON FAST SWITCH
~n::
Flagbuild:=0
Flaginventar:=0
send {7 down}
sleep, 5
send {7 up}
sleep, 5
send {e down}
sleep, 5
send {e up}
sleep, 5
send {e down}
sleep, 5
send {e up}
sleep, 5
send {o down}
sleep, 50
send {o up}
sleep, 50
return
~b::
Flagbuild:=0
Flaginventar:=0
send {7 down}
sleep, 5
send {7 up}
sleep, 5
send {e down}
sleep, 5
send {e up}
sleep, 5
send {e down}
sleep, 5
send {e up}
sleep, 5
send {o down}
sleep, 50
send {o up}
sleep, 50
send {o down}
sleep, 50
send {o up}
sleep, 50
return
~lcontrol::
Flagbuild:=0
Flaginventar:=0
send {7 down}
sleep, 5
send {7 up}
sleep, 5
send {e down}
sleep, 5
send {e up}
sleep, 5
send {e down}
sleep, 5
send {e up}
sleep, 5
send {o down}
sleep, 50
send {o up}
sleep, 50
send {o down}
sleep, 50
send {o up}
sleep, 50
send {o down}
sleep, 50
send {o up}
sleep, 50
return
~sc056::
Flagbuild:=0
Flaginventar:=0
send {7 down}
sleep, 5
send {7 up}
sleep, 5
send {e down}
sleep, 5
send {e up}
sleep, 5
send {e down}
sleep, 5
send {e up}
sleep, 5
send {p down}
sleep, 50
send {p up}
sleep, 50
send {p down}
sleep, 50
send {p up}
sleep, 50
return
~c::
Flagbuild:=0
Flaginventar:=0
send {7 down}
sleep, 5
send {7 up}
sleep, 5
send {e down}
sleep, 5
send {e up}
sleep, 5
send {e down}
sleep, 5
send {e up}
sleep, 5
send {p down}
sleep, 50
send {p up}
sleep, 50
send {p down}
sleep, 50
send {p up}
sleep, 50
return
~lalt::
Flagbuild:=0
Flaginventar:=0
send {7 down}
sleep, 5
send {7 up}
sleep, 5
send {e down}
sleep, 5
send {e up}
sleep, 5
send {e down}
sleep, 5
send {e up}
sleep, 5
send {p down}
sleep, 50
send {p up}
return
; xxx %Flagtime%
; xxx %Flagtime%
#SingleInstance Force
Flagtime:=5
return
#IF (Flagtime=1)
numpaddiv::
Flagtime:=1
return
numpadmult::
Flagtime:=2
return
#IF
#IF (Flagtime=2)
numpaddiv::
Flagtime:=1
return
numpadmult::
Flagtime:=3
return
#IF
#IF (Flagtime=3)
numpaddiv::
Flagtime:=2
return
numpadmult::
Flagtime:=4
return
#IF
#IF (Flagtime=4)
numpaddiv::
Flagtime:=3
return
numpadmult::
Flagtime:=5
return
#IF
#IF (Flagtime=5)
numpaddiv::
Flagtime:=4
return
numpadmult::
Flagtime:=6
return
#IF
#IF (Flagtime=6)
numpaddiv::
Flagtime:=5
return
numpadmult::
Flagtime:=7
return
#IF
#IF (Flagtime=7)
numpaddiv::
Flagtime:=6
return
numpadmult::
Flagtime:=8
return
#IF
#IF (Flagtime=8)
numpaddiv::
Flagtime:=7
return
numpadmult::
Flagtime:=9
return
#IF
#IF (Flagtime=9)
numpaddiv::
Flagtime:=8
return
numpadmult::
Flagtime:=10
return
#IF
#IF (Flagtime=10)
numpaddiv::
Flagtime:=9
return
numpadmult::
Flagtime:=15
return
#IF
#IF (Flagtime=15)
numpaddiv::
Flagtime:=10
return
numpadmult::
Flagtime:=20
return
#IF
#IF (Flagtime=20)
numpaddiv::
Flagtime:=15
return
numpadmult::
Flagtime:=25
return
#IF
#IF (Flagtime=25)
numpaddiv::
Flagtime:=20
return
numpadmult::
Flagtime:=50
return
#IF
#IF (Flagtime=50)
numpaddiv::
Flagtime:=25
return
numpadmult::
Flagtime:=100
return
#IF
#IF (Flagtime=100)
numpaddiv::
Flagtime:=50
return
numpadmult::
Flagtime:=100
return
#IF
; xxx CROUCH PEEK
; xxx CROUCH PEEK
~f1::
Send {space Down}
sleep, 25
Send {space Up}
sleep, 25
Send {k Down}
sleep, 50
Send {lbutton Down}
sleep, 5
Send {lbutton Up}
sleep, 5
Send {k Up}
sleep, 5
Send {lshift Down}
sleep, 25
Send {lshift up}
sleep, 25
return
; xxx BACK EDIT
; xxx BACK EDIT
~f2::
Flagbuild:=0
Flaginventar:=0
Send {e Down}
sleep, 350
Send {e Up}
sleep, 10
Send {lshift Down}
sleep, 10
Send {lshift Up}
sleep, 10
Send {e Down}
sleep, 10
Send {e Up}
Flagbuild:=0
Flaginventar:=0
return
; xxx RANDOM SLEEP TIME FUNCTION
; xxx (-bisher keine Verwendung)
RandomSleep(min,max)
{
Random, random, %min%, %max%
sleep %random%
}
t::
While GetKeyState("t", "P")
{
Send {t Down}
sleep, 5
Send {t Up}
Randomsleep(5,250)
}
return
- divanebaba
- Posts: 805
- Joined: 20 Dec 2016, 03:53
- Location: Diaspora
Re: Autohotkey in Verbindung mit Xim Apex - Xim Link
Hi.
Du bist leider im falschen Forum. Es gibt für Spiele ein Unterforum.
Bitte nutze das nächste Mal die Code-Tags, um ein schonenderes Lesen zu ermöglichen.
Schöne Grüße
divaneblabla
Du bist leider im falschen Forum. Es gibt für Spiele ein Unterforum.
Bitte nutze das nächste Mal die Code-Tags, um ein schonenderes Lesen zu ermöglichen.
Schöne Grüße
divaneblabla
Einfach nur ein toller Typ.
Who is online
Users browsing this forum: gero and 47 guests