Greasy Fork is available in English.

Change the scope to suroi.io (surviv.io) and zombsroyale.io

Сhange the scope in the game suroi.io (surviv.io), and zombsroyale.io

< Change the scope to suroi.io (surviv.io) and zombsroyale.ioについてのフィードバック

レート:可 - スクリプトは動作するがバグがある

§
投稿日: 2018/11/25

The "Laser" points to a offset position of the real cursor

As shown on those images the laser points to an offet position of the real cursor, it seems like it's tracking it from the bottom-right corner of the screen instead of the center. Thanks in advance :smiley:

§
投稿日: 2018/11/25
編集日: 2018/11/25

I have tried reinstalling it/refleshing the page/reopening chrome but it doesn't seem to fix it. I have also found out that it's offset by 50% of the distance to the bottom-right of the screen, here are some other examples:

§
投稿日: 2019/02/01

I had the same bug on my mac. To fix it, change "params.ctx.lineTo(event.pageX,event.pageY)" to "params.ctx.lineTo(2 * event.pageX,2 * event.pageY)" in Line 648.

§
投稿日: 2019/06/10
編集日: 2019/06/10

He changed it. Now you need to change line 696 to

    os_var == "win" ? params.ctx.lineTo(mouse_pos.x, mouse_pos.y) : os_var == "mac" ? params.ctx.lineTo(mouse_pos.x, mouse_pos.y) : params.ctx.lineTo(mouse_pos.x, mouse_pos.y)

The variables got switched up. :wink:

On my chromebook, you now have to edit line 696, replacing all the posXY.x, posXY.y with mousepos.x, mousepos.y

§
投稿日: 2020/05/10

where to put mousepos.x, mousepos.y

§
投稿日: 2020/05/10

im on chromebook

§
投稿日: 2020/05/11

PLS HELP ME

§
投稿日: 2020/05/11

nvm

返信を投稿

返信を投稿するにはログインしてください。