Trinity-Bots icon indicating copy to clipboard operation
Trinity-Bots copied to clipboard

[TC] [Question/Feature] More Bots

Open Jaccob7 opened this issue 11 months ago • 9 comments

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • [X] I understand that my issue may get closed without notice if I intentionally remove or skip any mandatory* field
  • [X] This is NOT a bug/crash report
  • [X] I've searched the bugtracker for similar questions/requests including closed ones

Description

I would like to spawn more 500 wandering bots. There any sql file besides the one it come with 500 extra bot's?

TrinityCore or AzerothCore

TrinityCore

Core rev. hash/commit

No response

Operating system

No response

Jaccob7 avatar Jan 12 '25 23:01 Jaccob7

Or there command that could get created where it randomizes everything for bot creations

Jaccob7 avatar Jan 12 '25 23:01 Jaccob7

There are 3rd party SQL scripts that add thousands of new bots, look them up. By default there is only .npcbot createnew command where you have to provide all the values

trickerer avatar Jan 13 '25 00:01 trickerer

I have a new copy of 11k bots from the author that has the AC changes needed to work, if you wish to download. Its 5 sql files.

Use at your own risk, and backup your database before using incase it overwrites what you may in those ID's 80001-91982

Conan1996-2 avatar Jan 13 '25 02:01 Conan1996-2

Here's my python script to automate npcbot's

Just open wow on GM account and the script will do the rest https://pastebin.com/ghtZQhfm

Jaccob7 avatar Jan 16 '25 10:01 Jaccob7

Did you bump up server to handle all the bots though? When I spawned many the only way I found was to increase db/world thread count in configs. When everything was at 1 thread (default) the world would just lag real hard and the DB would get a ton of "queued" queries and take forever to terminate.

I don't think I've ever seen any comment about it anywhere. I just ended up setting

WorldDatabase.WorkerThreads     = 4
CharacterDatabase.WorkerThreads = 4
WorldDatabase.SynchThreads     = 4
CharacterDatabase.SynchThreads = 4

in worldserver.conf and with 3.5k wanderers that works fine but if you know what specifically allows scaling it would be good to know for those that can't or don't want to throw extra resources randomly.

Shadowcoldzx avatar Jan 26 '25 19:01 Shadowcoldzx

Here's my python script to automate npcbot's

Just open wow on GM account and the script will do the rest https://pastebin.com/ghtZQhfm

Seems your script is not working at all.can you fix it or any tutorial how correctly use it?

Parkan1986 avatar Apr 13 '25 18:04 Parkan1986

I'd say that 314 bots isn't enough. Wow has 100 zones, that's 3 bots per zone. Assuming 1 is dead at all times you might bump into one or two at best.

Less if an Alterac Valley is running and has sucked 70 of the 300 bots out of the world.

Somewhere around 750 should come with the module I think. Anything more than that and you should be on your own.

StraysFromPath avatar May 27 '25 09:05 StraysFromPath

I'd say that 314 bots isn't enough. Wow has 100 zones, that's 3 bots per zone. Assuming 1 is dead at all times you might bump into one or two at best.

Less if an Alterac Valley is running and has sucked 70 of the 300 bots out of the world.

Somewhere around 750 should come with the module I think. Anything more than that and you should be on your own.

I use 2500 bots on a Pi5, seems to be more than enough to run into them in almost any zone with no lag, crashing or issues.

Conan1996-2 avatar May 31 '25 23:05 Conan1996-2

I'd say that 314 bots isn't enough. Wow has 100 zones, that's 3 bots per zone. Assuming 1 is dead at all times you might bump into one or two at best. Less if an Alterac Valley is running and has sucked 70 of the 300 bots out of the world. Somewhere around 750 should come with the module I think. Anything more than that and you should be on your own.

I use 2500 bots on a Pi5, seems to be more than enough to run into them in almost any zone with no lag, crashing or issues.

What is you "Update time diff" value with 2500 bots ?

Here's my config :

KVM guest with 8 cores (Xeon CPU E3-1245 v5 @ 3.50GHz) :

MapUpdateInterval = 10
MapUpdate.Threads = 8
NpcBot.WanderingBots.Continents.Count = 2000
LoginDatabase.WorkerThreads     = 1
WorldDatabase.WorkerThreads     = 1
CharacterDatabase.WorkerThreads = 1
LoginDatabase.SynchThreads     = 1
WorldDatabase.SynchThreads     = 1
CharacterDatabase.SynchThreads = 1

My Update time diff is around 100.

kruchor avatar Jul 18 '25 08:07 kruchor

I'd say that 314 bots isn't enough. Wow has 100 zones, that's 3 bots per zone. Assuming 1 is dead at all times you might bump into one or two at best. Less if an Alterac Valley is running and has sucked 70 of the 300 bots out of the world. Somewhere around 750 should come with the module I think. Anything more than that and you should be on your own.

I use 2500 bots on a Pi5, seems to be more than enough to run into them in almost any zone with no lag, crashing or issues.

What is you "Update time diff" value with 2500 bots ?

Here's my config :

KVM guest with 8 cores (Xeon CPU E3-1245 v5 @ 3.50GHz) :

MapUpdateInterval = 10
MapUpdate.Threads = 8
NpcBot.WanderingBots.Continents.Count = 2000
LoginDatabase.WorkerThreads     = 1
WorldDatabase.WorkerThreads     = 1
CharacterDatabase.WorkerThreads = 1
LoginDatabase.SynchThreads     = 1
WorldDatabase.SynchThreads     = 1
CharacterDatabase.SynchThreads = 1

My Update time diff is around 100.

My update time diff with 800 bots is between 90 and 105.

StraysFromPath avatar Jul 19 '25 00:07 StraysFromPath