Commit graph

4551 commits

Author SHA1 Message Date
VladimirMangos
5a4358dda9 [7250] Use bg type ids enum insted raw values and catch some bugs in result for fixing.
* Replace max bg type checks by DBC valid index check
* Use in functions and fields BattlegroundTypeId type instead uint32
* Fixed wrong use bg queue ids instead bg type ids in queue update/remove function calls.
  Many bg have same raw values for type id and queue id but some can be affected by this bug:
  BATTLEGROUND_EY, BATTLEGROUND_SA, and all areans (with small arena/team size exceptions)
* Move Battlemaster to bg type ids map fron ObjectMgr to BatteleGroundMgr.
* Remobe redundent for header itself includes for BG headers.
* Use Auction location enum instead raw valus.
2009-02-08 11:05:11 +03:00
jorooo
e355084376 [7249] Remove outdated data from spell_proc_event.
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-08 04:54:38 +03:00
zhenya
c5f20ff9a9 [7248] Check battlemaster_entry data at loading. Code cleanups.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-08 04:22:46 +03:00
VladimirMangos
6b381f2d0e [7247] Fixed memory and data lost at dalayed expire/clear of movement generators. 2009-02-07 23:38:31 +03:00
VladimirMangos
30c1b87669 [7246] Add data from 7242_01_mangos_spell_bonus_data.sql to mangos.sql as expected.
Also fix outdated comment
2009-02-07 21:23:23 +03:00
ApoC
3529d084d9 [7245] Typo fix.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-02-07 15:35:15 +01:00
pasdVn
7c32de2f8d [7244] Fixed affecting of positive spells critical chances by scripted critical chances.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-02-07 15:22:19 +01:00
aerione_alt
d767de4b8d [7243] Fixed spell 47883.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-02-07 15:15:05 +01:00
Reve
19de5300eb [7242] Fixed spell 30482 and ranks spell bonus for triggered spell.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-02-07 15:00:06 +01:00
ApoC
7d3eac7f5a [7241] Breath time extended to 3.0.x values.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-02-07 14:55:01 +01:00
ApoC
c9eacd7a23 [7240] Fix logfile spam from AchievementMgr.
Log AchievementMgr::SendAchievementEarned only in debug.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-02-07 14:50:01 +01:00
VladimirMangos
5e2553ff7e [7239] Support multiply items loot and not normal loot items in Player::AutoStoreLoot.
Use this function in more cases and simplify and fix some related code.
2009-02-07 10:34:11 +03:00
ApoC
fb432a0f36 [7238] Fixed typos in my prev. commit.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-02-07 03:41:15 +01:00
ApoC
6e65999d86 [7237] Fixed crash when MotionMaster's Clean or ExpireMovement called from MovementGenerator update.
Implemented delayed movement generators removed in case cleanup is triggered
from movement generator update. For this purpose is in runtime allocated vector
for temporary store of all deleted movement generators. After delayed delete
this vector is deleted.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-02-07 03:29:06 +01:00
VladimirMangos
7dffae89da [7236] Prevent lost spells dependent from skills learned before non-dependent spell loading from DB.
For example spell 2764 will correctly show in spellbook after re-login.
2009-02-07 02:47:57 +03:00
VladimirMangos
74ec17a273 [7235] New command: .reset achievements 2009-02-07 00:00:23 +03:00
VladimirMangos
cb0ebde926 [7234] Now correct patch version: Use spell_loot_table for item creating in case SPELL_EFFECT_CREATE_ITEM_2 (157) and itemType==0 2009-02-06 07:57:45 +03:00
VladimirMangos
e21941d558 [7233] Fixed phase selection for gameobject/creature spawn for GM-mode without phase auras. 2009-02-06 07:57:44 +03:00
VladimirMangos
118eb563b5 [7232] Use constant name that hide client dependent value. 2009-02-06 02:00:59 +03:00
VladimirMangos
8376abb9d2 [7231] Some info to sql updates commiters in slq/update/README 2009-02-05 23:01:00 +03:00
Dietrich
873c3baf2e [7230] Add spell_chain data for 18220 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also add spell_bonus_data
2009-02-05 05:27:59 +03:00
GriffonHeart
6afcf1a1ef [7229] Add area limitation checks for battleground/arena spells.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Spell sorted by 2 list and map ids lists replaced by map type checking in patch.
2009-02-05 04:59:42 +03:00
nugu100
160777848a [7228] Implement empty bag swap with equipped non-empty bag with items exchange.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

More early checks and proper swap bank bags in patch.
Correct error messages in fail case.
2009-02-05 00:36:27 +03:00
VladimirMangos
fdd8176d74 [7227] Implement prismatic sockets. Related code cleanups.
Big thanks to TOM_RUS for help in reseach!
2009-02-04 02:09:46 +03:00
VladimirMangos
2c7216ac8c [7226] Avoid 2 mQuestStatus[quest_id] calls from AddQuest code for speed and possible aliasing problems.
Original patch provided by zhenya.
2009-02-03 02:19:40 +03:00
zhenya
a1eaf1af6f [7225] Correctly clear trainer and vendor data.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-03 02:01:41 +03:00
VladimirMangos
6786ed1610 [7224] Drop unused code. 2009-02-03 00:42:06 +03:00
vladonix
a4b87550a8 [7223] Remove duplicate line (old case) in mangos.sql command table.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-03 00:09:09 +03:00
KiriX
0f8c1ccd58 [7222] Revert "[7206] Not set creep walking mode for recial stealth ability 58984."
This reverts commit a261afd5f08ef9773d0af83b4286b19d4172a4ae.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-02 23:43:30 +03:00
VladimirMangos
42e12136a8 [7221] Add output player names as sift-links in more chat commands. 2009-02-02 23:14:05 +03:00
VladimirMangos
e83be70aca [7220] Check creature spells data at server startup. 2009-02-02 18:11:00 +03:00
VladimirMangos
4039fa8a4a [7219] Improvements ins shift-links work.
* Implement support 'Hplayer' link type. Mostly as player name highlights in command messages.
* Support shift-links parsing withoyt '|c' color prefix
* Many related code cleanups.
2009-02-02 03:10:47 +03:00
delavega
a26f327314 [7218] Fixed used message CHAT_MSG_GUILD_ACHIEVEMENT format.
Guild members will not recieve achievement messages.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-01 22:37:53 +03:00
VladimirMangos
4623402492 [7217] Remove outdated for 3.0.x gameobject 187039 invisibility (type 10) set in code.
Now gameobject expected have phasemask 2 in DB for expected work.
2009-02-01 22:03:56 +03:00
VladimirMangos
f5ac3d245f [7216] Create gameobject in death point instead spawn point in spell 23019 effect. 2009-02-01 21:31:56 +03:00
VladimirMangos
ed59d22dec [7215] .gobject setphase now really work. 2009-02-01 09:39:08 +03:00
VladimirMangos
4602ff9c21 [7214] Phase system continue development - Commands and fixes.
* Fixed creature/gameobject save from game (used in commands code only)
* Implement .modify phase (for player), .npc setphase (for creature/pet), .gobject phase (for gameobjects) commands
  for set phasemask of selected object. In player/pet case temporary until in game phase switch/re-login/GM-mode change.
  In creature/gameobject case change saved in DB.
* Add to .gps output phasemask value print. Allow use .gps command with creature/gameobject shift-link
  (work for objects loaded in game in command time).
2009-02-01 08:13:16 +03:00
VladimirMangos
ed52e3f8f0 [7213] Fixed quest related GO activation/deactivation at join/leave/convert raid group. 2009-02-01 03:23:29 +03:00
VladimirMangos
a47c8d3bfc [7212] Fixed check possibility quest drop present in loot template for player in case groupped loot. 2009-02-01 03:22:58 +03:00
VladimirMangos
781b013a98 [7211] Re-calculate "gameobject for quests" data at quest_template reload. 2009-02-01 02:15:13 +03:00
DiSlord
2e6e2946cc [7210] Implement shaman 51505 and ranks crit, and work 55447 glyph
Signed-off-by: DiSlord <dislord@nomail.com>
2009-02-01 00:26:09 +03:00
DiSlord
8197ccbc73 [7209] Fix damage for paladin 53595
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-31 22:04:12 +03:00
VladimirMangos
9d83c18591 [7208] Lost chnage from prev, commit. Fix crash at player loading. 2009-01-31 06:37:36 +03:00
VladimirMangos
aa24bd836e [7207] Phase system development continue for DB/in_game objects
* Store phase mask for creatures/gameobjects/corpse in DB
* Propertly set phase for summoned creatures/gameobjects/pets/corpses/spell related dynobjects
* Select proper phase for spawned creature/gameobjects and save it in DB

TODO: in game commands.
2009-01-31 06:11:50 +03:00
KiriX
0c43a425e8 [7206] Not set creep walking mode for recial stealth ability 58984.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-31 05:56:05 +03:00
evilstar
af888cda40 [7205] Update table spell_chain to 3.0.8
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-31 02:18:08 +03:00
DiSlord
bbdf5ca8eb [7204] Fixed type conversion in spell bonuses calc (fixed huge damage in some cases)
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-31 01:35:14 +03:00
timmit
6c2eeb86f8 [7203] Update MaxLevel money quest reward to expirience convertion for 303.
Note: old client compatible quest reward data will provide wrong result.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-01-31 00:58:34 +03:00
DiSlord
88419c968f [7202] Fix warlock armor buff stack
Signed-off-by: DiSlord <dislord@nomail.com>
2009-01-30 23:01:03 +03:00
VladimirMangos
339c7f05f1 [7201] Prevent use 0 guid for pets and only odd guids for vehicles. 2009-01-30 05:12:08 +03:00