/Hackceler8

Tooling for Google CTF Hackceler8 contest from Tea Deliverers

Primary LanguageJavaScript

Hackceler8 Game Tools

Controls

Recommending using arrow keys to move.

  • Wheel scroll to zoom in/out

  • Shift to move the map

  • V to reset camera center to player

  • B show Entity

  • H enable simulation mode

    Under simulation mode:

    • Tick won't be recorded if the player is standing still
    • Point to destination, press ` to teleport (path finding, may not succeed)
    • Z to undo ticks
    • X to redo ticks
    • , to decelerate
    • . to accelerate
    • LeftCtrl to temporarily accelerate
    • T to submit

    Press H again to sync with the server

Display

Blue-yellow rectangle: Collision box

White line: Connects Terminal and FlagConsole

Magenta line: Portal pointing to its destination

Green line: Connects player and Key

Orange line: Connects KeyReceptacle and its controlling Entity

Red solid box: Death zone

Dev Console

  • closeFloat() to close all floating windows
  • searchTimeout to set path searching timeout

Terminal relay

Relays in-game Terminal to localServer (configured in mitm.go). Data is encoded in hex, with a newline character as end-of-line.

Other

You may need to update related code in hack.js if the server/client-side code is changed. Directly copied code are commented with copied from source.

For example, update playerTick function if the corresponding entities.Player.tick is changed in the game code.

Demo

Tick Undo

Path Finding