Commit Graph

18186 Commits

Author SHA1 Message Date
Shauren
ccc1936660 Core/Loot: Items in generated loot will now be split in multiple stacks if their count exceeds max stack size defined in item_template 2013-02-03 15:36:29 +01:00
Gacko
193a0d5f15 Fix engrish in doc 2013-02-03 15:22:23 +01:00
Shauren
fe1aa11e08 Core/Debugging: Made WheatyExceptionReport::_GetWindowsVersion code more readable and added check for Windows Server 2012 2013-02-03 15:04:12 +01:00
Nay
7eb3c36dba Merge pull request #9132 from Regigicas/crashlog
Update WheatyExceptionReport to printf Windows 8
2013-02-03 05:52:26 -08:00
Shauren
b346459ca8 Core: Warning fixes 2013-02-03 14:11:59 +01:00
Regigicas
6d29a62b78 Update WheatyExceptionReport to print Windows 8 2013-02-03 14:08:29 +01:00
Gacko
54924f18af Core/EventMap: Internal changes and doxygen doc
See http://www.trinitycore.org/f/topic/7003-doxygen-documentation-and-hacks for details and examples.
Thanks to @Shauren for several hints.
2013-02-03 12:31:47 +01:00
Shauren
07442f932c Core/Object: Fixed a mistake in update mask building - fields marked with UF_FLAG_PARTY_MEMBER should be sent to the entire raid, not only one subgroup 2013-02-03 12:23:28 +01:00
Shauren
653557d335 Core/Objects: Some optimizations to object updatemask building 2013-02-03 12:16:10 +01:00
Shauren
a216ef2ca0 And a build fix. Nothing new... move along 2013-02-03 11:05:42 +01:00
Shauren
a8054311ca Core/AI: Reverted 2df1908c29 - sometimes it is better to copy some code to make its purpose clearer (ReactorAI is an AI class used for neutral creatures, it makes no sense to inherit AggresorAI, which is used for aggressive creatures) 2013-02-03 10:49:31 +01:00
Aokromes
045bd8b9f1 Merge pull request #9129 from m7nu3l/patch-2
Core/AI: Inherited AggressorAI, so the wheel is not reinvented.
2013-02-02 21:38:47 -08:00
m7nu3l
2df1908c29 Core/AI: Inherited AggressorAI, so the wheel is not reinvented. 2013-02-03 02:25:58 -03:00
Jorge
0920ee126a Merge pull request #9128 from m7nu3l/patch-1
Core/AI: Removed needless code
2013-02-02 21:03:52 -08:00
Manuel Carrasco
68610a60ea Core/AI: Removed needless code 2013-02-03 03:01:47 -02:00
Nay
55fc0c58af DB/Schema: Change engine and collation of world.lfg_entrances
latin1 -> utf8_general_ci
InnoDB -> MyISAM
(defaults for all `world` DB tables)
2013-02-03 01:37:23 +00:00
Vincent_Michael
1cdfc65959 Script: Fix warning for craping script -.- 2013-02-03 01:32:14 +01:00
Shauren
104682767e Build fix 2013-02-03 01:28:18 +01:00
Shauren
b50cda4a1a Core/Loot: Cleanup in LootMgr.
* Removed a lot of loot template copying
* Improved grouped loot selection when using loot modes
* Removed code doing nothing
2013-02-03 01:18:06 +01:00
Vincent_Michael
0f53f69e52 Core: Fix build 2013-02-03 01:12:07 +01:00
Vincent_Michael
847cafc121 Scripts/Misc: Some code optimisations 2013-02-03 00:38:34 +01:00
Vincent_Michael
2c2fe7d464 Core/Misc: Small code optimisations 2013-02-02 19:06:47 +01:00
Vincent_Michael
9d7d68395c Core/SmartAI: Implement SMART_ACTION_SET_ROOT (103) 2013-02-02 18:18:27 +01:00
Shauren
73d2f315af Scripts/Icecrown Citadel
* Fixed rare weird coldflame positioning
* Fixed Bone Slice
* Changed Bone Spike Graveyard timing (first has to happen after Lord Marrowgar starts using Bone Slice)
2013-02-02 16:48:09 +01:00
Shauren
f410bf9755 Core/World: Fixed a warning 2013-02-02 16:46:14 +01:00
Shauren
b47cb65b03 Core/Scripts: Allow persistent area auras to use DoCheckAreaTarget hook. 2013-02-02 16:45:57 +01:00
Kinzcool
2976f94003 DB/WDB: Fixed some wrong WDBVerified; those templates IDs are way too high to have been took from retail 2013-02-01 21:35:37 -05:00
Shauren
817f5b3648 Scripts/Icecrown Citadel:
* Fixed Coldflame dealing double damage
* Targets hit by Bone Slice will now be immune to Bone Spike Graveyard
* Fixed healing players on Bone Spike

Closes #1091
Closes #4473
Closes #5854
Closes #7060
2013-02-01 18:06:51 +01:00
Shauren
957375c7ff Core/Misc: Fixed a few warning found by static analysis tools. 2013-02-01 11:40:39 +01:00
Shauren
0bf29d45d1 Core/Players: Prevent trading, taking gold from mail and withdrawing from guild bank if it would put the player over gold cap.
Closes #4015
2013-02-01 11:38:55 +01:00
Zaphod
dc5e9c80fc DB/Loot: Fix Prismatic Black Diamond 2013-02-01 05:08:11 +00:00
Nay
0e945613d0 Core/Spells: Correct a check in IsLootCrafting, allows Prismatic Black Diamond to be fixed (a very peculiar spell...)
The following conversation led to this fix: http://paste2.org/p/2816385 (for reference)
2013-02-01 04:52:06 +00:00
Vincent_Michael
b539a9717b DB/Gameobject: Removed gameobject with bad wdb data 2013-02-01 00:46:32 +01:00
Gacko
f5264e3fbb Script/ICC: Fix phase check and warning 2013-01-31 22:00:32 +01:00
Vincent_Michael
8e7806379d Core/Spells: Fix Gas Cloud Tracking stacking with other tracking spells 2013-01-31 19:59:44 +01:00
Spp
67d46ae1ae Scripts/Commands: Show correct guild Rank when using .pinfo command
(Corrections to 1b551cc1)
2013-01-31 09:18:42 +01:00
Gacko
0a9fbc6588 Script/ICC: Fix phase check in Saurfang script
... typos - typos everywhere. me->request(glasses);
2013-01-31 08:45:47 +01:00
Gacko
754418a8de Script/ICC: Fix phase check in Saurfang script
Related to changes in dbecf05e39
2013-01-30 19:34:59 +01:00
Vincent_Michael
716c2db403 Core: Fix warnings 2013-01-30 19:09:09 +01:00
Gacko
2ba477c367 Merge pull request #7873 from Gacko/eventphases
Core: Logical fixes in EventMap
2013-01-30 09:49:54 -08:00
Gacko
dbecf05e39 Core: Logical fixes and improvements in EventMap 2013-01-30 18:39:34 +01:00
Vincent_Michael
5a74336c5e Core: Fix non pch build 2013-01-30 18:24:29 +01:00
Vincent_Michael
8814d8c136 Script/ToCr: Fix crash for lord jaraxxus Mistress Kiss + cleanup 2013-01-30 18:06:19 +01:00
Nay
261e482a66 Merge pull request #9103 from Norfik/authdb
DB/Auth: Fix typo in sql/base/auth_database.sql
2013-01-30 06:05:17 -08:00
Emo
2ffeaec443 DB/Auth: Fix typo in sql/base/auth_database.sql
ERROR 1136 (21S01) at line 216: Column count doesn't match value count at row 1
2013-01-30 14:51:40 +01:00
Spp
8cd408ae6c Core/Misc: Some changes to minimize differences with 4.3.4 branch 2013-01-30 10:34:18 +01:00
Spp
c4e4cb1b5c Core/Misc: Remove using directive from header files (It will eventually lead to name collisions) 2013-01-30 09:06:19 +01:00
Spp
2c32393a39 Core/Misc: Always state what columns are affected by MySQL statements 2013-01-30 08:42:01 +01:00
Spp
fa5dd4bd4e Core/Misc: Remove some calls to const_cast 2013-01-30 08:39:06 +01:00
Nay
0281497573 DB/Loot: Fix 9 drop chance in gameobject_template (7 quests should be fixed by this)
If a GO with flags 4 drops a quest item, ChanceOrQuestChance for that items needs to be negative

Query used to find the issue:
```
SELECT * FROM `gameobject_loot_template`
    WHERE (`item` IN (SELECT `questItem1` FROM `gameobject_template` WHERE (`flags` & 4) != 0) OR
           `item` IN (SELECT `questItem2` FROM `gameobject_template` WHERE (`flags` & 4) != 0) OR
           `item` IN (SELECT `questItem3` FROM `gameobject_template` WHERE (`flags` & 4) != 0) OR
           `item` IN (SELECT `questItem4` FROM `gameobject_template` WHERE (`flags` & 4) != 0) OR
           `item` IN (SELECT `questItem5` FROM `gameobject_template` WHERE (`flags` & 4) != 0) OR
           `item` IN (SELECT `questItem6` FROM `gameobject_template` WHERE (`flags` & 4) != 0)) AND
          `ChanceOrQuestChance` > 0;
```
2013-01-29 23:48:39 +00:00