Force Join

A userscript that bypasses initial data timeout error

< Отзив за Force Join

Отзив: Отлично - скриптът работи

§
Публикуван на: 02.02.2023

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)

BluBonkАвтор
§
Публикуван на: 19.02.2023

Update 1.0.2 should now fix this

§
Публикуван на: 19.02.2023

I just tried the latest version with only Force Join and the Code Injector enabled, but get the same problem

BluBonkАвтор
§
Публикуван на: 19.02.2023

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.

§
Публикуван на: 19.02.2023

The only error I get is http://0x0.st/Hs8S.png. The 30:67 mentioned is the line
let 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)

BluBonkАвтор
§
Публикуван на: 19.02.2023

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.

§
Публикуван на: 19.02.2023

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

Публикувайте отговор

Влезте, за да публикувате отговор.