[Archive] [TrinityCore] How to make players respawn at corpse
[Archive] [TrinityCore] How to make players respawn at corpse
Quote: delete from game_graveyard_zone;Then you have to locate this: src/server/game/globals/ObjectMgr.cpp
Click to expand...
Quote: WorldSafeLocsEntry const* ObjectMgr::GetDefaultGraveYard(uint32 team)And change with this:
{
enum DefaultGraveyard
{
HORDE_GRAVEYARD = 10, // Crossroads
ALLIANCE_GRAVEYARD = 4, // Westfall
};
if (team == HORDE)
return sWorldSafeLocsStore.LookupEntry(HORDE_GRAVEYARD);
else if (team == ALLIANCE)
return sWorldSafeLocsStore.LookupEntry(ALLIANCE_GRAVEYARD);
else return NULL;
}
Click to expand...
Quote: WorldSafeLocsEntry const* ObjectMgr::GetDefaultGraveYard(uint32 team)Players should appear over their body when they die, hope this helped you!
{
/*enum DefaultGraveyard
{
HORDE_GRAVEYARD = 10, // Crossroads
ALLIANCE_GRAVEYARD = 4, // Westfall
};
if (team == HORDE)
return sWorldSafeLocsStore.LookupEntry(HORDE_GRAVEYARD);
else if (team == ALLIANCE)
return sWorldSafeLocsStore.LookupEntry(ALLIANCE_GRAVEYARD);*/
return NULL;
}
Click to expand...
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source
First run this in your world database
@Credits to Death.
Quote: delete from game_graveyard_zone;Then you have to locate this: src/server/game/globals/ObjectMgr.cpp
Click to expand...
Quote: WorldSafeLocsEntry const* ObjectMgr::GetDefaultGraveYard(uint32 team)And change with this:
{
enum DefaultGraveyard
{
HORDE_GRAVEYARD = 10, // Crossroads
ALLIANCE_GRAVEYARD = 4, // Westfall
};
if (team == HORDE)
return sWorldSafeLocsStore.LookupEntry(HORDE_GRAVEYARD);
else if (team == ALLIANCE)
return sWorldSafeLocsStore.LookupEntry(ALLIANCE_GRAVEYARD);
else return NULL;
}
Click to expand...
Quote: WorldSafeLocsEntry const* ObjectMgr::GetDefaultGraveYard(uint32 team)Players should appear over their body when they die, hope this helped you!
{
/*enum DefaultGraveyard
{
HORDE_GRAVEYARD = 10, // Crossroads
ALLIANCE_GRAVEYARD = 4, // Westfall
};
if (team == HORDE)
return sWorldSafeLocsStore.LookupEntry(HORDE_GRAVEYARD);
else if (team == ALLIANCE)
return sWorldSafeLocsStore.LookupEntry(ALLIANCE_GRAVEYARD);*/
return NULL;
}
Click to expand...
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source
Very nice but this is how i maked it and its more easy for people who just get started or people who use repacks.You can make no sickness from the configs.They will take their body from the angel.Again very nice tutorial. Its not the same thing but at least they take the body without runing around to find it and without waiting.
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source
VERY nice indeed!!!
Quote:Bingo said:Yeah, you can also do that, however if you want to spawn where you died, I guess the tutorial I made is easier, instead of making new graveyards all over the place. ^^ Glad you liked it!
Very nice but this is how i maked it and its more easy for people who just get started or people who use repacks.You can make no sickness from the configs.They will take their body from the angel.Again very nice tutorial. Its not the same thing but at least they take the body without runing around to find it and without waiting.
Click to expand...
Quote:Foufos said:Thank you
VERY nice indeed!!!
Click to expand...
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source
Quote:Bingo said:Yeah, you can also do that, however if you want to spawn where you died, I guess the tutorial I made is easier, instead of making new graveyards all over the place. ^^ Glad you liked it!
Very nice but this is how i maked it and its more easy for people who just get started or people who use repacks.You can make no sickness from the configs.They will take their body from the angel.Again very nice tutorial. Its not the same thing but at least they take the body without runing around to find it and without waiting.
Click to expand...
Quote:Foufos said:Thank you
VERY nice indeed!!!
Click to expand...
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source
interesting ![]()
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source
Truly interesting, works like charm!
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source
really thanku!
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source
Hope it helped! ![]()
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source
Very nice, thanks!
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source
ty