Commit Graph

15085 Commits

Author SHA1 Message Date
Machiavelli
7d60290c2e Core/Units: Offset z coordinate only if MOVEMENTFLAG_HOVER is present, not MOVEMENTFLAG_DISABLE_GRAVITY.
(Remnant from an early incorrect version of my UNIT_FIELD_HOVERHEIGHT patch)
2012-03-15 10:16:08 +01:00
Machiavelli
e17a9cfb85 Core/Movement: Add server side filters for MOVEMENTFLAG_WATERWALKING, _FALLING_SLOW and _HOVER depending on required aura types. Fixes exploiting when aura unapply packets (such as corrected in previous commit) are blocked/altered before reaching the client. 2012-03-15 10:12:43 +01:00
Machiavelli
afaed98b7a Core/Movement: Send correct packet to client when unapplying hover, feather fall and water walking auras.
Closes #5704
2012-03-15 10:03:25 +01:00
Shauren
77f165ba27 Merge pull request #5717 from mweinelt/master
Scripts/Magister's Terrace: Fix Translocation Orb Activation and corr…

…ect some codestyle
2012-03-14 15:33:38 -07:00
Martin Weinelt
419e6a4a9e Scripts/Magister's Terrace: Fix Translocation Orb Activation and correct some codestyle 2012-03-14 23:30:55 +01:00
leak
2a5caef4a6 Revert "Core: more more cleanup" - Build test anyone?
This reverts commit 20cd4c71ee.
2012-03-14 18:51:51 +01:00
kandera
b02a012b47 Core/SpellScripts: fix crash caused my spell_gen_vehicle_scaling. closes #5703 (thx vincent-michael) 2012-03-14 14:05:39 -03:00
kandera
fedb27b601 Merge pull request #5714 from thomas33/master
more cleanup in files
2012-03-14 09:59:45 -07:00
thomas33
20cd4c71ee Core: more more cleanup 2012-03-14 17:51:11 +01:00
Discover-
69c3612cfe Merge pull request #5702 from Gyx/master
Core/Script: Clean-Up in Scripts.
2012-03-13 23:21:32 -07:00
Gyx
117fbb9010 Core/Script: Clean-Up in Scripts.
InstanceScript* Instance -> InstanceScript* instance

Signed-off-by: Gyx <2359980687@qq.com>
2012-03-14 09:30:06 +08:00
Gyx
e8f414e143 Core/Script: Clean-Up in Scripts.
Creature* c -> Creature* creature

Signed-off-by: Gyx <2359980687@qq.com>
2012-03-14 09:20:36 +08:00
Shauren
1dde22394c Core: Corrected conflicting variable names 2012-03-14 00:21:46 +01:00
Shocker
ae27a2cf51 Merge pull request #5690 from thomas33/master
Core/Misc: Remove hungarian notations
2012-03-13 14:41:53 -07:00
thomas33
cae662d191 cleanup 2012-03-13 15:48:18 +01:00
thomas33
0532afed90 more cleanup 2012-03-13 14:53:36 +01:00
Shocker
a91d5d0fad Merge pull request #5686 from Bezo/master
Core/Arena: Add match type info for arena logs
2012-03-12 19:00:07 -07:00
Bezo
11b71bfa4b Logs/Arena:
Add match type for extended arena logs for statistics
Add match type for winner logs.
2012-03-13 01:16:04 +02:00
Shauren
c0165ec7f8 Scripts/Icecrown Citadel: Lock Deathbringer Saurfang and Valithria Dreamwalker chests to players who fought them 2012-03-12 18:09:06 +01:00
Shauren
671fd4176a Core/GameObjects: Chests will now remain locked for players who left the group if loot from that boss is stored in it (note: this is just an implementation of locking the chest, they still need to be linked to a boss - not yet implemented) 2012-03-12 18:07:34 +01:00
Machiavelli
a48216e122 Scripts/UP/Svala: Temp compile fix for Svala. Currently rewriting the entire script. 2012-03-12 08:41:13 +01:00
kaelima
6217583627 Core/Map:
- Remove mysterious restriction in visibilityhelper for gameobjects
- Some cleanup in CheckAreaExploreAndOutdoor() and GridDefines.h
- Set nocreate for cells visited in Map::VisitNearbyCellsOf
2012-03-12 04:33:24 +01:00
Machiavelli
8af0067016 Scripts/ICC/Lich King: Typo correction in unit_field_bytes_1 usage related to hover, introduced in previous commit (thankfully the only one). 2012-03-12 01:10:02 +01:00
Machiavelli
dc91836b85 Merge pull request #5656 from thomas33/master
Yet another copyright update commit, this stuff never gets old! Except in 2013.
2012-03-11 16:57:15 -07:00
Machiavelli
03a24a84e4 Core/Units:
- 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-12 00:53:45 +01:00
thomas33
286786cee0 update headers ... sorry ^^ 2012-03-11 22:03:43 +01:00
Discover-
5ca27f40cc Merge pull request #5654 from thomas33/master
Update forgotten copyright-headers for 2012
2012-03-11 13:02:45 -07:00
thomas33
0c178320bf update forgotten copyright-headers for 2012 2012-03-11 20:53:08 +01:00
Nay
6ffdef1e6c SQL: Fix some failures in previous commit (2b2d054)
Please, re-apply the SQL files.
2012-03-11 17:10:27 +00:00
Nay
2b2d054f64 R.I.P SimpleAI
- Convert SimpleAI to (DB) SmartAI
- Spell ids corrected (and completed some of the scripts)
- Random cleanup (code style) in some scripts
2012-03-11 16:59:17 +00:00
Shauren
036dae5a36 Merge pull request #5631 from joschiwald/crashfix
Core/CreatureTextMgr: Fix crash in GetLocalizedChatString()
2012-03-11 07:18:38 -07:00
Shauren
3cf8b9a15a Scripts/Serpentshrine Cavern: Fixed crashes caused by uninitialized variables, patch by PuniCZ
Closes #4988
Closes #5645
2012-03-11 15:03:29 +01:00
Machiavelli
b1a8570a30 Core/Spells: Fix item target selection in Spell:SelectImplicitTargetObjectTargets. Typo spotted by zwerg 2012-03-11 14:52:11 +01:00
Discover-
410a6a080d Merge pull request #5632 from FrozenSouL/tc_helper
Update forgotten copyright-headers for 2012
2012-03-10 12:14:16 -08:00
Shauren
f85fdbebe7 Core/DBC: Remove store getters (useless since we don't have scripts as external dll) 2012-03-10 20:53:26 +01:00
frozenarmor
609728a17b Update forgotten copyright-headers for 2012.
Signed-off-by: frozenarmor <venom.victorios@gmail.com>
2012-03-11 00:52:06 +05:00
joschiwald
1ddf039de8 Core/CreatureTextMgr: Fix crash in GetLocalizedChatString() 2012-03-10 20:21:27 +01:00
click
73282f9789 SQL: Fix one of the filenames from commit 0ad6238a96 2012-03-10 15:10:36 +01:00
Malcrom
0ad6238a96 DB/SAI,Waypoints,creature: Some updates for Silvermoon City 2012-03-10 06:37:15 -03:30
Subv
7c42cd76e4 Core/Conditions: Prevent crash at Spell::CheckCast if Condition::Meets returned prematurely 2012-03-09 17:15:22 -05:00
click
593d003b7c Core. Fix non-PCH build 2012-03-09 21:53:47 +01:00
kandera
c9b6d73615 Core/Player: Fix auras getting applied on water walk 2012-03-09 09:18:34 -05:00
Spp
f1949b20a6 Some random cleanup here and there 2012-03-09 13:42:52 +01:00
Shauren
a1a7a2d7c0 Core/Players
* Add liquid special aura only if player is in it (not when above)
* Use CastSpell instead of AddAura - checks all dbc conditions on spell
2012-03-07 18:57:47 +01:00
kandera
2e58d7b515 Core/Spells: cleanup warning for life tap 2012-03-07 10:15:40 -05:00
Kandera
c23ff109df Core/Spells: attempt to fix damage for life tap (thx again vincent-michael) 2012-03-07 09:16:52 -05:00
Spp
f495e0efe4 Warning fixes and some random cleanup here and there 2012-03-07 14:09:18 +01:00
Shauren
e5d23103f3 Core/Maps
* Corrected liquid type extraction in maps - MCLQ chunk must be parsed together with MH2O (they stack)
* Fixed liquid detection in WMO objects
* Implemented LiquidType.dbc use, players will now get proper auras in special liquids
* Turned off slime damage by default (Naxxramas uses periodic damage aura for this purpose)
* Implemented liquid type overrides basing on area/zone
* Renamed final temp_gameobject_models to GameObjectModels.dtree (the temporary one produced by vmap extractor remains unaffected)

Note: Map and Vmap re-extraction is required
2012-03-07 13:09:35 +01:00
Malcrom
9f93681625 DB/text: Fixed text from last commit :) 2012-03-06 21:02:16 -03:30
Malcrom
0e18d64050 DB/SAI: SAI for Elrodan & Aurosalia text 2012-03-06 20:55:17 -03:30