1518 | | bool tbc = GetSession()->IsTBC() && sWorld.getConfig(CONFIG_EXPANSION) > 0; |
1519 | | |
1520 | | // normal client and TBC map |
1521 | | if(!tbc && mEntry->IsExpansionMap()) |
1522 | | { |
1523 | | sLog.outDebug("Player %s using Normal client and tried teleport to non existing map %u", GetName(), mapid); |
| 1518 | // client without expansion support |
| 1519 | if(GetSession()->Expansion() < mEntry->Expansion()) |
| 1520 | { |
| 1521 | sLog.outDebug("Player %s using client without required expansion tried teleport to non accessable map %u", GetName(), mapid); |
1538 | | sLog.outDebug("Player %s have normal client and will teleported to standard map %u", GetName(), mapid); |
1539 | | } |
1540 | | /* |
1541 | | only TBC (no 0x80000 and 0x10 flags...) |
1542 | | 3604590=0x37006E=0x200000 + 0x100000 + 0x40000 + 0x20000 + 0x10000 + 0x40 + 0x20 + 0x8 + 0x4 + 0x2 |
1543 | | |
1544 | | Kharazan (normal/TBC??), but not have 0x10 flag (accessible by normal client?) |
1545 | | 4128878=0x3F006E=0x200000 + 0x100000 + 0x80000 + 0x40000 + 0x20000 + 0x10000 + 0x40 + 0x20 + 0x8 + 0x4 + 0x2 |
1546 | | |
1547 | | normal+TBC maps |
1548 | | 4128894=0x3F007E=0x200000 + 0x100000 + 0x80000 + 0x40000 + 0x20000 + 0x10000 + 0x40 + 0x20 + 0x10 + 0x8 + 0x4 + 0x2 |
1549 | | |
1550 | | normal+TBC maps |
1551 | | 8323198=0x7F007E=0x400000 + 0x200000 + 0x100000 + 0x80000 + 0x40000 + 0x20000 + 0x10000 + 0x40 + 0x20 + 0x10 + 0x8 + 0x4 + 0x2 |
1552 | | */ |
| 1532 | sLog.outDebug("Player %s will teleported to map %u", GetName(), mapid); |
| 1533 | } |