Commit graph

6473 commits

Author SHA1 Message Date
SilverIce
fc0eb7e9fa [11721] Simplify walk/run movement mode selection code 2011-07-08 19:30:00 +03:00
SilverIce
9d566398ad [11720] Implement spline movement subsystem
Spline movement controls movements of server-side controlled units (monster movement, taxi movement, etc).
Proper implementation of effects such as charge, jump, cyclic movement will rely on it.
However, need improve our states system before.

Technical changes:

 1. Added linear, catmullrom and bezier3 splines which based on client's algorthims. They can be reused for proper transport position interpolation.
 2. Precission increased. There are no more position desync issues since client's position calculation formulas used.
 3. Now possible to move by paths with multiple points, send whole path to client.
2011-07-08 17:25:13 +03:00
SilverIce
e302fce513 [11719] Destroy all movement generators at Unit::CleanupsBeforeDelete call
this fixes possible crash at grid unloading
2011-07-08 03:58:38 +03:00
Laise
0176b15cf0 [11718] gtfo baddie 2011-07-07 14:46:04 +03:00
Laise
774ffeaa6c [11717] fix 47245 proc 2011-07-07 10:33:36 +03:00
VladimirMangos
b5e136c289 [11716] Always use _unsigned_ BIGINT fields in DB for time store
Also some other BIGINT fields fixed.
2011-07-07 04:22:07 +04:00
VladimirMangos
f4be64ff48 [11715] Remove World::setConfigPos for uint32 and move check to all uint32 config values.
As part changes move to int32 list as expected by values:
 * CONFIG_INT32_QUEST_HIGH_LEVEL_HIDE_DIFF
 * CONFIG_INT32_QUEST_LOW_LEVEL_HIDE_DIFF

Please report if mangosd will report unexpected error (< 0) for some signed config option.
I check manually but maybe miss some...

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-07-07 03:47:34 +04:00
VladimirMangos
1a263cb6a0 [11714] Add enum AuctionHouseType and let use it for more direct access to auction houses in AuctionHouseMgr
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-07-07 03:38:34 +04:00
VladimirMangos
7db70dd969 [11713] Load ItemClass.dbc
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-07-07 03:35:21 +04:00
SilverIce
a1577182c7 [11712] Fix build 2011-07-04 09:18:35 +03:00
SilverIce
26d73759e2 [11711] Rewrite WaypointMovementGenerator 2011-07-04 05:48:36 +03:00
SilverIce
984f16aedd [11710] Don't send movements of stopped creatues
destination holder still contains info about current destination point, even when movement is disabled/stopped
as a result, creature moves somewhere on client, while stopped on server-side
2011-07-04 04:38:10 +03:00
SilverIce
fce6a5b7d3 [11709] Cleanup, simplify random and targeted movement generator code 2011-07-03 23:23:16 +03:00
Laise
6a597ae755 [11708] add negative auras, channeled and regeneration spells immunity for totems 2011-07-03 12:26:53 +03:00
VladimirMangos
ac486506ab [11707] Drop unused in 3.x AuctionHouseMgr::SendAuctionSalePendingMail 2011-07-02 07:24:04 +04:00
VladimirMangos
5e9854974b [11706] Use proper text structure in auction mail subject/text
This for example will enable show random property suffix in item name
in auction mails.
2011-07-02 07:12:34 +04:00
VladimirMangos
cda3a95fc2 [11705] Allow have auction bid generated by server
Some code cleanups also.

Fir generation bids can be used auction->UpdateBid(price) call without player pointer.
2011-07-02 06:26:49 +04:00
VladimirMangos
0f0fa22607 [11704] Resolve possible crash in auction code for paiment pending state.
Source of crash in sharing item object for sent mail to new owner
and in same time use it in still existed auction for show pending paiment.
Crash possible if new onwer get mail in less hour delay and will drop item
at receive.

Solution: Added fields in memory auction object and table `auction` for
store item stack size and random property id. This let not use auction item
except points where item send to owner at expire and new owner at
buyout/timeout auction with bid.
2011-07-02 04:23:24 +04:00
VladimirMangos
0daf12a348 [11703] Proper way create items in Item::CreateItem/CloneItem for items not for inventory
Old code way work not allow create item without providing targeting player.
In result creating item that will not placed to inventory required additional hacks
for undo redundent links to player structures.
2011-07-02 01:08:01 +04:00
VladimirMangos
cc11366d6b [11702] Alsways attempt generate randomProperty for item in at create if value not pre-selected.
This resolve all existed cases when we miss assign random property id.

Also move random property/suffix check from item creating to server load time.
2011-06-30 19:19:02 +04:00
VladimirMangos
67f9c26d51 [11701] Command .auction item and support auction without owner.
* New command allow place auction from chat/console and create auction without owner.
* Same code can be used in other place when server code want create generated auction
  without need have associated player. Auction code update for support this case.
* MailDraft::SendMailTo now allow "send" mails to non-players. It correcly drop items in like case.
2011-06-29 23:29:32 +04:00
VladimirMangos
78991c1131 [11700] Implement SPELL_AURA_DETECT_AMORE (170)
For example used by item 35125.
2011-06-29 17:52:01 +04:00
Amaru
8f0c5d88b1 [11699] fix reflect damage if caster can reflect too
Signed-off-by: Laise <fenrisse@gmail.com>
2011-06-28 19:17:52 +03:00
VladimirMangos
75cfbb41c8 [11698] Fixed spells 50756 and 50758 stack check
Original patch provided by Xfurry.
2011-06-28 20:15:18 +04:00
Laise
178654bbba [11697] fix damage and duration of reflected spells 2011-06-28 18:57:27 +03:00
Xfurry
b3b1257625 [11696] Implement spell 51336
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-28 19:56:10 +04:00
Schmoozerd
d679c83884 [11695] Implement spell 24780 (switching target every 10s)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-28 17:24:53 +04:00
Schmoozerd
26ccba0a8a [11694] Implement spell 28560
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-28 16:24:02 +04:00
virusav
7e625de523 [11693] Send main spell info in EffectForceCast
This help in proper reagents use in related triggered spell.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-28 15:54:46 +04:00
VladimirMangos
387a15f1a1 [11692] Fixed damage/heal amount from some triggered HoTs/DoTs. 2011-06-28 15:22:13 +04:00
PSZ
bb9157c6fc [11691] Typo in select proper spell difficulty function 2011-06-28 12:25:25 +04:00
Den
6a142fcd55 [11690] Shaman T10 Restoration bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-28 01:00:48 +04:00
Den
c5a52705f0 [11689] Priest T8 Healer 4P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-28 00:52:34 +04:00
Den
7e0f74f286 [11688] Priest T8 Shadow 4P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-28 00:44:18 +04:00
Den
4127224fe7 [11687] Mage T8 2P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-27 16:46:47 +04:00
VladimirMangos
c11d3eb132 [11686] Fixed startup error for 31785 in spell_proc_event 2011-06-27 16:39:13 +04:00
Den
ea130fb41a [11685] Death Knight T9 Melee 2P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-27 16:33:12 +04:00
Den
9c186a25be [11684] Hunter T7 4P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-27 16:28:09 +04:00
VladimirMangos
52b3f66b38 [11683] More consitence use m_target for DestroyItemWithOnStoreSpell call in aura.
This don't must be cases when caster != m_target but anyway not reason have
not nice look code.
2011-06-27 01:58:03 +04:00
Den
6b4f6cee31 [11682] Priest T10 Healer 2P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-27 01:50:46 +04:00
Den
1492ca1e41 [11681] Rogue T9 2P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-27 01:20:52 +04:00
Den
fb035db1bf [11680] Druid T8 Balance 4P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-26 20:25:47 +04:00
Laise
4ec9af2220 [11679] allow 31785 and ranks proc from periodic heals 2011-06-26 14:56:58 +03:00
Den
4607ef7584 [11678] Paladin T8 Holy 2P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-26 03:15:52 +04:00
Den
8b4a85ac19 [11677] Paladin T10 Holy 2P Bonus
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-26 03:02:59 +04:00
Den
80b0c4c148 [11676] Implement glyph 42746
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-26 02:17:37 +04:00
VladimirMangos
a7afa91fcd [11675] Skip some unexpected results in ObjectPosSelector::AddUsedArea 2011-06-25 21:09:45 +04:00
VladimirMangos
d8a3f4b925 [11674] Fixed names of pets summoned by npc.
* Add check to make sure that creature controlled pet use default name from template.
* Add localization support to pet name query for above pets type.
2011-06-25 20:45:48 +04:00
Den
adcae44c9a [11673] Fixed spellfamily mask for glyph 45735 triggering.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-25 06:31:51 +04:00
Den
7dfeddbdef [11672] Implement glyph 42414.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-06-25 06:22:34 +04:00