Jump to content
TrinityCore

zamalaev

Plebs
  • Content Count

    13
  • Joined

  • Last visited

Community Reputation

-5 Poor

1 Follower

About zamalaev

Profile Information

  • Location
    Russia

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. zamalaev

    Phasing System

    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
  2. zamalaev

    Phasing System

    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
  3. zamalaev

    Terain Map System

    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 ?
  4. zamalaev

    7.3

    no, no))
  5. zamalaev

    Question about the hotfix table

    Shauren `hotfixes`-->`hotfix_data` Explain the purpose of the table and column values P.S Grand thanks)
  6. zamalaev

    spell script

    method Relocate? example plz
  7. zamalaev

    Viewing the Spell.db File

    https://github.com/Shauren/dbcviewer
  8. zamalaev

    spell script

    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
×