What's new
  • Happy Cataclysm gaming! The long-awaited 4.3.4 Cataclysm Repack V19.0 is now live - and downloadable from our brand-new Emucoach App.
    Download it now
  • Mists of Pandaria is calling! Heya - did you know that the newest 5.4.8 MoP Repack - version 7.0 - is now live?
    Download now

[3.3.5] TC - Make Phase 0 possible

dokuro

Veteran Member
Verified Member
31
2020
8
Location
Paris
TC - Make Phase 0 possible

Summary:

Tools

The Core

The Database

1. Tools:

A functional core

A text editor (Atom, Visual Code, SublimeText)

A SGDB (Navicat, SQLYog etc.)

A machine to compile ..

2. The Core:

You will go to:

src/server/game/Globals/ObjectMgr.cpp

You are looking for the line:

if (data.phaseMask == 0)

And you comment on the whole block:

Imgur: The magic of the Internet

And the same for GameObject’s which is in the same file:

Imgur: The magic of the Internet


And hop you can recompile and besides under Linux and Windows, do not repeat Cmake, no need, you build and it's finished


3. The database:

Very simple when you want an NPC to be in phase 0 you will have to execute this code in your DB:

SET @GUID := ;
UPDATE creature SET spawnMask = 0, phaseMask = 0 WHERE guid = @GUID;

And if you want it to be a GameObject in phase 0:

SET @GUID := ;
UPDATE gameobject SET spawnMask = 0, phaseMask = 0 WHERE guid = @GUID;

Credit to : iThorgrim from Open-Wow
 
Last edited by a moderator:
Back
Top