Comments (13)
I've made some improvements on the latest smart_nodes branch. I tested with 15 bots on each side and it seems to have resolved the issue. If you can, try out this branch and let us know if it solves this issue.
from fun-bots.
The issue wasn't spaces, the issue was that the client didn't have the same list of names as the server. so I rewrote the client code to be name-independent entirely.
from fun-bots.
I think, the Problem is the iteration/loop with an misimplemented behavior.
You would have to implement the whole thing like a kind of collision check, that each bot in its instance makes a near-by check of the position. Did you know what i mean?
I have the same problem with 30-40 bots as zombie opponents. It starts lagging because iteration takes so long and then the bot ends up being out of scope. So the bot can never see if there is an opponent nearby because the checks take too long.
The whole thing is probably never noticed with a small number of bots.
from fun-bots.
Right now we need Raycasts to detect if a bot can see a player or bot. But these are only supported by the clients. As a bot has no client a real player has to do the calculation for the bot.
But maybe we can finde a little better algorithm or improve the speed a little.
from fun-bots.
I can confirm there is an issue with the BOTs not attacking one another, even with just 12 v 12 BOTs, a lot of the time they are just walking past each other.
from fun-bots.
Its a matter of computing power on the client.
With only one client there are with 3 agains 3 bots 9 possible connections to check. As One client only checks 1 connection every 0.1 second this takes a long time with more bots. I will double check if everything works correctly. As soon as there are more real players on the server the number of checkable connetions inceases a lot...
from fun-bots.
To your example:
with 32 vs 32 there are 1024 possible connections to check.
With only one player it will take 102,4 seconds for one complete cycle. So it can happen very likely that bots totally miss each other.
from fun-bots.
Major has added an fix. On my side, it was an little ugly implementation of Bots since Joe had startet the development.
The commit ed15ce9 will fix the issue.
Have you changed your BotNames? If they contain spaces, there could be problems. Previously, the bots were determined based on the player name, which led to problems. The behavior has now been changed a bit.
from fun-bots.
Good point and also why don't we make it so the bots are treated as players, or at least seen as players to the bot, thus they will attack them as well and not differentiate between players and other bots.
from fun-bots.
I will check these today, when i bring up my windows server. I had crashed/misconfigured it yesterday.
from fun-bots.
To add to this it seems like it is worse when they are near an objective in modes like domination or rush. Particularly if they are arriving at the objective to take it they tend to ignore anyone. This was with a low bot count.
from fun-bots.
They don't have spaces in at all. You can look them up in the Shared/Constant folder. Glad this works again for you. :-)
from fun-bots.
Right now no option to improve this...
from fun-bots.
Related Issues (20)
- Bots can't handle guns in Gun Master HOT 9
- Menu not showing GUI HOT 2
- Bots walk on vehicle paths HOT 7
- Game crash at end of match (2.8.0-dev5) HOT 2
- Rubberbanding (2.8.0-dev5) HOT 10
- Vehicle aim adjustments HOT 1
- Path editor Loop and Reverse HOT 1
- Gun Master Bots infinite M-SAW HOT 1
- Some maps in Squadrush mode are invalid. HOT 1
- Auto kill bots that have unknown current objective HOT 5
- Auto Label Finder
- Bots unknowningly walk instead of following traces movement | Tank having trouble with first node HOT 1
- Force dead\awaiting to spawn bots on base path connected to one MCOM remaining HOT 1
- Bot stuck defib HOT 2
- Delay spawn of Bots in Jets
- Add config option to randomize bots' attachments
- Failure to be compatible with new server command HOT 3
- Mod itself unknowningly corrupted my .map file HOT 3
- Refactor: Move the 'fun-bots-helper' to a repo and add as a submodule HOT 2
- seine crossing bots pool party (stuck) HOT 3
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 fun-bots.