TrinityCore/TrinityCore — pull request #7396 by cyberbrest (2012-08-14 08:11:53+00:00)
Title: [PacketIO] SMSG_SET_PHASE_SHIFT.

I'm working on new map phasing. And may be someone have any ideas about it.
So. In Gilneas. At first loading server send shift.

```
ServerToClient: SMSG_SET_PHASE_SHIFT (0x70A0) Length: 29 Time: 08/08/2012 10:50:41.264 Number: 60
Count1: 0 (0x00000000)
UInt32: 8 (0x00000008)
Terrain swap count: 0
Phases count: 0
Count4: 2 (0x00000002)
[0] Fourth array: 638 (0x027E)
```

After changing phase at casting aura 59073

```
ServerToClient: SMSG_SET_PHASE_SHIFT (0x70A0) Length: 31 Time: 08/08/2012 10:51:11.934 Number: 700
Count1: 0 (0x00000000)
UInt32: 0 (0x00000000)
Terrain swap count: 0
Phases count: 1
[0] Phase id: 170 (0x00AA)
Count4: 2 (0x00000002)
[0] Fourth array: 638 (0x027E)
```

170 - is phase id from phase.dbc
638 - phase map

after manuall sending with data from second dumb client crashes.

after shift client get update

```
[1] Block Value 157: 0/0
[1] Block Value 630: 80/1.121039E-43
[1] Block Value 1194: 15/2.101948E-44
[1] Block Value 1195: 0/0
```
+

before i get interesting SMSG_QUEST_POI_QUERY_RESPONSE with both maps in coordinates

```
ServerToClient: SMSG_QUEST_POI_QUERY_RESPONSE (0x6304) Length: 92 Time: 08/08/2012 10:50:55.803 Number: 447
Count: 1 (0x00000001)
[0] Quest ID: 14078 (0x36FE)
[0] POI Counter: 2 (0x00000002)
[0] [0] POI Index: 0 (0x00000000)
[0] [0] Objective Index: -1 (0xFFFFFFFF)
[0] Map Id: 638 (0x027E)
[0] [0] World Map Area: 539 (0x0000021B)
[0] [0] Floor Id: 0 (0x00000000)
[0] [0] Unk Int32 2: 0 (0x00000000)
[0] [0] Unk Int32 3: 1 (0x00000001)
[0] [0] Points Counter: 1 (0x00000001)
[0] [0] [0] Point X: -1405 (0xFFFFFA83)
[0] [0] [0] Point Y: 1447 (0x000005A7)
[0] [1] POI Index: 1 (0x00000001)
[0] [1] Objective Index: -1 (0xFFFFFFFF)
[0] Map Id: 654 (0x028E)
[0] [1] World Map Area: 545 (0x00000221)
[0] [1] Floor Id: 0 (0x00000000)
[0] [1] Unk Int32 2: 0 (0x00000000)
[0] [1] Unk Int32 3: 1 (0x00000001)
[0] [1] Points Counter: 1 (0x00000001)
[0] [1] [0] Point X: -1405 (0xFFFFFA83)
[0] [1] [0] Point Y: 1447 (0x000005A7)
```

This everything that i fount.
May someone has any ideas where is problem?
I think that we should send something in SMSG_UPDATE_OBJECT for client.