Comments (6)
@JBoughter
The last time i checked, the bots movement was based on food on the "safe" side of the red lines. If there is no food to select/on the "safe" side then the bot finds it hard to escape.
Although if you are watching the bot as it plays, press "t" to enable manual control to escape then "t" again to disable manual control and let the bot continue to run.
from agar.io-bot.
It will probably take me a few days before I can think of a better targeting system. Ideally, there shouldn't be a [safe] -> eat freely / [unsafe] -> run away mode that changes the targeting. Every decision should be made based on current visible game state. To make it better, it needs a positioning engine or something similar.
from agar.io-bot.
From observing the bot, trying to catch smaller players is somewhat hopeless, either they are faster and can escape or the bot doesn't notice other important threats ( like a player right on top of you ). Catching another player should be a lower priority than consuming food. Usually the only time it is successful is when the player makes some misjudgement.
I would propose to change the geometry of what your bot determines is a viable area. Maybe add in some weighting, more dangerous adversaries that are moving towards you are a higher threat and so your bot "sees" them as closer, while something like a virus, it doesn't move, so your bot can get fairly close to collect food. Then the bot should try to distance itself from danger. Also getting stuck on the boundary wall isn't a good tactic, it allows you to be cornered. I would also add this as a factor to try and avoid getting too close.
Also I notice that it ignores some food that gets respawned. Maybe more frequent checks? From observing players, even in free for all, there appear to be teams that work together to coral prey. How about having multiple bots that somehow passively work together if you want to hunt.
from agar.io-bot.
I don't suppose there is a way to tap into the 'spectate mode' data to account for the entire map as whole is there? Maybe there is a way we could use that data to give the bot an advance notice on incoming threats or maybe better escape routes?
from agar.io-bot.
It might require more than one connection I'd imagine, which makes it a bit more complex. Other than that, that's whether the server blocks the same connection using spectate and playing at the same time or not, but then again, I'd doubt because if there are two people on one connection doing this, then it's different. Would need tested if that's the case.
from agar.io-bot.
I'm trying to create a bot that can operate using the same data that a human player would have. I'd rather not have it "cheat" with spectator data.
from agar.io-bot.
Related Issues (20)
- 2400 coins/24 hours HOT 10
- Bring Back Apos Bot For Private Servers? HOT 1
- Connecting Error. HOT 7
- question from a new programmer HOT 1
- messes up when i load it HOT 2
- only half appears HOT 6
- Inquiry HOT 3
- only quarter appears HOT 1
- Bot for allkeyshop agar.io?
- Whats wrong with launcher.user.js HOT 1
- Connecting HOT 3
- I know its dead, but i'm having a try. HOT 2
- Wont let me connect to agar.io HOT 1
- Problem HOT 1
- Unable to find Arena while Bot active HOT 2
- "Connecting Finding Arena Bug" HOT 1
- 'No Script is running' HOT 1
- Limited runtime host permissions might break some Tampermonkey features like script update, GM_xmlhttpRequest and others! HOT 2
- it just doesnt work HOT 2
- Дайте пожалуйста чит на agario
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agar.io-bot.