Commit Graph
28191 Commits
Author SHA1 Message Date
Naios 28d8f7f70d CMake: Use inherited dependencies in scripts
* Removes the circular dependency between game <-> scripts

(cherry picked from commit 96bc31924a5a418d37bd961ef2880f9072126348)
2016-03-19 23:19:54 +01:00
Naios 5fe83abbe5 CMake: Use inherited dependencies in database, shared and game
(cherry picked from commit 469f2d3ade168de0b5be18112008c337067a8e03)
2016-03-19 23:19:53 +01:00
Naios 0db4f018e8 CMake: Use inherited dependencies in common and tools
(cherry picked from commit abda7a910a760687f9c1b9e0893314e04982c0f1)
2016-03-19 23:19:52 +01:00
Naios 853eee75b0 CMake: Add inherited include directories and definitions to precompiled headers
(cherry picked from commit 2413a82b9343178b613bc6309125eecec8aa9123)
2016-03-19 23:19:51 +01:00
Naios b0ac332d58 CMake: Provide proper interface targets from dependencies
* to make use of cmakes inherited link dependencies which
  imports all include directories/ definitions from the link library

(cherry picked from commit 1a572d242593124f986d3ed08710b96a142a6763)
2016-03-19 23:19:50 +01:00
Naios fee9bb904a Travis: Upgrade CMake to version 3.2
* Since we require at least version 3.0 now

(cherry picked from commit 87bc353b3446fb95e141d44fe49da3e5059f7436)
2016-03-19 23:19:49 +01:00
Shauren 680c12a4bf Core/Crypto: Renamed SHA1Randx/WardenKeyGeneration and made it a template class 2016-03-19 23:15:54 +01:00
Shauren 8f80b3e0ec Core/PacketIO: Updated and enabled SMSG_DISPEL_FAILED 2016-03-18 23:53:29 +01:00
Shauren ca4e8c6ff8 Core/PacketIO: Updated and enabled CMSG_GM_TICKET_GET_CASE_STATUS, CMSG_GM_TICKET_GET_SYSTEM_STATUS, SMSG_GM_TICKET_CASE_STATUS 2016-03-17 23:31:26 +01:00
Shauren 743acbb913 Merge pull request #16652 from Lopfest/phase
[6.x] Core/Phase: fixed phase update on area change
2016-03-16 23:16:20 +01:00
Naios 3618e0f608 Dep: Fix an oversight in f52495c6
* Thanks dobrMAN for noticing

(cherry picked from commit 83f439ab4306bfa45df23be2bd80832ec0107c54)
2016-03-16 18:53:04 +01:00
Naios 37dbbe22eb Dep/CppFormat: Update cppformat to cppformat/cppformat@5174b8c
(cherry picked from commit f52495c66b1b219f82729221e8023a86b28d54bf)
2016-03-16 16:12:04 +01:00
Shauren a56a402190 Core/PacketIO: Marked CMSG_LEAVE_GROUP as not threadsafe 2016-03-15 23:17:39 +01:00
Shauren f4f4cb9dec Core/PacketIO: Updated and enabled SMSG_QUEST_UPDATE_ADD_PVP_CREDIT (+added explicit typing in appending values to bytebuffer in QuestPackets.cpp) 2016-03-14 22:32:45 +01:00
Shauren 50c8efecc5 Core/Misc: Removed OnUnknownPacketReceive script hook - it could never be called 2016-03-13 00:12:42 +01:00
Shauren 0daba931ef Core/Networking: Fixed DelayedCloseSocket when compiled without TC_SOCKET_USE_IOCP (linux)
Closes #16769
2016-03-12 19:43:07 +01:00
Shauren 16953c9025 Merge pull request #16763 from mateusdemboski/patch-1
Added locales id for "ptBR" and "itIT" on worldserver.conf.dist
2016-03-11 23:48:44 +01:00
Naios 7c257aab5e Core/Worldserver: Move the Realm instance into the game library 2016-03-11 18:35:50 +01:00
Naios 329225b40d Core/Game: Move singleton instances into compilation units
* Fixes issues when building shared libraries
  (prevents gcc and clang from providing several instance)
2016-03-11 18:35:49 +01:00
Naios a8fe7f6eb7 Core/Database: Move singleton instances into compilation units
* Fixes issues when building shared libraries
  (prevents gcc and clang from providing several instance)
* Also instantiate the database worker pools in DatabaseEnv.cpp now.
2016-03-11 18:25:55 +01:00
Naios 30517cb1d3 Core/Common: Generalize platform specific includes in common/Platform 2016-03-11 18:25:55 +01:00
Naios 5c91586797 Core/Common: Move singleton instances into compilation units
* Fixes issues when building shared libraries
  (prevents gcc and clang from providing several instance)
2016-03-11 18:22:39 +01:00
Mateus Demboski 6ae89dfe86 Update worldserver.conf.dist 2016-03-11 09:49:13 -03:00
Shauren f123c39659 Core/Networking: Added new AsyncRead method to Socket class allowing to pass a custom completion handler and refactor world socket initialization string handling 2016-03-10 23:33:56 +01:00
Shauren 52bb648541 Merge pull request #15140 from RelevantJesse/6.x
[Core/Pet] Spellcooldown in UpdateAI
2016-03-09 13:07:17 +01:00
Lopfest 4ffa2c141d Core/Phase: phase update probably shouldn't be affected by quest_status. only via spells/manual update 2016-03-08 17:36:16 +01:00
Shauren ce88d737cf Merge pull request #16749 from soulfrost/6.x
Core: fixed typo at locale checking on GameTables loading
2016-03-08 10:12:30 +01:00
moJIto-ice 2db53374cf Core: fixed typo at locale checking on GameTables loading 2016-03-08 11:55:01 +03:00
Shauren d47f23ef7c Merge pull request #16404 from Lopfest/6.x
Core/Scripts: SMSG_PLAY_ONE_SHOT_ANIM_KIT can now be used in waypoint_scripts
2016-03-08 08:25:58 +01:00
Shauren 95d3156f95 Core/PacketIO: Updated and enabled SMSG_SET_FACTION_STANDING 2016-03-07 23:26:54 +01:00
Aokromes 9c454385c3 DB/Loot: Fix Rampaging Worgen
By thomas33, closes #15440
2016-03-07 19:02:21 +01:00
Shauren 7b5d92926e Core/PacketIO: Updated and enabled SMSG_RAID_INSTANCE_MESSAGE 2016-03-06 23:48:28 +01:00
Aokromes ec62a02f57 Merge pull request #16716 from ariel-/conditionleak
Core/Conditions: fix a memory leak
2016-03-05 19:50:57 +01:00
MitchesD ce5def332f Core/Misc: fix build 2016-03-03 19:58:28 +01:00
MitchesD 82cc37e130 Core/Opcodes: enabled SMSG_PET_NAME_INVALID 2016-03-03 17:50:59 +01:00
Shauren dea7d429ab Core/Debugging: Make abort() less bad on windows by forcing crash log generation 2016-03-03 17:29:48 +01:00
ariel- 3a7f311547 Core/Conditions: fix a memory leak for CONDITION_SOURCE_TYPE_TERRAIN_SWAP
Reported by Aokromes.
2016-03-02 23:31:22 -03:00
Naios d0263c03fd Core/Database: Use RAII for resource management in MySQLConnection
* Prevents double deletion of MySQLConnection after errors
* The object stays valid after an error and will wait for a reconnect
* Also crash the server if 5 reconnects fail
* Corrects an issue where the server was crashed after one reconnect
  because mysql_thread_id was invoked with an invalid handle

(cherry picked from commit 62815c6e1c0427e1d0229d02b1ba70449654cded)
2016-03-03 01:51:50 +01:00
Naios 31c8f9a7ed Core/Database: Move DatabaseWorkerPool into it's own translation unit
(cherry picked from commit 09fa0ab46a487ea85d475ac0b3495724c170fe1a)
2016-03-03 01:51:49 +01:00
Naios 6a4a65521d Core/Database: Use RAII instead of raw pointers for resource management
* Corrects dirty usage of vectors with array indexes
* Removes _connectionCount which is now handled through the vector size
* Rename magic identifier "t" to "connection"

(cherry picked from commit 5ed018099418099e23921409ff96dc6175b97062)
2016-03-03 01:27:24 +01:00
Naios ba3f439bcb Core/Database: Close the databases correctly when the DBUpdater fails
* Also fixes a memory leak spotted by Aokromes

(cherry picked from commit 7d3cffc297b6a1e24faf64a19b5167609ad8abbf)
2016-03-03 01:27:02 +01:00
Shauren cf2fead644 Core/Spells: Adjusted implicit targeting for SPELL_EFFECT_DESTROY_ITEM 2016-03-02 17:24:07 +01:00
DDuarte 849c906014 CMake/Revision: Use raw strings in path/executable #defines
Fixes some possible warnings (e.g. "warning C4129: 's': unrecognized character escape sequence")
especially on Windows
2016-03-02 02:11:44 +00:00
DDuarte a939a3119f Fix non PCH build after 67b977c86a 2016-03-02 02:03:49 +00:00
DDuarte 43f9fdecff Minor 67b977c86a typo fix 2016-03-02 01:46:37 +00:00
DDuarte 67b977c86a Merge branch 'pets' of https://github.com/myran2/TrinityCore into myran2-pets
# Conflicts:
#	src/server/game/Handlers/PetHandler.cpp
#	src/server/game/Handlers/SpellHandler.cpp
#	src/server/game/Server/Packets/PetPackets.cpp
#	src/server/game/Server/Packets/PetPackets.h
#	src/server/game/Server/Protocol/Opcodes.cpp
#	src/server/game/Server/WorldSession.h
2016-03-02 01:38:39 +00:00
Shauren 397519debf Core/PacketIO: Updated and enabled SMSG_PENDING_RAID_LOCK 2016-03-01 23:44:18 +01:00
Shauren 4c94108ba9 Core/PacketIO: Updated and enabled SMSG_OVERRIDE_LIGHT 2016-02-29 23:54:20 +01:00
DDuarte 147322b570 Github: Minor updates to issue and PR templates 2016-02-29 16:02:49 +00:00
DDuarte 78f89c51de And a typo fix ☕ 2016-02-29 11:22:10 +00:00