Slither.io-bot: Resource Override

Created on 1 Jun 2016  路  11Comments  路  Source: ErmiyaEskandary/Slither.io-bot

A little something to change the game357jj.js script, or whatever the game#####.js script is.
written by http://www.kylepaulsen.com/
Github Page https://github.com/kylepaulsen/ResourceOverride

extension
https://chrome.google.com/webstore/detail/resource-override/pkoacgokdfckfpndoffpifphamojphii
video tutorial at youtube: https://www.youtube.com/watch?v=62QIWAP9mMM

i tested out this extension by changing the acceleration to a 2 in the script. Acceleration was disabled. Left mouse clicks did not engage any speed change from normal. Test was a success. Game server only recognizes a 1 or 0 for acceleration.

untitled 1078
untitled 1080

question

All 11 comments

There's a big difference between being a client that adheres to the API of the game's script (as we do) and a client that modifies the game's core code (as this does).

I think we need to decide if we want to be a bot, or a cheatbot before we consider this further.

I thought it might be of interest for anyone out there to do tampering on there own game. Changes made to the game script are only made on the individuals computer. So it will not alter the slither.bot in any way.
If this is going to break the rules, just remove this post.

@pllsner I didn't say it broke the rules, I just said we needed to discuss how far we're willing to push things. Something like increasing acceleration would likely end up in the game's creator updating the server code to disallow it, and I don't think we should be endorsing anything like that. Just my opinion.

We already hook the game script to do some of our stuff so we're used to patching it, but this resource override tool looks like a more persistent way of doing it while testing instead of having to inject on each page refresh, so thanks for bringing it to our attention.

Changing the accereration speed was my quick test to see if any alteration of the main game was even possible, and yes this extension does just what it says. It turns out acceleration must be part of the server script, so it is not possible to increase speed. This was merely at test.
Whether the creator of this bot impliments anything from what can be done with this resource override, that is up to him. I just find this tool an interesting way to tweak variables and see what affect it has on the whole game. By turning off this extension, the game resorts back to it's original design. :)

I have heard of Resource Extension in the past...

It was how Razor (from the Evil Clan which I'm in) injected the first ever mod for Slither.io that he made, which allowed you to play on a specific server without ever switching from it.

Cheating is a use of a tool. Tools don't cheat anymore than guns kill people. {Similarly banning guns merely ensures only law-breakers will have guns.} Using your definition @MattDuffin Fiddler is for cheating.

how far we're willing to push things

Asymptotically!

https://github.com/ErmiyaEskandary/Slither.io-bot/issues/153 for https://github.com/ErmiyaEskandary/Slither.io-bot/issues/231 (drawing an outline around small snakes) I'm told would require this such a tool

Well... there's still a difference between changing the game code for visual mods, and changing the game code to achieve extra acceleration.

It's a blurry line, I admit. I like the idea of adding high-visibility outlines to snakes, but I'd rather not "cheat" to allow faster-than-normal acceleration.

I wanted a quick example to show, and playing with the acceleration was the fastest evidence i came up with. It was also the most recognizable variable i could see in the script. By changing the variable in the original post to a 2, clicking the left mouse button had no effect. The worm remained at it's normal speed. The game disabled acceleration completely. This proved the extension worked, and the game ran off my hard drive's version and not the web game's version. That was all i wanted to show. Want some visual additions? Change Line
1: var testing = !1; to var testing = 1;
of the original game script using Resource Override, and run the game. you will see the developers visual debugging. Watch the youtube video if you need help on how to use this.

Ohhh, I see. You could make the snake accelerate (same as mouse-click) but not faster than you would normally go.

The game only recognizes a 1 or 0 for acceleration. 2 disabled it. As far as i can tell, there is no way to increase speed in this game. I have come across mods claiming invincibility and 3x points or warp speed. I wanted to test if such things could be done. All rubbish. The server dictates game speed and points. Modifiying the game script has no affect.

Since this is more of an explanation than feature request, I created a wiki page and am closing this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

K00sKlust picture K00sKlust  路  10Comments

phrokton picture phrokton  路  9Comments

Fredyy90 picture Fredyy90  路  3Comments

ChadSki picture ChadSki  路  7Comments

Tomboman picture Tomboman  路  5Comments