Jump to content
ApexGeeks.com
Sign in to follow this  
ApexGeeks

Peacekeeper glitch - How to

Recommended Posts

Here you guys go

Credits: csgamer91 for the base AHK setup

Download is attached.


Visit the new www.apexgeeks.com for new exploits, datamining,lore talk and more!

Contacts:
Twitter.com/apexvidscom
Reddit.com/u/Apexvids
Discord: ApexVids#6907
youtube.com/apexvids
Discord Server: http://discord.apexgeeks.com // https://discord.gg/VYSnmvG (Brand New)

Directions:

Step 1: Go to your C:\Program Files (x86)\Origin Games\Apex\cfg and edit the autoexec.cfg file 
Step 2: add the line (bind "f2" "Sur_SwapPrimaryPositions") without the ()'s
Step 3: Run Apexgeeks.ahk or Apexgeeks.exe (.Ahk you'll need autohotkey installed)
(Optional) Step 4 Run Ahkhider.ahk
Step 5: Ingame press "page up" button to activate and deactivate.

This is a proof of concept, Im not responsible for what you fools do with this or if you get banned. 
Byeeeee

#SingleInstance force
SetWorkingDir %A_ScriptDir%
#MaxThreadsBuffer On
SetTitleMatchMode, 2
;#IfWinActive r5apex.exe
#MaxHotkeysPerInterval 99000000
#HotkeyInterval 99000000
#KeyHistory 0
ListLines Off
DetectHiddenWindows, On
SetDefaultMouseSpeed, 0
SetKeyDelay, -1, -1
SetMouseDelay, -1
SetBatchLines -1
SetWinDelay, -1
 
 
;---------------------------------------
; Ensure Administrator
;---------------------------------------
 
full_command_line := DllCall("GetCommandLine", "str")
 
if not (A_IsAdmin or RegExMatch(full_command_line, " /restart(?!\S)"))
{
    try
    {
        if A_IsCompiled
            Run *RunAs "%A_ScriptFullPath%" /restart
        else
            Run *RunAs "%A_AhkPath%" /restart "%A_ScriptFullPath%"
    }
    ExitApp
}
 
 
;---------------------------------------
; Variables
;---------------------------------------
 
V_PeaceKeeper := "0" ; Value for Peacekeeper being on and off
SAPI:=ComObjCreate("SAPI.SpVoice")
SAPI.rate:=5
SAPI.volume:=90
 
 
;---------------------------------------
; Speak Toggle State
;---------------------------------------
 
Say(text)
{
    global SAPI
    SAPI.Speak(text, 1)
    Sleep, 150
    return
}
 
 
;---------------------------------------
; Suspend if Mouse is Visible
;---------------------------------------
 
IsMouseShown()
{
    StructSize := A_PtrSize + 16
    VarSetCapacity(InfoStruct, StructSize)
    NumPut(StructSize, InfoStruct)
    DllCall("GetCursorInfo", UInt, &InfoStruct)
    Result := NumGet(InfoStruct, 8)
 
	if (Result > 1) {
		Return 1
	} else {
		Return 0
	}
}
Loop
{
    if isMouseShown() == 1
        Suspend On
    else
        Suspend Off
    Sleep, 1
}
 
 
;---------------------------------------
; Run Sleep at Random Intervals
;---------------------------------------
 
RandomSleep(min,max)
{
    Random, random, %min%, %max%
    Sleep, %random%
}
 
 
;---------------------------------------
; Toggle Peacekeeper Glitch
;---------------------------------------
 
~$PGUP::
    if (V_PeaceKeeper = 0){
        V_PeaceKeeper := "1"
        Say("PeaceKeeper Glitch Enabled")
    }else  {
        V_PeaceKeeper := "0"
        Say("Peacekeeper Glitch Disabled")
    }
return
 
 
 
;---------------------------------------
; Auto Fire
; PeaceKeeper must be in 2nd slot
;---------------------------------------
 
~$*LBUTTON::
    while (getKeyState("LButton", "P"))
    {
	if (V_PeaceKeeper = 1) {
		Sleep, 100
		Send, {f2 Down}
		Sleep, 60
		Send, {f2 up}
		return
	} else {
		Send {LButton}
        	RandomSleep(10,36)
	}
 
    }
return
 
;---------------------------------------
; Script Close
;---------------------------------------
 
~$f12::ExitApp
return
 
Run, ahkhider.ahk

 

peacekeeper glitch.rar

Share this post


Link to post
Share on other sites
20 minutes ago, salih said:

place to write

 

the autoexec .. I explain this in the main post. People wouldnt be confused if they just read the main damn post lol

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...