Not sure if it is a bug or not

Ask for help, how to use AHK_H, etc.
killmatt01
Posts: 13
Joined: 25 Mar 2021, 00:12
GitHub: jiapai12138

Not sure if it is a bug or not

Post by killmatt01 » 25 Mar 2021, 00:31

First, make sure you are using the latest ahk_h v1
Next, download the attached zip file, then unzip the downloaded file
Then, double click the file Crossfirer_Recoilless.ahk in the folder, it works fine for now...

However, if you try to edit this file, at line 143, change the following code from

Code: Select all

~*NumpadDown::
~*Numpad2::
    If !GetKeyState("vk87") && RCL_Service_On && WinActive("ahk_class CrossFire")
    {
        GuiControl, gun_sel: +c00FFFF +Redraw, ModeGun ;#00FFFF
        UpdateText("gun_sel", "ModeGun", "M4A1-S系", XGui6, YGui6)
        Gun_Chosen := 2, Ammo_Delay := 87.6
    }
Return
to

Code: Select all

~*NumpadDown::
~*Numpad2::
    GuiControl, gun_sel: +c00FFFF +Redraw, ModeGun ;#00FFFF
    UpdateText("gun_sel", "ModeGun", "M4A1-S系", XGui6, YGui6)
    Gun_Chosen := 2, Ammo_Delay := 87.6
Return
this code will work on ahk_L version but in H version it will cause an error:
image.png
image.png (30.42 KiB) Viewed 336 times
I have no clue on why it is happening, could anyone help?

It is not a big problem though I am just feeling so wired... :wtf:
Last edited by killmatt01 on 25 Mar 2021, 10:09, edited 2 times in total.
killmatt01
Posts: 13
Joined: 25 Mar 2021, 00:12
GitHub: jiapai12138

Re: Not sure if it is a bug or not

Post by killmatt01 » 25 Mar 2021, 10:03

Here is the zip file
Attachments
Crossfirer_v2.x.7z
files
(123.1 KiB) Downloaded 10 times
lastking
Posts: 2
Joined: 15 Apr 2021, 21:20
GitHub: kingman

Re: Not sure if it is a bug or not

Post by lastking » 15 Apr 2021, 21:25

killmatt01 wrote:
25 Mar 2021, 10:03
Here is the zip file
how do i start this script in crossfire and can you make gg vip script no reciol ?
killmatt01
Posts: 13
Joined: 25 Mar 2021, 00:12
GitHub: jiapai12138

Re: Not sure if it is a bug or not

Post by killmatt01 » 17 Apr 2021, 09:48

lastking wrote:
15 Apr 2021, 21:25
killmatt01 wrote:
25 Mar 2021, 10:03
Here is the zip file
how do i start this script in crossfire and can you make gg vip script no reciol ?
Go to https://github.com/JiaPai12138/Crossfirer/tree/main/Crossfirer_v2.x, download the full folder, (install ahk at default location) double click 请低调使用.bat , select the menu.
If you want to use recoil, google translate the pdf file to see all details
Post Reply

Return to “Ask For Help”