Commit Graph

2329 Commits

Author SHA1 Message Date
ratkosrb 626ffef32a Misc optimizations and changes. 2020-02-23 13:06:13 +02:00
ratkosrb f6371ac4f5 Fix crash with Infernal pet.
Closes https://github.com/vmangos/core/issues/379
2020-02-23 11:40:43 +02:00
ratkosrb bc3d7fee04 More gameobject template corrections. 2020-02-22 19:04:56 +02:00
ratkosrb b868fef01d Add knockback chat command and other misc changes. 2020-02-22 15:07:02 +02:00
ratkosrb 019a961bb9 Add initial support for 1.6.1 client. 2020-02-21 23:35:16 +02:00
ratkosrb bae709fdff Name unknown field in who list packet.
Thanks to Grender.
2020-02-21 18:21:21 +02:00
ratkosrb 894b0fc267 Fix compilation of old builds. 2020-02-18 20:57:33 +02:00
ratkosrb a683100fcc Update gameobject template data. (#370) 2020-02-16 18:40:12 +02:00
GrenderG f130a36e20 Garr fixes to match the Blizzlike mechanic. (#367)
* Fixed Garr fight to match Blizzlike mechanics.

* More fixes for the Garr fight.

* Corrected Garr timers.
2020-02-16 18:21:19 +02:00
GrenderG 524c22503b Fixed pet follow angle and distance to match Classic. (#365)
* Fixed pet and mini pet angle / distance to match Classic.

* Removed duplicated #define
2020-02-16 18:15:21 +02:00
schell244 1d5e293106 Improvements for hourly bell sound code (#363)
* Improvements for hourly bell sound code

* format code
2020-02-16 18:13:27 +02:00
ratkosrb 4a4f5692cc Remove MANGOS_DLL_DECL and its use.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/61837298b7ba4bd81fdfbda3d7456d10f296e7cd
2020-02-10 22:17:36 +02:00
Kittnz dbe7c59332 Core/Objects: increase sight range of all objects & correct general default visibility distance (#283)
Some info on range
https://trinitycore.atlassian.net/wiki/spaces/tc/pages/74950924/Lua+Scene+Script+Documentation#LuaSceneScriptDocumentation-ActorAOIRange

Port from: https://github.com/TrinityCore/TrinityCore/commit/83e6fde0664cf8ab0c425e574781262893e7b226

Co-authored-by: ratkosrb <35845488+ratkosrb@users.noreply.github.com>
2020-02-10 21:43:55 +02:00
ratkosrb 201ffbeb73 Prevent accidental reset in Father Flame event. 2020-02-06 23:05:40 +02:00
ratkosrb 14c4afb4b7 Drop and rename some fields in spawn tables. 2020-02-03 20:52:41 +02:00
ratkosrb 8051447555 Change naming style of broadcast_text fields. 2020-02-02 16:30:27 +02:00
ratkosrb 932958540a Rename creature_model_info table.
The information is per display id, not model id.
2020-02-02 15:56:13 +02:00
ratkosrb b25df55dd5 Fix possible use of deleted memory.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/3eb16cb70d2448392bf4c0a0514dd358caf4049a
2020-01-30 00:11:53 +02:00
ratkosrb 61d85024ad Remove obsolete waypoint behaviour fields. 2020-01-26 14:11:25 +02:00
ratkosrb 352a2b14b7 Squish creature guids. 2020-01-25 22:59:38 +02:00
ratkosrb 4744ec53f0 Allow using Mount script command on players. 2020-01-23 17:46:16 +02:00
ratkosrb 1c98aec0d8 Improvements to random movement generator.
Credits to trinitycore.
2020-01-22 23:03:54 +02:00
ratkosrb e6484817af Fix bug causing AreaAura to be repeatedly reapplied.
Credit to cmangos.

https://github.com/cmangos/mangos-classic/commit/697d99a623faf45d9e1271994650c7a51e89d410

https://github.com/cmangos/mangos-classic/commit/4224ddabaa29beb74f609ec598b57cb816f2390b
2020-01-21 21:48:52 +02:00
ratkosrb b0628907cc Fix build. 2020-01-21 20:56:09 +02:00
ratkosrb 7a6eec6069 Fix typo in duel state enum. 2020-01-21 20:49:18 +02:00
ratkosrb b81e703e1f Allow logging out during duel.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/13adeab97a0ab74b29e5419845c8f85c83317f7c
2020-01-21 20:41:13 +02:00
ratkosrb 0258906986 Fix logic bug in SelectAuraRankForLevel.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/9d05394add6828e22bc8375ebc7bdc89282faf6e
2020-01-21 19:55:03 +02:00
ratkosrb 48a6fe6779 Rewrite rest management.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/de708048c4bbdd23c59e74a75e460fc3c2b989f3
2020-01-21 19:49:34 +02:00
ratkosrb da32b7228a Fix static analysis repeated expression performance warning.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/c3a3f287435f13d307eca517abb855d20e6ab38d
2020-01-21 19:36:10 +02:00
ratkosrb 3c7ed62124 Fix static analysis const reference performance warnings.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/14f57745471f0c3a3b262e168b2875f1a640daa3
2020-01-21 18:57:52 +02:00
ratkosrb a4b24a9f61 Fix waypoint commands. 2020-01-19 14:43:56 +02:00
ratkosrb 2d5c57ae44 New script for Challenge Overlord Mok'Morokk.
Closes https://github.com/vmangos/core/issues/349
2020-01-19 14:00:51 +02:00
ratkosrb 00357ec6eb Remove invisibility aura (aura 18) based on attribute.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/cf2e66b25bde6f2288a3dafc6268f0ccf6ad1e06
2020-01-18 16:31:36 +02:00
ratkosrb 5f6dce4329 Implement removal of spells that don't have appropriate aura interrupt flags using proc system.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/ee678f36b3b4598040431255e60e3fff7ff78c01
2020-01-18 15:55:09 +02:00
ratkosrb b20360cf94 Allow target 60 to use script target whenever required.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/946e4904aed6f23248fadd8f7fa0dba061a7df83
2020-01-18 15:14:29 +02:00
ratkosrb e3d35f571d Use strict log macro for unused waypoints warning.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/0c42d6d4b2d34b590aa898e6837d7e1034282dfe
2020-01-16 21:24:16 +02:00
ratkosrb ada2950a50 Small code optimization in ExtractLinkArg.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/015f9659cd3e188f7fc2d42bc11d3fcec1e17853
2020-01-16 21:18:38 +02:00
ratkosrb 4254cf9212 Fix pathing bug on platforms above water. 2020-01-16 21:10:58 +02:00
schell244 34c23c6dba Fix hourly bell sound in undead zone (#345)
* fix hourly bell sound in undead zone

* fix tabs

* format code, use 4 spaces

* Improve checks for hourly sound events for all Horde and Alliance cities, finally fix tabs

* Corrected hourly sound for areas: Darkshire, Astranaar, Tarren Mill

* Fix ASTRANAAR_AREA was set to human sound

* fix astraanar incorrect hourly sound
2020-01-16 18:16:00 +02:00
GrenderG 57ce109108 Fixed Winter Veil pets behavior. (#341) 2020-01-15 22:33:43 +02:00
ratkosrb 5b59d2f583 Implement premade character templates. (#346)
* Implement premade character templates.

* Separate gear and spec templates.

* Auto unequip previous gear.

* Add healer specs and gear.

* Add tank specs and gear.

* Add custom npc scripts.
2020-01-15 22:32:54 +02:00
ratkosrb 7f031bd21b Fix buyback price on 1.7. 2020-01-11 10:56:55 +02:00
ratkosrb d04e147378 Add a server command to force reset raids.
Credit to cmangos https://github.com/cmangos/mangos-classic/commit/a6a271078f724ec542469b40eca0bc9b88bf70ca
2020-01-11 10:30:42 +02:00
ratkosrb 2749d0ccd4 Another attempt at fixing Travis build. 2020-01-09 22:43:06 +02:00
ratkosrb 060ee7ade6 Try to fix Travis build. 2020-01-09 22:31:38 +02:00
ratkosrb b4be9b7043 Use simplified syntax for Teleport functions. 2020-01-09 22:21:37 +02:00
ratkosrb 3c3258ecb6 Change param type of IsPositiveSpell to WorldObject. 2020-01-09 07:39:05 +02:00
ratkosrb 61a3374bfd Send hit and immunity results for damage shields and periodic auras.
Closes https://github.com/vmangos/core/issues/339

Credit to cmangos https://github.com/cmangos/mangos-classic/commit/f21797934594a4745b21730751662038fdd4c077
2020-01-08 20:14:55 +02:00
ratkosrb 2c1c8e645e Make the learn all command useful. 2020-01-05 08:45:52 +02:00
ratkosrb 5a9a1b7611 More fixes for the Winter Veil event. 2020-01-04 18:02:13 +02:00