Изменить прицел в suroi.io (surviv.io) и zombsroyale.io

Изменяет прицел в игре suroi.io (surviv.io) и zombsroyale.io

< Обсуждения Изменить прицел в suroi.io (surviv.io) и zombsroyale.io

Отзыв: Нормальный — скрипт работает, но имеет существенные недостатки

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:

§
Создано: 25.11.2018
Отредактировано: 25.11.2018

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:

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.

§
Создано: 10.06.2019
Отредактировано: 10.06.2019

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 mouse_pos.x, mouse_pos.y

where to put mouse_pos.x, mouse_pos.y

im on chromebook

Ответить

Войдите, чтобы ответить.