Commit Graph

3731 Commits

Author SHA1 Message Date
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
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
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
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
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
Machiavelli
b1a8570a30 Core/Spells: Fix item target selection in Spell:SelectImplicitTargetObjectTargets. Typo spotted by zwerg 2012-03-11 14:52:11 +01: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
joschiwald
1ddf039de8 Core/CreatureTextMgr: Fix crash in GetLocalizedChatString() 2012-03-10 20:21:27 +01:00
Subv
7c42cd76e4 Core/Conditions: Prevent crash at Spell::CheckCast if Condition::Meets returned prematurely 2012-03-09 17:15:22 -05: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
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
click
a153e0ca06 Core: Remove some whitespace and tabs 2012-03-07 00:05:34 +01:00
leak
cd574eb23b Core/Warden: Move Sent check ids log to debug log 2012-03-06 17:22:58 +01:00
joschiwald
7683297423 Core/CreatureTextMgr: Fix typo in LoadCreatureTextLocales() 2012-03-05 23:23:23 +01:00
Kandera
429f4b0c20 Core/DBCStruct: update the info for liquidtype (even though it is currently commented out) 2012-03-05 11:01:04 -05:00
Kandera
680a7083ff Core/Misc: add level to login/logout logs, it will help to find xp exploits (aokromes) 2012-03-05 10:58:52 -05:00
Manuel Carrasco
4f5f148e8c Merge pull request #5563 from Souler/fix_ds_pipe_knockback
Fix broken-compile introduced in b0c70f43
2012-03-04 21:34:40 -08:00
Souler
4b11d67d31 Fix broken-compile introduced in b0c70f4380 2012-03-05 00:47:59 +01:00
Subv
b18b884c95 Merge pull request #5559 from Souler/fix_ds_pipe_knockback
More Dalaran Sewers Arena fixes
2012-03-04 14:22:58 -08:00
click
45946e23ba Core: Adjust parameter output values to avoid excessive warning outputs on GCC and some other minor warnings 2012-03-04 21:38:57 +01:00
Souler
b0c70f4380 Core/Arenas/Dalaran Sewers: Remove demonic circle on arena start and when players jump off from the pipes. 2012-03-04 20:48:24 +01:00
Souler
54fc5c0974 Core/Arenas/Dalaran Sewers: Repeat the central waterfall knockback while it stills active. 2012-03-04 20:48:15 +01:00
Shocker
15a3ad7276 Core/Misc: Fix gcc compile 2012-03-04 20:12:55 +02:00
Shocker
ab65bb4b57 Core/Misc: Make ObjectAccessor::FindPlayerByName case-insensitive 2012-03-04 19:24:38 +02:00
Discover-
c4fd6b89db Core/SAI: SMART_ACTION_MOVE_TO_POS will now have param1 as PointId. This means you can now (properly) use SMART_EVENT_MOVEMENTINFORM when reaching the point you make the NPC move to.
Wiki is updated accordingly.
2012-03-03 23:41:29 +01:00
Subv
d21179ab56 Merge pull request #5426 from Souler/fix_ds_pipe_knockback
Dalaran Sewers Arena: Knockback from starting pipe
2012-03-03 12:20:39 -08:00
Subv
6df9adf6d5 Merge pull request #5468 from Elron103/pull-requests
Core/Auction House: Delete item_instance entries correctly, prevent invalid entries
2012-03-03 12:02:17 -08:00
Machiavelli
d1e4eb0512 Core/Commands: Implement .debug moveflags command. With params you can set MoveFlags and MoveFlagsExtra for targeted unit. Without params it will display the current MoveFlags and MoveFlagsExtra. Useful for debugging upcoming changes. 2012-03-03 16:12:28 +01:00
QAston
a08fe16d69 Core/Spells: Allow spell effects to have multiple destinations. Spells like: 49814, 10869 and similar are now properly selecting destination targets. 2012-03-03 00:19:48 +01:00
Subv
b0985b4d5f Core/Misc: Remove redundant implicit template types in some std::make_pair calls. Should allow the build in Visual Studio 2011 2012-03-02 17:14:14 -05:00
QAston
e1b544d129 Core/Spells: Remove some obsolete code 2012-03-02 17:57:26 +01:00
Souler
b825573c29 Core/Arenas/Dalaran Sewers: Knockback players near the central waterfall when it fully activates. 2012-03-02 17:20:48 +01:00
Souler
d70c708093 Core/Arenas/Dalaran Sewers: Reset the knockback effect if someone manages to get back to the starting pipes. 2012-03-02 17:20:46 +01:00
Souler
c119c0ce13 Core/Arenas/Dalaran Sewers: Players who stay on the pipe after the battle has begun should be knocked into the arena.
Also corrected the orientation of horde starting position
2012-03-02 17:20:45 +01:00
Kandera
42454640cf Core/Scripting: codestyle and comment for previous commit 2012-03-02 09:49:44 -05:00
Kandera
c1270bd758 Core/Scripting: added OnPlayerUpdateZone for player scripts 2012-03-02 09:42:17 -05:00
kaelima
394dbf0cdc Core/Misc: Fix a crash in CalendarMgr::AddAction and initialize some wild pointers. 2012-03-02 12:23:16 +01:00
Shauren
254256668b Core: Fixed compile without PCH 2012-03-01 23:45:07 +01:00
Shauren
09f0a2c04f Core/CreatureTextMgr: Added support for creature_text localization 2012-03-01 22:26:05 +01:00
Kandera
92af6ec647 Core/Auras: fix stacking for auras that change phase. (thx to manuel) 2012-03-01 13:39:53 -05:00
kandera
e59fc28aa6 Merge pull request #5498 from kandera/fix_wsg
Core/Battlegrounds: cleanup and fix flag issue in previous commit correc...
2012-03-01 10:25:19 -08:00
Kandera
4fad1f5b8f Core/Battlegrounds: cleanup and fix flag issue in previous commit correctly 2012-03-01 13:24:15 -05:00
Machiavelli
6bb689b494 Core/Units: Properly update passenger position if vehicle uses waypoint movement. Fixes e.g. Icefang path 2012-03-01 17:06:41 +01:00
Machiavelli
e2c20cca72 Core/Conditions: Small optimization in ConditonMgr, as well as proper rules for spellclick conditions in Clean(), and finally some documentation added on how to add new source types. 2012-03-01 14:43:35 +01:00
Machiavelli
a36a0a77ef Core/Player: Quests with status QUEST_STATUS_NONE(0) shouldn't be loaded into player's queststatus storage. These should be removed since they are remnants from the old queststatus storage system. 2012-03-01 14:43:32 +01:00
kaelima
b27bd661f0 Core/Object: Correct the updateflag order in SMSG_UPDATE_OBJECT. 2012-03-01 12:12:35 +01:00