Commit graph

590 commits

Author SHA1 Message Date
sanctum32
a5a5009d44 [12704] Fix (at least) two false positive startup errors
* Fix startup-error related to quest 10162
* Fix startup-error for spell 53821 (original author @Schmoozerd)
2020-02-17 09:20:43 +00:00
Schmoozerd
7e89da0bbe [12668] Add outcommented helper to assign zone/area to gameobject by guid
(based on commit ceb9305)

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
2020-02-17 09:20:20 +00:00
sanctum32
b4db2f63dd [12662] Basic implementaion of hotfixes
original author of this patch is Shauren
commit is based on 67e61b7e64
2020-02-17 09:20:16 +00:00
Antz
1997c1e903 Rebase resync 2020-02-17 09:19:44 +00:00
billy1arm
ef445ea523 [12632] Revert previous commit (see Notes) 2020-02-17 00:54:15 +00:00
Dramacydal
1cd806c02e [12631] Use uint32 for phaseMasks in core and database 2020-02-17 00:41:55 +00:00
Dramacydal
c47a6fa6ab [c12628] Use TransportAnimation.dbc to check transport validity 2020-02-17 00:25:06 +00:00
Schmoozerd
30fc2b7af6 [c12622] Fix order of gossip menu options. 2020-02-17 00:24:55 +00:00
Schmoozerd
af1c665095 [c12607] Implement SCRIPT_COMMAND_TERMINATE_COND 2020-02-17 00:13:53 +00:00
Schmoozerd
ad7d7dad1a [c12606] Implement CONDITION_DEAD_OR_AWAY 2020-02-17 00:13:50 +00:00
Schmoozerd
89f97b85fd [c12600] Add condition_id support to npc_spellclick_spells 2020-02-17 00:08:57 +00:00
Schmoozerd
15bb475d40 [c12599] Add support for condition_id to spell_area table 2020-02-17 00:07:38 +00:00
Schmoozerd
58ad20df80 [c12589] Use proper error files for missing string errors 2020-02-16 23:45:40 +00:00
Schmoozerd
cda8f44cad [c12583] Implement CONDITION_GENDER 2020-02-16 23:40:55 +00:00
NeatElves
e0192deaf6 [c12582] Add support for XP-Gain disabling 2020-02-16 23:26:00 +00:00
Dramacydal
bf5c6b1ddd [c12562] Cleanup Style 2020-02-16 23:12:16 +00:00
Dramacydal
456de16b5e [c12552] Differ random property and random suffix entries in item_enchantment_template table. Use negative values for random suffixes. This will fix overlapping entries.
Fixes cmangos/issues#138

Signed-off-by: Dramacydal <PulLumBerMal@gmail.com>
2020-02-16 22:01:55 +00:00
Schmoozerd
a27787851c [c12537] Update Authorship information
(based on commit [12388] - 037f217)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
2020-02-16 21:27:46 +00:00
Schmoozerd
a05738717a [c12536] Happy New Year 2013
Update authorship information and prepare for easier ways next year

Signed-off-by: Schmoozerd <schmoozerd@cmangos>

(based on commit [12325] - b7dbcda)
2020-02-16 21:25:01 +00:00
Yaki Khadafi
257afbf540 [12211] Fix taxies
Original author: @Shauren

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:29 +00:00
Schmoozerd
9690f8d80d [12210] Improve ObjectMgr::GetGoBackTrigger to get back to a trigger that actually ports into the map that could not be entered 2020-02-16 20:42:28 +00:00
Schmoozerd
824aa5429e [12206] Let GetMapEntranceTrigger and GetGoBackTrigger work in a better defined order
Actually as this is still no total order (and it is basicly impossible to define a reasonable total order for areatrigger_teleport) it is not well defined, but probably good enough for all cases
2020-02-16 20:42:23 +00:00
Yaki Khadafi
8e84b0ff71 [12198] - Remove weapon skillgains, defense skill, thanks @FailzorD for original patch.
- Update dodge, parry, block to cata.
- Some mastery fixes and stylefixes.
- Remove some no longer used functions.

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:16 +00:00
cyberium
9022705faf [12195] Improve AreaTrigger teleport requirement checks
Implement AreaLockStatus concept by rsa

Also drop basicly unneeded `areatrigger_teleport`.required_failed_text field.
This concept is still in testing phase, please feedback results of some glitches that might exist!

TODO: Use Player::GetAreaLockStatus or GetAreaTriggerLockStatus for other "CanEnter" checks as well.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:42:13 +00:00
Yaki Khadafi
8726754f7a [12190] Remove no more existant lockpicking skill.
Implement archaeology lock

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:42:08 +00:00
zerg
b8b907c138 [12169] Fix some problems detected by static code analysis 2020-02-16 20:41:47 +00:00
Salja
6004b9f8b7 [12166] skip expansion races if not playing with expansion
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 20:41:44 +00:00
Schmoozerd
705f716cb1 [12146] Implement spell 30769 2020-02-16 20:41:24 +00:00
Schmoozerd
c8ebd1678e [12145] Add new condition CONDITION_COMPLETED_ENCOUNTER
This condition returns true if a DungeonEncounter is done in this map.

value1, value2 are expected to be the IDs from DungeonEncounter(dbc)
value2 is optional, if both values are given, the condition will be true if one of the two DungeonEncounters are done.

Thanks to crackm for testing
2020-02-16 20:41:23 +00:00
Yaki Khadafi
faec714783 [12136] Fix typos
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:14 +00:00
Shyax
61c7249770 [12132] Remove useless casting and use SIZEFMTD instead in strings. Close #6 2020-02-16 20:41:10 +00:00
evil-at-wow
6fa6eb24a5 [12125] Fix some warnings
* Fix compiler warnings "warning: no newline at end of file" (Linux/GCC).
* Fix compiler warnings "warning: '<class>::<member>' will be initialized after <class>::<member>" (Linux/GCC).
* Fix compiler warnings "warning: unused parameter '<param>'" (Linux/GCC).
* Fix a signed/unsigned warning

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 20:41:02 +00:00
Yaki Khadafi
6dd0ba1d14 [0169] Implemented vendors selling currencies.
Also fix crash from recent master merge.

Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 20:33:11 +00:00
Yaki Khadafi
3ceed0edfb [0159] Update quest system.
TODO:
- implement currency requirements/rewards
- skill rewards
- skill learned requirements.
- not show quests with RewSkill to players which do not have that skill

Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 20:16:01 +00:00
Yaki Khadafi
3153bd2129 [0146] Cleanup deprecated item mods and combat ratings
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 19:51:43 +00:00
Salja
d7b5567041 [0121] Some Typos
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 16:19:50 +00:00
Salja
73ec9c2ce4 [0114] Updated "item_template" Thanks Fabi Fix some DBC problems, some clean.
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 16:19:43 +00:00
Salja
e82f08f6f2 [0081] Implement server side spells
Add exemplarily support for spells 21387(used with Ragnaros) and 62388(related to Demonic Circle)
Further table columns can be added as required.

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 11:54:54 +00:00
Yaki Khadafi
0b24dd2912 [0074] Fix spawnmask errors
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 08:59:13 +00:00
LordPsyan
81787fa460 [0069] Better fix for spawnMask 1 in map 0 error. Thanks VladimirMangos for explaining how to specify map 0. 2020-02-16 08:29:46 +00:00
Surion
cc46cae74a [0056] Fix for creature spawnmask 1 warning in map 0. Map 0 was removed from DBC 2020-02-16 08:28:35 +00:00
Yaki Khadafi
00488d845c [0031] Improvements and typofixes
Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 07:37:31 +00:00
Fabian
3b8fb556a7 [0028] Implented new phase/map/terrain swap system for cata. 2020-02-16 07:37:26 +00:00
Salja
0d7006dd23 [0023] Use DBC data to set the correct amount of hp and mana based on player level and class. Patch by Subv
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 02:54:23 +00:00
Salja
d8a2700179 Fix typo/crash on server startup Thanks Zakamurite
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 02:53:50 +00:00
Salja
5424aed420 Added Support for DB2 Reader. Thanks to all Authors
NOTE: extractor need fix/update.
      support for VC80/VC90
      cmake need update

Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 02:25:24 +00:00
Salja
22bfaa12b0 Mage 400 INTO master/434
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 01:59:51 +00:00
Schmoozerd
835d1c7479 [12069] Cleanup comment style 2012-07-22 14:39:31 +02:00
stfx
3707b04330 [12066] Optimize some parts for ++C 2012-07-21 17:15:11 +02:00
Schmoozerd
84080ee5d3 [12065] Fix various warnings 2012-07-20 21:17:04 +02:00