A userscript that bypasses initial data timeout error
Update 1.0.2 should now fix this
That's strange. Are you able to look at the browser's devtool console and see any error occurring? Errors will only appear after pressing OK on the alert.
The only error I get is http://0x0.st/Hs8S.png. The 30:67 mentioned is the linelet callbackFunction = newSrc.match(/\(\)=>\{([\w$]{3})\([^\)]/)[1];
I tried changing that line to the following:
let match = newSrc.match(/\(\)=>\{([\w$]{3})\([^\)]/) console.log("-------------------") console.log(match) console.log("-------------------") let callbackFunction = match[1];
With this, match is printed as just (null): http://0x0.st/Hs81.png
(Not sure if that is helpful but just in case)
Yeah that is helpful debugging, thank you. That regex line was actually changed in the 1.0.2 update, so it seems like you haven't properly updated the mod. When updated, the regex should instead read as /\(\)=>\{[^=]{0,20}?([\w$]{3})\([^\)]/
and shouldn't error out.
Oh, you're right; I now see the 1.0.1 version at the top of my installation of the userscript. Sorry, I didn't check because I reinstalled it from the Greasyfork website, using Tampermonkey, on which I never had it installed previously (16 days ago, that was me on Violentmonkey). I'm not sure why that gave me the previous version.
When I replace the regex, the error is gone, and the script works! Sorry again for the confusion, and thank you for the assistance
I get the "unable to load" error as soon as I launch the game
(It's not an incompatibility since I tried it with only this and the injector enabled)