alpha-core icon indicating copy to clipboard operation
alpha-core copied to clipboard

TODO: Implement creature and gameobject pooling

Open GrenderG opened this issue 2 years ago • 2 comments

Describe what needs to be implemented or enhanced At this moment all creatures and gameobjects are spawned directly from the spawns_ tables. That's not correct, pools should be taken into account to prevent, for example, multiple gameobjects spawning in the same spot (i.e. Barrels + Food Crates) or rare mobs that have different spawns, appearing in all spots at once.

Expected end result Before spawning a creature or gameobject, it should be checked if they belong to a pool or not and then decide (randomly?) what to spawn based on the pool information.

Guidance Provide any useful information, hints or guidance in general that can be useful for another developer to start working on this task.

  1. At this moment we are lacking the pool database tables, they need to be taken from VMaNGOS.
  2. load_gameobjects and load_creatures will probably need to be heavy altered.

GrenderG avatar Apr 03 '22 17:04 GrenderG

Is this issue is what cause all those Vultros in westfall ? there is a lot of them but not all at the same spot. Vultros

sadpanda353 avatar Aug 12 '22 14:08 sadpanda353

Is this issue is what cause all those Vultros in westfall ? there is a lot of them but not all at the same spot. Vultros

Yes! Exactly.

GrenderG avatar Aug 12 '22 14:08 GrenderG