Commit Graph

640 Commits

Author SHA1 Message Date
MitchesD
63f253e95c Merge pull request #15697 from ShinDarth/cd
Core/Player rewritten duel CD reset system
(cherry picked from commit 4204805d47)

Conflicts:
	src/server/game/Spells/SpellHistory.cpp
	src/server/game/Spells/SpellHistory.h
	src/server/game/World/World.h
2015-11-07 00:35:24 +01:00
Shauren
8ceffaef44 Merge pull request #15646 from ShinDarth/ticket
Core/Player: implement ResetCoolDownAfterDuel configurable feature
(cherry picked from commit 5b8f1469ca)

Conflicts:
	src/server/game/Spells/SpellHistory.cpp
	src/server/game/Spells/SpellHistory.h
	src/server/game/World/World.h
2015-11-07 00:15:00 +01:00
Naios
441be76050 Merge pull request #15676 from ShinDarth/bg2
Core/Battlegrounds: implement even BG teams configuration
(cherry picked from commit f179c4180f)
2015-11-06 23:46:53 +01:00
Shauren
2d942ddcc5 Core/Commands: Refactored chat command script hook, fixes a crash when building with gcc 5
Closes #15616
Closes #15740
2015-10-22 20:26:56 +02:00
ShinDarth
e9a4e4cfa4 Core/Misc split Rate.XP.Kill and Rate.XP.BattlegroundKill settings
(cherry picked from commit 2185165e84)
2015-10-16 11:32:06 +02:00
Shauren
63def8aa32 Core/Battle.net:
* Changed packet structures to mirror client names
* Simplified ToString Building
* Removed deprecated structures

World: Cleaned up duplicate realm info 'realm' and 'realmHandle' variables (realmHandle was removed, that data is fully contained in realm)
2015-10-06 00:30:47 +02:00
Shauren
cd27fd38b9 Core/Maps: Moved corpse management to map level 2015-09-28 17:20:27 +02:00
Aokromes
6667977edf Merge pull request #15587 from Pirricli/patch-1
minor typo
(cherry picked from commit 2eafbe6bf0)
2015-09-25 00:22:37 +02:00
Duarte Duarte
a53a8fff98 Merge pull request #15582 from mthsena/3.3.5
Config: Typo/Cosmetic changes
(cherry picked from commit 0720414042)
2015-09-25 00:21:17 +02:00
Duarte Duarte
c65aa4cbbe Merge pull request #15579 from M-Pan/3.3.5
Config ; Minor Typo
(cherry picked from commit 7c4dd4059e)
2015-09-25 00:20:39 +02:00
Duarte Duarte
3b1ae19371 Merge pull request #15577 from M-Pan/3.3.5
Revise MaxPrimaryTradeSkill comment

Closes #15575
(cherry picked from commit f7e9acb6ed)
2015-09-25 00:20:12 +02:00
MrSmite
d9a3bdca61 Core/AHBot: Add missing AHBot quality price ratio to config
Signed-off-by: jackpoz <giacomopoz@gmail.com>
(cherry picked from commit fed67f5bc1)
2015-09-24 19:51:52 +02:00
jackpoz
cf67b7d375 Core/AHBot: Adjust AHBot bid and buyout chances
Apply an exponential formula to define the chance to bid/buyout an auction depending on auction price and item price ratio. The formula can be adjusted changing the new AuctionHouseBot.Buyer.ChanceFactor config parameter
Chance = 100 ^ (1 + (1 - (auction_price / item_price) / k)
k is the config parameter AuctionHouseBot.Buyer.ChanceFactor, the higher the number the higher chance to buy overpriced auctions.

(cherry picked from commit 177b6319d1)

Conflicts:
	src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp
2015-09-24 19:48:31 +02:00
jackpoz
cde1141fb4 Core/Config: Describe better Wintergrasp.Enable option in worldserver.conf
(cherry picked from commit 10620b4e11)
2015-09-24 19:25:01 +02:00
StormBytePP
0bed9d56cb Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert 2015-09-21 15:17:05 +02:00
StormBytePP
ba2e9fbe95 Core/BuildSystem: Merged crypto into common, cleaned include directory lists (to mimic 3.x buildsystem) 2015-08-24 03:35:19 +02:00
StormBytePP
1d2aafd39b Core/Build: Merge common library and move database out of shared 2015-08-21 17:52:42 +02:00
jackpoz
4617d65131 Merge pull request #15297 from StormBytePP/3.3.5_rename_Revision.h
Core/Build: Renamed Revision.h to GitRevision.h to avoid compile failure when old revision.h file is present
(cherry picked from commit 360cc93357)

Conflicts:
	src/server/authserver/Main.cpp
	src/server/database/Updater/DBUpdater.cpp
	src/server/game/Entities/Player/Player.cpp
	src/server/game/World/World.cpp
	src/server/shared/PrecompiledHeaders/sharedPCH.h
	src/server/worldserver/Main.cpp
2015-08-16 22:45:18 +01:00
StormBytePP
6a9fc63e41 Core/Build: Removed obsolete SystemConfig.h and made genrev be part of shared library, which allows cache hits to happen more likely
(cherry picked from commit 94f69fb1bc)
2015-08-16 17:50:40 +02:00
Shauren
d5cf594bfe Core/Logging: Refactored appender creation to allow using logging without mysql dependency in tools (future task) 2015-08-16 00:12:18 +02:00
Carbenium
18d323eb40 WorldServer/Conf: Fix a typo 2015-07-08 21:22:42 +02:00
Carbenium
c7d49ab910 Core/Support: Drop parts of the support system since Blizz switched to a browser based ticket system 2015-07-08 16:24:50 +02:00
DDuarte
0f082e8f92 Core/Executables: Add --version and -v to worldserver and bnetserver arguments
Closes #14993
2015-07-04 00:45:52 +01:00
Shauren
50848e4dac Core/Bnet: Fixed bnetserver not shutting down correctly when started as windows service 2015-06-10 00:21:55 +02:00
Shauren
ba6e5c5637 Core/Bnet: Implemented starting bnetserver as a windows service 2015-06-06 13:03:36 +02:00
Duarte Duarte
fc85f0e30f Update worldserver.conf.dist
Fix typo in ClientCacheVersion
2015-05-24 23:20:40 +01:00
Shauren
ca83e14f8b Core/Entities: Reworked guid scopes
* Added ObjectGuid traits to easily access whether guid type can be generated globally (ObjectMgr) or not
* This adds separate (per map) guid sequences depending on object type
* Ported map object container from cmangos/mangos-wotlk@a2d396eb0b
* Added type container visitor for TypeUnorderedMapContainer
* Implemented helper function to erase unique pairs from multimap containers
* Moved object storage of all objects except players and transports to map level
* Added containers linking database spawn id with creature/gameobject in world
* Renamed DBTableGuid to spawnId
* Added a separate spawn id sequence generator for creatures and gameobjects - this will be used in db tables
* Moved building SMSG_UPDATE_OBJECT - updatefields changes broadcast to map update
2015-04-28 21:19:46 +02:00
Carbenium
99ef803f1d Core/Player: Added possibility to deactivate the character creation for neutral races 2015-04-18 01:44:37 +02:00
click
0d78a01983 Core/Logger: Add basic account-info to addon-scans to make them a little bit more useful (@Aokromes, you can stop asking for this now...)
(cherry picked from commit e040c56d45)

Conflicts:
	src/server/game/Server/WorldSession.cpp
2015-04-14 01:01:06 +01:00
Rat
e8b54b7ae8 Core/Scenes: implemented some scene related packets for debug purposes
* small cleanup
2015-04-10 11:29:46 +02:00
Shauren
76cbf05a2e Misc: Fixed license header formatting 2015-04-04 13:11:32 +02:00
Rat
dcd18eef2a Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into 6.x 2015-03-29 17:56:49 +02:00
Naios
ed4722b6e6 CMake: Use source_groups to represent the source tree
* It let ide's (like vs) display the source tree.
* Disabled by default.
* Soft requirement is cmake >= 2.8.12 .
* Offers 2 modes: flat & hierarchical.
* For detailed description see #14471
* Thanks @click for help and advises.
* Closes #14471

(cherry picked from commit c386711972)

Conflicts:
	src/server/authserver/CMakeLists.txt
2015-03-29 16:13:22 +02:00
Rat
eebc468e62 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into 6.x
Conflicts:
	src/server/collision/Management/MMapManager.cpp
	src/server/game/Conditions/ConditionMgr.cpp
	src/server/game/Conditions/ConditionMgr.h
2015-03-24 20:01:02 +01:00
Naios
966282fbed Core/DBUpdater: Add the possibility to limit the remove of orphaned entries.
* This will save you from loosing your update history if you use a repository in bad state (revision or branch) by mistake.
* Also turned 1 error message into a warning
2015-03-24 12:31:52 +01:00
Shauren
cc4d79495f Core/Misc: Warning fixes 2015-03-22 13:47:55 +01:00
Naios
72bb8ffd96 Core/Worldserver: Set updates enabled default value to "none" -> disabled
* in addition to 1f7f9feafc
* if no config entry is presented this value is used
2015-03-21 21:06:03 +01:00
Nayd
1f7f9feafc Core/Config: Disable automatic DB Updates by default 2015-03-21 15:41:17 +00:00
Naios
352012e531 Core/Updates: Add an automatic database update system. Automatically detects new and edited sql updates through file lists and hashing. Detects renames, deletes and is able to create and auto import full databases. * cleanups in main.cpp of world & bnetserver * refactoring in DatabaseWorkerPool.h & MySQLConnection.cpp
Make sure you re-run cmake, because boost::iostreams was added as dependency.
Maybe you need to install libboost-iostreams1.55-dev on unix as well.

Import every update manual until (included) those INSERT IGNORE updates for each database.

Thanks DDuarte and Shauren for your amazing ideas, help and advises.

In hope that nobody gets a "Your database structure is not up to date..." anymore ,-)

Signed-off-by: Naios <naios-dev@live.de>
Signed-off-by: Nayd <dnpd.dd@gmail.com>
2015-03-21 14:09:38 +00:00
Naios
a610dea85c Core/RemoteAccess: Remove an unused define in RASession
* probably fixes gcc compile after adding cppformat
2015-03-18 16:32:19 +01:00
Rat
8f3a80c1cf Core/Phases: Ported new phasing system from 4.3.4 branch and fixed some map swap logic 2015-03-16 07:28:49 +01:00
Naios
95ebe4f31c Core/Log: Add type safe formatting
* improves safety and log speed through:
  - variadic templates
  - perfect forwarding
* fixes a newline in db logs
* improve performance of Appender::write by using std::ostringstream && std::move
2015-03-13 09:15:42 +01:00
jackpoz
b35578bac3 Revert "Core/Server: Catch exceptions in int main()"
This reverts commit e68ca82d4d.

Closes #14329
2015-03-11 21:07:08 +01:00
Carbenium
37a14bc2d5 Core/Support: Update the support/ticket system to 6.x
Core/Mail: fix a logic error introduced in 829e11b662
2015-03-10 21:09:21 +01:00
click
b02f14e5ac Core/Log: Change periodic spell notificiations to DEBUG-level and set it as a unique logging-mechanism named "spell.periodic"
(cherry picked from commit 8c8ca2ab8d)

Conflicts:
	src/server/game/Spells/Auras/SpellAuraEffects.cpp
2015-02-22 06:18:10 +00:00
Duarte Duarte
e68ca82d4d Core/Server: Catch exceptions in int main()
The exceptions is rethrown on debug mode.

Ref Coverity CID 1010213, 1022574, 1227501, 1227502,
1227503, 1227504, 1227505, 1254536 and 1254612
2015-02-15 14:56:12 +00:00
jackpoz
582313e545 Merge PR #14059 from 'Rochet2/ahbot_buyer' into 3.3.5
(cherry picked from commit b69fd4ac68)

Conflicts:
	src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp
2015-02-11 19:27:44 +00:00
Nayd
49e8381a90 Tabs to spaces and whitespace cleanup 2015-02-11 16:47:23 +00:00
joschiwald
be6b1f5251 Core/Packets:
- updated who packets
- fixed typos from previous commits
2015-02-05 20:18:32 +01:00
Nayd
74f577e444 Core/Packets: Typo fixes and cleanup of 0f84c7c7b1 2015-02-04 20:48:14 +00:00