TrinityCore / TrinityCore/TrinityCore

Server crash after respawn command in Gundrak

Open
#27,118 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Branch-master
Dominant language
C++
Stars
10.8k
Forks
6.4k
Avg merge
3d 16m
Merged PRs (30d)
6

Description

Description

I'm trying to pass Gundrak. Elementals do not spawn near the Drakkari Colossus and the boss itself is not activated.
When I write the .respawn command manually, the server shuts down with the error C:\Trinity\src\server\game\Entities\Creature\Creature.cpp: 1803 in Creature::LoadFromDB ASSERTION FAILED: m_respawnCompatibilityMode || sPoolMgr->IsPartOfAPool<Creature>(spawnId) Creature (SpawnID 127017) trying to load in inactive spawn group Gundrak - Slad'ran in the terminal.

Expected behaviour

Automatic spawn of elementals and working scripts to activate the boss.

Steps to reproduce the problem
  1. Go Gundrak
  2. Type .respawn near Drakkari Colossus
  3. Look in the terminal
Branch

master

TC rev. hash/commit

TrinityCore rev. fbc0fa342268 2021-10-18 07:34:52 +0200 (master branch) (Win64, RelWithDebInfo, Static)
Using SSL version: OpenSSL 1.1.1l 24 Aug 2021 (library: OpenSSL 1.1.1l 24 Aug 2021)
Using Boost version: 1.77.0
Using MySQL version: 5.7.35
Using CMake version: 3.21.3
Compiled on: Windows 10.0.19043
Automatic database updates are enabled for the following databases: Auth, Characters, World, Hotfixes
Worldserver listening connections on port 8085
Realmlist (Realm Id: 1) configured in port 8085
VMAPs status: Enabled. LineOfSight: 1, getHeight: 1, indoorCheck: 1
MMAPs status: Enabled
maps directory located in ./maps. Total size: 1451709970 bytes
vmaps directory located in ./vmaps. Total size: 3361529943 bytes
mmaps directory located in ./mmaps. Total size: 12291655632 bytes
Using ruRU DBC Locale as default. All available DBC locales: enUS ruRU
Using World DB: TDB 910.21101

Operating system

Windiws 10 x64

Custom changes

None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in Creature.cpp around line 1803 and reproduce the .respawn command near the Drakkari Colossus in Gundrak. Trace why SpawnID 127017 is loaded in the inactive Gundrak - Slad'ran spawn group and inspect the related spawn and activation data. Done means the elementals and boss activate as expected without shutting down the server.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.