Skip to content

Conversation

@APGRoboCop
Copy link

Hopefully those flag adjustments will work well for Linux RealBot

APGRoboCop and others added 2 commits October 1, 2019 15:40
@stefanhendriks
Copy link
Collaborator

I'm testing this and i noticed on my machine (macOS) that there is no such thing as g++-4.5. When changing that into g++ it seems to compile fine.

One way to deal with this is to make changes around this part:

ifeq ($(UNAME_S),Linux)
SO_SUFFIX = so
endif
ifeq ($(UNAME_S),Darwin)
SO_SUFFIX = dylib
endif

so you put within ifeq( linux) part the gcc++-4.5, or perhaps better is to create a symlink on y our machine pointing gcc++ to this version?

- 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.
@APGRoboCop
Copy link
Author

APGRoboCop commented Oct 2, 2019

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:-

./libstdc++.so.6: version 'CXXABI_1.3.9' not found

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.

http://forums.bots-united.com/showthread.php?t=10041&page=8

@APGRoboCop
Copy link
Author

Did some optimisations, reduced redundancy and add missing parameters recently to your RealBot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants