Commit graph

6797 commits

Author SHA1 Message Date
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
6c5b7b6749 [0080] Another unintended change. Still undefined aura.
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 11:49:50 +00:00
Yaki Khadafi
ebede32b77 [0079] Update spell effect and aura enums to 4.3.4 2020-02-16 11:41:19 +00:00
Xfurry
5aef24e6f5 [12090] Implement some spells for AQ40
Dark Glare beam spells: 26137, 26009, 26136 and 26029
Server side spell: 26133
2020-02-16 10:16:18 +00:00
Salja
636afadf45 [0078] More Opcodes
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:59:37 +00:00
Salja
bb75bfeb7a [0077] Some Opcodes
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:59:36 +00:00
Salja
7a29bce931 [0076] Some Cleans and highest lookup entries for 4.3.4 DB2.
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:59:35 +00:00
Yaki Khadafi
c032f556bf [0075] Unintended changes
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 08:59:14 +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
Salja
69b46bd682 [0073] Typo from last Commit. 2020-02-16 08:58:57 +00:00
Yaki Khadafi
b4d97ccf77 [0072] Fix world teleport and use normalized orientation in some more places
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 08:58:36 +00:00
x3n
d861cd0d3a fixed another error in VC100 game project file filters :/
Signed-off-by: x3n <system.x3n@gmail.com>
2020-02-16 08:56:09 +00:00
x3n
4da5d91746 fixed error in VC100 game project file filters
Signed-off-by: x3n <system.x3n@gmail.com>
2020-02-16 08:56:08 +00:00
LordJZ
e4a1080718 [12089] Make use of C++11's static_assert if possible.
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 08:56:06 +00:00
LordJZ
8f25d5b866 [12088] Fix a bad override, blame VC for this
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 08:55:33 +00:00
bugeyedcreepy
cf53b303f7 [12087] Improve some mangos_string texts and command help texts
This closes pull request #75

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 08:53:54 +00:00
LordJZ
a2f442fc73 [12086] Fix some unintended custom literals. 2020-02-16 08:48:10 +00:00
Schmoozerd
f2578c0e74 [12085] Fix a bug with SCRIPT_COMMAND_KILL_CREDIT
This bug can happen if a (group) kill credit is provided without involved creature.
Thanks to Atari for pointing!
2020-02-16 08:45:41 +00:00
stfx
5d6a28886c [12084] Send SMSG_DEFENSE_MESSAGE, SMSG_ZONE_UNDER_ATTACK only to players outside of instances
Also remove team argument from SendDefenseMessage as all texts are sent to all teams, use seperate function to send zone attack message, cleanup some send message functions and remove deprecated send text functions
2020-02-16 08:45:13 +00:00
Shauren
6e9858e4e2 [12083] Use fabs instead of abs for float type.
On some platforms abs has only int overload exists.

Signed-off-by: stfx <stfx@hotmail.de>
2020-02-16 08:41:59 +00:00
Nay
260b353b53 [12082] Fix sending an incorrect value in BuildPlayerChat
Signed-off-by: stfx <stfx@hotmail.de>
2020-02-16 08:37:42 +00:00
stfx
56228cda26 [12081] Implement SMSG_DEFENSE_MESSAGE for the upcoming opvp system
Also fix callig go type 29 progress event if there is no neutral area (like in Halaa)
2020-02-16 08:33:11 +00:00
LordJZ
cd1bb3f9f4 Remove unused file MySQLDelayThread.h.
This file also contains at least two errors:
  bad override specifier
  invalid SqlDelayThread constructor call
2020-02-16 08:29:52 +00:00
LordJZ
f0e48f0587 [0071] Fix build. 2020-02-16 08:29:49 +00:00
LordJZ
856342bb7c [0070] Make use of C++11's static_assert if possible. 2020-02-16 08:29:48 +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
Salja
26827d9320 [0068] Typo
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:29:45 +00:00
LordJZ
8010d254b6 Fix SMSG_POWER_UPDATE, thanks @Zakamurite for noticing. 2020-02-16 08:29:43 +00:00
Netcho
dba1b2fca2 Enable more opcodes
Signed-off-by: Netcho <kkotlarski@abv.bg>
2020-02-16 08:29:41 +00:00
Yaki Khadafi
e7d0275ae2 [0067] Set- canfly/forcemoveroot/waterwalk packets, SMSG_PLAY_SPELL_VISUAL
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 08:29:40 +00:00
LordJZ
6b1df231a5 Forward-merge out of world SMSG_POWER_UPDATE and 4.x structure fixes. 2020-02-16 08:29:38 +00:00
LordJZ
9bfd741583 Finally fix UnitMods and add more assertions. 2020-02-16 08:29:37 +00:00
LordJZ
a5ca883668 Fix UnitMods. This fixes buffer overflows.
/me pokes @Fabi
2020-02-16 08:29:35 +00:00
LordJZ
adabb1556d Proper power uses. 2020-02-16 08:29:34 +00:00
LordJZ
ef2aa96340 Implement proper power addressing. 2020-02-16 08:29:33 +00:00
LordJZ
bb02504469 Check some power-related auras for proper power ids.
Affected:
  SPELL_AURA_MOD_INCREASE_ENERGY
  SPELL_AURA_MOD_INCREASE_ENERGY_PERCENT
  SPELL_AURA_PERIODIC_MANA_LEECH
  SPELL_AURA_PERIODIC_ENERGIZE
  SPELL_AURA_POWER_BURN_MANA
2020-02-16 08:29:09 +00:00
LordJZ
be9f9765cf Make use of ChrClassesXPowerTypes.dbc, fix MAX_POWERS. 2020-02-16 08:29:08 +00:00
LordJZ
12a3a08f01 [0066] Fix a bad override, blame VC for this
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 08:29:06 +00:00
bugeyedcreepy
705fe016ba [0065] Improve some mangos_string texts and command help texts
This closes pull request #75

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2020-02-16 08:29:05 +00:00
LordJZ
fdde26e77b [0064] Fix some unintended custom literals. 2020-02-16 08:29:04 +00:00
Schmoozerd
aacb838e60 [0063] Fix a bug with SCRIPT_COMMAND_KILL_CREDIT
This bug can happen if a (group) kill credit is provided without involved creature.
Thanks to Atari for pointing!
2020-02-16 08:29:02 +00:00
stfx
27fefb1e96 [0062] Send SMSG_DEFENSE_MESSAGE, SMSG_ZONE_UNDER_ATTACK only to players outside of instances
Also remove team argument from SendDefenseMessage as all texts are sent to all teams, use seperate function to send zone attack message, cleanup some send message functions and remove deprecated send text functions
2020-02-16 08:29:01 +00:00
Shauren
a004c7b50c [0061] Use fabs instead of abs for float type.
On some platforms abs has only int overload exists.

Signed-off-by: stfx <stfx@hotmail.de>
2020-02-16 08:29:00 +00:00
Salja
7ce7fd8ab1 [0060] SMSG_LEVELUP_INFO
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:28:59 +00:00
Salja
e0bfa7fa63 [0059] Some more Opcodes
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:28:57 +00:00
Salja
faf58f7621 [0058] Enabled some Opcodes for SMSG_LOOT_RESPONSE Thanks DDuarte.
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:28:37 +00:00
LordPsyan
24eba55f0c [0057] Fixed Linux compile 2020-02-16 08:28:36 +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
Salja
9286040179 [0055] Update CMakeLists for extractor. Thanks rsa
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:28:34 +00:00
Salja
4adde859b0 [0054] Typo. Thanks lordpsyan for poke me hehe =)
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:28:12 +00:00