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

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

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

Review: OK - Skripti toimii, mutta siinä on ongelmia

§
Posted: 25.11.2018

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:

§
Posted: 25.11.2018
Edited: 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:

§
Posted: 1.2.2019

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.

§
Posted: 10.6.2019
Edited: 10.6.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 mousepos.x, mousepos.y

§
Posted: 10.5.2020

where to put mousepos.x, mousepos.y

§
Posted: 10.5.2020

im on chromebook

§
Posted: 11.5.2020

PLS HELP ME

§
Posted: 11.5.2020

nvm

Post reply

Sign in to post a reply.