Commit Graph
713 Commits
Author SHA1 Message Date
Alan Deutscher c9ce2acb95 Core/Chat: Added option to allow 5-man parties to use raid warnings 2017-01-09 07:59:55 +01:00
Staleness89 1101db1573 Core/Player: Add another config option for IsGroupVisibleFor() (#18723) 2017-01-07 07:23:18 +01:00
Aokromes 719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
Ayrton Stout 3b3183f6cf Fixed array size bug with the auction house bid price. Lowered the default max bid price (#18697)
Closes #18698
2017-01-01 13:38:32 +01:00
xinef1 ae56332789 Core/World: Simplified sleep calculation routine for world update thread (#18634) 2017-01-01 13:38:02 +01:00
Ayrton Stout eed28a5be9 Core/AH: AuctionHouseBot BidPrice determined by config options 2017-01-01 13:37:53 +01:00
Sean Rhone 41998858c7 RA.MinLevel to Ra.MinLevel (#18387)
Solves https://github.com/TrinityCore/TrinityCore/issues/18386
2016-12-06 11:09:04 +01:00
iridinite d364576cce [3.3.5] AHBot Characters (#17885) 2016-10-24 13:27:54 +02:00
SnapperRy 0f65529f2e Misc/Config: fix an oversight.
Thanks tkrokli for noticing.
2016-10-01 16:48:35 +02:00
SnapperRy 2dd1291a9b Misc/Config: enable ChatFakeMessagePreventing by default, since it's a blizzlike feature. 2016-10-01 16:48:20 +02:00
SnapperRy e241916bcd Core/Config: allow to specify daily quest reset hour in config.
Also default it to 3:00AM, as that's when daily quests used to reset during WotLK.
2016-10-01 16:48:06 +02:00
roc13x a54adfd894 Core/Build: Fixed dynamic mode build
Core can now be built in dynamic mode, enabling the hotswap system to be
used.

Hotswap works fine on Windows. Didnt work for me on Debian, the rebuild
and reload process happens but the old version of the module remains for
some reason. Cant figure it out right now
2016-08-13 17:26:30 +01:00
Naios 7da338e282 Core/Scripting: Change the INFO logger of the hotswap system to enabled 2016-08-10 08:55:43 +02:00
Naios 3c4f4a9473 Core/Worldserver: Correct the default comment of HotSwap.EnableReCompiler
* Thanks jackpoz for noticing
2016-08-10 08:54:03 +02:00
Aokromes 9078085595 Core/Scripts: Split script subdirectories into independent modules
* Makes it possible to define the linkage for every module
* Move the ScriptPCH into the root directory
* Changes the SCRIPTS cmake variable to a string type:
  -> -DSCRIPTS=0 is -DSCRIPTS="minimal-static" now
     (builds commands and spells statically)
  -> -DSCRIPTS=1 is -DSCRIPTS="static" now
     (builds all modules statically)
  -> -DSCRIPTS="dynamic"
     (builds all modules dynamically)
  -> Also the default value which is provided by the SCRIPTS
     variable is overwriteable through the SCRIPTS_COMMANDS,
     SCRIPTS_SPELLS... variable.
2016-08-10 05:14:53 +02:00
Aokromes 4905073101 Buildsystem: Initial changes to support building with vs clang toolset 2016-08-10 04:43:29 +02:00
Aokromes e8e164e28f Core/Game: Add a dynamic script reloader which reloads scripts modules on changes.
* is responsible for registering plain modules.
* requires compilation with the `WITH_DYNAMIC_LINKING` flag.
* requires further support of the ScriptMgr.
2016-08-10 03:29:20 +02:00
Aokromes e27a5b7816 Core/Build: Provide an interface target for game
* Increases the build time because dependent projects can build
  without waiting for the game project.
2016-08-10 01:22:56 +02:00
Aokromes 08341818f6 CMake: Use inherited dependencies in worldserver and authserver 2016-08-10 01:00:17 +02:00
Aokromes 7ef9b246b5 CMake: Use inherited dependencies in scripts
* Removes the circular dependency between game <-> scripts
2016-08-10 00:33:48 +02:00
Aokromes 3ed49467ba Core/Chat: Split ChatLevelReq.Say into 3 2016-08-03 11:56:08 +02:00
Aokromes 56feab44d9 Core/Player: New PartyLevelReq setting 2016-08-03 11:49:01 +02:00
Aokromes da3f7d464c Core/PVP: Move report AFK requirement to config (#17699) 2016-08-03 11:42:59 +02:00
Aokromes d1197ef166 Core/PVP: Improve log (#17698) 2016-08-03 11:25:57 +02:00
Aokromes e6e188c177 Core/Misc: Fix compile 2016-07-17 14:50:56 +02:00
Aokromes fa5965fdfb Core/Battlefield: Tol Barad
By Mihapro
2016-07-15 15:02:09 +02:00
Aokromes d2691831e3 Update worldserver.conf.dist 2016-07-02 14:19:05 +02:00
Aokromes 891c076d97 Update worldserver.conf 2016-07-02 13:23:32 +02:00
Aokromes 41c3193c6b Core: Remove whitespaces 2016-05-16 22:52:36 +02:00
Naios 9ac55d9181 Dep/CppFormat: Update cppformat to cppformat/cppformat@5174b8c
Conflicts:
	src/server/worldserver/CMakeLists.txt
2016-05-16 22:37:02 +02:00
Aokromes 95018939a8 Core/Maps: Implement optional pre-loading of maps. 2016-05-16 22:24:58 +02:00
Aokromes e4eb3c841c Scripts/Commands: Small QoL adjustments 2016-05-15 07:13:07 +02:00
Aokromes 3ba6ba19a4 Misc: Fix 2 config names 2016-05-14 06:38:56 +02:00
Mikhail Redko c8cd578ddf Core/Misc: Move STOP_TIME_FOR_PLAYER value to config. (#17024) 2016-05-12 09:08:19 +02:00
Aokromes 60c55d028e Update worldserver.conf.dist 2016-05-12 09:08:01 +02:00
Aokromes 8df46327a9 Update worldserver.conf.dist 2016-05-12 08:34:28 +02:00
DDuarte 477a4edfe2 Core/Config: Fix 3 more missing config warnings
Closes #16861

Thanks tkrokli

(cherry picked from commit 0afcefea2724081968b07119ebd54943fdc44b60)
2016-05-12 08:24:45 +02:00
DDuarte 06a91b090d Core/Config: Error logging for ptree_bad_data
Ref https://github.com/TrinityCore/TrinityCore/commit/6487e2f2d6a1ddbeff77362219658376b8a3f9f0#commitcomment-16888976

(cherry picked from commit 9431b94bff939457cb915da3728cda6067674558)
2016-05-12 08:24:32 +02:00
DDuarte 941192ba38 Core/AHBot: Add missing AuctionHouseBot.Class.CLASS.Allow.Zero to config
Ref #16859
2016-05-12 08:22:39 +02:00
DDuarte 4e4cbad69f Core/Network: Change SocketMgr.StartNetwork to take the thread count by arg instead of config
AuthSocketMgr doesn't need "Network.Threads" config

Fixes "Missing name Network.Threads in config file authserver.conf"

Ref #16859
2016-05-12 08:22:27 +02:00
MitchesD c5d2ece2fe Core/Misc: fix build
(cherry picked from commit ce5def332fa12ea4b2f3223fbaa4e41750da9cfb)
2016-05-05 03:40:27 +02:00
Shauren 702d19039e Core/Debugging: Make abort() less bad on windows by forcing crash log generation
(cherry picked from commit dea7d429abe5143672154784f93e4b19020062d5)

# Conflicts:
#	src/server/bnetserver/Main.cpp
2016-05-05 03:40:04 +02:00
Shauren fe64bdddb3 Core/Logging: Force synchronous logging after io_service shutdown - fixes logging on worldserver shutdown
(cherry picked from commit a0b2be6c1d0ae17ad8a17692d77f2020bbb9296e)
2016-05-05 03:35:07 +02:00
Andrew Letson ee28593572 AHBot item class modifiers
Adds missing modifiers to worldserver.conf

(cherry picked from commit e5c9997362668bb6781481196b8cfc5bcd9705d8)
2016-05-05 03:32:14 +02:00
Aokromes 73090c97ec Core/Misc: 3.3.5a ports 2016-05-05 03:31:31 +02:00
Aokromes 303082546b Sync with 3.3.5a core 2016-05-03 12:50:49 +02:00
Aokromes 0ac5f4a440 Sync with 3.3.5a core 2016-05-03 12:40:27 +02:00
ariel- 65aec5f8f7 Merge remote-tracking branch 'tc/3.3.5' into 4.3.4
Note: additional hand-picked ports from 6.x to fix build

Conflicts:
	sql/updates/world/2016_02_22_00_world.sql
	sql/updates/world/2016_02_22_01_world.sql
	sql/updates/world/2016_02_22_02_world.sql
	sql/updates/world/2016_03_07_00_world.sql
	src/server/authserver/Realms/RealmList.cpp
	src/server/authserver/Realms/RealmList.h
	src/server/authserver/Server/AuthSession.cpp
	src/server/game/Accounts/AccountMgr.cpp
	src/server/game/AuctionHouse/AuctionHouseMgr.cpp
	src/server/game/Chat/Chat.cpp
	src/server/game/Conditions/ConditionMgr.cpp
	src/server/game/Conditions/ConditionMgr.h
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Handlers/CharacterHandler.cpp
	src/server/game/Handlers/MiscHandler.cpp
	src/server/game/Scripting/ScriptLoader.cpp
	src/server/game/Scripting/ScriptLoader.h
	src/server/game/Server/WorldSession.cpp
	src/server/game/Server/WorldSocket.cpp
	src/server/game/World/World.cpp
	src/server/game/World/World.h
	src/server/scripts/CMakeLists.txt
	src/server/scripts/Commands/cs_gm.cpp
	src/server/scripts/Commands/cs_misc.cpp
	src/server/scripts/Commands/cs_rbac.cpp
	src/server/scripts/Commands/cs_ticket.cpp
	src/server/scripts/Commands/cs_wp.cpp
	src/server/scripts/EasternKingdoms/CMakeLists.txt
	src/server/scripts/EasternKingdoms/zone_burning_steppes.cpp
	src/server/scripts/EasternKingdoms/zone_stormwind_city.cpp
	src/server/scripts/Kalimdor/CMakeLists.txt
	src/server/scripts/Kalimdor/zone_dustwallow_marsh.cpp
	src/server/scripts/Kalimdor/zone_orgrimmar.cpp
	src/server/scripts/OutdoorPvP/CMakeLists.txt
	src/server/scripts/Spells/spell_dk.cpp
	src/server/scripts/Spells/spell_hunter.cpp
	src/server/shared/CMakeLists.txt
	src/server/worldserver/CMakeLists.txt
	src/server/worldserver/Main.cpp
	src/tools/mmaps_generator/CMakeLists.txt
2016-03-11 18:32:07 -03:00
DDuarte 2ea31027e5 Core: Backport 6.x realm changes
Make acessible all the info about current realm (e.g name) anywhere, not only realm id
Reduce the number of differences between the two branches

Original changes by Shauren

Partial port of bacc90b6baa34e6a194c93e5a7860d4041f08af7 and 63def8aa3291d0a6e5f83b289ad12c4c8a3cebd9
2016-03-06 19:46:59 +00:00
Naios 7d3cffc297 Core/Database: Close the databases correctly when the DBUpdater fails
* Also fixes a memory leak spotted by Aokromes
2016-03-03 01:06:13 +01:00