Commit graph

4966 commits

Author SHA1 Message Date
Wyk3d
1e824ba2d9 Fixed the db_version queries, added code to remove the updates from previous commits, other cleanups. 2008-12-30 00:25:36 +02:00
Wyk3d
c733c0f70c Implemented adding the alter table table statement for the last required sql update to the new sql update. 2008-12-30 00:25:36 +02:00
Wyk3d
5d2595d7e7 Implemented makefile generation 2008-12-30 00:25:36 +02:00
Wyk3d
6574ca17a4 Implemented renaming sql updates. 2008-12-30 00:25:35 +02:00
Wyk3d
0a480670c9 Added an option to set the remote branch 2008-12-30 00:25:35 +02:00
Wyk3d
dcb4d9d6d5 Fixed finding sql updates 2008-12-30 00:25:34 +02:00
Wyk3d
acb5080733 Cleaned up the buffer sizes and added started writing sql update support 2008-12-30 00:25:34 +02:00
Machiavelli
04af12e82a [6978] Allow crashing blow only from auto-attack.
Signed-off-by:  Machiavelli <Machiavelli@getmangos.com>

Thanks to Dreamer for patch preparing for mangos.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-29 23:28:38 +03:00
Wyk3d
07394d45da [6977] Fixed a crash caused by incorrect use of GetMap for corpses in other maps, and another one caused by SelectHostilTarget failing to notice the target is not in world, due to a fauly InSameMap check. 2008-12-29 22:24:05 +02:00
Wyk3d
75b1db8cd0 [6976] Changed the db_version fields in realmd and characters databases to revision number format 2008-12-29 22:19:15 +02:00
VladimirMangos
c5976f93da [6975] Fixed spell damage calculation for negative EffectDieSides.
Thanks to NoFantasy for testing.

Also small code style apply to random generation functions.
2008-12-29 23:00:12 +03:00
Charlie2025
02cc37bcd0 [6974] Set different loglevel for UpdateAchievementCriteria
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-29 20:35:43 +01:00
arrai
6b34b76426 [6973] Fixed storing demotes in guild log. Patch provided by vdesai 2008-12-29 15:11:07 +01:00
arrai
28ee9a7c39 [6972] Fixed teleporting players home at logging out in invalid instances 2008-12-29 14:47:55 +01:00
arrai
e2b744f016 [6971] Implemented summon type 1161. This will fix spell 51533 2008-12-29 14:19:32 +01:00
Grz3s
da133b2618 [6970] Fixing player staring coordinates in mangos.sql. 2008-12-29 13:34:07 +03:00
VladimirMangos
5793ae28ea [6969] Prevent stacking presence auras. 2008-12-29 04:46:03 +03:00
ApoC
784cf098b0 [6968] Replace check for spell category removed in 3.0.x with spellid.
Should fix not interrupting wand casting by other spell cast.

Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-29 00:57:45 +01:00
tomrus88
ec744de8f0 Merge branch 'master' into 308
Conflicts:
	src/game/Spell.cpp
2008-12-29 00:50:48 +03:00
DiSlord
963c6e5cf7 [6967] Fix paladin seal and blessing family mask
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-28 23:58:48 +03:00
DiSlord
53127cd6d9 [6966] Fix bug adding XP in DK trigger aura
Use MaNGOS::XP::GetGrayLevel for honor target gray level

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-28 23:32:26 +03:00
Arthorius
27175a9ad8 [6965] Implement aura SPELL_AURA_PROC_TRIGGER_SPELL_WITH_VALUE.
This must let work triggering part of:
DK talents 49182, 49027, 49149, 49223, 50880, 55610 and ranks
Warrior glyph item 43418
And some boss spells.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-28 22:36:42 +03:00
VladimirMangos
dd65b8b840 Apply mangos code style. 2008-12-28 22:36:08 +03:00
ApoC
58a05b831a [6964] Correctly show new guild rank name on guild demote.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-28 20:26:49 +01:00
VladimirMangos
15bb2d0f03 [6963] Fixed crash at glyph item use.
Prevent double deleted cast item in spell effect.
Thanks to GriffonHeart for testing.
2008-12-28 20:04:50 +03:00
False.Genesis
c1c6f770ed [6962] Update sanctuary flag.
This also will fixed opposition players allways unattackable state.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-28 06:51:49 +03:00
begemot
b9e0787c2a [6961] Remove redundent code that prevent show .reload subcomands list in normal way.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-28 05:04:01 +03:00
Arthorius
41cbc67dfc [6960] Implement ".modify runnicpower" command.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-28 03:23:03 +03:00
hunuza
70c7dda068 [6959] Merge some queries on item load.
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-28 00:38:38 +01:00
DiSlord
40e540d6f8 [6958] Fix last commit, add revision number
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-28 01:58:42 +03:00
DiSlord
b794a24358 Add procFlag patch
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-28 01:47:36 +03:00
DiSlord
fd5a994659 Merge branch 'master' of git@github.com:mangos/mangos into procflag 2008-12-28 00:41:47 +03:00
DiSlord
7a9346fe3d Prepare for master tree
Remove some unused in 303 data from table
Fix some table data
Fix send (change in 303) SMSG_SPELLDAMAGESHIELD opcode

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-28 00:10:48 +03:00
invliD
6bdeeed92b [6957] Restore build after [6955].
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-27 23:50:51 +03:00
VladimirMangos
95a874ec49 [6956] Fixed pet spell learning broken in [6947]. 2008-12-27 22:48:00 +03:00
hunuza
b17b4c9fd8 [6955] Introduce new function Player::LeaveAllArenaTeams and use it on player delete.
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-27 17:07:37 +01:00
DiSlord
c92d146391 [6954] Add some missing in 303 dbc charge count for mods
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-27 18:35:51 +03:00
DiSlord
30908fb5ff Merge branch 'master' of git@github.com:mangos/mangos into procflag 2008-12-27 18:29:03 +03:00
VladimirMangos
9c5dab1248 [6953] Cleanup packed guids write/read code.
* Remove unused function writeGUID and move function readGUID (with some changes) to ByteBuffer class.
* Remove now empty Tools.cpp/Tools.h from project.
2008-12-27 17:27:20 +03:00
VladimirMangos
cc4b43c65d [6952] Add packet size check for CMSG_GAMEOBJ_REPORT_USE. 2008-12-27 15:13:25 +03:00
Sarjuuk
2476ce7f72 [6951] Ignore oudated from behind facing requirement in flags for spell 9005 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-27 13:46:01 +03:00
VladimirMangos
871ea8a3be [6950] Allow CMSG_GAMEOBJ_REPORT_USE client packet recieve by server. 2008-12-27 02:09:34 +03:00
Woweur
950bfc02df [6949] Fixing group invite opcode.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-27 01:47:36 +03:00
False.Genesis
82c94b4101 [6948] Fixed unattackable NPC summoned pets.
Not set player's pet only UNIT_FLAG_PVP_ATTACKABLE flag for creature's pets.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-12-26 15:18:10 +03:00
tomrus88
47c0dbdc27 Merge branch 'master' into 308 2008-12-26 14:24:04 +03:00
tomrus88
a38078d0c2 Some 308 changes 2008-12-26 14:21:42 +03:00
VladimirMangos
3488c1fee3 Prevent using loading pet from DB code for non-player pets. 2008-12-26 12:47:03 +03:00
VladimirMangos
3c774f9c68 [6947] Fixed learning some spells triggred by learning another spell.
At prepering learning spell dependences at server load mark
as auto-learned spells from DBC data only leraned
from telents/passive/skill-setting spells.
Expected "regression": if player learn "learning spell" then
he will always auto-learn spell learned by this "learning spell" also.
2008-12-26 11:54:58 +03:00
DiSlord
9d431700c3 [6946] Use blizzlike formula for armor reduction damage
Implement use CR_ARMOR_PENETRATION rating

Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-26 00:45:33 +03:00
DiSlord
ae4a0032c1 [6945] Implement FORM_METAMORPHOSIS Shapeshift
Signed-off-by: DiSlord <dislord@nomail.com>
2008-12-25 22:25:31 +03:00