Jump to content
TrinityCore

zamalaev

Members
  • Content Count

    17
  • Joined

  • Last visited

Everything posted by zamalaev

  1. not confirm! use Arctium launcher not retail tools launcher and extrators https://github.com/ReyDonovan/TrinityCoreReforge/tree/master/contrib/launcher (sorry link)
  2. not problem, not confirm. Connect good
  3. some more information if you let packet ServerToClient: SMSG_PHASE_SHIFT_CHANGE (0x2577) Length: 59 ConnIdx: 0 Time: 12/10/2018 22:16:12.995 Number: 347 Client: Full: 0x0815E8000000000000000000073DC84B Player/0 R1402/S0 Map: Eastern Kingdoms Low: 121489483 PhaseShiftFlags: 24 PhaseShiftCount: 6 PersonalGUID: Full: 0x0 [0] PhaseFlags: 1 [0] Id: 4899 [1] PhaseFlags: 1 [1] Id: 5114 [2] PhaseFlags: 1 [2] Id: 5115 [3] PhaseFlags: 1 [3] Id: 5116 [4] PhaseFlags: 1 [4] Id: 5324 [5] PhaseFlags: 1 [5] Id: 5837 PhaseGroup: 895 Phases: 5116 - 5114 - 5115 it is interesting and how to determine which phase the player is currently in from 14 phases and field `PhaseUseFlag` = [0] PhaseFlags: 1 or PhaseShiftFlags: 24? Of course, you can make a hard hack for all 14 phases, create a phase group in the hotfix database and use it then we get the minimum records in the database and fast phase switching using condition or spell
  4. I had a small idea, why not do reading phases from the database, for example, such as reading spawnDifficulty example `PhaseID` varchar(255) NOT NULL DEFAULT '0' (phase, phase, phase,) maybe i am wrong but then we can avoid random duplicates or large amounts of data
  5. some things are clear to me for example: DELETE FROM `terrain_swap_defaults` WHERE `TerrainSwapMap` IN (1943, 1876); INSERT INTO `terrain_swap_defaults` VALUES (0, 1943, 'WarForonts -Arathi Alliance), (0, 1876, 'WarForonts -Arathi Horde); data Map.db2 but where to look for values for terrain_worldmap ?
  6. Shauren `hotfixes`-->`hotfix_data` Explain the purpose of the table and column values P.S Grand thanks)
  7. method Relocate? example plz
  8. https://github.com/Shauren/dbcviewer
  9. void HandleDummy(SpellEffIndex /*effIndex*/) { if (Unit* caster = GetCaster()) { if (Player* _player = caster->ToPlayer()) { if (GetSpellInfo()->Id == SPELL_MONK_ZEN_PILGRIMAGE) { _player->SaveRecallPosition(); save player position _player->TeleportTo(870, 3818.55f, 1793.18f, 950.35f, _player->GetOrientation()); tele new position } else if (GetSpellInfo()->Id == SPELL_MONK_ZEN_PILGRIMAGE_RETURN) { // need help return player save position _player->RemoveAura(SPELL_AURA_ZEN_PILGRIMAGE_RETURN); remove aura } } } help plz
×
×
  • Create New...