scriptdev2 / scriptdev2-tbc Goto Github PK
View Code? Open in Web Editor NEWScriptDev2 for TBC
Home Page: http://www.scriptdev2.com
License: GNU General Public License v2.0
ScriptDev2 for TBC
Home Page: http://www.scriptdev2.com
License: GNU General Public License v2.0
== ScriptDev2 README == This file is part of the ScriptDev2 Project. See AUTHORS file for Copyright information This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA == Welcome to ScriptDev2 == ScriptDev2 is a script library, an extention of the scripting capabilities that comes with MaNGOS ( http://www.getmangos.com ), written in C++ and is compatible with Windows and Linux. SQL needed for database support both MySQL and PostgreSQL. This script library provides unique scripts for NPCs, gameobjects, events and other that need unique implementation. Once ScriptDev2 is compiled it is automatically run by MaNGOS on server startup. For further information on ScriptDev2, please visit our project web site at http://www.scriptdev2.com/ Documentation on various development related topics can be found in the ../doc/ sub directory as well as on the web site. The required SQL files for creating the database backend are included in the ../sql/ sub directory. If you are updating from an older ScriptDev2 version, make sure to take a look at the SQL files provided in the ../sql/updates/ sub directory.
Solved it.
Nightbane - NPC Entry http://www.wowhead.com/npc=17225/nightbane after you use the item to summon him he only fly in air his waypoints bot you cant attack him and he come not down
Chees Event - I apply the move patch but after the vent when you won the event respawn after 10 secs and you can make the event with the other faction again is this right ?
Attumen the Huntsman - NPC http://www.wowhead.com/npc=16152/attumen-the-huntsman Have a visual bug with his charge spell the spell works but not the visual he dont run to a player
Shade of Aran - NPC Entry http://www.wowhead.com/npc=16524/shade-of-aran Missing Phase 3 the Elements not Spawn on the trigger and the trigger not visible
The Curator - NPC Entry http://www.wowhead.com/npc=15691/the-curator After +-5 Mins he Spawn over 100000000 Flare (17096) and server will crash/lagg massive
Spawn Positions for The waves...r wrong..waves come to in front of both alliance and horde bases...
Timer on waves is wrong..after the last mob dies..it takes like 10-13 seconds and second wave starts..leaving no time for the raid members to replenish they're strength
Flying Waves in Horde base r not flying and they spawn as Waves..in the same position like the ghouls/abominations etc..melee wave..
ACID-Scripts/TBC@bd0e6cb
http://www.wowhead.com/npc=23069/demon-fire
Should have react state passive.
Suggest delete EAI script and add in SD2 script.
Or delete EAI script and add aura in creature_template_addon and NullAI in database.
Or add SET_REACT_STATE_PASSIVE ACTION in EAI.
Boss will not attack you if you stand outside of melee range.
However, you can still attack her.
The boss does not work, checked in 3 people. Portal tyknut impossible when the boss moves into another dimension, there is no one there
Complete Log:
1>------ Build started: Project: ScriptDev2, Configuration: Release Win32 ------
1> Extracting revision
1> precompiled.cpp
1> escort_ai.cpp
1> follower_ai.cpp
1>..\base\follower_ai.cpp(52): error C2039: 'CreatureTypeFlags' : is not a member of 'CreatureInfo'
1> d:\wow source\source\server\src\game\Creature.h(77) : see declaration of 'CreatureInfo'
1> guard_ai.cpp
1> pet_ai.cpp
1> battleground.cpp
1> alterac_mountains.cpp
1> arathi_highlands.cpp
1>..\base\escort_ai.cpp(102): error C2039: 'CreatureTypeFlags' : is not a member of 'CreatureInfo'
1> d:\wow source\source\server\src\game\Creature.h(77) : see declaration of 'CreatureInfo'
1> blasted_lands.cpp
1> burning_steppes.cpp
1> dun_morogh.cpp
1> eastern_plaguelands.cpp
1> elwynn_forest.cpp
1> eversong_woods.cpp
1> ghostlands.cpp
1> hinterlands.cpp
1> ironforge.cpp
1> isle_of_queldanas.cpp
1> loch_modan.cpp
1> redridge_mountains.cpp
1> searing_gorge.cpp
1> silvermoon_city.cpp
1> silverpine_forest.cpp
1> stormwind_city.cpp
1> stranglethorn_vale.cpp
1> swamp_of_sorrows.cpp
1> tirisfal_glades.cpp
1> undercity.cpp
1> western_plaguelands.cpp
1> westfall.cpp
1> wetlands.cpp
1> blackrock_depths.cpp
1> boss_ambassador_flamelash.cpp
1> boss_coren_direbrew.cpp
1> boss_emperor_dagran_thaurissan.cpp
1> boss_general_angerforge.cpp
1> boss_high_interrogator_gerstahn.cpp
1> instance_blackrock_depths.cpp
1> boss_gyth.cpp
1> boss_overlord_wyrmthalak.cpp
1> boss_pyroguard_emberseer.cpp
1> instance_blackrock_spire.cpp
1> boss_broodlord_lashlayer.cpp
1> boss_chromaggus.cpp
1> boss_ebonroc.cpp
1> boss_firemaw.cpp
1> boss_flamegor.cpp
1> boss_nefarian.cpp
1> boss_razorgore.cpp
1> boss_vaelastrasz.cpp
1> boss_victor_nefarius.cpp
1> instance_blackwing_lair.cpp
1> boss_mr_smite.cpp
1> deadmines.cpp
1> instance_deadmines.cpp
1> boss_thermaplugg.cpp
1> gnomeregan.cpp
1> instance_gnomeregan.cpp
1> boss_curator.cpp
1> boss_maiden_of_virtue.cpp
1> boss_midnight.cpp
1> boss_moroes.cpp
1> boss_netherspite.cpp
1> boss_nightbane.cpp
1> boss_prince_malchezaar.cpp
1> boss_shade_of_aran.cpp
1>..\scripts\eastern_kingdoms\karazhan\boss_shade_of_aran.cpp(209): error C2039: 'GetPowerType' : is not a member of 'Creature'
1> d:\wow source\source\server\src\game\Creature.h(468) : see declaration of 'Creature'
1> boss_terestian_illhoof.cpp
1> bosses_opera.cpp
1> chess_event.cpp
1> instance_karazhan.cpp
1> karazhan.cpp
1> boss_felblood_kaelthas.cpp
1> boss_priestess_delrissa.cpp
1> boss_selin_fireheart.cpp
1> boss_vexallus.cpp
1> instance_magisters_terrace.cpp
1> magisters_terrace.cpp
1> boss_baron_geddon.cpp
1> boss_garr.cpp
1> boss_gehennas.cpp
1> boss_golemagg.cpp
1> boss_lucifron.cpp
1> boss_magmadar.cpp
1> boss_majordomo_executus.cpp
1> boss_ragnaros.cpp
1> boss_shazzrah.cpp
1> boss_sulfuron_harbinger.cpp
1> instance_molten_core.cpp
1> molten_core.cpp
1> boss_anubrekhan.cpp
1> boss_faerlina.cpp
1> boss_four_horsemen.cpp
1> boss_gluth.cpp
1> boss_gothik.cpp
1> boss_grobbulus.cpp
1> boss_heigan.cpp
1> boss_kelthuzad.cpp
1> boss_loatheb.cpp
1> boss_maexxna.cpp
1> boss_noth.cpp
1> boss_patchwerk.cpp
1> boss_razuvious.cpp
1> boss_sapphiron.cpp
1> boss_thaddius.cpp
1> instance_naxxramas.cpp
1> boss_arcanist_doan.cpp
1> boss_headless_horseman.cpp
1> boss_herod.cpp
1> boss_mograine_and_whitemane.cpp
1> instance_scarlet_monastery.cpp
1> boss_darkmaster_gandling.cpp
1> boss_jandice_barov.cpp
1> instance_scholomance.cpp
1> instance_shadowfang_keep.cpp
1> shadowfang_keep.cpp
1> boss_baroness_anastari.cpp
1> boss_cannon_master_willey.cpp
1> boss_dathrohan_balnazzar.cpp
1> boss_maleki_the_pallid.cpp
1> boss_order_of_silver_hand.cpp
1> instance_stratholme.cpp
1> stratholme.cpp
1> instance_sunken_temple.cpp
1> sunken_temple.cpp
1> boss_brutallus.cpp
1> boss_eredar_twins.cpp
1> boss_felmyst.cpp
1> boss_kalecgos.cpp
1> boss_kiljaeden.cpp
1> boss_muru.cpp
1> instance_sunwell_plateau.cpp
1> boss_archaedas.cpp
1> uldaman.cpp
1> instance_uldaman.cpp
1> boss_akilzon.cpp
1> boss_halazzi.cpp
1> boss_janalai.cpp
1> boss_malacrass.cpp
1> boss_nalorakk.cpp
1> boss_zuljin.cpp
1> instance_zulaman.cpp
1> zulaman.cpp
1> boss_arlokk.cpp
1> boss_hakkar.cpp
1> boss_hazzarah.cpp
1> boss_jeklik.cpp
1> boss_jindo.cpp
1> boss_mandokir.cpp
1> boss_marli.cpp
1> boss_renataki.cpp
1> boss_thekal.cpp
1> boss_venoxis.cpp
1> instance_zulgurub.cpp
1> example_creature.cpp
1> example_escort.cpp
1> example_gossip_codebox.cpp
1> example_misc.cpp
1> ashenvale.cpp
1> azshara.cpp
1> azuremyst_isle.cpp
1> bloodmyst_isle.cpp
1> boss_azuregos.cpp
1> darkshore.cpp
1> desolace.cpp
1> durotar.cpp
1> dustwallow_marsh.cpp
1> felwood.cpp
1> feralas.cpp
1>..\scripts\kalimdor\felwood.cpp(126): error C2039: 'Scale' : is not a member of 'CreatureInfo'
1> d:\wow source\source\server\src\game\Creature.h(77) : see declaration of 'CreatureInfo'
1> moonglade.cpp
1> mulgore.cpp
1> orgrimmar.cpp
1> silithus.cpp
1> stonetalon_mountains.cpp
1> tanaris.cpp
1> teldrassil.cpp
1> the_barrens.cpp
1> thousand_needles.cpp
1> thunder_bluff.cpp
1> ungoro_crater.cpp
1> winterspring.cpp
1> instance_blackfathom_deeps.cpp
1> boss_aeonus.cpp
1> boss_chrono_lord_deja.cpp
1> boss_temporus.cpp
1> dark_portal.cpp
1> instance_dark_portal.cpp
1> boss_archimonde.cpp
1> hyjal.cpp
1> hyjalAI.cpp
1> instance_hyjal.cpp
1> instance_old_hillsbrad.cpp
1> old_hillsbrad.cpp
1> dire_maul.cpp
1> instance_dire_maul.cpp
1> boss_noxxion.cpp
1> boss_onyxia.cpp
1> instance_onyxias_lair.cpp
1> razorfen_downs.cpp
1> instance_razorfen_kraul.cpp
1> razorfen_kraul.cpp
1> boss_ayamiss.cpp
1> boss_buru.cpp
1> boss_kurinnaxx.cpp
1> boss_moam.cpp
1>..\scripts\kalimdor\ruins_of_ahnqiraj\boss_moam.cpp(69): error C2039: 'MaxLevelMana' : is not a member of 'CreatureInfo'
1> d:\wow source\source\server\src\game\Creature.h(77) : see declaration of 'CreatureInfo'
1> boss_ossirian.cpp
1> boss_rajaxx.cpp
1> instance_ruins_of_ahnqiraj.cpp
1> ruins_of_ahnqiraj.cpp
1> boss_bug_trio.cpp
1> boss_cthun.cpp
1> boss_fankriss.cpp
1> boss_huhuran.cpp
1> boss_ouro.cpp
1> boss_sartura.cpp
1> boss_skeram.cpp
1> boss_twinemperors.cpp
1> boss_viscidus.cpp
1> instance_temple_of_ahnqiraj.cpp
1> mob_anubisath_sentinel.cpp
1> instance_wailing_caverns.cpp
1> wailing_caverns.cpp
1> boss_zumrah.cpp
1> instance_zulfarrak.cpp
1> zulfarrak.cpp
1> blades_edge_mountains.cpp
1> boss_doomlord_kazzak.cpp
1> boss_doomwalker.cpp
1> hellfire_peninsula.cpp
1> nagrand.cpp
1> netherstorm.cpp
1> shadowmoon_valley.cpp
1> shattrath_city.cpp
1> terokkar_forest.cpp
1> zangarmarsh.cpp
1> boss_exarch_maladaar.cpp
1> boss_shirrak.cpp
1> boss_nexusprince_shaffar.cpp
1> boss_pandemonius.cpp
1> boss_anzu.cpp
1> boss_darkweaver_syth.cpp
1> boss_talon_king_ikiss.cpp
1> instance_sethekk_halls.cpp
1> boss_ambassador_hellmaw.cpp
1> boss_blackheart_the_inciter.cpp
1> boss_grandmaster_vorpil.cpp
1> boss_murmur.cpp
1> instance_shadow_labyrinth.cpp
1> black_temple.cpp
1> boss_bloodboil.cpp
1> boss_illidan.cpp
1> boss_mother_shahraz.cpp
1> boss_reliquary_of_souls.cpp
1> boss_shade_of_akama.cpp
1> boss_supremus.cpp
1> boss_teron_gorefiend.cpp
1> boss_warlord_najentus.cpp
1> illidari_council.cpp
1> instance_black_temple.cpp
1> boss_fathomlord_karathress.cpp
1> boss_hydross_the_unstable.cpp
1> boss_lady_vashj.cpp
1> boss_leotheras_the_blind.cpp
1> boss_morogrim_tidewalker.cpp
1> boss_the_lurker_below.cpp
1> instance_serpent_shrine.cpp
1> boss_ahune.cpp
1> boss_hydromancer_thespia.cpp
1> boss_mekgineer_steamrigger.cpp
1> boss_warlord_kalithresh.cpp
1> instance_steam_vault.cpp
1> boss_hungarfen.cpp
1> boss_gruul.cpp
1> boss_high_king_maulgar.cpp
1> instance_gruuls_lair.cpp
1> boss_broggok.cpp
1> boss_kelidan_the_breaker.cpp
1> boss_the_maker.cpp
1> instance_blood_furnace.cpp
1> boss_nazan_and_vazruden.cpp
1> boss_omor_the_unscarred.cpp
1> boss_watchkeeper_gargolmar.cpp
1> instance_hellfire_ramparts.cpp
1> boss_magtheridon.cpp
1> instance_magtheridons_lair.cpp
1> boss_nethekurse.cpp
1> boss_warbringer_omrogg.cpp
1> boss_warchief_kargath_bladefist.cpp
1> instance_shattered_halls.cpp
1> arcatraz.cpp
1> boss_dalliah.cpp
1> boss_harbinger_skyriss.cpp
1> boss_soccothrates.cpp
1> instance_arcatraz.cpp
1> boss_high_botanist_freywinn.cpp
1> boss_laj.cpp
1> boss_warp_splinter.cpp
1> boss_alar.cpp
1> boss_astromancer.cpp
1> boss_kaelthas.cpp
1> boss_void_reaver.cpp
1> instance_the_eye.cpp
1> boss_nethermancer_sepethrea.cpp
1> boss_pathaleon_the_calculator.cpp
1> instance_mechanar.cpp
1> areatrigger_scripts.cpp
1> bosses_emerald_dragons.cpp
1> go_scripts.cpp
1> guards.cpp
1> item_scripts.cpp
1> mob_generic_creature.cpp
1>..\scripts\world\mob_generic_creature.cpp(108): error C2039: 'Rank' : is not a member of 'CreatureInfo'
1> d:\wow source\source\server\src\game\Creature.h(77) : see declaration of 'CreatureInfo'
1> npc_professions.cpp
1> npcs_special.cpp
1> spell_scripts.cpp
1> world_map_scripts.cpp
1> sc_creature.cpp
1>..\include\sc_creature.cpp(482): error C2039: 'EquipmentTemplateId' : is not a member of 'CreatureInfo'
1> d:\wow source\source\server\src\game\Creature.h(77) : see declaration of 'CreatureInfo'
1> sc_grid_searchers.cpp
1> sc_instance.cpp
1> ScriptLoader.cpp
1> system.cpp
1> ScriptMgr.cpp
1>..\ScriptMgr.cpp(205): error C2039: 'LanguageId' : is not a member of 'MangosStringLocale'
1> D:\WOW SOURCE\SOURCE\server\src\game\ObjectMgr.h(120) : see declaration of 'MangosStringLocale'
1>..\ScriptMgr.cpp(217): error C2039: 'LanguageId' : is not a member of 'MangosStringLocale'
1> D:\WOW SOURCE\SOURCE\server\src\game\ObjectMgr.h(120) : see declaration of 'MangosStringLocale'
1>..\ScriptMgr.cpp(219): error C2039: 'LanguageId' : is not a member of 'MangosStringLocale'
1> D:\WOW SOURCE\SOURCE\server\src\game\ObjectMgr.h(120) : see declaration of 'MangosStringLocale'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I used VS2010 x86 .
What can be ?
Second Boss - Blackheart the Inciter ( http://www.wowhead.com/npc=18667 )
-> The Spell Incite Chaos ( http://www.wowhead.com/spell=33676 )
-- > Player can walk and she dosnt attak other players - no spell used.
Third Boss - Grandmaster Vorpil ( http://www.wowhead.com/npc=18732 )
-> Her Voidwalkers run to fast! Speed must be changed.
Hope everyone can help :)
commit 7bc373c85a2683c78ac5182369603ae24957f71e
Author: Ulduar <[email protected]>
Date: Sat Jul 4 23:45:36 2015 +0600
Sunwell Update.
diff --git a/scripts/eastern_kingdoms/sunwell_plateau/boss_felmyst.cpp b/scripts/eastern_kingdoms/sunwell_plateau/boss_felmyst.cpp
index 6cb2ef3..0fc9583 100644
--- a/scripts/eastern_kingdoms/sunwell_plateau/boss_felmyst.cpp
+++ b/scripts/eastern_kingdoms/sunwell_plateau/boss_felmyst.cpp
@@ -17,7 +17,7 @@
/* ScriptData
SDName: boss_felmyst
SD%Complete: 90%
-SDComment: Intro movement NYI; Event cleanup (despawn & resummon) NYI; Breath phase spells could use some improvements.
+SDComment: Intro movement NYI; Event cleanup (despawn & resummon) done; Breath phase spells could use some improvements.
SDCategory: Sunwell Plateau
EndScriptData */
diff --git a/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp b/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp
index df3aa28..c8fa7e7 100644
--- a/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp
+++ b/scripts/eastern_kingdoms/sunwell_plateau/boss_kalecgos.cpp
@@ -142,6 +142,10 @@ struct boss_kalecgosAI : public ScriptedAI
void Aggro(Unit* /*pWho*/) override
{
+ // Make sure, what after evade don't aggro repeat.
+ if (m_bIsUncorrupted)
+ return;
+
DoScriptText(SAY_EVIL_AGGRO, m_creature);
if (m_pInstance)
diff --git a/scripts/eastern_kingdoms/sunwell_plateau/boss_muru.cpp b/scripts/eastern_kingdoms/sunwell_plateau/boss_muru.cpp
index dd2739f..25a5215 100644
--- a/scripts/eastern_kingdoms/sunwell_plateau/boss_muru.cpp
+++ b/scripts/eastern_kingdoms/sunwell_plateau/boss_muru.cpp
@@ -36,7 +36,7 @@ enum
SPELL_SUMMON_FURY_MAGE_1 = 46038,
SPELL_SUMMON_FURY_MAGE_2 = 46039,
- SPELL_SUMMON_DARK_FIEND_1 = 46000, // summons 8 dark fiends (25744); ToDo: script npc in eventAI
+ SPELL_SUMMON_DARK_FIEND_1 = 46000, // summons 8 dark fiends (25744);
SPELL_SUMMON_DARK_FIEND_2 = 46001,
SPELL_SUMMON_DARK_FIEND_3 = 46002,
SPELL_SUMMON_DARK_FIEND_4 = 46003,
@@ -73,6 +73,9 @@ enum
SPELL_BLACK_HOLE_VISUAL = 46242,
SPELL_BLACK_HOLE_VISUAL_2 = 46247,
SPELL_BLACK_HOLE_PASSIVE = 46228,
+
+ // Dark fiend spells.
+ SPELL_DARK_FIEND = 45944,
MAX_TRANSFORM_CASTS = 10
};
@@ -117,6 +120,8 @@ struct boss_muruAI : public Scripted_NoMovementAI
{
if (m_pInstance)
m_pInstance->SetData(TYPE_MURU, FAIL);
+
+ m_creature->ForcedDespawn();
}
void DamageTaken(Unit* /*pDoneBy*/, uint32& uiDamage) override
@@ -263,12 +268,9 @@ struct boss_entropiusAI : public ScriptedAI
if (m_pInstance)
{
m_pInstance->SetData(TYPE_MURU, FAIL);
-
- // respawn muru
- m_creature->SummonCreature(NPC_MURU, afMuruSpawnLoc[0], afMuruSpawnLoc[1], afMuruSpawnLoc[2], afMuruSpawnLoc[3], TEMPSUMMON_DEAD_DESPAWN, 0, true);
}
- // despawn boss and summons for reset
+ // despawn boss
m_creature->ForcedDespawn();
}
@@ -445,6 +447,7 @@ struct npc_singularityAI : public Scripted_NoMovementAI
npc_singularityAI(Creature* pCreature) : Scripted_NoMovementAI(pCreature) { Reset(); }
uint32 m_uiActiveTimer;
+ uint32 m_uiMovementTimer;
uint8 m_uiActivateStage;
void Reset() override
@@ -452,10 +455,21 @@ struct npc_singularityAI : public Scripted_NoMovementAI
DoCastSpellIfCan(m_creature, SPELL_BLACK_HOLE_VISUAL, CAST_TRIGGERED);
m_uiActiveTimer = 1000;
m_uiActivateStage = 0;
+ m_uiMovementTimer = 0;
+ m_creature->ForcedDespawn(22000);
}
void AttackStart(Unit* /*pWho*/) override { }
void MoveInLineOfSight(Unit* /*pWho*/) override { }
+
+ void MovementInform(uint32 uiMoveType, uint32 uiPointId) override
+ {
+ if (uiMoveType != POINT_MOTION_TYPE || !uiPointId)
+ return;
+
+ // Reset Threat and select next random target.
+ DoResetThreat();
+ m_uiMovementTimer = 3000;
+ }
void UpdateAI(const uint32 uiDiff) override
{
@@ -472,6 +486,7 @@ struct npc_singularityAI : public Scripted_NoMovementAI
case 1:
if (DoCastSpellIfCan(m_creature, SPELL_BLACK_HOLE_PASSIVE) == CAST_OK)
m_uiActiveTimer = 0;
+ m_uiMovementTimer = 1000;
break;
}
++m_uiActivateStage;
@@ -479,6 +494,82 @@ struct npc_singularityAI : public Scripted_NoMovementAI
else
m_uiActiveTimer -= uiDiff;
}
+
+ if (m_uiMovementTimer)
+ {
+ if (m_uiMovementTimer <= uiDiff)
+ {
+ if (m_pInstance)
+ {
+ if (Creature* pEntropius = m_pInstance->GetSingleCreatureFromStorage(NPC_ENTROPIUS))
+ {
+ if (Unit* pTarget = pEntropius->SelectAttackingTarget(ATTACKING_TARGET_RANDOM, 0))
+ m_creature->GetMotionMaster()->MovePoint(1, pTarget->GetPositionX(), pTarget->GetPositionY(), pTarget->GetPositionZ());
+ }
+ }
+ m_uiMovementTimer = 0;
+ }
+ else
+ m_uiMovementTimer -= uiDiff;
+ }
+ }
+};
+
+/*######
+## npc_dark_fiend
+######*/
+
+struct npc_dark_fiendAI : public ScriptedAI
+{
+ npc_dark_fiendAI(Creature* pCreature) : ScriptedAI(pCreature) { Reset(); }
+
+ ObjectGuid m_targetGuid;
+
+ uint32 m_uiDespawnTimer;
+
+ void Reset() override
+ {
+ m_uiDespawnTimer = 10000;
+ m_creature->SetSpeedRate(MOVE_RUN, 0,5);
+ }
+
+ void AttackStart(Unit* pWho) override
+ {
+ // Function used to set target only - the npc doesn't really attack
+ m_targetGuid = pWho->GetObjectGuid();
+ }
+
+ void MoveInLineOfSight(Unit* /*pWho*/) override { }
+
+ void MovementInform(uint32 uiMovementType, uint32 uiPointId) override
+ {
+ if (uiMovementType != POINT_MOTION_TYPE || !uiPointId)
+ return;
+
+ if (Player* pPlayer = m_creature->GetMap()->GetPlayer(m_targetGuid))
+ {
+ if (DoCastSpellIfCan(pPlayer, SPELL_DARK_FIEND) == CAST_OK)
+ m_creature->ForcedDespawn(1000);
+ }
+ }
+
+ void SpellHit(Unit* /*pSource*/, const SpellEntry* pSpell) override
+ {
+ if (pSpell->DispelType == DISPEL_MAGIC)
+ m_creature->ForcedDespawn(1000);
+ }
+
+ void UpdateAI(const uint32 uiDiff) override
+ {
+ if (!m_creature->SelectHostileTarget() || !m_creature->getVictim())
+ return;
+
+ if (m_uiDespawnTimer < uiDiff)
+ {
+ m_creature->ForcedDespawn();
+ m_uiDespawnTimer = 0;
+ }
+ else
+ m_uiDespawnTimer -= uiDiff;
}
};
@@ -507,6 +598,11 @@ CreatureAI* GetAI_npc_singularity(Creature* pCreature)
return new npc_singularityAI(pCreature);
}
+CreatureAI* GetAI_npc_dark_fiend(Creature* pCreature)
+{
+ return new npc_dark_fiendAI(pCreature);
+}
+
void AddSC_boss_muru()
{
Script* pNewScript;
@@ -535,4 +631,9 @@ void AddSC_boss_muru()
pNewScript->Name = "npc_singularity";
pNewScript->GetAI = &GetAI_npc_singularity;
pNewScript->RegisterSelf();
+
+ pNewScript = new Script;
+ pNewScript->Name = "npc_dark_fiend";
+ pNewScript->GetAI = &GetAI_npc_dark_fiend;
+ pNewScript->RegisterSelf();
}
diff --git a/scripts/eastern_kingdoms/sunwell_plateau/instance_sunwell_plateau.cpp b/scripts/eastern_kingdoms/sunwell_plateau/instance_sunwell_plateau.cpp
index a89f996..ec9c443 100644
--- a/scripts/eastern_kingdoms/sunwell_plateau/instance_sunwell_plateau.cpp
+++ b/scripts/eastern_kingdoms/sunwell_plateau/instance_sunwell_plateau.cpp
@@ -49,6 +49,9 @@ instance_sunwell_plateau::instance_sunwell_plateau(Map* pMap) : ScriptedInstance
m_uiKalecRespawnTimer(0),
m_uiMuruBerserkTimer(0),
m_uiKiljaedenYellTimer(90000)
+ m_uiMuruRespawnTimer(0),
+ m_uiFelmystRespawnTimer(0),
+ m_bSunwellGauntletStarted(false);
{
Initialize();
}
@@ -86,6 +89,22 @@ void instance_sunwell_plateau::OnPlayerEnter(Player* pPlayer)
if (!GetSingleCreatureFromStorage(NPC_MURU, true))
pPlayer->SummonCreature(NPC_MURU, afMuruSpawnLoc[0], afMuruSpawnLoc[1], afMuruSpawnLoc[2], afMuruSpawnLoc[3], TEMPSUMMON_DEAD_DESPAWN, 0, true);
}
+
+ // Despawn Kiljaeden npc encounter only if Muru dead.
+ if (m_auiEncounter[TYPE_MURU] != DONE && m_auiEncounter[TYPE_KILJAEDEN] == DONE)
+ {
+ // Should despawn if Muru not defeated.
+ for (GuidList::const_iterator itr = m_lDeceiversGuidList.begin(); itr != m_lDeceiversGuidList.end(); ++itr)
+ {
+ if (Creature* pDeceiver = instance->GetCreature(*itr))
+ pDeceiver->ForcedDespawn();
+ }
+
+ if (Creature* pAnveena = GetSingleCreatureFromStorage(NPC_ANVEENA))
+ pAnveena->ForcedDespawn();
+ if (Creature* pController = GetSingleCreatureFromStorage(NPC_KILJAEDEN_CONTROLLER))
+ pController->ForcedDespawn();
+ }
}
void instance_sunwell_plateau::OnCreatureCreate(Creature* pCreature)
@@ -111,6 +130,9 @@ void instance_sunwell_plateau::OnCreatureCreate(Creature* pCreature)
case NPC_ANVEENA:
case NPC_VELEN:
case NPC_LIADRIN:
+ case NPC_SHADOWSWORD_MANAFIEND:
+ case NPC_GAUNTLET_IMP:
+ case NPC_SHADOWSWORD_COMMANDER:
m_mNpcEntryGuidStore[pCreature->GetEntry()] = pCreature->GetObjectGuid();
break;
case NPC_DECEIVER:
@@ -129,11 +151,32 @@ void instance_sunwell_plateau::OnCreatureCreate(Creature* pCreature)
case NPC_FURY_MAGE:
case NPC_DARK_FIEND:
case NPC_VOID_SENTINEL:
+ case NPC_VOID_SENTINEL_SUMMONER:
+ case NPC_DARKNESS:
+ case NPC_VOID_SPAWN:
case NPC_SINGULARITY:
m_lMuruTrashGuidList.push_back(pCreature->GetObjectGuid());
return;
}
}
+void instance_sunwell_plateau::OnCreatureEnterCombat(Creature* pCreature)
+{
+ uint32 uiEntry = pCreature->GetEntry();
+
+ if (uiEntry == NPC_SHADOWSWORD_MANAFIEND)
+ {
+ // Only for the first try
+ if (m_bSunwellGauntletStarted)
+ return;
+
+ if (Creature* pCommander = GetSingleCreatureFromStorage(NPC_SHADOWSWORD_COMMANDER))
+ DoScriptText(SAY_GAUNTLET_START, pCommander);
+
+ if (Creature* pGauntlet = pCreature->SummonCreature(NPC_GAUNTLET_IMP, 1697.92f, 502.315f, 86.4882f, 1.65806f, TEMPSUMMON_DEAD_DESPAWN, 0));
+ m_bSunwellGauntletStarted = true;
+ }
+}
+
void instance_sunwell_plateau::OnCreatureDeath(Creature* pCreature)
{
if (pCreature->GetEntry() == NPC_DECEIVER)
@@ -151,6 +194,21 @@ void instance_sunwell_plateau::OnCreatureDeath(Creature* pCreature)
}
}
}
+
+ else if (pCreature->GetEntry() == NPC_ENTROPIUS)
+ {
+ // Should respawn only if Entropius defeated.
+ for (GuidList::const_iterator itr = m_lDeceiversGuidList.begin(); itr != m_lDeceiversGuidList.end(); ++itr)
+ {
+ if (Creature* pDeceiver = instance->GetCreature(*itr))
+ pDeceiver->Respawn();
+ }
+
+ if (Creature* pAnveena = GetSingleCreatureFromStorage(NPC_ANVEENA))
+ pAnveena->Respawn();
+ if (Creature* pController = GetSingleCreatureFromStorage(NPC_KILJAEDEN_CONTROLLER))
+ pController->Respawn();
+ }
}
void instance_sunwell_plateau::OnCreatureEvade(Creature* pCreature)
@@ -222,6 +280,13 @@ void instance_sunwell_plateau::SetData(uint32 uiType, uint32 uiData)
StartNextDialogueText(NPC_KALECGOS_MADRIGOSA);
else if (uiData == IN_PROGRESS)
DoSortFlightTriggers();
+ else if (uiData == FAIL)
+ {
+ m_uiFelmystRespawnTimer = 20000;
+
+ if (Creature* pFelmyst = GetSingleCreatureFromStorage(NPC_FELMYST))
+ pFelmyst->ForcedDespawn();
+ }
break;
case TYPE_EREDAR_TWINS:
m_auiEncounter[uiType] = uiData;
@@ -250,6 +315,8 @@ void instance_sunwell_plateau::SetData(uint32 uiType, uint32 uiData)
m_lMuruTrashGuidList.clear();
}
+ else if (uiData == FAIL)
+ m_uiMuruRespawnTimer = 20000;
break;
case TYPE_KILJAEDEN:
m_auiEncounter[uiType] = uiData;
@@ -316,17 +383,47 @@ void instance_sunwell_plateau::Update(uint32 uiDiff)
else
m_uiKalecRespawnTimer -= uiDiff;
}
+
+ if (m_uiMuruRespawnTimer)
+ {
+ if (m_uiMuruRespawnTimer <= uiDiff)
+ {
+ if (Player* pPlayer = instance->GetPlayer(*itr))
+ {
+ pPlayer->SummonCreature(NPC_MURU, afMuruSpawnLoc[0], afMuruSpawnLoc[1], afMuruSpawnLoc[2], afMuruSpawnLoc[3], TEMPSUMMON_DEAD_DESPAWN, 0, true);
+ }
+ m_uiMuruRespawnTimer = 0;
+ }
+ else
+ m_uiMuruRespawnTimer -= uiDiff;
+ }
+
+ if (m_uiFelmystRespawnTimer)
+ {
+ if (m_uiFelmystRespawnTimer <= uiDiff)
+ {
+ if (Player* pPlayer = instance->GetPlayer(*itr))
+ {
+ pPlayer->SummonCreature(NPC_FELMYST, aMadrigosaLoc[0].m_fX, aMadrigosaLoc[0].m_fY, aMadrigosaLoc[0].m_fZ, aMadrigosaLoc[0].m_fO, TEMPSUMMON_DEAD_DESPAWN, 0, true);
+ }
+ m_uiFelmystRespawnTimer = 0;
+ }
+ else
+ m_uiFelmystRespawnTimer -= uiDiff;
+ }
- // Muru berserk timer; needs to be done here because it involves two distinct creatures
+ // Muru berserk timer; needs to be done here because it involves two distinct creatures. Note - Muru don't should have berserk - only Entropius.
if (m_auiEncounter[TYPE_MURU] == IN_PROGRESS)
{
if (m_uiMuruBerserkTimer < uiDiff)
{
- if (Creature* pEntrpius = GetSingleCreatureFromStorage(NPC_ENTROPIUS, true))
- pEntrpius->CastSpell(pEntrpius, SPELL_MURU_BERSERK, true);
- else if (Creature* pMuru = GetSingleCreatureFromStorage(NPC_MURU))
- pMuru->CastSpell(pMuru, SPELL_MURU_BERSERK, true);
-
+ if (Creature* pEntropius = GetSingleCreatureFromStorage(NPC_ENTROPIUS, true))
+ {
+ if (!pEntropius->HasAura(SPELL_MURU_BERSERK) && pEntropius->isAlive())
+ {
+ pEntropius->CastSpell(pEntropius, SPELL_MURU_BERSERK, true);
+ }
+ }
m_uiMuruBerserkTimer = 10000;
}
else
diff --git a/scripts/eastern_kingdoms/sunwell_plateau/sunwell_plateau.h b/scripts/eastern_kingdoms/sunwell_plateau/sunwell_plateau.h
index ba514b3..be8e309 100644
--- a/scripts/eastern_kingdoms/sunwell_plateau/sunwell_plateau.h
+++ b/scripts/eastern_kingdoms/sunwell_plateau/sunwell_plateau.h
@@ -35,6 +35,9 @@ enum
NPC_FURY_MAGE = 25799,
NPC_DARK_FIEND = 25744,
NPC_VOID_SENTINEL = 25772,
+ NPC_VOID_SENTINEL_SUMMONER = 25782,
+ NPC_DARKNESS = 25879,
+ NPC_VOID_SPAWN = 25824,
+ NPC_SINGULARITY = 25855,
NPC_DECEIVER = 25588,
NPC_KILJAEDEN = 25315,
NPC_KILJAEDEN_CONTROLLER = 25608, // kiljaeden event controller
@@ -42,6 +45,9 @@ enum
NPC_KALECGOS = 25319, // related to kiljaeden event
NPC_VELEN = 26246,
NPC_LIADRIN = 26247,
+ NPC_SHADOWSWORD_MANAFIEND = 25483, // Npc trigger start gauntlet event.
+ NPC_GAUNTLET_IMP = 25848, // Npc Gauntlet Imp after Felmyst.
+ NPC_SHADOWSWORD_COMMANDER = 25837,
GO_FORCEFIELD = 188421, // kalecgos door + collisions
GO_BOSS_COLLISION_1 = 188523,
@@ -68,6 +74,9 @@ enum
SAY_ORDER_3 = -1580066,
SAY_ORDER_4 = -1580067,
SAY_ORDER_5 = -1580068,
+
+ // Sunwell Gauntlet Start
+ SAY_GAUNTLET_START = -1580108,
AREATRIGGER_TWINS = 4937,
@@ -75,7 +84,7 @@ enum
SPELL_TELEPORT_NORMAL_REALM = 46020,
SPELL_SPECTRAL_REALM_AURA = 46021,
SPELL_SPECTRAL_EXHAUSTION = 44867,
- // Felmyst ouro spell
+ // Felmyst outro spell
SPELL_OPEN_BACK_DOOR = 46650, // Opens the fire barrier - script effect for 46652
// used by both muru and entropius
SPELL_MURU_BERSERK = 26662,
@@ -148,6 +157,8 @@ class instance_sunwell_plateau : public ScriptedInstance, private DialogueHelper
uint32 m_uiKalecRespawnTimer;
uint32 m_uiMuruBerserkTimer;
uint32 m_uiKiljaedenYellTimer;
+ uint32 m_uiMuruRespawnTimer;
+ uint32 m_uiFelmystRespawnTimer;
GuidSet m_spectralRealmPlayers;
GuidVector m_vRightFlightTriggersVect;
@@ -156,5 +167,7 @@ class instance_sunwell_plateau : public ScriptedInstance, private DialogueHelper
GuidList m_lBackdoorTriggersList;
GuidList m_lDeceiversGuidList;
GuidList m_lMuruTrashGuidList;
+
+ bool m_bSunwellGauntletStarted;
};
#endif
I don't think that KJ has the same logic, because M'uru has a door behind him. So it wouldn't make sense to apply the same logic.
And what? This is blizzlike (respawn KJ npc after death Entropius - blizzlike)
6) Dark Fiend EAI script - working terrible (all does not work accurately). SD2 script better.
Also need decrease speed run (YTDB They argue that the values in the database came from the right and Sniff, i don't trust sniff). Thanks @mns for info.
+DELETE FROM script_texts WHERE entry = -1580108;
+INSERT INTO script_texts (entry,content_default,sound,type,language,emote,comment) VALUES
+(-1580108,'Bring forth the imps!',0,1,0,0,'Shadowsword Commander SAY_GAUNTLET_START');
XFurry fix the Brewfest Quests
Mug Chuck and Ram Racing.
Look here for extra ideas:
Can any one help, where to look? Thanks.
Cmangos: [s2298]
SD2: [s2837]
TBC-DB: Complete and PROPER ClassLevelSTats Data For TBC - Brought To You By (28 Sep 2014)
https://github.com/TBC-DB/Database/commits/master
NYI or not working.
1>------ Build started: Project: ScriptDev2, Configuration: Release Win32 ------
1> Extracting revision
1> precompiled.cpp
1> escort_ai.cpp
1>..\base\escort_ai.cpp(40): error C2039: 'GetWaypointPathInformation' : is not a member of 'MotionMaster'
1> m:\server\tbc\project ava wow [coronacore]\funserver\gitlab-oneserver\src\game\MotionMaster.h(61) : see declaration of 'MotionMaster'
1>..\base\escort_ai.cpp(232): error C2065: 'EXTERNAL_WAYPOINT_MOVE' : undeclared identifier
1>..\base\escort_ai.cpp(237): error C2065: 'EXTERNAL_WAYPOINT_MOVE_START' : undeclared identifier
1>..\base\escort_ai.cpp(239): error C2065: 'EXTERNAL_WAYPOINT_FINISHED_LAST' : undeclared identifier
1>..\base\escort_ai.cpp(261): error C2039: 'SetNextWaypoint' : is not a member of 'MotionMaster'
1> m:\server\tbc\project ava wow [coronacore]\funserver\gitlab-oneserver\src\game\MotionMaster.h(61) : see declaration of 'MotionMaster'
1>..\base\escort_ai.cpp(332): error C2660: 'MotionMaster::MoveWaypoint' : function does not take 3 arguments
1> follower_ai.cpp
1> guard_ai.cpp
1> pet_ai.cpp
1> battleground.cpp
1> alterac_mountains.cpp
1> arathi_highlands.cpp
1> blasted_lands.cpp
1> burning_steppes.cpp
1> dun_morogh.cpp
1> eastern_plaguelands.cpp
1> elwynn_forest.cpp
1> eversong_woods.cpp
1> ghostlands.cpp
1> hinterlands.cpp
1> ironforge.cpp
1> isle_of_queldanas.cpp
1> loch_modan.cpp
1> redridge_mountains.cpp
1> searing_gorge.cpp
1> Generating Code...
1> Compiling...
1> silvermoon_city.cpp
1> silverpine_forest.cpp
1> stormwind_city.cpp
1> stranglethorn_vale.cpp
1> swamp_of_sorrows.cpp
1> tirisfal_glades.cpp
1> undercity.cpp
1> western_plaguelands.cpp
1> westfall.cpp
1> wetlands.cpp
1> blackrock_depths.cpp
1> boss_ambassador_flamelash.cpp
1> boss_coren_direbrew.cpp
1> boss_emperor_dagran_thaurissan.cpp
1> boss_general_angerforge.cpp
1> boss_high_interrogator_gerstahn.cpp
1> instance_blackrock_depths.cpp
1> boss_gyth.cpp
1>m:\server\tbc\project ava wow [coronacore]\funserver\gitlab-oneserver\src\bindings\onescripts\scripts\eastern_kingdoms\blackrock_spire\blackrock_spire.h(123): error C3668: 'instance_blackrock_spire::OnCreatureDespawn' : method with override specifier 'override' did not override any base class methods
1> boss_overlord_wyrmthalak.cpp
1> boss_pyroguard_emberseer.cpp
1>m:\server\tbc\project ava wow [coronacore]\funserver\gitlab-oneserver\src\bindings\onescripts\scripts\eastern_kingdoms\blackrock_spire\blackrock_spire.h(123): error C3668: 'instance_blackrock_spire::OnCreatureDespawn' : method with override specifier 'override' did not override any base class methods
1> Generating Code...
1> Compiling...
1> instance_blackrock_spire.cpp
1>m:\server\tbc\project ava wow [coronacore]\funserver\gitlab-oneserver\src\bindings\onescripts\scripts\eastern_kingdoms\blackrock_spire\blackrock_spire.h(123): error C3668: 'instance_blackrock_spire::OnCreatureDespawn' : method with override specifier 'override' did not override any base class methods
1> boss_broodlord_lashlayer.cpp
1> boss_chromaggus.cpp
1> boss_ebonroc.cpp
1> boss_firemaw.cpp
1> boss_flamegor.cpp
1> boss_nefarian.cpp
1> boss_razorgore.cpp
1> boss_vaelastrasz.cpp
1> boss_victor_nefarius.cpp
1>..\scripts\eastern_kingdoms\blackwing_lair\boss_victor_nefarius.cpp(190): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1> instance_blackwing_lair.cpp
1> boss_mr_smite.cpp
1> deadmines.cpp
1> instance_deadmines.cpp
1> boss_thermaplugg.cpp
1> gnomeregan.cpp
1> instance_gnomeregan.cpp
1> boss_curator.cpp
1> boss_maiden_of_virtue.cpp
1> boss_midnight.cpp
1> Generating Code...
1> Compiling...
1> boss_moroes.cpp
1> boss_netherspite.cpp
1> boss_nightbane.cpp
1>..\scripts\eastern_kingdoms\karazhan\boss_nightbane.cpp(142): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1>..\scripts\eastern_kingdoms\karazhan\boss_nightbane.cpp(164): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1>..\scripts\eastern_kingdoms\karazhan\boss_nightbane.cpp(267): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1>..\scripts\eastern_kingdoms\karazhan\boss_nightbane.cpp(374): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1> boss_prince_malchezaar.cpp
1> boss_shade_of_aran.cpp
1> boss_terestian_illhoof.cpp
1> bosses_opera.cpp
1> chess_event.cpp
1> instance_karazhan.cpp
1> karazhan.cpp
1>..\scripts\eastern_kingdoms\karazhan\karazhan.cpp(385): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1> boss_felblood_kaelthas.cpp
1> boss_priestess_delrissa.cpp
1> boss_selin_fireheart.cpp
1> boss_vexallus.cpp
1> instance_magisters_terrace.cpp
1> magisters_terrace.cpp
1> boss_baron_geddon.cpp
1> boss_garr.cpp
1> boss_gehennas.cpp
1> boss_golemagg.cpp
1> Generating Code...
1> Compiling...
1> boss_lucifron.cpp
1> boss_magmadar.cpp
1> boss_majordomo_executus.cpp
1> boss_ragnaros.cpp
1> boss_shazzrah.cpp
1> boss_sulfuron_harbinger.cpp
1> instance_molten_core.cpp
1> molten_core.cpp
1> boss_anubrekhan.cpp
1> boss_faerlina.cpp
1> boss_four_horsemen.cpp
1> boss_gluth.cpp
1> boss_gothik.cpp
1> boss_grobbulus.cpp
1> boss_heigan.cpp
1> boss_kelthuzad.cpp
1> boss_loatheb.cpp
1> boss_maexxna.cpp
1> boss_noth.cpp
1> boss_patchwerk.cpp
1> Generating Code...
1> Compiling...
1> boss_razuvious.cpp
1> boss_sapphiron.cpp
1> boss_thaddius.cpp
1> instance_naxxramas.cpp
1> boss_arcanist_doan.cpp
1> boss_headless_horseman.cpp
1> boss_herod.cpp
1> boss_mograine_and_whitemane.cpp
1> instance_scarlet_monastery.cpp
1> boss_darkmaster_gandling.cpp
1> boss_jandice_barov.cpp
1> instance_scholomance.cpp
1> instance_shadowfang_keep.cpp
1> shadowfang_keep.cpp
1> boss_baroness_anastari.cpp
1> boss_cannon_master_willey.cpp
1> boss_dathrohan_balnazzar.cpp
1> boss_maleki_the_pallid.cpp
1> boss_order_of_silver_hand.cpp
1> instance_stratholme.cpp
1> Generating Code...
1> Compiling...
1> stratholme.cpp
1> instance_sunken_temple.cpp
1> sunken_temple.cpp
1> boss_brutallus.cpp
1> boss_eredar_twins.cpp
1> boss_felmyst.cpp
1> boss_kalecgos.cpp
1>..\scripts\eastern_kingdoms\sunwell_plateau\boss_kalecgos.cpp(226): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1> boss_kiljaeden.cpp
1> boss_muru.cpp
1> instance_sunwell_plateau.cpp
1> boss_archaedas.cpp
1> uldaman.cpp
1> instance_uldaman.cpp
1> boss_akilzon.cpp
1> boss_halazzi.cpp
1> boss_janalai.cpp
1> boss_malacrass.cpp
1> boss_nalorakk.cpp
1> boss_zuljin.cpp
1> instance_zulaman.cpp
1> Generating Code...
1> Compiling...
1> zulaman.cpp
1> boss_arlokk.cpp
1> boss_hakkar.cpp
1> boss_hazzarah.cpp
1> boss_jeklik.cpp
1> boss_jindo.cpp
1> boss_mandokir.cpp
1> boss_marli.cpp
1> boss_renataki.cpp
1> boss_thekal.cpp
1> boss_venoxis.cpp
1> instance_zulgurub.cpp
1> example_creature.cpp
1> example_escort.cpp
1> example_gossip_codebox.cpp
1> example_misc.cpp
1> ashenvale.cpp
1> azshara.cpp
1> azuremyst_isle.cpp
1> bloodmyst_isle.cpp
1> Generating Code...
1> Compiling...
1> boss_azuregos.cpp
1> darkshore.cpp
1> desolace.cpp
1> durotar.cpp
1> dustwallow_marsh.cpp
1>..\scripts\kalimdor\dustwallow_marsh.cpp(859): error C2039: 'SetSwim' : is not a member of 'Creature'
1> M:\Server\TBC\Project Ava WoW [CoronaCore]\funserver\gitlab-oneserver\src\game\Creature.h(487) : see declaration of 'Creature'
1> felwood.cpp
1> feralas.cpp
1> moonglade.cpp
1> mulgore.cpp
1> orgrimmar.cpp
1> silithus.cpp
1>..\scripts\kalimdor\silithus.cpp(305): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1>..\scripts\kalimdor\silithus.cpp(323): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1>..\scripts\kalimdor\silithus.cpp(352): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1>..\scripts\kalimdor\silithus.cpp(631): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1> stonetalon_mountains.cpp
1> tanaris.cpp
1> teldrassil.cpp
1> the_barrens.cpp
1> thousand_needles.cpp
1> thunder_bluff.cpp
1> ungoro_crater.cpp
1> winterspring.cpp
1> instance_blackfathom_deeps.cpp
1> Generating Code...
1> Compiling...
1> boss_aeonus.cpp
1> boss_chrono_lord_deja.cpp
1> boss_temporus.cpp
1> dark_portal.cpp
1> instance_dark_portal.cpp
1> boss_archimonde.cpp
1> hyjal.cpp
1> hyjalAI.cpp
1> instance_hyjal.cpp
1> instance_old_hillsbrad.cpp
1> old_hillsbrad.cpp
1> dire_maul.cpp
1> instance_dire_maul.cpp
1> boss_noxxion.cpp
1> boss_onyxia.cpp
1>..\scripts\kalimdor\onyxias_lair\boss_onyxia.cpp(249): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1> instance_onyxias_lair.cpp
1> instance_razorfen_downs.cpp
1> razorfen_downs.cpp
1> instance_razorfen_kraul.cpp
1> razorfen_kraul.cpp
1> Generating Code...
1> Compiling...
1> boss_ayamiss.cpp
1> boss_buru.cpp
1> boss_kurinnaxx.cpp
1> boss_moam.cpp
1> boss_ossirian.cpp
1>..\scripts\kalimdor\ruins_of_ahnqiraj\boss_ossirian.cpp(108): error C2039: 'SetWeather' : is not a member of 'Map'
1> m:\server\tbc\project ava wow [coronacore]\funserver\gitlab-oneserver\src\game\Map.h(98) : see declaration of 'Map'
1> boss_rajaxx.cpp
1> instance_ruins_of_ahnqiraj.cpp
1> ruins_of_ahnqiraj.cpp
1> boss_bug_trio.cpp
1> boss_cthun.cpp
1> boss_fankriss.cpp
1> boss_huhuran.cpp
1> boss_ouro.cpp
1> boss_sartura.cpp
1> boss_skeram.cpp
1> boss_twinemperors.cpp
1> boss_viscidus.cpp
1> instance_temple_of_ahnqiraj.cpp
1> mob_anubisath_sentinel.cpp
1> instance_wailing_caverns.cpp
1> Generating Code...
1> Compiling...
1> wailing_caverns.cpp
1>..\scripts\kalimdor\wailing_caverns\wailing_caverns.cpp(391): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1> boss_zumrah.cpp
1> instance_zulfarrak.cpp
1> zulfarrak.cpp
1> blades_edge_mountains.cpp
1>..\scripts\outland\blades_edge_mountains.cpp(161): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1> boss_doomlord_kazzak.cpp
1> boss_doomwalker.cpp
1> hellfire_peninsula.cpp
1> nagrand.cpp
1> netherstorm.cpp
1> shadowmoon_valley.cpp
1>..\scripts\outland\shadowmoon_valley.cpp(102): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1>..\scripts\outland\shadowmoon_valley.cpp(144): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1> shattrath_city.cpp
1> terokkar_forest.cpp
1> zangarmarsh.cpp
1> boss_exarch_maladaar.cpp
1> boss_shirrak.cpp
1> boss_nexusprince_shaffar.cpp
1> boss_pandemonius.cpp
1> boss_anzu.cpp
1> boss_darkweaver_syth.cpp
1> Generating Code...
1> Compiling...
1> boss_talon_king_ikiss.cpp
1> instance_sethekk_halls.cpp
1> boss_ambassador_hellmaw.cpp
1> boss_blackheart_the_inciter.cpp
1> boss_grandmaster_vorpil.cpp
1> boss_murmur.cpp
1> instance_shadow_labyrinth.cpp
1> black_temple.cpp
1> boss_bloodboil.cpp
1> boss_illidan.cpp
1> boss_mother_shahraz.cpp
1> boss_reliquary_of_souls.cpp
1> boss_shade_of_akama.cpp
1> boss_supremus.cpp
1> boss_teron_gorefiend.cpp
1> boss_warlord_najentus.cpp
1> illidari_council.cpp
1> instance_black_temple.cpp
1> boss_fathomlord_karathress.cpp
1> boss_hydross_the_unstable.cpp
1> Generating Code...
1> Compiling...
1> boss_lady_vashj.cpp
1> boss_leotheras_the_blind.cpp
1> boss_morogrim_tidewalker.cpp
1> boss_the_lurker_below.cpp
1>..\scripts\outland\coilfang_reservoir\serpent_shrine\boss_the_lurker_below.cpp(82): error C2039: 'SetSwim' : is not a member of 'Creature'
1> M:\Server\TBC\Project Ava WoW [CoronaCore]\funserver\gitlab-oneserver\src\game\Creature.h(487) : see declaration of 'Creature'
1> instance_serpent_shrine.cpp
1> boss_ahune.cpp
1> boss_hydromancer_thespia.cpp
1> boss_mekgineer_steamrigger.cpp
1> boss_warlord_kalithresh.cpp
1> instance_steam_vault.cpp
1> boss_hungarfen.cpp
1> boss_gruul.cpp
1> boss_high_king_maulgar.cpp
1> instance_gruuls_lair.cpp
1> boss_broggok.cpp
1> boss_kelidan_the_breaker.cpp
1> boss_the_maker.cpp
1> instance_blood_furnace.cpp
1> boss_nazan_and_vazruden.cpp
1>..\scripts\outland\hellfire_citadel\hellfire_ramparts\boss_nazan_and_vazruden.cpp(115): error C2065: 'UNIT_BYTE1_FLAG_FLY_ANIM' : undeclared identifier
1> boss_omor_the_unscarred.cpp
1> Generating Code...
1> Compiling...
1> boss_watchkeeper_gargolmar.cpp
1> instance_hellfire_ramparts.cpp
1> boss_magtheridon.cpp
1> instance_magtheridons_lair.cpp
1> boss_nethekurse.cpp
1> boss_warbringer_omrogg.cpp
1> boss_warchief_kargath_bladefist.cpp
1> instance_shattered_halls.cpp
1> arcatraz.cpp
1> boss_dalliah.cpp
1> boss_harbinger_skyriss.cpp
1> boss_soccothrates.cpp
1> instance_arcatraz.cpp
1> boss_high_botanist_freywinn.cpp
1> boss_laj.cpp
1> boss_warp_splinter.cpp
1> boss_alar.cpp
1> boss_astromancer.cpp
1> boss_kaelthas.cpp
1> boss_void_reaver.cpp
1> Generating Code...
1> Compiling...
1> instance_the_eye.cpp
1> boss_nethermancer_sepethrea.cpp
1> boss_pathaleon_the_calculator.cpp
1> instance_mechanar.cpp
1> areatrigger_scripts.cpp
1> bosses_emerald_dragons.cpp
1> go_scripts.cpp
1> guards.cpp
1> item_scripts.cpp
1> mob_generic_creature.cpp
1> npc_professions.cpp
1> npcs_special.cpp
1> spell_scripts.cpp
1> world_map_scripts.cpp
1> sc_creature.cpp
1> sc_grid_searchers.cpp
1> sc_instance.cpp
1> ScriptLoader.cpp
1> system.cpp
1>..\system\system.cpp(108): error C3861: 'AddWaypointFromExternal': identifier not found
1> ScriptMgr.cpp
1>..\ScriptMgr.cpp(48): error C3861: 'SetExternalWaypointTable': identifier not found
1> Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
how can i fix this problems ?
coronaCore OneScript
TBC Source
i use : Using World DB: OneDatabase 2.0.1 for MaNGOSOne s2120+ and ScriptDevOne s2783+
i think my problem is my version usable! : because i use S2783+ SD2
in TBC spell 43112 summons 4 Feather Vortex NPC (dont know about WotLK) so https://github.com/scriptdev2/scriptdev2-tbc/blob/master/scripts/eastern_kingdoms/zulaman/boss_zuljin.cpp#L300 makes him summon 16 vortexes, this is wrong.
Delete it, sorry!
Sorry my browser was slow and I ended up doing a topic When I was wanting to write in the search field.
http://www.wowhead.com/npc=20885/dalliah-the-doomsayer
if the player who have aggro moves, it will cansel here whirlwind abillity.
http://www.wowhead.com/object=177964/fathom-stone should be spawned when Baron Aquanis is killed in order to complete http://www.wowhead.com/quest=6921/amongst-the-ruins and start next quest in line.
When he pushs u away into the air u don't stay up in the air and u can't fly.
u just stay on the ground
Im sure thats has worked some month ago but now is broken BUT i tested the spell only and the spell when i cast self on me works
Hi i downloaded mangos from https://github.com/cmangos/mangos-tbc and scriptdev2 from https://github.com/scriptdev2/scriptdev2-tbc , I suppose, that this are newest versions. Compilation of magon in VS 2010 runs without errors, but for scriptdev2 I am getting this error. How to fix it plz?
1>------ Build started: Project: ScriptDev2, Configuration: Release x64 ------
1> Extracting revision
1> escort_ai.cpp
1> follower_ai.cpp
1> felwood.cpp
1> boss_moam.cpp
1>..\scripts\kalimdor\ruins_of_ahnqiraj\boss_moam.cpp(69): error C2039: 'MaxLevelMana' : is not a member of 'CreatureInfo'
1> d:\srv\mangos\src\game\Creature.h(71) : see declaration of 'CreatureInfo'
1>..\base\follower_ai.cpp(52): error C2039: 'CreatureTypeFlags' : is not a member of 'CreatureInfo'
1> d:\srv\mangos\src\game\Creature.h(71) : see declaration of 'CreatureInfo'
1> mob_generic_creature.cpp
1> sc_creature.cpp
1>..\scripts\world\mob_generic_creature.cpp(108): error C2039: 'Rank' : is not a member of 'CreatureInfo'
1> d:\srv\mangos\src\game\Creature.h(71) : see declaration of 'CreatureInfo'
1> ScriptMgr.cpp
1>..\scripts\kalimdor\felwood.cpp(123): error C2039: 'Scale' : is not a member of 'CreatureInfo'
1> d:\srv\mangos\src\game\Creature.h(71) : see declaration of 'CreatureInfo'
1>..\ScriptMgr.cpp(205): error C2039: 'LanguageId' : is not a member of 'MangosStringLocale'
1> D:\srv\MaNGOS\src\game\ObjectMgr.h(114) : see declaration of 'MangosStringLocale'
1>..\ScriptMgr.cpp(217): error C2039: 'LanguageId' : is not a member of 'MangosStringLocale'
1> D:\srv\MaNGOS\src\game\ObjectMgr.h(114) : see declaration of 'MangosStringLocale'
1>..\ScriptMgr.cpp(219): error C2039: 'LanguageId' : is not a member of 'MangosStringLocale'
1> D:\srv\MaNGOS\src\game\ObjectMgr.h(114) : see declaration of 'MangosStringLocale'
1>..\base\escort_ai.cpp(102): error C2039: 'CreatureTypeFlags' : is not a member of 'CreatureInfo'
1> d:\srv\mangos\src\game\Creature.h(71) : see declaration of 'CreatureInfo'
1>..\include\sc_creature.cpp(482): error C2039: 'EquipmentTemplateId' : is not a member of 'CreatureInfo'
1> d:\srv\mangos\src\game\Creature.h(71) : see declaration of 'CreatureInfo'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Cmangos: [s2298]
SD2: [s2837]
TBC-DB: Complete and PROPER ClassLevelSTats Data For TBC - Brought To You By (28 Sep 2014)
https://github.com/TBC-DB/Database/commits/master
The following npcs should become enemies and attack thrall during the scort event.
http://www.wowhead.com/npc=18093/tarren-mill-protector#drops
http://www.wowhead.com/npc=18094/tarren-mill-lookout#drops
http://www.wowhead.com/npc=18092/tarren-mill-guardsman#drops
This is what happens.
http://www.subirimagenes.net/i/150207100437199978.jpg
http://www.subirimagenes.net/i/150207100439716302.jpg
http://www.subirimagenes.net/i/150207100442226289.jpg
http://www.subirimagenes.net/i/150207100444733301.jpg
\sererpu\server-master\src\bindings\scriptdev2-tbc-master\include\sc_creature.h(225): error C3861: 'SetCombatMovement': identifier not found .
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.