T-Rizzle12 / Custom-Gmod-Bot

Originally a personal gmod bot that I decided to make public.
Apache License 2.0
6 stars 2 forks source link

Rewrite the bot's interfaces to be its own classes #56

Open T-Rizzle12 opened 2 months ago

T-Rizzle12 commented 2 months ago

The bot's Body, Vision, and Locomotion interfaces are currently all attached to the player class which could have collisions with other addons that use functions with the same name. Since I will be giving the bot an intention/behavior interface that manages the bot's main AI in the next update #55. I should move the Body, Vision, and Locomotion interfaces into their classes as well to make it so there is little chance of collision and I don't have to append TBot to every function name as well.

TODO:

T-Rizzle12 commented 2 months ago

Update: I have successfully ported the required functions from the main addon file into the new Vision Interface. I still have to do some testing, but everything looks good so far.

T-Rizzle12 commented 2 months ago

Update: I have made some more progress, but I have currently run into an issue. The bot's vision interface is very expensive to run, so I need to find a way to optimize it!

T-Rizzle12 commented 1 month ago

Alright, I have finally added the new code to the GitHub. I really should have done this sooner......

T-Rizzle12 commented 1 month ago

Update: Just trying to iron out the final bugs I found while testing and other than that everything looks good! I just need to create a pull request!

T-Rizzle12 commented 3 weeks ago

All that is left is bug checking. I will be posting updates in #57!