Back To Top
  • Hey Guest,
    If you are interested in ghosting, the Ghosting Awards from February 2025 all the way up to June 2025 have just been announced:

    Statement regarding the delays

    Ghosting Awards for February 2025

    Ghosting Awards for March 2025

    Ghosting Awards for April 2025

    Ghosting Awards for May 2025

    Ghosting Awards for June 2025
    Dismiss Notice
  • "Ghost Hax" Mod

    Discussion in 'Third Party Scripting & Development' started by isekeb, Jul 12, 2020.

    Tags:
    1. isekeb

      isekeb Well-Known Member Team Blob Official Author

      This simple mod makes catching cheaters easier by displaying ghost data in a nice way.
      It still requires you to have experience to be able to tell if a ghost was cheated or not, but it helps a lot.

      I don't feel like this was tested enough.
      Please report any bugs in comments, and feel free to make suggestions.

      • Install the Tampermonkey Chrome extension here.
      • Create a new userscript (click the tampermonkey icon next to the searchbar)
      • Paste the code at this link: https://pastebin.com/raw/ue4Vmvg1
      • Save the script
      • Reload all FRHD tabs you have open for the mod to work there
      • You should now have the mod :)

      When you view a track, each player on any leaderboard will have a </> symbol next to their username:
      [​IMG]
      When you click on one, it will redirect you to a hastebin page, which conveniently displays ghost data with syntax highlighting and dark mode:
      [​IMG]

      Initial release: https://pastebin.com/raw/Zn2tAAfg

      0.2:
      https://pastebin.com/raw/N5YyGzJY
      • Fixed </> not showing for long names
      • The mod now only makes hastebins if the button was clicked. This prevents ratelimits and makes the game slightly faster.
      0.3:
      https://pastebin.com/raw/FqMeQSzj
      • Fixed "Average ticks between inputs" displaying NaN for TAS ghosts
      0.4:
      https://pastebin.com/raw/ue4Vmvg1
      • Fixed issue with hastebin links
      • Switched main paste server to hasteb.in
      • Fixed navigation issue
       
      Last edited: Aug 19, 2020
      Blank_Guy, Uniior, RadiumRC and 15 others like this.
    2. pssst

      pssst Forum Legend Elite Author Team Blob Official Author

      Awarded Medals
      This should be implemented to automatically filter and delete ghosts
       
      RadiumRC, josephhd, a_drain and 6 others like this.
    3. RidingForever

      RidingForever Well-Known Member Official Author

      I had suggestions on another thread. Lemme just find'em
       
      isekeb likes this.
    4. xdeadgrim

      xdeadgrim Member Official Author

      isekeb likes this.
    5. xdeadgrim

      xdeadgrim Member Official Author

      isekeb a bug i found: long names do not have the ' </> ' as it is offscreen after the ' ... ' thus making it impossible to view ghost info.
       
      josephhd, isekeb and Klepton17 like this.
    6. isekeb

      isekeb Well-Known Member Team Blob Official Author

      there isn't a reliable way to check if a ghost is legit, because the average of both duplicate inputs and average inputs per ticks vary at each track, which can't be detected. generally above 30 of the former and below 0.9 of the latter is sus, but there are tracks in which it's the average.
       
      Azgr00 and josephhd like this.
    7. isekeb

      isekeb Well-Known Member Team Blob Official Author

      thanks!
      good catch, I'll fix it :thumbsup:
       
      josephhd likes this.
    8. isekeb

      isekeb Well-Known Member Team Blob Official Author

      Version 0.2 has been released
      https://pastebin.com/raw/N5YyGzJY
      • Fixed </> not showing for long names
      • The mod now only makes hastebins if the button was clicked. This prevents ratelimits and makes the game slightly faster.
       
      RidingForever and RedOrBlue like this.
    9. xdeadgrim

      xdeadgrim Member Official Author

      Found another bug, long names that don't exceed the display limit in the leaderbord make the ' </> ' go under the time, being both clickable means they both register meaning that it opens ghost info and creates a race at the same time. Not a big deal just letting you know.
       
    10. xdeadgrim

      xdeadgrim Member Official Author

    11. isekeb

      isekeb Well-Known Member Team Blob Official Author

      I don't see what you mean, can you show an example track?
       
    12. xdeadgrim

      xdeadgrim Member Official Author

      isekeb It means that the '</>' goes under the time thing on the leaderboard meaning that if you click the ghost hax mod button - '</>' it creates a race and opens the ghost info
       
    13. isekeb

      isekeb Well-Known Member Team Blob Official Author

      hmm, I can't find a ghost like that anywhere, but clicking on time shouldn't create a race anyway. if you could send a track which has that I'd appreciate it.
       
    14. xdeadgrim

      xdeadgrim Member Official Author

      ok
       
      isekeb likes this.
    15. isekeb

      isekeb Well-Known Member Team Blob Official Author

      Version 0.3 has been released!
      https://pastebin.com/raw/FqMeQSzj
      this release only fixes a small bug, where "Average ticks between inputs" would display NaN for TAS ghosts which include the "tas" property in ghost data.
       
      Slayed likes this.
    16. xdeadgrim

      xdeadgrim Member Official Author

    17. isekeb

      isekeb Well-Known Member Team Blob Official Author

      oh, I see. that's odd, I'll find a way to fix it sometime soon. thanks :thumbsup:
       
    18. isekeb

      isekeb Well-Known Member Team Blob Official Author

      Version 0.4
      more fixes coming soon, I'm busy
      https://pastebin.com/raw/ue4Vmvg1
      • Fixed issue with hastebin links
      • Switched main paste server to hasteb.in
      • Fixed navigation issue
       
      Last edited: Aug 19, 2020
    19. a_drain

      a_drain Well-Known Member Official Author

    20. isekeb

      isekeb Well-Known Member Team Blob Official Author

      Azgr00, pawflix, Kazman and 1 other person like this.

    Share This Page