Cazka
Cazka
we could also overwrite window to unsafeWindow at the start of the userscript. ```js if("undefined" != typeof unsafeWindow) { //trust me bro window = unsafeWindow; } ``` this actually works
> we could also overwrite window to unsafeWindow at the start of the userscript. > > ```js > if("undefined" != typeof unsafeWindow) { > //trust me bro > window =...
I have to correct myself. fov still works. what doesn't work is getting arena size anymore.
also getting camera position doesn't work anymore
yeah, the current method uses the opacity of the lines. Getting the camera position is currently the problem
This needs to be updated. not sure how though :/ https://github.com/Cazka/diepAPI/blob/a02472d982d3ce126ce10646a6d2ae2681610b25/src/extensions/entity_manager.ts#L18-L21
thanks for you pr, i have left some comments 👍
thanks for the contribution. I will consider using this.
detecting the number of players is also challenging. But I agree, that we could hardcode de arenasizes for the other game modes
Its not possible currently.