Before I start I will explain for people who do not know what phasing is:
Phasing is a technique commonly used in MMORPGs. This refers to the technique of having a certain area look different to different characters.
So I've recently been experimenting with phasing and how it works. This is what I've discovered so far:
I spawned 14 boars, and 14 gameobjects (the 14 objects were in all phases infront of them so that I knew which was in each phase). I put each boar in a seperate phase up from 1-14.
I then put my self in each phase from -1 to 14 and counted which ones showed:
-1 = all
0 = 0
1 = 1
2 = 2
3 = 1 + 2
4 = 4
5 = 1 + 3
6 = 2 + 4
7 = 2 + 5
8 = 8
9 = 1 + 3 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14...
10 = 2 + 3 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14...
11 = 1 + 2 + 3 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14...
12 = 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14...
13 = 1 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14...
14 = 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14...
Can anyone notice a pattern? I just get cunfuzzled once you each 9. Either the logic is fairly messed up or the phasing is messed up on emulators, either way this is what we have to work with, and I'm using it quite effectively despite this.
In terms of in game and phasing, there are multiple ways to actually do this.
In ArcEmu, you can target a npc and do .npc phase x
x = the phase you want.
To make the phase permenent, you simple do .npc phase x 1 much like spawning gameobjects.
The same happens with gameobjects, but it is .go phase x 1.
You can change the phase of your character by targeting yourself and doing .char phase x.
Your character will stay in that phase after restart/relog etc until you put it back.
There are a couple of Lua commands that I use a lot for quests:
:GetPhase()
:SetPhase(x)
Also the default phase for players and the world in general is 1.
I hope some people find this information useful.![]()