Commit graph

6235 commits

Author SHA1 Message Date
Laise
202a6b0a70 [11733] fix melee attack speed slowing part of 53695 and ranks 2011-07-11 10:23:53 +03:00
SilverIce
a7fba67225 [11732] Interrupt movement state at dying
TODO: proper solution would be update creatures while in corpse state.
This also would solve problems with death persistent auras that not get updated for died creatures
2011-07-10 22:17:08 +03:00
VladimirMangos
0cbb8e311e [11731] AHBot chat/console commands.
Originaly provided in ahbot patch but havy rewrited.
2011-07-10 06:16:51 +04:00
VladimirMangos
8e48e44c22 [11730] Move empty guid check into GetPlayerAccountIdByGUID code.
This cleanup small code and let catch some missing check cases
when 0 guid attempt searched by real DB query.

This also make function call more safe if it used with non-player guid by
some reason.
2011-07-10 05:57:37 +04:00
Lynx3d
35e8af7195 [11729] Improve fishing bobber placement and send more correct error messages. 2011-07-10 03:56:06 +02:00
SilverIce
776ef3885a [11728] Lost line in prev. commit 2011-07-09 19:31:41 +03:00
SilverIce
94133107c7 [11727] Interrupt spline movement at teleporting
this fixes the position desync issue caused by teleport packets
2011-07-09 19:23:53 +03:00
blueboy
e246d8d94e [11726] Fix build on *nix
also restore accidentally removed line

Signed-off-by: SilverIce <slifeleaf@gmail.com>
2011-07-09 04:54:01 +03:00
VladimirMangos
1221a60d57 [11725] Fixed chat command parse with explicit literal check.
Before fix ExtractLiteralArg(str,"abc") reject "ab" string wrongly.
2011-07-09 05:43:11 +04:00
VladimirMangos
4ec136222a [11724] Sync some ahbot config option default values in config/code
Thanks to lakilak for find some from cases.
2011-07-09 03:57:41 +04:00
antiroot
04581f36ce [11723] Auction House Bot (AHBot) patch applied
Thanks to Chris K, cyberium, Dolomit6, grether, Kerbe, Naicisum, Paradox, Xeross
and other contributers for creating, long time improvments and patch up-to-date state support.

AHBot disabled by default. For enable it you need have ahbot.conf
in same dir where mangosd.conf placed and enable options:
AuctionHouseBot.Seller.Enabled and/or AuctionHouseBot.Buyer.Enabled

Original version ahbot.conf can be found by path:
src/game/AuctionHouseBot/ahbot.conf.dist.in

Note: chat commands from patch not included in commits and will added later after
      additional work.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-07-08 22:32:36 +04:00
sixsixnine
124dc96643 [11722] Fix non-pch build
Signed-off-by: SilverIce <slifeleaf@gmail.com>
2011-07-08 20:32:01 +03:00
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