1. Hey Guest, the 11th edition of the Free Rider HD Awards were just announced!

    Click here to check out the categories and how you can vote. Voting will be closing on December 30, 2024 12:00am UTC
    Dismiss Notice

isekeb's Mod

Discussion in 'Third Party Scripting & Development' started by isekeb, Jun 20, 2020.

  1. isekeb

    isekeb Well-Known Member Team Blob Official Author

    For a while, I have been working on my own mod, and it is now finally ready to be used, but it still has a lot of things to be added and definitely some bugs to be fixed.
    Whenever a new update is out, I will post a message and edit the Releases spoiler with the changes and code.
    Please report any bugs here or in DMs, and feel free to suggest any features.
    Installation (open)

    I will make an extension soon, for now it is available via any extension that allows script injection, I recommend Tampermonkey.
    • 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/zYyPKtVC
    • Save the script
    • Reload all FRHD tabs you have open for the mod to work there
    • You should now have the mod :)


    Features (open)

    You can toggle features with the 6 key.
    You might need to reload if some features don't appear.
    Help window: press 0
    It also has some minor hidden things, figure them out :p
    • A BHR section on the site
      This is personally my favorite part of the mod.
      This feature displays all tracks on the BHRtracks account in a nice, organized way.
      It's accessible from the sidebarbar, and also by visiting https://www.freeriderhd.com/bhr
      You can get a certain author's tracks by visiting https://www.freeriderhd.com/bhr/username
      You can search a term by visiting https://www.freeriderhd.com/bhr/search/term
      [​IMG]
    • Ghostdog
      Added in version 0.2
      This feature allows you to play any track in the editor with extras:
      - you can switch to any vehicle
      - tas (checkpoints every frame)
      - no physics option
      - no head hitbox option
      You can't submit the ghost or upload the track. This is solely for entertainment and practice.
      Original: https://gdcvdqpl.itch.io/freerider2-ghostdog
    • More data about tracks in previews
      This feature is always enabled. It shows the date and the views of a track in previews.
      [​IMG]
    • Personal best display
      This feature displays the personal best time on a track, as seen above.
      Idea: Anonyymi
    • Leaderboards position display
      This feature shows an user's leaderboard position. The lower they are, the longer it takes to load.
      [​IMG]
    • Mutual friends
      This feature displays the mutual friends you have with an other user when visiting their friends tab.
    • Sort a user's tracks (keypress: 7)
      This feature sorts a user's tracks in the created tab, based on a prompt by views, likes, dislikes, or date.
    • Ghost Hax (keypress: 6)
      https://community.freeriderhd.com/threads/ghost-hax-mod.12124
    • Ghost Verif (keypress: 6)
      https://community.freeriderhd.com/threads/ghost-verif-mod.12154
    • Animation & Screenshot (keypress: 6)
      https://community.freeriderhd.com/threads/small-mod-collection.12179
    • Editor WASD (keypress: 6)
      Allows you to use WASD to move in the editor
    • Editor ghosts (WIP, disabled by default)
      -
    • Editor autosave (disabled by default, press 5 to enable it)
      This feature saves a track in the editor every x seconds, where x is a time in seconds you give by pressing 5.
    • Shows track size
      This feature shows the track size in the editor. Click on it to update it!
      [​IMG]
    • Shows remaining coins when uploading a track
      [​IMG]
    • Leaderboard search (slow)
      This feature has a search bar on leaderboards, which allows you to look up users.
    • Leaderboard score summary per page
      [​IMG]
    • User search
      This feature allows you to search for a user by username at https://www.freeriderhd.com/search/u/username.
      It uses a method similar to comment mention autocompletion.
    • Custom hats (keypress: 1)
      This feature allows you to have a custom image as a hat.
      Credit: Calculus
    • Enable/Disable scenery (keypress: 2) or physics lines (keypress: 3)
      This feature toggles the displaying of scenery or physics lines. You'll need to zoom in and out.
    • Rainbow text (keypress: 4)
      This feature displays given text in rainbow colors, as if you got a checkpoint or a powerup.
    • Track bundler (keypress: 9)
      Added in version 0.3
      This feature downloads a ZIP file with all your tracks. Each track has its own folder, in which there is the track code and other data.
      ! This relies on a CORS proxy which unfortunately has some issues. This might not always work.
    • Track to 3D (keypress: 8)
      This feature copies each physics line to a scenery line above it, making it look like 3D.
    • Night mode (disabled by default, can be enabled by pressing 6)
      Experimental
      [​IMG]
    • Infinite zoom
      As of version 0.5, you can zoom in almost infinitely.


    Releases (open)

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

    0.2:
    https://pastebin.com/raw/8v8cHA6U
    See features for a more detailed description.
    • Fixed a bug with track previews
    • Fixed a significant bug where the mod sometimes wouldn't load when you navigate to a new page
    • Assistance detection now detects if a ghost had many duplicate inputs
    • Assistance detection now doesn't make a difference between TAS ghosts
    • BHR is now also accessible from the sidebar, and removed from the top bar
    • New feature: ghostdog
    0.3:
    https://pastebin.com/raw/dgLrXXec
    See features for a more detailed description.
    • Duplicate inputs in assistance detection are now more accurate
    • New feature: track bundler
    • Removed track code parser in favor of track bundler
    • New feature: night mode/dark mode
    • New hidden features, minor changes
    0.4:
    https://pastebin.com/raw/w3b3YTix
    • Fixed another navigation bug
    • Fixed numbers interfering with editor hotkeys
    • Fixed a bug where autosave would continue after you've left the editor
    • Added some top menu icons to ghostdog
    • New ghostdog feature: no head hitbox
    0.5:
    https://pastebin.com/raw/Ghv7NiRh
    • Bikes are now white when using night mode
    • You can now zoom in almost infinitely
    • The "Ghost Hax" and "Ghost Verif" mods are now available through the mod via the 6 keypress
    • Ghost assistance detection has been removed in favor of Ghost Hax
    0.6:
    https://pastebin.com/raw/Y99ixsHE
    • Improved user search
    • Merged animator and screenshot mod from the Small Mod Collection thread
    • Ghostdog is now available as an editor on its own
    • New ghostdog feature: custom FPS
    0.7:
    [deleted]
    • Added editor WASD support


     
    Last edited: Mar 5, 2022
  2. Rayb25

    Rayb25 Certified Freak Elite Author Team Balloon Official Author

    Awarded Medals
  3. Madara

    Madara eesoncanaocee Ghosting Legend Official Author

    Awarded Medals
    nice
     
    RadiumRC, a_drain, josephhd and 2 others like this.
  4. Flying_T_Rex

    Flying_T_Rex Well-Known Member Team Blob Official Author

    Awarded Medals
  5. Polygon

    Polygon Well-Known Member Official Author

    Awarded Medals
    Looks sweet! I'll definitely check it out.
     
    Sidewalk, RadiumRC, a_drain and 3 others like this.
  6. isekeb

    isekeb Well-Known Member Team Blob Official Author

    Version 0.2

    See features for a more detailed description.
    • Fixed a bug with track previews
    • Fixed a significant bug where the mod sometimes wouldn't load when you navigate to a new page
    • Assistance detection now detects if a ghost had many duplicate inputs
    • Assistance detection now doesn't make a difference between TAS ghosts
    • BHR is now also accessible from the sidebar, and removed from the top bar
    • New feature: ghostdog
     
  7. isekeb

    isekeb Well-Known Member Team Blob Official Author

    Version 0.3

    See features for a more detailed description.
    • Duplicate inputs in assistance detection are now more accurate
    • New feature: track bundler
    • Removed track code parser in favor of track bundler
    • New feature: night mode/dark mode
    • New hidden features, minor changes
     
    RadiumRC, a_drain and josephhd like this.
  8. KnightKat09

    KnightKat09 Active Member Official Author

    How do you add new tracks to the track bundler?
     
    a_drain and josephhd like this.
  9. KnightKat09

    KnightKat09 Active Member Official Author

    Isekeb, the autosave probably almost killed my computer.
     
    a_drain and josephhd like this.
  10. Poltergeist

    Poltergeist Active Member Official Author

    isekeb it would be great if it would just autosave to local storage etc. instead of prompting for a file every minute or however long you set it to. Just an idea.
     
    josephhd likes this.
  11. KnightKat09

    KnightKat09 Active Member Official Author

    Yeah. it glitched out and decided to do 1 per millisecond. I had to shut down my computer for it to just stop.
     
    josephhd likes this.
  12. KnightKat09

    KnightKat09 Active Member Official Author

    Make it to where you can disable autosave. I don't want to fill up my disk space.
     
  13. Poltergeist

    Poltergeist Active Member Official Author

    you can, I think. You can always just delete the (1) from the end of the second file to replace the old one. My suggestion (local storage) is just cookies, so it wouldn't take up disk space.
     
  14. KnightKat09

    KnightKat09 Active Member Official Author

  15. isekeb

    isekeb Well-Known Member Team Blob Official Author

    press the button 5 and type off. that should turn it off.
    that's an issue with an interval not stopping after you leave the editor. that also happened to me, but instead of my computer, my ghost broke at 17 seconds. I'll hopefully fix that in today's(?) release.
     
    josephhd likes this.
  16. isekeb

    isekeb Well-Known Member Team Blob Official Author

    that kind of kills the point of what I made autosave for.
     
    josephhd and PrestonII like this.
  17. isekeb

    isekeb Well-Known Member Team Blob Official Author

    there isn't a way to, you can only re-bundle again to do that
     
  18. isekeb

    isekeb Well-Known Member Team Blob Official Author

    Version 0.4
    https://pastebin.com/raw/w3b3YTix
    • Fixed another navigation bug
    • Fixed numbers interfering with editor hotkeys
    • Fixed a bug where autosave would continue after you've left the editor
    • Added some top menu icons to ghostdog
    • New ghostdog feature: no head hitbox
    I feel like I missed something :secretcat:
     
  19. Poltergeist

    Poltergeist Active Member Official Author

    Haha yeah :)

    When you are in a track (not designing one, but playing it) all of the buttons just disappear. I am not sure if this is on purpose or not, but I think it is kinda annoying.

    Why? I mean, just prompt the user what track it will be using, if it is new create a new cookie, if not, import the track. That way there are tons of tracks available that you don't have to upload via a file or whatever every time.
     
    josephhd likes this.
  20. KnightKat09

    KnightKat09 Active Member Official Author

    I tried and it didn't work.
     

Share This Page