Commit graph

98 commits

Author SHA1 Message Date
Antz
93a3a9214b
[12656m] Updated some enums and structures. Thanks R2/TC 2020-02-17 21:30:38 +00:00
Antz
c8194124df
[12655m] Added some MOP enums etc. Thanks R2/TC 2020-02-17 19:22:54 +00:00
zamalaev
ba116f9390 Fix characters create [Need Test] Thx Fabi 2020-02-17 16:25:33 +00:00
zamalaev
b5f66f835c Fix HandleCharCreateOpcode 2020-02-17 15:51:38 +00:00
zamalaev
57343d5a07 SharedDefines.h structure update 2020-02-17 15:12:02 +00:00
Antz
1a1110b4f7 Apply style fix pt5 2020-02-17 12:13:05 +00:00
Antz
4727d8846f Apply style fix pt4 2020-02-17 12:13:03 +00:00
Antz
d93dbd95fe Apply style fix pt3 2020-02-17 12:13:02 +00:00
Antz
1392c131e7 Apply style fix pt2 2020-02-17 12:13:00 +00:00
Antz
35405dd549 Apply style fix 2020-02-17 12:12:59 +00:00
Antz
5531a0087d Project tidy up and sync 2020-02-17 12:12:57 +00:00
Antz
901d97f2d0 Happy New Year 2020 from everyone at getMangos.eu 🎉 2020-02-17 12:12:53 +00:00
Antz
dd152d4e42 Revert "Changed email return for item that can't be equiped anymore. Before the email was sent with an empty body and the subject was to long to be displayed in the player email. Now the Email is sent with the subject 'Item could not be loaded to inventory.' and the body as the subject message before. (#71)"
This reverts commit f8c3582433d988de98d3e0e9982e8da745710bd5.
2020-02-17 12:12:48 +00:00
Armand-Gabriel-Camner
61fb736f37 Changed email return for item that can't be equiped anymore. Before the email was sent with an empty body and the subject was to long to be displayed in the player email. Now the Email is sent with the subject 'Item could not be loaded to inventory.' and the body as the subject message before. (#71) 2020-02-17 12:12:47 +00:00
Antz
a93afab540 Add Disables table based on the work of @Olion on Zero
Added `disables` table
Mostly backported from TC.
Changed table format (mapID in lower 16 bit, areaID in higer 16 bit of data field).
Added CREATURE_SPAWN and GAMEOBJECT_SPAWN disable types.
2020-02-17 12:12:46 +00:00
Antz
f5bb0529c1 [Sync] Some long overdue project sync pt2 2020-02-17 12:12:45 +00:00
Antz
65ec4ea06e [Sync] Some long overdue project sync 2020-02-17 12:12:44 +00:00
Antz
a479a2ccc5 Implement quest_relations table. Based on work by @Hozen 2020-02-17 12:12:43 +00:00
Antz
25fac44c28 Happy New Year 2019 from everyone at getMangos.eu 🎉 2020-02-17 12:12:42 +00:00
Antz
7833a48713 made function isActiveObject consistant to other cores 2020-02-17 12:12:35 +00:00
Antz
87eb505de5 Update missed year changes 2020-02-17 12:12:29 +00:00
Antz
a1ff8281cb [Fix] Correct incorrectly renamed GAMEOBJECT_TYPE 2020-02-17 12:12:16 +00:00
Antz
6d62bc6101 Revert "Remove Remnants of Two obsolete tables: npc_trainer_template & npc_vendor_template"
This reverts commit cb7be30594e6985aea1521a174364319fb029d69.

NOTE: This proves that the code / db notes can't be trusted
2020-02-17 12:12:13 +00:00
Antz
aaa2affd6d Remove Remnants of Two obsolete tables: npc_trainer_template & npc_vendor_template 2020-02-17 12:12:11 +00:00
Antz
c95097c759 Remove last remnants of obsolete npc_gossip table 2020-02-17 12:12:11 +00:00
Antz
4a3307843d Correct Typo for default status 2020-02-17 12:12:09 +00:00
Antz
973c07358b Add state for GM command completed quests. Thanks H0zen for assistance 2020-02-17 12:12:08 +00:00
Rochet2
ace7afa124 Partially apply f81e455e3a 2020-02-17 12:12:00 +00:00
H0zen
65229fcf4e Some code cleanup. 2020-02-17 12:11:55 +00:00
Antz
02d178013f Fix SD3 Compile fail pt1 of 2 2020-02-17 12:11:54 +00:00
Antz
a626464ea7 nuke tabs 2020-02-17 12:11:46 +00:00
stfx
b7aaadd165 Remove unused include directives pt1 2020-02-17 12:11:37 +00:00
Antz
d6a0814c5b Revert "Remove unused include directives"
This reverts commit 10d2f8c3488d1a7ded1513de7cf4a1e1c04a4032.
2020-02-17 12:11:34 +00:00
Antz
1ba2d1ac9d Remove unused include directives
Based on the work of @stfx in commit:
48a84fb
2020-02-17 12:11:28 +00:00
Antz
695651324c Refactored db_scripts
The unity! - Based on the original work of H0zen for Zero.
2020-02-17 12:11:24 +00:00
Antz
461923f632 [Sync] Some minor project sync 2020-02-17 12:11:19 +00:00
Antz
7332173b6e [Eluna] Applied a load of missing hooks 2020-02-17 12:11:17 +00:00
Antz
aa6ed817d8 🎉 Happy 2017 from everyone at getmangos.eu 2020-02-17 12:11:13 +00:00
H0zen
9f04a3b38f Fix Eluna crash. 2020-02-17 12:10:47 +00:00
Antz
2d960a4b1c Fixed some additional found nullptrs 2020-02-17 12:10:44 +00:00
Charles A Edwards
0303b1672d Updated to use the latest version of ScriptDev3
Updated to use the latest version of ScriptDev3
2020-02-17 12:10:38 +00:00
Charles A Edwards
cea1a8172e quest_template columns now read and stored in the correct order
Columns now read and stored in the correct order for the quest_template
table.

New to m3 columns had been placed at the end of the SELECT statement,
and resulted in being stored in the wrong location.
2020-02-17 12:10:36 +00:00
Antz
00983174a5 Fix some code porting discrepancies 2020-02-17 12:10:35 +00:00
Charles A Edwards
600205641d Cmangos Cata commits applied
I thankee, cmangos :-)

Commits:

13271d6 Commit Ported  Core Pet DB cleanup and simplification
60d6e29 Commit Imported  Core Utilize flags in PetAI (And uniform extra
flags with the other cores)
06d30ce Commit Ported  Core Make pet assist owner on summon if not a
passive
2821da8 Commit Ported  Core Fix Guardian reactions
4f88a9e Commit Ported  Core Pet AI Fixup
67e0558 Commit Imported  Core Fix pet unsummon on mount
f50041f Commit Imported  Core Fix player rooted after possesing an unit.
df59a93 Commit Imported  Core Syncing up pet work
056f4f5 Commit Imported  Core Fix a couple of invalid name for spell
attributes
6a58f1f Commit Imported  Core only save correct auras on
pet::SavePetToDB
34ab59b Commit Imported  Core Hunter summon pet (call pet) checkcast
fixup
dfbb69c Commit Imported  Core Handle owner entering combat properly
4b10eb4 Commit Imported  Core Pet Aggro
1bdb7e3 Commit Ported  Core Clean up pet stay functionality
1bdb7e3 Commit Ported  Core Clean up pet stay functionality
9b7b50e Commit Imported  Core UNIT_BYTE2_FLAG work
0777235 Commit Imported  Core Implement displaying group leader
indicators on players
5efab47 Commit Imported  Core Health funnel fixes
60e6a84 Commit Ported  Core Fix SMSG_QUESTGIVER_STATUS_MULTIPLE and
GetDialogStatus
60e6a84 Commit Ported  Core Fix SMSG_QUESTGIVER_STATUS_MULTIPLE and

GetDialogStatus
f8d3cbd Commit Imported  Core Fix talent spell cannot stack
32ba32e Commit Imported  Core Fix channeled spell distance check
interval
47ec2fa Commit Imported  Core Adding state to aura holder Now proc
cannot remove an aura not finalized
34588dc Commit Ported  Core Unbreak creature pets
bd079a1 Commit Imported  Core The (not so)Great Pet Rework
2020-02-17 12:10:31 +00:00
Charles A Edwards
068c67b932 Cmangos commits applied
Cmangos commits applied
2020-02-17 12:10:29 +00:00
Charles A Edwards
df3ab5df8e 13 cmangos commits implemented
commits:

432bd63 Commit Ported  Core Implement TakePossessOf to generalize the
code.
0b663eb Commit Ported  Core Implement a possibility to summon manualy a

temporary creature.
b6a9ead Commit Imported  Core Little rewrite of resurect code to prepare
ability
ro resurrect a player to a ghoul form.
e98b42c Commit Imported  Core Implement TemporarySummon Linked aura to
owner.
ab139ff Commit Imported  Core Do not force the creature to attack
summoner in all
case
555f055 Commit Imported  Core Avoid possibility to charm more than one
new
creature for an unit.
fd78c4a Commit Imported  Core Fix problem that occur when the charm unit
field is
updated after the possess bar.
e9821e2 Commit Imported  Core fix lightwell gameobject not appearing
after spell
is cast
17d0e93 Commit Imported  Core Implement logic for Target 95 as
TARGET_VEHICLE_DRIVER
42b3545 Commit Imported  Core Now npc/gameobject interaction will remove

unauthorized aura
1195398 Commit Imported  Core Improve functionality for eventAI action
26 -
ACTION_T_QUEST_EVENT_ALL
72b7a48 Commit Ported  Core fix pet stay
245f068 Commit Imported  Warlock [Charm] prevent charming multiple
demons also remove
pet temporarily when casting specific channels that summon other charmed
creatures
2020-02-17 12:10:28 +00:00
Charles A Edwards
18dd18780d Lots of cmangos commirs applied 2020-02-17 12:10:26 +00:00
Charles A Edwards
8431568536 Many cmangos commits applied
Many cmangos commits applied
2020-02-17 12:10:24 +00:00
cyberium
cba86c231e Format specifiers was not correct in lootmgr 2020-02-17 12:10:23 +00:00
Charles A Edwards
d19646ddf1 Fix applied for Quest Log, Bags, and money issues
Quests were not going into the Quest Log.
Could not move items around in bags.
Total money could not be viewed (always 0).

Plus additional unrelated fix - incorrect parameter definition of
function.
2020-02-17 12:10:19 +00:00