PDA

View Full Version : TrinityCore 3.3.5 Tutorial: Instant resurrection



Minodevs
07-22-2016, 01:06 PM
Hello Guys Today I'll show how to be Making a Instant resurrection, Just Follow Steps

1. Go To Source Folder
C:\<wherever your source is>\src\server\game\Entities\Player

2. Tag on Player.cpp
3. Edit Wtih Notepad++
4. Ctrl + F
5. u Should To found that code


// corpse reclaim times
#define DEATH_EXPIRE_STEP (5*MINUTE)
#define MAX_DEATH_COUNT 3

static uint32 copseReclaimDelay[MAX_DEATH_COUNT] = { 30, 60, 120 };

6 <---- Change To Like That Step,


// corpse reclaim times
#define DEATH_EXPIRE_STEP (5*MINUTE)
#define MAX_DEATH_COUNT 3

static uint32 copseReclaimDelay[MAX_DEATH_COUNT] = { 0 }; //instant resurrection

7. That is Done Next Re-Compile that wtih Cmake, Next Go to Build Folder, Clean Sultion, Next Realse it And your Will be done :)

Vitrex
07-23-2016, 12:42 AM
well, your tutorials quite decent, but i would suggest you work more on one with English rather than keep baking new ones, because for some people it's really hard to understand what you really mean.
It's not an insult or something don't get me wrong, just friendly advise.

Jiinx
07-23-2016, 10:36 PM
This looks oddly familiar...