Skip to content

Commit afc6df9

Browse files
authored
Merge branch 'master' into kennel
Signed-off-by: gemsvidø <gemsvido@gmail.com>
2 parents c1f5fad + 78be9c6 commit afc6df9

File tree

12 files changed

+383
-335
lines changed

12 files changed

+383
-335
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
1313
<p align="center">
1414
<strong>
15-
<a href="https://prodigypnp.github.io/">Website</a>
15+
<a href="https://prodigypnp.com">Website</a>
1616
1717
<a href="https://dsc.gg/ProdigyPNP">Discord</a>
1818

cheatGUI/dist/bundle.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

cheatGUI/package-lock.json

Lines changed: 281 additions & 324 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cheatGUI/src/hacks/beta.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// BEGIN IMPORTS
77
import { Swal, Toast, NumberInput, Input, Confirm } from "../utils/swal"; // Import Swal, Toast, NumberInput, Input, and Confirm from swal
88
import { Hack, category, Toggler } from "../index"; // Import the Cheat GUI bases.
9-
import { _, getItem, VERY_LARGE_NUMBER, prodigy, saveCharacter, player} from "../utils/util"; // Import prodigy typings, and VERY_LARGE_NUMBER
9+
import { _, getItem, VERY_LARGE_NUMBER, prodigy, saveCharacter, player, current} from "../utils/util"; // Import prodigy typings, and VERY_LARGE_NUMBER
1010
import { ids, itemify, runeify, getPet } from "../utils/hackify"; // Import runeify and some arrays
1111
import { PopupInterval } from "../utils/popupCloser";
1212
// END IMPORTS
@@ -186,7 +186,12 @@ new Hack(category.beta, "Morph Player [BETA]", "Morph into a pet, furnishing, or
186186

187187

188188

189-
189+
new Toggler(category.beta, "(client side) Toggle Invisibility [BETA]", "Lets you appear invisible on your own screen.").setEnabled(async () => {
190+
// current.user.alpha = 0;
191+
current.user.visible = false;
192+
}).setDisabled(async() => {
193+
current.user.visible = true;
194+
});
190195

191196

192197
// Begin Toggle Close Popups

cheatGUI/src/hacks/location.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
11
// Location Hacks
22

33
// BEGIN IMPORTS
4-
import { Hack, category } from "../index"; // Import the Cheat GUI bases.
4+
import { Hack, category, Toggler } from "../index"; // Import the Cheat GUI bases.
55
import { NumberInput, Swal, Toast } from "../utils/swal"; // Import Swal, Toast, and NumberInput from swal
66
import { _, locations, prodigy, player } from "../utils/util"; // Import Prodigy typings
77
import { toHouse } from "../utils/hackify"; // Import toHouse
88
// END IMPORTS
99

10+
export var useWASD : boolean = true;
1011

12+
// BEGIN LOCATION HACKS
1113

1214

13-
// BEGIN LOCATION HACKS
15+
// WASD Phasing
16+
new Toggler(category.location, "WASD Movement", "Allows you to walk through walls or on air with WASD movement in Prodigy.").setEnabled(async () => {
17+
useWASD = true;
18+
return Toast.fire("Enabled!", "WASD Movement is now enabled.", "success");
19+
}).setDisabled(async () => {
20+
useWASD = false;
21+
return Toast.fire("Disabled!", "WASD Movement is now disabled.", "success");
22+
}).status = true;
1423

1524

1625

cheatGUI/src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ menuleft.classList.add("menu-left");
4545
menu.append(menuleft);
4646

4747
let firstCategory = true;
48-
const addArea = (title: string) : HTMLDivElement => {
48+
49+
function addArea (title: string) {
50+
4951
const area = document.createElement("div");
5052

5153
if (firstCategory == false) {

cheatGUI/src/utils/keybinds.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,21 @@ import { Confirm, Toast } from "../utils/swal"; // Import Swal, Toast, Confirm,
33

44

55

6+
7+
68
window.addEventListener("keydown", event => {
79

810

911

1012

11-
switch (event.which) {
13+
switch (event.key) {
1214

13-
case 192: // --- 192 = ` -- Grave Accent
15+
case "`":
1416
// Close All Popups
1517
_.instance.prodigy.open.menuCloseAll();
1618
break;
1719

18-
case 220: // --- 220 = \ -- Backslash
20+
case "\\":
1921
// Gets you kitted up in Celestial Gear
2022
const k = async () => {
2123

@@ -38,6 +40,7 @@ window.addEventListener("keydown", event => {
3840
};
3941
k();
4042
break;
43+
4144
}
4245

4346

cheatGUI/src/utils/wasd.ts

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
import { useWASD } from "../hacks/location";
2+
import { player } from "./util";
3+
4+
5+
6+
async function ChangeX (x : number) {
7+
for (let i = 0; i < 100; i++) {
8+
await new Promise(r => setTimeout(r, 2));
9+
player._playerContainer.x -= x/100;;
10+
}
11+
}
12+
13+
async function ChangeY (y : number) {
14+
for (let i = 0; i < 100; i++) {
15+
await new Promise(r => setTimeout(r, 2));
16+
player._playerContainer.y -= y/100;;
17+
}
18+
}
19+
20+
21+
22+
23+
24+
window.addEventListener("keydown", event => {
25+
26+
if (useWASD) {
27+
switch (event.key) {
28+
case "w":
29+
ChangeY(40);
30+
break;
31+
case "s":
32+
ChangeY(-40);
33+
break;
34+
case "a":
35+
ChangeX(40);
36+
break;
37+
case "d":
38+
ChangeX(-40);
39+
break;
40+
}
41+
}
42+
43+
});

meta/YOUTUBE_ATTRIBUTION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ If you're posting a video with our hacks, please make sure to add this to your v
55
```tx
66
Hacks are by ProdigyPNP - https://github.com/ProdigyPNP
77
ProdigyPNP Discord - https://dsc.gg/ProdigyPNP
8-
ProdigyPNP Website - https://ProdigyPNP.github.io
8+
ProdigyPNP Website - https://ProdigyPNP.com
99
```
1010

1111
*If you'd like an exception, please contact us on [our Discord server](https://dsc.gg/ProdigyPNP). We're friendly, we promise!*

meta/hacks/battle/Disable math.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: "Disable Math"
3+
---
4+
5+
This hack disables math in PvP, PvE, some boss battles, mostly everywhere. However, it doesn't work in some new places like the Floatling Town.
6+
7+
8+
```typescript
9+
_.constants.constants["GameConstants.Debug.EDUCATION_ENABLED"] = true;
10+
```

0 commit comments

Comments
 (0)