Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.86 KB

README.md

File metadata and controls

24 lines (18 loc) · 1.86 KB

hhc2023-crew

A collection of scripts written for the 2023 SANS Holiday Hack Challenge.

Autofisher (fish.js)

This is a snippet of code for an autofisher. Simply paste into the console, then hit "Cast Line".

Captain and Crew (crew.user.js / Install)

This is a userscript adding various features and QoL fixes to the sailing mode of Holiday Hack Challenge 2023. You'll most likely need some kind of userscript manager extension (like Violentmonkey). I didn't complete everything I wanted to during the event, but I'm pretty happy with the features I was able to get in. I have some notes about reverse engineering the game mechanics and client code that I may publish after some more cleanup, but I didn't finish a more detailed writeup in time for the event. However, if you have any questions about mechanics or feature requests, feel free to open an issue!

Current features include:

Improved rendering performance (about 3-4x on my machine)

  • Ship images are cached
  • Uses webgl to draw terrain instead of SVG image

Smoother ship handling

  • Adds client-side prediction to compensate for network latency
  • Interpolates player position between server ticks

Additional UI features

  • Mouse wheel zoom
  • Better race UI image
  • Seamless map edges image
  • Tab toggles editor free camera mode image