0x978 / GeoGuessr_Resolver

A script which returns the correct location in Geoguessr
https://greasyfork.org/en/scripts/450253-geoguessr-resolver-hack-7-5-duels-and-google-maps-update
44 stars 7 forks source link

your code has an error in it #25

Open aaKingRamos opened 3 months ago

aaKingRamos commented 3 months ago

its in here: if (nativeOpen) { const nativeOpenCodeIndex = nativeOpen.toString().indexOf('native code')

    // Reject any attempt to call an overridden window.open, or fail.
    // 19 is for chromium-based browsers; 23 is for firefox-based browsers.
    if (nativeOpenCodeIndex === 19 || nativeOpenCodeIndex === 23) {
        nativeOpen(`https://maps.google.com/?output=embed&q=${lat},${lng}&ll=${lat},${lng}&z=5`);

        the na on nativeopen has errors
0x978 commented 3 months ago

Hmmm, it still works fine for me.

What gamemode is this?

aaKingRamos commented 3 months ago

Hmmm, it still works fine for me.

What gamemode is this?

when i went on multiplayer live challenge or classic map it doesnt work

aaKingRamos commented 3 months ago

Hmmm, it still works fine for me. What gamemode is this?

when i went on multiplayer live challenge or classic map it doesnt work

im pressing 1 nothing 2 nothing 3 nothing 4 nothing

keralinnn commented 3 months ago

im pressing 1 nothing 2 nothing 3 nothing 4 nothing

Only pressing 3 calls the function the code you are referencing is inside. Pressing 1 or 2 calls other functions. By the way, what browser are you using?

the na on nativeopen has errors

nativeOpen is not a built-in javascript function. I am not sure, but I guess it comes from GeoGuesser or framework GeoGuesser is built with. This is why tools like, for example, eslint, may show warnings or errors like this: eslint: no-undef - 'nativeOpen' is not defined.