Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Modules

TNThacker2015 edited this page Apr 16, 2020 · 4 revisions

List of game modules.

Access them at hack.modules[IDHERE]

0️⃣ Instance Module

This module contains the game instance and the prodigy instance.

Export: a

Uses:

[[module]].a.instance // { game: [[GAME]], prodigy: [[PRODIGY]] }
[[module]].a.instance.prodigy;
[[module]].a.instance.game;

1️⃣ Polyfill Module

This module contains internal typescript polyfills and methods.

Export: Module class.

Uses:

[[module]].__assign;

2️⃣ Unknown Module

This module has a lot of properties. Some are functions, and others are objects.

Export: A-Za-z, (a-j)b

Uses: N/A

3️⃣ Transformation Utility Module

The a half of the module is an enum containing UserID, ClassID, Grade.

The b half of the module is a collection of utilities, such as [[module]].b.convertItemToIcon

Export: a, b

Uses:

[[module]].b.convertRarityToText(4); // "Legendary"
[[module]].b.getObject("{}"); // {}

4️⃣ Game Container Object Keys Module

This module contains an enum of the gameContainer accessible objects.

Export: a

Uses:

[[module]].a.AssetLoader; // "AssetLoader"
[[module]].a.Items; // "Items"
[[module]].a.JWTAuthenticationProvider; // "JWTAuthProvider"

5️⃣ Constants

Some constants. These aren't the game constants.

Export: a

Uses:

[[module]].a.DIALOGUE_LETS_GET_TO_WORK; // 928
[[module]].a.DROP_BLOCK; // "droppingaBlock"

6️⃣ Lodash

This is literally lodash.

Export: Lodash

Uses:

[[module]].eq(1, 1); // true
[[module]].zip([1, 3], [2, 4]); // [[1, 2], [3, 4]]

7️⃣ Phaser Easing Module

This module contains easing functions for phaser.

Export: a

Uses:

[[module]].a.Power0(10); // 10
[[module]].a.Power1(10); // -80
[[module]].a.Bounce.Out(10); // 2108.2798
[[module]].a.Elastic.InOut(-10); // -3.0385816786431356e-64

8️⃣ Game Data Module

This module contains the game data, and many functions that use the game data.

Export: a

Uses:

[[module]].a.data; // the game data
[[module]].a.getItem("outfit", 10); // returns the outfit with id 10
[[module]].a.drops; // array of item drops

9️⃣ Unknown Module

We aren't sure what this module does yet.

Export: A-C, a-z

Uses: N/A