Prodigy-Hacking / ProdigyMathGameHacking

Prodigy Hacking: Hacking for the right reasons. | Questions? Ask on our Discord. https://discord.gg/XQDfbfq
https://prodigyhacking.com
Other
17 stars 10 forks source link

[BUG] Error's on startup, tested multiple times, repeatable. #583

Closed MelonMan101 closed 3 years ago

MelonMan101 commented 3 years ago

Description: "Uncaught (in promise) TypeError: Failed to fetch"

(async () => { const debug = false;

const redirectorDomain = debug ? "http://localhost:1337" : "https://prodigyhacking.ml"

if (!window.abortion) {
    // only run inject script once on the page, even if game.min is requested multiple times
    window.abortion = "Hey, we've injected the thingy";

    // check for outdated plugin
    const pluginVersion = chrome.runtime.getManifest().version;
    const supportedVersion = (await (await fetch(`${redirectorDomain}/version`)).text());

    if (pluginVersion !== supportedVersion) {
        const res = confirm("Outdated plugin version! Hacks are not guaranteed to work! If you would like to update, please click 'OK'");

        if (res) location = "https://github.com/Prodigy-Hacking/ProdigyMathGameHacking/wiki/How-to-Update";
    }

    // die, integrity
    [...document.getElementsByTagName("script"), ...document.getElementsByTagName("link")].forEach(v => {
        if (v.integrity) {
            console.log(v.integrity);
            v.removeAttribute("integrity");
        }
    });
    // <link rel="preload" href="https://code.prodigygame.com/code/3-13-0/game.min.js?v=3-13-0" as="script" crossorigin="anonymous"></link>
    /*
    const prelly = document.createElement("link");
    prelly.rel = "preload";
    prelly.href = `${redirectorDomain}/game.min.js`;
    */

    // <script src="https://code.prodigygame.com/code/3-13-0/game.min.js?v=3-13-0" onload="SW.Load.onGameLoad();" crossorigin="anonymous"></script>
    // we cancel the real game.min, and just append ours
    // a messy solution for sure, but this should only be a bandaid on a bulletwound
    const penguin = document.createElement("script");
    penguin.src = `${redirectorDomain}/game.min.js`;

    document.body.append(penguin);
}

})();

Replication: Startup prodigy, login, the loading with be stopped mid way through.

Images: image

Additional Errors: That is all.

ArcerionDev commented 3 years ago

what happens when you visit https://prodigyhacking.ml/version?

MelonMan101 commented 3 years ago

2.0.0

PixelMMO commented 3 years ago

reload the extension in chrome://extensions and it should work

PixelMMO commented 3 years ago

it was happening to me last week and i did that and it fixed

MelonMan101 commented 3 years ago

still didnt work ^

PixelMMO commented 3 years ago

i can open prodigy just fine

MelonMan101 commented 3 years ago

i have the same error each time i reload and try, i have no clue why.

PixelMMO commented 3 years ago

chrome://extensions press reload on the prodigy math game hacking extension

PixelMMO commented 3 years ago

send screenshot of the loading page and send another of you extensions in chrome://extensions

MelonMan101 commented 3 years ago

chrome://extensions press reload on the prodigy math game hacking extension

Ive already done this like 7 times.

PixelMMO commented 3 years ago

or just the prodigy math game hacking extension

MelonMan101 commented 3 years ago

image image

irhrhd commented 3 years ago

Hmm okay okay is the code you submited whats in the console

MelonMan101 commented 3 years ago

Hmm okay okay is the code you submited whats in the console

duh

PixelMMO commented 3 years ago

delete the extension and reinstall it

irhrhd commented 3 years ago

Wow dont be rude

MelonMan101 commented 3 years ago

delete the extension and reinstall it

already done that 3 times

PixelMMO commented 3 years ago

WELL THEN ITS YOUR PROBLEM

MelonMan101 commented 3 years ago

Wow dont be rude

wasnt trying to be

irhrhd commented 3 years ago

Lets see

MelonMan101 commented 3 years ago

WELL THEN ITS YOUR PROBLEM

not helping

PixelMMO commented 3 years ago

shut up

PixelMMO commented 3 years ago

image works for me

MelonMan101 commented 3 years ago

shut up

if you aren't going to help leave.

irhrhd commented 3 years ago

Just stop arguing jeez

PixelMMO commented 3 years ago

image

irhrhd commented 3 years ago

Try making a new account

PatheticMustan commented 3 years ago

Ah! Sorry for pestering you one more time, but could you try uninstalling, and installing a fresh download of the plugin? Just need to be absolutely certain.

ghost commented 3 years ago

Ah! Sorry for pestering you one more time, but could you try uninstalling, and installing a fresh download of the plugin? Just need to be absolutely certain.

they already did that, thats why they started telling eachother to shut up

MelonMan101 commented 3 years ago

I have tried anything, im not the only one who has had the problem a few friends of mine also tried and got the error.

PatheticMustan commented 3 years ago

ah, can you screenshot what browser you're on, and what extensions you have installed? Also, do you have a school filter or anything of that sort..?

ghost commented 3 years ago

This happened to me before

MelonMan101 commented 3 years ago

ah, can you screenshot what browser you're on, and what extensions you have installed? Also, do you have a school filter or anything of that sort..?

I am on stock google, my school doesnt have a single restriction on prodigy or anything prodigy related, just youtube and coolmath.

ghost commented 3 years ago

so do this:

go to downloads delete the extension.zip/phex.zip file

remove the extension from chrome

install CCleaner and make sure to tell it not to install AVG because AVG is like EA but antivirus edition

tell CCleaner to clean chrome cache

install phex again

see if it works?

MelonMan101 commented 3 years ago

so do this:

go to downloads delete the extension.zip/phex.zip file

remove the extension from chrome

install CCleaner and make sure to tell it not to install AVG because AVG is like EA but antivirus edition

tell CCleaner to clean chrome cache

install phex again

see if it works?

Did this, didnt work, also just tried and also didnt work.

ghost commented 3 years ago

so do this: go to downloads delete the extension.zip/phex.zip file remove the extension from chrome install CCleaner and make sure to tell it not to install AVG because AVG is like EA but antivirus edition tell CCleaner to clean chrome cache install phex again see if it works?

Did this, didnt work, also just tried and also didnt work.

ah okay hmm this is very confusing

ArcerionDev commented 3 years ago

try installing this.

ghost commented 3 years ago

I have tried anything, im not the only one who has had the problem a few friends of mine also tried and got the error.

what internet provider do you use

install setupvpn like arc said

go to chrome://policies and screenshot the result

tell your friends to do the same so we can compare the results

ArcerionDev commented 3 years ago

that could be confidential

ghost commented 3 years ago

that could be confidential

blackout your school part of the policies then

idrk how an ISP is confidential every website knows your ISP its about as confidential as an IP address

MelonMan101 commented 3 years ago

that could be confidential

blackout your school part of the policies then

idrk how an ISP is confidential every website knows your ISP its about as confidential as an IP address

uhhhh, is it normal for my ip to not be there?

MelonMan101 commented 3 years ago

image

ghost commented 3 years ago

that could be confidential

blackout your school part of the policies then idrk how an ISP is confidential every website knows your ISP its about as confidential as an IP address

uhhhh, is it normal for my ip to not be there?

your IP wont be with your ISP or chrome://policies, but chrome://policies might reveal your school (censor it using an image editor) and some ISPs are more common in some states so up to you

ArcerionDev commented 3 years ago

it looks ok, nothing restricted

ghost commented 3 years ago

okie ty for the chrome://policies nothing is restricted i dont need your ISP because that answers my question (restrictions are caused by your network not your chrome policies or any other device things)

MelonMan101 commented 3 years ago

that could be confidential

blackout your school part of the policies then idrk how an ISP is confidential every website knows your ISP its about as confidential as an IP address

uhhhh, is it normal for my ip to not be there?

your IP wont be with your ISP or chrome://policies, but chrome://policies might reveal your school (censor it using an image editor) and some ISPs are more common in some states so up to you

also, its chrome://policy, not policies.

ArcerionDev commented 3 years ago

whatever

ghost commented 3 years ago

that could be confidential

blackout your school part of the policies then idrk how an ISP is confidential every website knows your ISP its about as confidential as an IP address

uhhhh, is it normal for my ip to not be there?

your IP wont be with your ISP or chrome://policies, but chrome://policies might reveal your school (censor it using an image editor) and some ISPs are more common in some states so up to you

also, its chrome://policy, not policies.

oh sorry i forgot what its called 😅

MelonMan101 commented 3 years ago

whatever

rad B)

ArcerionDev commented 3 years ago

I had a case where adblock prevented it from loading