Commit graph

6789 commits

Author SHA1 Message Date
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
Salja
97ad6b4403 [0053] 2 Opcodes
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:27:59 +00:00
Salja
1b8de29e0f [0052] 3 Opcodes.
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 08:24:17 +00:00
Yaki Khadafi
bd4ea716a5 [0051] Update SpellCastResult enum
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 08:24:17 +00:00
Yaki Khadafi
85d748650c [0050] Tutorial flag opcodes, SMSG_UPDATE_ACCOUNT_DATA
Signed-off-by: Yaki Khadafi <ElSolDolLo@gmail.com>
2020-02-16 08:24:16 +00:00
x3n
294cf4b509 updated CMSG_KEEP_ALIVE
Signed-off-by: x3n <system.x3n@gmail.com>
2020-02-16 08:24:15 +00:00
x3n
59be563066 CMSG_UPDATE_ACCOUNT_DATA and SMSG_UPDATE_ACCOUNT_DATA_COMPLETE
Signed-off-by: x3n <system.x3n@gmail.com>
2020-02-16 07:37:49 +00:00
x3n
fb2a646f6a CMSG_REALM_SPLIT and SMSG_REALM_SPLIT
Signed-off-by: x3n <system.x3n@gmail.com>
2020-02-16 07:37:48 +00:00
stfx
428bb2c5e9 [0049] 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 07:37:47 +00:00