aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
AgeCommit message (Collapse)Author
2012-03-28Core/Spells: attempt to fix penance doing nothing on "friendly" non faction ↵Kandera
targets. should return invalid targets
2012-03-27Core/DBLayer: Correct few more wrong read types (No. 1)Nay
DB/World: Some consistency in the ints "length" field (not really a length) From A to D world tables verified; missing all the others int(11) -> int32 unsigned int(10) -> uint32 mediumint(8) -> int32 unsigned mediumint(8) -> uint32 smallint(6) -> int16 unsigned smallint(5) -> uint16 tinyint(4) -> int8 unsigned tinyint(3) -> uint8
2012-03-26Core/Spells: and another mistake from the misdirection fix >.>kandera
2012-03-26Core/Spells: one more miss from misdirection fixKandera
2012-03-26Core/Spells: Fix Misdirection (thx to elron) closes #5869, #4343Kandera
2012-03-26Fix compile and fix a possible crash for mob_kiljaeden_controllerkaelima
2012-03-25Memory: Get rid of some memory leaks, converted FormationMgr back to singletonSubv
2012-03-24Merge pull request #5870 from Elron103/pull-requests5leak
Core: Fix warnings
2012-03-24Core/DBLayer: Few more type correctionsNay
Closes #5871
2012-03-24Core: Fix warningsElron103
2012-03-24Core/Scripts: Fixed script unloadingShauren
2012-03-24Core: Fix warningsleak
2012-03-24Merge pull request #5858 from w1sht0l1v3/AKMachiavelli
Scripts/Ahn'kahet/Prince Taldaram: Fix movement after shield drops.(no more LoS issues) Update boss texts and move them to creature_text. Add proper sounds to text. Add condition for a visual spell. Add usage of different Embrace of the Vampyr spell based on difficulty.
2012-03-24Scripts/Ahn'kahet/Prince Taldaram:w1sht0l1v3
Fix movement after shield drops.(no more LoS issues) Update boss texts and move them to creature_text. Add proper sounds to text. Add condition for a visual spell. Add usage of different Embrace of the Vampyr spell based on difficulty.
2012-03-24Core/DBLayer: Convert PQuery() queries to prepared statementsleak
2012-03-23Correct codestyle from previous commitkandera
2012-03-23Core/Spells: Fix improved unholy presence removal.Kandera
2012-03-23Core/Spells: Fix death coil damage bonus from sigil of the vengeful heartKandera
2012-03-22Scripts/Ahn'kahet/Prince Taldaram: Fix Conjure Flame Sphere visual casting.w1sht0l1v3
Flame Sphere should not be visible to players(only their visual).
2012-03-21Merge pull request #5825 from w1sht0l1v3/ToCrMachiavelli
Scripts/ToCr/Val'kyr Twins: Fix orb targeting.
2012-03-21Scripts/ToCr/Val'kyr Twins: Fix orb targeting.w1sht0l1v3
Add missing triggers.
2012-03-21Scripts/ToC/Anub'Arak: Prevent spells (Leeching Swarm in particular) being ↵Machiavelli
interrupted by other spells.
2012-03-19Scripts/Serpentshrine Cavern: Fixed crash in boss_leotheras_the_blind caused ↵Shauren
by uninitialized variable; also replaced unsafe AI typecasting with Get/SetGUID
2012-03-19Core/DBLayer: Convert PExecute() queries to prepared statementsleak
2012-03-17Core/Movement:Machiavelli
- Don't abort relocation if movementflag restrictions were violated. There might be lag between client and server and even different parts of the core that made this approach improper. - MOVEMENTFLAG_ROOT cannot be used in conjunction with MOVEMENTFLAG_MASK_MOVING, but it's a valid flag to receive from client. - Fix falling to ground when unapplying fly/waterwalk aura. NOTE: This is a client-side initiated fall, in the future this should be initiated and updated by the server. (Working on it) - Rename MOVEMENTFLAG_FALLING to MOVEMENTFLAG_FALLING_FAR - Rename MOVEMENTFLAG_JUMPING to MOVEMENTFLAG_FALLING Closes #5751
2012-03-17Core/Script: Code style and remove unused core.Gyx
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-17Core/Script: Code style and remove unused core.Gyx
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16Core/InstanceScript: Encounterframe research - extended the ↵kaelima
EncounterFrameType enum
2012-03-16Core/Script: Code style and remove unused core.Gyx
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16Core/Script: Clean-Up in Scripts.Gyx
Item* pItem -> Item* item Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16Core/Script: Code style.Gyx
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16Core/Script: Code style.Gyx
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16Core/Script: Clean-Up in Scripts.Gyx
InstanceScript* m_instance -> InstanceScript* instance Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16Core/Script: Clean-Up in Scripts.Gyx
GameObject* pGO -> GameObject* go Signed-off-by: Gyx <2359980687@qq.com>
2012-03-16Core/Script: Clean-Up in Scripts.Gyx
Creature* c -> Creature* creature Creature* _Creature -> Creature* creature Creature* Creature -> Creature* creature Signed-off-by: Gyx <2359980687@qq.com>
2012-03-15Scripts/Icecrown Citadel: Corrected flying animations for frostwyrms in ↵Shauren
Sindragosa's Lair and prevent reentering combat with Deathbringer Saurfang after encounter is won
2012-03-14Scripts/Magister's Terrace: Fix Translocation Orb Activation and correct ↵Martin Weinelt
some codestyle
2012-03-14Revert "Core: more more cleanup" - Build test anyone?leak
This reverts commit 20cd4c71ee6336610daab304959909b2f6397287.
2012-03-14Core/SpellScripts: fix crash caused my spell_gen_vehicle_scaling. closes ↵kandera
#5703 (thx vincent-michael)
2012-03-14Core: more more cleanupthomas33
2012-03-14Core/Script: Clean-Up in Scripts.Gyx
InstanceScript* Instance -> InstanceScript* instance Signed-off-by: Gyx <2359980687@qq.com>
2012-03-14Core/Script: Clean-Up in Scripts.Gyx
Creature* c -> Creature* creature Signed-off-by: Gyx <2359980687@qq.com>
2012-03-12Scripts/Icecrown Citadel: Lock Deathbringer Saurfang and Valithria ↵Shauren
Dreamwalker chests to players who fought them
2012-03-12Scripts/UP/Svala: Temp compile fix for Svala. Currently rewriting the entire ↵Machiavelli
script.
2012-03-12Scripts/ICC/Lich King: Typo correction in unit_field_bytes_1 usage related ↵Machiavelli
to hover, introduced in previous commit (thankfully the only one).
2012-03-12Core/Units:Machiavelli
- Implement UNIT_FIELD_HOVERHEIGHT (requires DB data). This field, sent in update object packet, will determine the height at which a creature hovers if it has movementflag_hover applied. Note that hovering will now update the server-sided z-coordinate by the value of this field, and that all subsequent positional updates to the client will need to send z coordinate MINUS the hover height offset, or the hoverheight will be visually doubled client side. - Correct our usage of movementflag_flying, movementflag_can_fly, movementflag_hover and movementflag_disable_gravity (previously levitate), and how they relate to InhabitType in the database. This fixes "flying creatures on steroids" bug (wings flapping too fast), and potentially a lot of visual issues in AI scripts. Note that a lot of scripts still set wrong movementflags, these need to be fixed on a case by case basis. - Send correct packets for SPELL_AURA_FEATHER_FALL, SPELL_AURA_WATER_WALK and SPELL_AURA_HOVER apply/unapply. - Send correct packet contents for movement update in Unit::SetSpeed. - Misc. cleanup in affected scripts.
2012-03-11R.I.P SimpleAINay
- Convert SimpleAI to (DB) SmartAI - Spell ids corrected (and completed some of the scripts) - Random cleanup (code style) in some scripts
2012-03-11Scripts/Serpentshrine Cavern: Fixed crashes caused by uninitialized ↵Shauren
variables, patch by PuniCZ Closes #4988 Closes #5645
2012-03-10Merge pull request #5632 from FrozenSouL/tc_helperDiscover-
Update forgotten copyright-headers for 2012
2012-03-10Core/DBC: Remove store getters (useless since we don't have scripts as ↵Shauren
external dll)