Macro Scripts in Haxball

What is Moss ? Forums Macro Scripts in Haxball

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #405
    Jim
    Participant

    Hello sir, and thank you for this great program. I want to introduce the use of MOSS in a Haxball league and wanted to know whether it can detect some commonly used scripts. The use of these scripts is to perform a “double kick”, as we call it. A “double-kick”, however can be performed without the aid of a script, and that is where the problem lies. Until now, there hasn’t been a way for us to detect script usage, apart from studying replays of a match and monitoring the consistency of the key pressing the moment a “double-kick” is performed by the player we are suspicious of.

    Here’s an example of a “stealthy”, as they call it, script:

    Code:
    Z:: ; Leopard-B, ‘Tank-Mode’
    While GetKeyState(“Z”,”P”)
    {
    Send, {x down}
    sleep, 0.016667
    Send, {x up}
    sleep, 0.016667
    }

    C:: ; Leopard-B, ‘Lift/Rocket – Other Mode’
    while GetKeyState(“C”, “P”)
    {
    Send, {x down}
    sleep, 5
    Send, {x up}
    sleep, 5
    Send, {x down}
    sleep, 5
    }

    Lastly, does MOSS detect if Autohotkey or similar programs are active, and is there a way to detect programmable keyboards?

    P.S.: I have seen that there has been another topic in this forum regarding the aforementioned game, but it seems to be inconclusive, hence why I post this. If you need any more information on the issue, feel free to message me.

    #914
    ADM_nohope
    Keymaster

    Im’ not usre I understand your script , but I guess it’s intented to create some rapid keys sequencies triggered by a single key. could you clarify what is Send, {x down}, from ahk manual I cant understand it

    there is a lot of ways to create macros , ahk is one but at the end some ways dont even need a program , so trying to catch the source of macro is a war already lost.
    Yes I can list processes and injection , the problem here is haxball is not program so I dont know what I have to monitor?

    Moss macro system analyze the final flow to detect unhuman actions (too fast , too regular) , let me know which key combinations are a concern

    #915
    Jim
    Participant

    Basically, the Haxball kick action is performed by any of the following keys(X, RShift. LShift. Space, Num0 when NumLock is On). Once you press any of these keys while ingame, a kick is performed. In order to kick again you have to perform the same action again. When the kick key is held pressed it results in slower movement, thus holding it down is avoided. Because Haxball runs at 60 FPS, the fastest kick time(or time between kicks) it can detect is 0.016666667s( so people don’t have to use scripts faster than that). People who want to cheat use macro scripts for two of the following reasons. Firstly, because they want to win the kick key-spamming contests that may occur when two players are in possesion of the ball at the same time. That requires a script that can consistently fire at the maximum detectable speed, that of one pressing per frame. The second, and most commonly used is the “double kick” or “wall lift” script. This is used by players who want to perform trick shots that are moderately difficult even for an experienced player to perform consistently. In both cases, what they do is make scripts that replace the use of a key such as Z, for example, with two specifically timed pressings of a kick key, X for example. (These scripts of course can be switched on and off with the press of a button, so we can’t detect if they are using it when they are communicating via the chatbox Haxball provides.) I don’t know if MOSS can detect the pressing of Z and then the two X pressings, or if the pressing of Z cannot be detected in the first place. I also don’t know whether MOSS can be easily tricked in Haxball, due to the fact that players only use the macro in specific cases and not all the time. What I mean by that is, a player can perform kicks fast without the need of a script, and this may confuse the data that MOSS receives, since the pattern will not always be the same .
    Lastly, my idea of an anticheat method is, because slow scripts in Haxball don’t really affect performance, monitoring key pressing and trying to keep an account of how many times the same fast patterns happened at the same period of time. For example, when a quick double X pressing or a X and Space pressing is made, keep an account of the time between the two pressings and try to find if it happens again. In the end show how many times the same pattern was performed.

    P.S: If we can indeed find if, for example, Z was pressed before two X pressings, the above idea is irrelevant, since we can easily see the pattern of Z,X,X and other similar patterns, but I don’t think the pressing of a key that has been remapped can be detected.

    #5957
    Knight@mighty_RS
    Participant

    i want to x faster

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Play Cool , Play Hard but Play Fair