Commit graph

2531 commits

Author SHA1 Message Date
VladimirMangos
0f364bf00a [8318] Deleted as expected runnable objects at related Thread deleting for avoid memory leaks. 2009-08-05 20:22:54 +04:00
VladimirMangos
dc8bf0f7e7 [8317] Implement 48801 and ranks work as expected in 3.1.x
Original patch writed by QAston.
Original patch prepared to mangos by KAPATEJIb.
2009-08-05 17:53:31 +04:00
XTZGZoReX
ba170f92f2 [8316] Remove duplicate player stat output.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-05 16:22:42 +04:00
VladimirMangos
a6413516f9 [8315] Fixed memory leaks (mostly at server shutdown) and code cleanups.
* Fixed leak in BattleGround::m_PlayerScores at BattleGround::Reset,
  add and use BattleGroundScoreMap typedef
* Delete AreaTeam objects stored in global map at shutdown
* Delete Corpse objects stored in global map at shutdown
* Store guild bank log entries as objectes instead pointers in log event lists
2009-08-05 14:27:30 +04:00
Wyk3d
e9234f048e [8314] Fixed a bug with prepare_new_index remaining true when in fact it's not used 2009-08-05 11:39:48 +03:00
hunuza
1e9483111d Fix 49998 and ranks healing part.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-08-05 10:14:45 +02:00
hunuza
902a645116 [8313] Fix dk talent 49219 and ranks.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-08-05 09:27:00 +02:00
hunuza
7dccfe768f [8312] Fixed bonus damage for some DK spells.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-08-05 00:28:02 +02:00
horogandris
58764efabd [8311] Prevent multiline fake messages in chat.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-05 02:10:12 +04:00
Nevan
0a534fda64 [8310] Implement item set 73/824 (4) bonus.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-05 01:51:15 +04:00
VladimirMangos
4e4a10312c My last sec. typo. 2009-08-05 00:59:02 +04:00
KAPATEJIb
fc66d2729b [8309] Fixed paladin judgement selection code in some places.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-05 00:52:40 +04:00
VladimirMangos
3c47e6117a [8308] More generic code for new continent spell casting including fly form/mounts.
* Check new continent requirement by SPELL_ATTR_EX4_CAST_ONLY_IN_OUTLAND in
  SpellMgr::GetSpellAllowedInLocationError.
* Also in this function let ignore any area requirement in GM-mode (except client side checks ofc if use spellbook/item)
* For fly form/mount auras check only speciaal reqirement like special fly skill and ignore it for dead state.
* Drop explicit fly auras drop at zone update, now this part GetSpellAllowedInLocationError functionality.
* Allow in `spell_area` have data deepndent from ghost auras

This all allow implement apply spells 55173/55164 to player ghost wiht DB support in `spell_area`
2009-08-04 23:43:35 +04:00
VladimirMangos
49b88a14a9 For check allowed in dead state auras apply use IsDeathPersistentSpell instead hack code. 2009-08-04 23:42:45 +04:00
hunuza
6db608d1d3 [8307] Fix skinning for creatures without loot.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-08-04 18:45:01 +02:00
VladimirMangos
bb273d51ad [8306] Implement single-per-caster limitation for paladin "hand of" spells. 2009-08-04 20:01:34 +04:00
hunuza
ba6494162f [8305] Fixed item loading from pdumps.
This resolve problems with marking all items as readble.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-04 13:19:32 +04:00
VladimirMangos
8af151eee7 [8304] Move standup code to login, remove other not needed data change at save.
Now players saved as-is without any modifications.
2009-08-04 12:52:01 +04:00
VladimirMangos
359229100e [8303] Allow save and restore at login forms/stances.
Small changes also to prevent visual "fall" flight form for viewer at login,
and another changes to prevent recasting default warrior stance.
This also resolve bug with not removing some form bonuses at lost form at re-login.
2009-08-04 02:06:30 +04:00
VladimirMangos
8f08d03a14 [8302] Drop now not used Player::MinimalLoadFromDB 2009-08-04 00:14:19 +04:00
VladimirMangos
19ccf59cd4 [8301] Restore work 1122 broken after switch.
Also small cleanup in summon code: move statue summon cal from EffectSummonGuardian
to common summon type selector code.
2009-08-03 16:05:31 +04:00
VladimirMangos
f05ac51b8a [8300] Re-enable in more clear way anti-crash client protection at enslave demon.
Report about DB data problem related to prevented crash
2009-08-03 15:30:53 +04:00
VladimirMangos
27e12424e5 [8299] Move zone update form SendInitialPacketsBeforeAddToMap to SendInitialPacketsAfterAddToMap.
This must retore correct apply zone dependent auras at far teleport and login.
Also must be restored chat channels update at far teleport.
2009-08-03 03:01:30 +04:00
nos4r2zod
39eca7d43a [8298] Use new Aura::HandleSpellSpecificBoosts for apply/remove dependent auras.
This provided more clear place where dependent auras can be applied/removed,
if expected manual apply _with_ aura remove at parent aura expire.
This can be used for more cases.

In current state it implement additional effects for
29836 and ranks, 61846 and ranks, 31869, 53379 and ranks, 20254 and ranks,
20138 an ranks, 48263, and 48265.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-03 02:27:30 +04:00
VladimirMangos
aa56961f94 [8297] Partly revert "[8291] Now allow auto-casting pet spells out of combat by PetAI, related code cleanups."
Use less stricted limitations for pet out-of-combat autoucasts.
2009-08-03 00:07:05 +04:00
Lightguard
97a8114e44 [8296] Restore mana to caster instead target at specific effect of 53209.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-02 11:06:29 +04:00
VladimirMangos
822a34e2c7 [8295] Remove single target auras at caster/target shift to not accessable phase.
This must fix another source of "Couldn't find the caster of the single target aura" errors.
2009-08-02 10:55:41 +04:00
Necro
4841fae910 [8294] Some playercreateinfo_action fixes. Also DK food initial amount fix in code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-02 09:44:48 +04:00
VladimirMangos
ebac9a23de [8293] Some progress in spell_check fill. 2009-08-02 01:39:47 +04:00
VladimirMangos
48567469e1 [8292] Fixed healing part of spell 19505 and ranks (in fact from rank 2) 2009-08-02 01:38:50 +04:00
VladimirMangos
f10653833f [8291] Now allow auto-casting pet spells out of combat by PetAI, related code cleanups. 2009-08-01 23:19:59 +04:00
Lightguard
f27a29faef [8290] Fixed pet action bar lost at pet revive.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-01 21:48:50 +04:00
Derex
7af48902f1 [8289] Fixed build problem with some old mysql versions at Unix/Linux.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-01 21:19:45 +04:00
VladimirMangos
3150ae9cbc [8288] Add table base addition reqs for achievements with ACHIEVEMENT_CRITERIA_TYPE_WIN_DUEL
This prevent not proper finish some achievments added in 3.1.x
2009-08-01 20:01:51 +04:00
KAPATEJIb
cdf895d134 [8287] Allow caster targeting in target selection for 52759 and buf from 51556 and rabks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-01 19:15:06 +04:00
redcore
cc20be1012 [8286] Correctly show talent points after talents reset at login by "at login" flag.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-08-01 15:09:52 +04:00
Prince
efa741a5cb [8285] Don't show creatures as lootable that have no loot.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-08-01 10:05:01 +02:00
VladimirMangos
47f96447b8 [8284] Use BuyCound instead Stackable for seelction original items amount for new character. 2009-07-31 18:04:29 +04:00
VladimirMangos
3fc547e6e6 [8283] Implement 3.x way work for double damage from 35290 and ranks 2009-07-31 17:09:54 +04:00
VladimirMangos
c7f8c9b52b Avoid target requirement checks for spells with caster base target selection (self,pet,around).
This fix cast fail for some spells, mostly triggered or scripted with unexpected prowided explicit tatrget different from caster.
2009-07-31 17:08:47 +04:00
NoFantasy
8e6386aac0 [8282] Correct typo in SetStoppedByPlayer() and it's related.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-07-31 12:54:44 +02:00
NoFantasy
a56f9ea6de [8281] Add spellId to error output in UnregisterSingleCastAura().
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-07-31 12:23:43 +02:00
Ambal
253d39de21 [8280] Avoid grid loading loading at packet broadcasts.
If player in range then related grid loaded, if not loaded then player
not in range and no reason for loading.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-30 18:17:09 +04:00
nos4r2zod
93b0ccfe0b [8279] Fixed hunter aspets, paladin auras and DK presence detection for SpellSpecific.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-30 14:06:39 +04:00
VladimirMangos
67b52a2294 [8278] Update packet size checks in WorldSocket::HandleAuthSession to 3.x state. 2009-07-30 12:46:20 +04:00
Gendalph
ae61c1eec0 [8277] Add new line at the end of some .cpp to make gcc happy
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-29 18:34:37 +04:00
VladimirMangos
9002710c93 [8276] Implement achievment ACHIEVEMENT_CRITERIA_TYPE_WIN_BG
* including new achievement createria data type ACHIEVEMENT_CRITERIA_DATA_TYPE_BG_LOSS_TEAM_SCORE

Note: Some achivement creteria for success need data in `achievement_criteria_data`
2009-07-29 17:29:10 +04:00
freghar
571f94b36a [8275] Remove unneeded static linkage in src/game/
Signed-off-by: freghar <compmancz@gmail.com>
2009-07-29 14:50:51 +02:00
balrok
d8c1e3991f [8274] use virtual m_TeamScore for battlegrounds
score is used in every battleground (not arena)
so we can use it as a virtual variable to access
it also from BattleGround-class

Signed-off-by: balrok <der-coole-carl@gmx.net>
2009-07-29 14:45:45 +02:00
tomrus88
7c52111fb1 Fixed /played chat command.
(cherry picked from commit 3e49bbe692ea5f44ea2daffdfe970a7201d501f5)

Conflicts:

	src/game/MiscHandler.cpp
	src/game/SharedDefines.h
	src/game/UpdateFields.h
	src/realmd/AuthCodes.h
2009-07-29 15:14:23 +04:00