Commit Graph
221 Commits
Author SHA1 Message Date
Shauren 3bb26a04f2 Core/PacketIO: Fix sending uninitialized data 2019-07-16 20:39:25 +02:00
Shauren ce1091cf88 Fix build for openssl 1.0 2019-07-14 19:32:31 +02:00
Shauren 74a801182a Core/PacketIO: Updated packet encryption to 8.2 2019-07-14 19:20:45 +02:00
xinef1 3f7fe6f8a5 Core/Spells: Remade trajectory target selection (#19048)
* Remade trajectory target selection
* Added possibility to apply conditions to trajectory spells
* Properly recalculate delay time if CMSG_UPDATE_PROJECTILE_POSITION is received

(cherrypicked from c6060dd0c511ddad3cb1f0423aa9ccf2de7aedec)
2019-06-15 18:41:09 +02:00
Shauren 101f82855e Fix warnings and nopch build 2019-06-08 17:57:58 +02:00
Shauren bcaaa3d6f6 Core/DataStores: Updated db2 structures to 8.1.5 2019-06-08 17:10:00 +02:00
Shauren 31fda79556 Core/PacketIO: Updated packet structures to 8.1.5 2019-06-08 17:03:15 +02:00
Shauren bcda8dd742 Core/Dep: Boost 1.70 compatibility 2019-04-14 00:13:23 +02:00
Shauren 25594c5a8e Core/Misc: Fix static analysis issues
Fix static analysis issues reported by Coverity
2019-02-16 17:37:16 +01:00
Kittnz 83e6fde066 Core/Objects: increase sight range of all Infinite, Gigantic and Large objects & correct general default visibility distance (#22892)
Note: This does not make the object active.

Some info on range
https://trinitycore.atlassian.net/wiki/spaces/tc/pages/74950924/Lua+Scene+Script+Documentation#LuaSceneScriptDocumentation-ActorAOIRange

#21111 #21681 #22891

Thanks Kinzcool & Kelno
2019-01-16 20:48:01 +01:00
Shauren 50cfeb9aa4 Core/Misc: Improved ip2location code and set it to disabled by default
(cherry picked from commit 0ead73516adfeaff96292685592085e20737d535)
2019-01-09 17:35:18 +01:00
Gildor 61532e9816 Nopch fix (#22077)
(cherry picked from commit e323652f790b62feaf16d8427779f8e5f949e040)
2019-01-09 17:35:18 +01:00
Gooyeth 163c487be7 Common: Replace ip2nation by ip2location. (#21957)
Replace ip2nation by ip2location.

Download: https://lite.ip2location.com/database/ip-country
(cherry picked from commit 2fe4ab94c52ad2fa90189ecd9c053da49f06561e)
2019-01-09 17:35:13 +01:00
vincent-michael 5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Giacomo Pozzoni 2f140693e8 Shared/Misc: Use C99 conformant snprintf and vsnprintf in Visual Studio (#22876)
(cherry picked from commit 166bb311635bd68da09960987177972608b84396)
2018-12-31 14:27:05 +01:00
Shauren e9bcae1fad Core/Misc: Fixed nopch and clang 6.0 warnings 2018-12-09 16:07:38 +01:00
Shauren f94deace76 Merge branch 'bfa' 2018-12-09 14:45:03 +01:00
ariel- 34ad81b176 Core/Util: avoid one useless copy when adding stuff into a HookList
(cherry-picked from 077b5aec9ede78034ba2ec4838b72e8121dab7ce)
2018-12-09 14:18:42 +01:00
Shauren 217a9bb34d Core/Vmaps: Changed error message when loading outdated vmaps
Closes #18431
Closes #18857

(cherry-picked from c90882ed6e2aba3b2d421abdc17cb57bea61d04b)
2018-12-09 14:18:42 +01:00
ariel- 0764ac47e0 Core/Collision: fix no-PCH build
(cherry-picked from 65b6202bd81856ab836af7bc6acf96f12f9e81aa)
2018-12-09 14:18:42 +01:00
HelloKitty 46c69df3a7 Core/Vmaps: Stop M2s from occluding for spellcast LoS
Closes #18528

(cherry-picked from 01d715eaef99e91f0959dc85fb7f69eb26d01a22)
2018-12-09 14:18:42 +01:00
Shauren 3f1197855f Core/Utils: Avoid unneccessary container copy 2018-11-07 20:27:22 +01:00
Shauren dd356ea04c Core/Misc: Extended racemasks in db to uint64 2018-09-26 23:08:23 +02:00
Shauren ccbe4404f1 Tools: Updated db2 structures 2018-09-16 16:57:48 +02:00
Shauren 1188a48c94 Core/DataStores: Implemented WDC2 2018-09-16 16:57:43 +02:00
Shauren a2c2721cae Warning fix 2018-05-12 17:07:20 +02:00
Shauren 9829c119c0 Core/DataStores: Fixed loading db2 locale strings 2018-05-12 16:24:41 +02:00
Shauren 45b2492aa0 Nopch/warning fixes 2018-04-27 20:29:01 +02:00
Shauren 24d30dab84 Core/VMAPS: Fixed vmaps in single WMO instances like ragefire chasm
* Fixed some models not always being spawned because they only appear in one tile file but are large enough to cross tile boundaries (lava in Firelands at Ragnaros place)

Closes #21879
2018-04-27 20:23:52 +02:00
Shauren 87278b69f0 Warning fix 2018-04-22 01:15:48 +02:00
Shauren edb2b16f54 Tools/mmaps_generator: Give land priority during area merges over liquids
Closes #21700
2018-04-22 01:01:48 +02:00
Shauren dad56a224d Core/GameObjects: Skip gameobjects with M2 models when searching for area info (perf optimization, they dont have any area info) 2018-04-08 00:04:20 +02:00
Shauren a71d4b70ff Add missing fclose 2018-04-07 22:20:30 +02:00
Shauren 2c64bb97e6 Tools:
* mapextractor - fixed fatigue in Thousand Needles
* mapextractor - fixed compressing liquid data
* vmapextractor - fixed extracting liquids inside WMOs
* vmapextractor - implemented new WMO flags
* vmapextractor - store model type for gameobject models
* mmap_generator - fixed processing liquids broken in e5d23103f3
2018-04-07 21:56:19 +02:00
Shauren b095c4cd30 Core/Misc: Removed obsolete NO_CORE_FUNCS 2018-04-02 20:05:08 +02:00
Gacko bb0056bbe9 Fix non-PCH build. 2018-03-29 21:17:55 +02:00
Shauren 42f9deb21e Core/Maps: Implemented getting area id from gameobject spawns
Yes, you can now spawn LK platform anywhere and it will treat you as inside Icecrown Citadel
2018-03-28 22:01:22 +02:00
ariel- 95615a4b0d Core/Vmaps: build fix mk II
(cherry picked from commit d2a30fef1371cf904e56f96042d686c9da439175)
2018-03-28 19:57:00 +02:00
ariel- 570692be9f Core/Vmaps: build fix
(cherry picked from commit a409287feffae22b9690cfc58d6e3e877fe39e28)
2018-03-28 19:57:00 +02:00
Shauren a07ed72a9b Core/Vmaps: Fixed getting map height near large gameobjects like LK platform
Updates #19865

(cherry picked from commit cfb0f9fb19c03677b127f09407a6bd00bfefbe55)
2018-03-28 19:56:56 +02:00
Shauren 8f53ba3854 Core/Phasing: Rewrite GetTerrainMapId 2018-03-25 19:28:36 +03:00
Shauren 3743d04201 Core/MMaps: Implemented loading phased tiles
Closes #16909
2018-03-25 19:28:36 +03:00
Shauren 6d5e25ddd4 Tools: Moved db2 metadata structures to a location shared by all tools 2018-03-25 19:28:36 +03:00
Shauren 4798d9ce7a Core/VMaps: Implement loading phased tiles
Closes #15163
2018-03-25 19:28:36 +03:00
Shauren 91be2332e2 Core/Entities: Phasing rewrite
* Optimized phase visibility checking
* Handle all phase flags

Closes #16758
Closes #21119
2018-03-25 19:28:36 +03:00
Aokromes bc88d3bc15 Scripts/Commands: implemented command .server debug
- Shows detailed information about server setup, useful when reporting a bug:
 * rev. hash
 * versions of mysql, openssl, boost, cmake
 * info about autoupdater
 * info about ports (realmlist and current)
 * vmap/map/mmap status and folder sizes
 * available DBC locales
 * TDB version

cherry pick of d18f8b94b0cb5182ef450bec5cafd3c5d74fd00a

Running this command when reporting bugs is MANDATORY (you can censor paths)
2018-03-14 11:41:09 +01:00
Shauren abdf6479dd Core/CrashHandler: Fixed generating crash logs from CRT debug assertions 2018-03-10 15:15:41 +01:00
Warlockbugs 87bd1126ff Core/Crypto: Transitional Cryptography update for OpenSSL 1.1 (#21534)
Support for both OpenSSL 1.0 LTS and OpenSSL 1.1 versions.

Many Linux distributions are still on 1.0 and will stay on LTS for quite
some time.

Port of CMaNGOS commit: https://github.com/cmangos/mangos-wotlk/commit/e1b0048f052eda46bb27d20224d0339960816ac2
2018-03-04 15:26:08 +01:00
Shauren 31f6ba5a92 Core: Updated allowed build to 7.3.5.26124 2018-02-28 23:18:41 +01:00
Shauren 8467503b90 Core/MMaps: Remove phased tile support
* Extremely slow
* Needs to be implemented partially in tools
* Conflicts with upcoming phasing rewrite
2018-02-20 22:33:38 +01:00