Forums WoW Modding Tutorials Miscellaneous [Archive] [TrinityCore] How to make players respawn at corpse

[Archive] [TrinityCore] How to make players respawn at corpse

[Archive] [TrinityCore] How to make players respawn at corpse

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
11-04-2025, 05:04 PM
#1
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;

Click to expand...
Then you have to locate this: src/server/game/globals/ObjectMgr.cpp

Find this:
Quote: WorldSafeLocsEntry const* ObjectMgr::GetDefaultGraveYard(uint32 team)

{

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...
And change with this:
Quote: WorldSafeLocsEntry const* ObjectMgr::GetDefaultGraveYard(uint32 team)

{

/*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...
Players should appear over their body when they die, hope this helped you!
rektbyfaith
11-04-2025, 05:04 PM #1

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;

Click to expand...
Then you have to locate this: src/server/game/globals/ObjectMgr.cpp

Find this:
Quote: WorldSafeLocsEntry const* ObjectMgr::GetDefaultGraveYard(uint32 team)

{

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...
And change with this:
Quote: WorldSafeLocsEntry const* ObjectMgr::GetDefaultGraveYard(uint32 team)

{

/*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...
Players should appear over their body when they die, hope this helped you!

rektbyfaith
Administrator
0
11-04-2025, 05:04 PM
#2
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.
rektbyfaith
11-04-2025, 05:04 PM #2

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.

rektbyfaith
Administrator
0
11-04-2025, 05:04 PM
#3
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source

VERY nice indeed!!!
rektbyfaith
11-04-2025, 05:04 PM #3

Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source

VERY nice indeed!!!

rektbyfaith
Administrator
0
11-04-2025, 05:04 PM
#4
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source

Quote:Bingo said:

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...
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!
Quote:Foufos said:

VERY nice indeed!!!

Click to expand...
Thank you [Image: 1f642.png]
rektbyfaith
11-04-2025, 05:04 PM #4

Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source

Quote:Bingo said:

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...
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!
Quote:Foufos said:

VERY nice indeed!!!

Click to expand...
Thank you [Image: 1f642.png]

rektbyfaith
Administrator
0
11-04-2025, 05:04 PM
#5
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source

interesting [Image: 1f642.png]
rektbyfaith
11-04-2025, 05:04 PM #5

Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source

interesting [Image: 1f642.png]

rektbyfaith
Administrator
0
11-04-2025, 05:04 PM
#6
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source

Truly interesting, works like charm!
rektbyfaith
11-04-2025, 05:04 PM #6

Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source

Truly interesting, works like charm!

rektbyfaith
Administrator
0
11-04-2025, 05:04 PM
#7
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source

really thanku!
rektbyfaith
11-04-2025, 05:04 PM #7

Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source

really thanku!

rektbyfaith
Administrator
0
11-04-2025, 05:04 PM
#8
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source

Hope it helped! [Image: 1f642.png]
rektbyfaith
11-04-2025, 05:04 PM #8

Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source

Hope it helped! [Image: 1f642.png]

rektbyfaith
Administrator
0
11-04-2025, 05:04 PM
#9
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source

Very nice, thanks!
rektbyfaith
11-04-2025, 05:04 PM #9

Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source

Very nice, thanks!

rektbyfaith
Administrator
0
11-04-2025, 05:04 PM
#10
Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source

ty
rektbyfaith
11-04-2025, 05:04 PM #10

Archived author: Etox • Posted: 2025-11-04T18:04:46.202830
Original source

ty

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)