This is my kajam submission. I hope you like it!
The game is fairly simple, become the hugest player of them all.
Well, it's simple, you have to collect coins that are scattered around the map. Coins make you slower, but make you bigger, make your sword longer, and makes your sword more stronger. You can move around the map with WASD or Arrow Keys!
Collecting coins takes so long, that's why each player comes with a ka-sword. Just kill other players by clicking with your mouse and they will drop all their coins!
Well you have to get huge. Really huge
Well that's all I have to say about this game, the past 1 week has been amazing. Normally I lose motivation for my projects quickly, but kajam kept me going..
"money can do weird things to people" -@Coder100
Anyways, I hope you enjoy Multiplayer Sword.io, See ya!
I MADE A DEVLOG, PLEASE WATCH: https://youtu.be/59mjZehbvHA
Hey! There is a big botting issue going on right now. It's being done mostly by@sedated.
Sword.io Bot - Probably the most basic bot, crashes servers by spamming socket connections (PATCHED)
TamperWare - Also crashes servers, but uses a different method and is way more effective (PATCHED)
SedatedAgent - A kinda cool bot if I say so myself.. It uses AI Pathfinding and Combat to automatically collect coins and kill players. (PATCHED)
LagRequester - A bot that spams get requests on the server to cause major lag and disconnections. (PATCHED)
test - A very simple (but annoying) bot that uses a movement exploit to achieve a teleportation effect. (DEVELOPMENT STOPPED)
SedatedAI - Basically SedatedAgent but undetectable and more smart and powerful. (PATCHED)
ReddCrasher - An updated server crasher (PATCHED)
SERVER RESTART - A bot that uses an exploit to crash and restart the servers (DEVELOPMENT STOPPED)
KnotBot - A bot that's able to bypass recaptcha and is able to move around the map randomly (PATCH IMPLEMENTED, NOT CONFIRMED PATCH)
I am so sorry about the amount of downtime this is having. All these people are making bots for my small game and I'm working desperatly to add a anticheat. The game is being spammed with so many requests and getting crashed right as I start it. Please bear with me as I do violence to these hackers.
I have implement v1 of my anticheat. This should prevent botters from crashing servers. I am not 100% sure if this method will work, but let's wait and see.
Ok so the botters have figured a way around this. I am working to implement invisible recaptcha. This means that most botters can be stopped.
Say goodbye to botters! Google's Invisible Recaptcha has been added! This should stop most bots from joining. Let's see how these stupid botters can bypass this!
Another new bot has been developed, called KnotBot. I am not sure how this bot is able to bypass the captcha, but I am working to figure it out. Sorry for any inconvenience this bot causes.
KnotBot has been patched!
Do they like exploit and one/two shot you (someone did that and their name was "test"), or are they programs that follow players?
The bots seems awfully complex and time-consuming for a game that just came out, or is there some sort of easily exploited vulnerability in your system.
Well the bots work by just sending packets the same way a player does. The current one that's going on (called test) is a movement exploit. To prevent slow movement for players with high ping, I made it so that high ping players can move faster to compensate for the less amount of packets they send. The test bot exploits that and sends a really low amount of packets. This makes it acheive fast movement or a kind of teleportation. There are so many different kinds of bots and I have no idea why people are spending so much time making them but I am trying my best to prevent any game-breaking bots from crashing servers (yes that has happened before)@Baconman321
I would say the test bot isn't that OP or makes the game unfair to normal players. Yes it can be annoying but I think it's not too bad. I will take action if he adds AI Pathfinding or Combat to it. (and also yes AI bots have been made that collect coins and follow and kill players)@Baconman321
It's amazing how dedicated people are (and talented) at making bots.
Maybe you could make a test arena and allow bots there, just to spark creativity and problem-solving (although, they might as well make their own game for it).
Also make the test arena accessible to normal players, so they can just see how the bots are interacting (and add a spectator mode). This is all an idea, but maybe it would encourage people to try a place where they are allowed to exploit (to divert attention from the main area. Plus, bots can have better skills and accuracy than humans can, so it would be challenging to make your bot superior to others... kind of a bot competition!).
Honestly though, I am sad that people are wasting their time on doing harm.
Although it does seem fun to program bots like that. Like I said, maybe make a bot competition. If you don't, IG i could make something similar, although my game dev skills are non-existential right now...
As long as it's ok, then sure go ahead. Just be careful and always check the rules (exploiting loopholes is also a nono, most ToS will prevent exploitation of loopholes)
Well, I mean kind of obvious.
I assume if you know enough it isn't that hard (i've never tried. But you'd have to know your location as well as the other players, choose a target then calculate how to get to them as well as compensate for updates)...
Sounds simple in concept but hard to put into practice if you don't know what you are doing (like me).
I then run "chooseTarget()" until a valid target is found.
I then set an interval (1ms) that first checks if the target is valid (prevent following dead/left server players) then follows them based on the difference between my and their position.
I also set a seperate interval that just spams attack.
The best thing you can do@CoderGautamYT is have the game to be an i/o board and only send keystrokes and then have the server process them into instructions, then form an image on the server then send it to canvas (so that the players can't intercept the other player's positions. However, lag will be a big issue because you have to send images over a socket every game tick). A problem with the image though is that the resolution would have to match the screen. You could do this by sending the canvas size to the server and have the server render the image based off of those specs (so the specs would be different for each client). But, people could potentially exploit this by sending absurdly large dimensions so your client would have to work overtime to produce the image thus lagging the game. You could put measures on this by refusing clients sending absurdly large dimensions (dimensions that not even gamers with a 50 inch OLED - yes alienware makes a 50 inch OLED - monitor would have), and/or after a certain point just stop scaling up the resolution and force the client to deal with a lower resolution (will be an annoyance to people because everyone knows lower resolutions are so eye-straining and awful).
Diep.io has an interesting way of warding off bots, by requiring a computation-intensive calculation called POW (proof of work... no diep.io is not mining bitcoin). One client alone works fine; it doesn't lag. But if you run multiple clients it becomes extremely slow and strains your CPU. Also, if you refuse to respond with a POW within 10 seconds you get kicked. Since the bots are hosted on repl and repl naturally has pretty slow computing power you will likely ward off most bots hosted on low computing power platforms.
The source is from reddit, so I cannot verify the truthfulness of the claim, but see for yourself: https://www.reddit.com/r/Diepio/comments/kgyv51/diepio_might_use_your_computer_to_mine/
Oh wait, nvm a bot already beat it: https://www.youtube.com/watch?v=fsF7enQY8uI XD
Although, like they said they could make multiple tabs and then use an extension like tampermonkey to control the bots once recaptcha has been bypassed by the human (the number of bots is limited to their computer's power as well as how many recaptchas they can work through by hand). Because of this, I recommend you look into the POW concept I gave you.
It's not a bug, It's actually an intentional thing so that small players actually have a chance at killing bigger players. I am working on a hit cooldown so that bigger people can't just spam their mouse. Once that is added, i will make it so that you cant go inside people anymore.@treem-heem
- 1,000 Plays: Oct 25, 2021
- 2,000 Plays: Oct 27, 2021
- Trending (Talk): Oct 27, 2021
- Trending (Apps): Oct 28, 2021
- Amasad Commented!: Oct 28, 2021
- 100 likes: Oct 30, 2021
- 5,000 Plays: Oct 31, 2021
- 100 updoots: Oct 31, 2021 (thanks @p1ckl3)
- 10k Plays: Nov 4, 2021
- 20k Plays: Nov 17, 2021
- 500 Updoots: Nov 24, 2021 (thanks @jpage654)