Precise slither

Simplified client for slither.io

Terá de instalar uma extensão como Tampermonkey, Greasemonkey ou Violentmonkey para instalar este script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

Terá de instalar uma extensão como Tampermonkey ou Violentmonkey para instalar este script.

Terá de instalar uma extensão como Tampermonkey ou Userscripts para instalar este script.

Terá de instalar uma extensão como Tampermonkey para instalar este script.

Terá de instalar uma extensão de gestão de scripts de utilizador para instalar este script.

(Já tenho um gestor de scripts de utilizador, deixe-me instalá-lo!)

Terá de instalar uma extensão como Stylus para instalar este estilo.

Terá de instalar uma extensão como Stylus para instalar este estilo.

Terá de instalar uma extensão como Stylus para instalar este estilo.

Terá de instalar uma extensão de gestão de estilos de utilizador para instalar este estilo.

Terá de instalar uma extensão de gestão de estilos de utilizador para instalar este estilo.

Terá de instalar uma extensão de gestão de estilos de utilizador para instalar este estilo.

(Já tenho um gestor de estilos de utilizador, deixe-me instalá-lo!)

Autor
Sr_2_0
Instalações diárias
2
Total de instalações
247
Classificações
0 0 0
Versão
0.6
Criado
20/03/2025
Atualizado
17/06/2025
Tamanho
70 KB
Licença
MIT
Aplica-se a

This is a simplified version, containing only the most necessary for the game. It shows the real location of the snakes, without smoothing. Also, snakes and food disappear instantly. All this, as it seemed to me, gives the opportunity to react faster.
The script completely replaces the site data.
Use the mouse wheel to zoom.
The width of the snakes is calculated so that death occurs when the beam touches the side of the snake.
The food area depends on the received score points.
In the upper right corner, enter the ip:port of the server. The list of servers can be found on the Internet, in the Frontier or NTL extension, in the slither.io discord.
The first few seconds when the page loads, it may think for a long time, start the game not immediately after pressing the button.
Pressing new game automatically stops the current game, if there is one, and starts a new one.
In the upper left corner under the leaderboard, in the first line, your_place/number_of_players is shown. In the second line, the score, and then the number of parts of the snake that were taken from you. They can be taken away if you spin in a closed circle for a long time (the actual length of the snake will become shorter, the score will not change). When you stop spinning, the parts will gradually be restored again. If you continue to spin for a long time, the score will also begin to decrease, but irreversibly.
You can see fps, zoom and ping at the top. If fps is very unstable, you can reduce the value in the variable at the beginning of the script. There you can also change the variable with the server address, which is displayed in the input field after loading the page, so that you do not have to enter it again each time. There you can also set a nickname, skin/custom skin, cosmetic. For convenience, you can use the memo in the attached image.
For a better game, you can reduce the cursor speed in the system settings, choose a suitable surface under the mouse so that there are no jerks and does not slide too much. When good maneuverability is needed, I bring the cursor closer to the snake's head. Also, if the screen is very stretched, you can make the window a little more square so that the buttons and minimap are closer and there is slightly better performance.
Tested with tampermonkey in chrome and firefox. With greasemonkey in firefox did not work, because it set origin: "null" for websocket.
In general, I want to write a bot, and this code is an attempt to get only what is necessary for it. Therefore you cannot see skins, nicknames and food are not multi-colored.
You can expand the capabilities of the script. I took this file as a basis:
https://slither.io/s/game06052431.js
The script may not completely stop the original site code, you can change this. The stopping code is at the beginning of the script.
Also, if you have a desire to write a bot, this code may be useful to you.