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.