-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Updated Makefile for compatibility & optimisations #31
base: master
Are you sure you want to change the base?
Conversation
So at this point bots ignore experience - it probably should be redone.
I'm testing this and i noticed on my machine (macOS) that there is no such thing as One way to deal with this is to make changes around this part:
so you put within |
- so we won't consider stuck when we move slower, we give the bot a bit more time (just like ducking) - Also when a bot has another bot in front of him, he will try to unstuck (strafe right) for only the time given to move to the node, after that the 'normal' unstuck logic also kicks in. Else the bots will remain stuck at each other forever... :/
- it looked like the testing on as_oilrig showed other causes for the weird navigation: reason being that from CT spawn to the slope downwards there are connections and bots did not know they couldnt get over/under the bar between. - I ran test with a single bot, it learned the connections where bad, then re-adding multiple bots and the behavior was good again. - With the other changes where bots getting stuck will still kick off (after a certain time) the unstuck mechanism also helped a lot - Another thing: the mechanism creating connections should be smarter so instead of 'unlearning' it should also prevent creating bad connections in the first place.
Not sure but Apple will make macOS support for RealBot and maybe HLDS die, no thanks to Catalina. So I thought it is pointless and I've never compiled for macOS before. Another reason why I've used G++-4.8 is due to some outdated dependencies provided by SteamCMD that contains 'CXXABI_1.3.9'. Also me and SandBot dev realised some issues using newer compilers using the libstdc++.6 and came with this error using G++ 6 or higher:-
You may want to look this up as I do know that newer GCCs appears to not allow compiled bots to work for HLDS Linux. |
Did some optimisations, reduced redundancy and add missing parameters recently to your RealBot |
Whew well after over 100s of changes to RealBot since v4.0.1 let me list some changelogs and todos:- Changelog:- » Reduced Redundant coding Todo:
So there you have it, but I think I need to rest and put this improvement project on hold for a long while. |
Minor refactoring for modernisation and less redundant coding
Hopefully those flag adjustments will work well for Linux RealBot