Game Constants Research #7
Comments
|
call and apply may be useful in this situation... |
I will research that. Sounds like something you would find on |
debugMisc.applyDebugOptions actually just updates the current settings using the constants. |
You don't have a computer for this? |
Uh, I've been testing on an iPad, which is not great for development, but I made a few scripts to help me with detective work. |
So where do you put the |
I have no idea. |
couldn't you make a script to find g |
..... That's the problem. It's not globally available, only certain objects/functions can access it. So we need to figure out how to access g in the context of those thingys. |
|
Now the question is, how do we access this object? |
Notable:
Explanation of these Easy Mode & Education Enabled - Basically, you hit 100% of your attacks, and you get to skip the questions. |
Since Prodigy loads in it's script before anything else, maybe we can have an extension edit the script before it's loaded, set it to our own values, then load it in??? |
Tampermonkey may possibly work w/ that... |
Notice the |
So how did you find the gameConstants things without actually accessing them? |
I found it in toString of the various functions. The functions couldn't access them when I ran it in dev tools, so it must have been accessible to the functions while the game was loading... I think? Most of those functions are only for dev testing, the only reason we're able to have any of the hacks we do is because of no anti-cheat, and developers who left the testing functions inside production... |
Ok, so we could attempt to use Tampermonkey or similar to automatically
access these functions?
…On Fri, Feb 21, 2020, 11:40 PM Mustan Pathetic ***@***.***> wrote:
I found it in toString of the various functions. The functions couldn't
access them when I ran it in dev tools, so it must have been accessible to
the functions while the game was loading... I think? Most of those
functions are only for dev testing, the only reason we're able to have any
of the hacks we do is because of no anti-cheat, and developers who left the
testing functions inside production...
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#7>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOQ7MLA4TL2IX2NPCZOFNETRECUDNANCNFSM4KVK6APQ>
.
|
In theory, yes...... It depends on how they load the scripts and stuff. I tried setting a breakpoint in the minified file, but it crashed Chrome. 😨 |
Ok, should we attempt messing with it further?
…On Sat, Feb 22, 2020, 8:49 PM Mustan Pathetic ***@***.***> wrote:
In theory, yes...... It depends on how they load the scripts and stuff. I
tried setting a breakpoint in the minified file, but it crashed Chrome. 😨
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#7>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOQ7MLEVE3ODRE3Y4DPHHETREHI3RANCNFSM4KVK6APQ>
.
|
Definitely. Absolutely worth it. :> |
👍
…On Sat, Feb 22, 2020, 9:35 PM Mustan Pathetic ***@***.***> wrote:
Definitely. Absolutely worth it. :>
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#7>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOQ7MLCXHJE36BKWMKBN5FTREHOIZANCNFSM4KVK6APQ>
.
|
So which script are you making a breakpoint of?
On Sun, Feb 23, 2020, 8:14 PM Aleksander Nauman <
aleksander.nauman@gorhamschools.org> wrote:
… 👍
On Sat, Feb 22, 2020, 9:35 PM Mustan Pathetic ***@***.***>
wrote:
> Definitely. Absolutely worth it. :>
>
> —
> You are receiving this because you were assigned.
> Reply to this email directly, view it on GitHub
> <#7>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AOQ7MLCXHJE36BKWMKBN5FTREHOIZANCNFSM4KVK6APQ>
> .
>
|
game.min.js |
That's fine, neither am I. |
So I'm not really following what you are trying to do here. I understand you are trying to prettify the code ( |
No clue what any of that means but good job figuring this stuff out guys, your a pretty good team. |
It's ok, it's just nerd stuff :)
…On Mon, Feb 24, 2020 at 4:29 PM LaneLunsford ***@***.***> wrote:
No clue what any of that means but good job figuring this stuff out guys,
your a pretty good team.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#7>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOQ7MLHTBSJTT3MWYYXVJPDREQ35DANCNFSM4KVK6APQ>
.
|
what is the best way to learn to code? |
Make a free account on codecademy.com, upgrade to pro if you have enough
money, and try and find courses at like, your school or college, or pursue
a career if you're out of school.
…On Mon, Feb 24, 2020 at 4:40 PM LaneLunsford ***@***.***> wrote:
what is the best way to learn to code?
I've always wanted to
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#7>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOQ7MLB222DX5DRLWBKNXMLREQ5FDANCNFSM4KVK6APQ>
.
|
ok, thanks.! |
if only we could access GameConstants... mairacles would happen in this repo |
We think we may have hit a breakthrough...(?)
…On Mon, Feb 24, 2020 at 8:38 PM Titanium-Encryption < ***@***.***> wrote:
if only we could access GameConstants... mairacles would happen in this
repo
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#7>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOQ7MLC6ZNFDRWLNKRMPCXDRERZCVANCNFSM4KVK6APQ>
.
|
IDK |
I got custom messages |
@LaneLunsford, I highly suggest learning from javascript.info. It's a really good site to learn Javascript, and they simplify a lot of the hard concepts. |
So this function |
you'll have to use tampermonkey for that though wouldn't you |
Still would totally be worth it 🤔 |
Yeah
…On Fri, Feb 28, 2020 at 11:13 PM Mustan Pathetic ***@***.***> wrote:
Still would totally be worth it 🤔
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#7>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOQ7MLHW5P72W6ADZK4GGELRFHOHNANCNFSM4KVK6APQ>
.
|
What is tampermonkey |
It's an extension that can quickly imploy scripts
…On Thu, Mar 5, 2020 at 12:44 PM Magmischief ***@***.***> wrote:
What is tampermonkey
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#7>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOQ7MLEQ5HHTT7CSMK4D4V3RF7QIRANCNFSM4KVK6APQ>
.
|
Oh cool |
I think I found something in https://code.prodigygame.com/code/2-96-1/game.min.js?v=2-96-1 if you search through it for gameConstants then you can find: |
Quote from myself: PatheticMustan commented 25 days ago It's not globally available, only certain objects/functions can access it. So we need to figure out how to access g in the context of those thingys. |
Okay |
TamperMonkey is a Google Chrome (and Opera and Chromium) plugin similar to GreaseMonkey for Firefox. It allows you to inject additional JavaScript into web pages you load in your browser, adding features, removing features, or in our case doing hacky, automated things. |
Guys can someone tell me the code for to level my pets at lvl 100 |
Ask on the discord. We now have access to game constants thru @TNThacker2015 's redirect method |
A while ago, there was a "GameConstants" object that allowed us to modify things that would actually make us godly.
Things like enemy radius detection rate, easy mode, enemy modifiers, walk speed...
After a recent update, this object was moved somewhere else. I'm not exactly sure where, but I know that some of the debugMisc methods try to get/set GameConstants.
I'd like to figure out how to read, and modify GameConstants.
The text was updated successfully, but these errors were encountered: