ZhengPeiRu21 / mod-playerbots

AzerothCore Playerbots Module
MIT License
194 stars 93 forks source link

Now yes! Independent bots! #115

Closed htc16 closed 1 year ago

htc16 commented 1 year ago

Now yes! Independent bots!

Solution: https://github.com/ZhengPeiRu21/mod-playerbots/issues/37 https://github.com/ZhengPeiRu21/mod-playerbots/issues/62 https://github.com/ZhengPeiRu21/mod-playerbots/issues/80 https://github.com/ZhengPeiRu21/mod-playerbots/issues/90 https://github.com/ZhengPeiRu21/mod-playerbots/issues/94 https://github.com/ZhengPeiRu21/mod-playerbots/issues/92

I tested it just now, the bots are no longer dumb, they play like players, but the server Crashou after a few minutes of seeing the bots playing alone.

And to further improve the bots' performance and activities, modify the worldserver.conf to: MapUpdate.Threads = -1 I got this answer through the open Issue the mangos playerbot at: https://github.com/celguar/mangosbot-bots/issues/65


This PR doesn't solve the crashing issues we'll experience after PR, but it's a breakthrough we've been waiting for for a long time.

From now on we will have a very good bot system and we will be able to play alone with the bots in azerothcore.

I'm very happy to help this mod work and help a lot of people who, like me, expect a system like this.

I'm not a programmer, but I like to read and interpret things and compare them with each other.

I wish I could do so much more.

The credit goes to @ZhengPeiRu21 and @UltraNix, who made it possible for us to get here, and certainly to @celguar, who was the precursor of this.

I couldn't help but opine, everything about this request https://github.com/azerothcore/azerothcore-wotlk/issues/2159 is resolved here, so my humble opinion is that @ZhengPeiRu21 and @UltraNix resolved this implementation of bot in azerothcore.

ZhengPeiRu21 commented 1 year ago

Thank you for the updates! I think when everything all is finished and all feature are exactly like upstream MangosBots, we will want to have same default settings, but I think these are very useful for using the bots in the current state and for debugging, so I will check them in as current defaults.

drozco commented 1 year ago

Issue #37 is still happening after this PR with player bots (not random bots) after they eat or drink they stop moving on their own. Log out/in and they are OK again.