Commit graph

7152 commits

Author SHA1 Message Date
Ambal
6a5b6f08e0 [8007] Do not create empty maps while sending packets.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-06-14 11:11:27 +04:00
AlexDereka
68ee99f6ac [8006] Fixed crash in EndBattleGround(). 2009-06-14 00:44:31 +04:00
VladimirMangos
ffaaa808b7 [8005] Check model data existance only for initialized creature display ids. 2009-06-14 00:15:07 +04:00
VladimirMangos
6bb19548a9 [8004] Implement table data use support for more achievement types requirements.
* ACHIEVEMENT_CRITERIA_TYPE_COMPLETE_QUEST (hardcoded list)
* ACHIEVEMENT_CRITERIA_TYPE_FALL_WITHOUT_DYING
* ACHIEVEMENT_CRITERIA_TYPE_CAST_SPELL

Note: required DB support.
2009-06-14 00:14:45 +04:00
VladimirMangos
f6029831e3 [8003] Implement ACHIEVEMENT_CRITERIA_DATA_TYPE_HOLIDAY. 2009-06-14 00:14:34 +04:00
Dyddye
d1c96855cb [8002] Implemented ACHIEVEMENT_CRITERIA_DATA_TYPE S_DRUNK and fixed typos in ACHIEVEMENT_CRITERIA_DATA_TYPE_T_TEAM
(cherry picked from commit c2f9c7a0b46fb3544930666110e240256361cd4a)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-14 00:14:10 +04:00
VladimirMangos
cf7482e0c8 [8001] Fixed display id checks for creature case. 2009-06-12 22:05:34 +04:00
ApoC
a8a4836e1a [8000] Corrected calculation of healing amount for 47230 and ranks.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-12 15:57:48 +02:00
tomrus88
90d4d70f0c [7999] Added appendPackXYZ to ByteBuffer class. 2009-06-12 16:11:20 +04:00
tomrus88
d50916a6e0 [7998] Raised stackable limit to 1000. Thanks to Seizerkiller. 2009-06-12 16:08:10 +04:00
VladimirMangos
fd1f47c88c [7997] Fixed crash at recursive call remove same spell. 2009-06-12 01:33:41 +04:00
Thyros
d2d5990956 [7996] Fixed loaded DBC count.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-11 23:04:01 +04:00
VladimirMangos
7218530489 [7995] Check display id correctness for creature and gameobjects. 2009-06-11 22:43:18 +04:00
VladimirMangos
7677a61c6f [7994] Include in mangos.sql/characters.sql changes from sql/updates/7988_*.sql
Also fix old typos in item_template data in mangos.sql
2009-06-11 20:20:56 +04:00
AlexDereka
85d9d14caf [7993] Generate StackTrace in ASSERT. 2009-06-11 15:22:40 +04:00
arrai
2412e1fc9c [7992] added additionally check for SPELL_EFFECT_OPEN_LOCK
Every gameobject which may be a target of such a spelleffect
has to have a lockid. Prior to this commit it was possible to
exploit SPELL_EFFECT_OPEN_LOCK spells and despawn abitrary GOs
2009-06-11 13:17:23 +02:00
AlexDereka
ea0f9bcf09 [7991] Added platform names to server version define. 2009-06-11 13:44:15 +04:00
nos4r2zod
31957a22d6 [7990] Trigering "on hit" combat spell only at related to current hit weapon.
Also check at loading that only weapon item templates have "on hit" spell triggers.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-11 01:29:33 +04:00
AlexDereka
e3fd03c7b9 [7989] Fixed check in LoadItemRequiredTarget(). 2009-06-10 23:57:09 +04:00
VladimirMangos
f7fd6961c1 [7988] Merge branch '310' - Switch to support client version 3.1.3
Thanks to TOM_RUS for most work to make this switch possible ;)
2009-06-10 21:18:24 +04:00
VladimirMangos
cb2df3028f Fixed pet talent show after loading. 2009-06-10 20:51:39 +04:00
VladimirMangos
411779ea87 Small comment cleanups. 2009-06-10 19:44:06 +04:00
VladimirMangos
9588b43d0c Merge commit 'origin/master' into 310 2009-06-10 18:56:29 +04:00
VladimirMangos
d7534f80cd [7987] Bump for 0.14.0 development. 2009-06-10 18:22:47 +04:00
VladimirMangos
0df32c5eb2 [7986] MaNGOS 0.13 release. 2009-06-10 17:55:13 +04:00
VladimirMangos
be26ee974f Update checks DBC loading. 2009-06-09 22:37:42 +04:00
VladimirMangos
5a417a1970 [7985] One more my typo... now in mangos.sql 2009-06-09 21:20:57 +04:00
VladimirMangos
90c8263c05 [7984] Update contrib/dbcEditer/bin/BcdEditer.ini 2009-06-09 18:04:30 +04:00
VladimirMangos
07fa9cc8d7 [7983] Make static Spell::SendCastResult accessable from script DLL. 2009-06-09 14:47:28 +04:00
VladimirMangos
67e002ef46 [7982] Add lost by me check lines in [7980] :( 2009-06-09 12:17:51 +04:00
VladimirMangos
05b1bda879 Merge commit 'origin/master' into 310 2009-06-09 09:51:34 +04:00
VladimirMangos
28680fccd6 [7981] Implement ACHIEVEMENT_CRITERIA_DATA_TYPE_T_TEAM required for 310 2009-06-09 09:49:49 +04:00
NoFantasy
6a1b4e5729 [7980] Implement item use target requirements store and check (new table item_required_target).
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

* Also implement this table reload
* Static Spell::SendCastResult function for call not from spell code.
  Can be also used in scripts where need send explicitly spell cast error to client.
2009-06-09 00:26:36 +04:00
VladimirMangos
526cf21d33 Merge commit 'origin/master' into 310 2009-06-08 11:28:08 +04:00
ApoC
6d8867d0fc [7979] Fixed typo in [7977].
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-08 00:59:36 +02:00
ApoC
3f586feb25 [7978] Pets now can be send to fight another target even if pet in combat with some unit.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-08 00:49:25 +02:00
ApoC
ddf1525e40 [7977] Fixed PointMovementGenerator to correctly set UNIT_STAT_MOVING on initialize.
This may fix problem with creatures moving after death in connection with AssistanceMovementGenerator
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-08 00:46:58 +02:00
VladimirMangos
bfa94779b2 [7976] Store additional reqs for ACHIEVEMENT_CRITERIA_TYPE_KILL_CREATURE in achievement_criteria_data.
Required DB support. Some reqs not implements in code and then can be used
ACHIEVEMENT_CRITERIA_DATA_TYPE_DISABLED in Db to make its non-complitable.
2009-06-07 23:06:59 +04:00
tomrus88
8a0f9f61f9 Fixed typos, merge errors. 2009-06-07 22:04:45 +04:00
tomrus88
1f87157edf Merge commit 'origin/master' into 310
Conflicts:
	src/game/UpdateData.cpp
2009-06-07 21:42:02 +04:00
tomrus88
8b5d67338f Applied coding style. 2009-06-07 21:38:12 +04:00
VladimirMangos
3e4036855c [7975] Not remove spell 34090 in 7067_03_characters_character_spell.sql. Spell can be learned independently from form. 2009-06-07 15:37:45 +04:00
DerDyddye
1f7a7a6518 [7974] Added two more achievement_criteria for achievement_criteria_data (T_LEVEL, T_GENDER)
Its required for implementing new cases of 110 achievement criteria in 3.1.x.
Ofc, this required DB support.

(cherry picked from commit f06f38ba5f355885ff36d6b7e35ce56a2fad5cd7)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
(cherry picked from commit 5347c3718b3e4c5d79e68a6d4581c449f0294af3)

Patch author name fixed.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-07 12:16:16 +04:00
AlexDereka
f874c86052 add scructures for CMGS calendar handlers. 2009-06-07 11:49:49 +04:00
ApoC
4668323c83 [7973] Implemented proc for 25899.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-07 02:16:09 +02:00
ApoC
ffad65fe01 [7972] Fixed 20186 to use base max mana instead of max current mana.
Thx. to Ambient who pointed it out.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-07 02:14:28 +02:00
Thyros
50b669779c Added two more achievement_criteria for achievement_criteria_data (T_LEVEL, T_GENDER)
Its required for implementing new cases of 110 achievement criteria in 3.1.x.
Ofc, this required DB support.

(cherry picked from commit f06f38ba5f355885ff36d6b7e35ce56a2fad5cd7)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-06 23:50:47 +04:00
VladimirMangos
5ac6b2f34b [7971] Implement support exotic pets limtations related to hunter telent 53270.
Note: before this commit hunters can tame exotic pets like any other.
      After patch like not propertly contriolled pets will auto-dismiss at loading
      if talent not learned.
2009-06-06 21:21:27 +04:00
VladimirMangos
01d93fa10d [7970] Update test for spell 16972 and ranks (now if have 2 dummy effect but need effect 0 in check place) 2009-06-06 19:58:21 +04:00
Ambal
4118a70f65 [7969] Remove gameobject from owner gameobjecs list at expire.
This will prevent delayd owner access from gameobject destructor
in time remove list proccessing and fix possible related problems
with crosslinked pointers.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-06 11:40:59 +04:00