Commit Graph

620 Commits

Author SHA1 Message Date
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
Carbenium
6751ac2940 Core/Packets: Add structure for CMSG_GM_TICKET_GET_CASE_STATUS, SMSG_GM_TICKET_CASE_STATUS, CMSG_GM_TICKET_ACKNOWLEDGE_SURVEY and SMSG_GM_TICKET_RESPONSE_ERROR
Implement CMSG_GM_TICKET_GET_TICKET and SMSG_GM_TICKET_GET_TICKET_RESPONSE
Update SMSG_FEATURE_SYSTEM_STATUS to support customizable ticket system and add config options
2015-02-04 20:48:12 +00:00
Hristo Bogdanov
08f790d6f9 Core/Creatures: No gray aggro config
(Custom) Adds option to disable aggro from gray creatures when the players are above/below certain levels.

Closes #13919

(cherry picked from commit 02e11a605640ff49aefbae299a44a1856156cec3)
2015-01-26 19:43:45 +00:00
Nayd
f9088da715 Core/Config: Update CharacterCreating.Disabled.RaceMask and ClassMask
Closes #13892
2015-01-13 01:12:53 +00:00
Vincent-Michael
ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
AriDEV
ae681a96cc Server/Currency: Implement Apexis Crystals 2014-12-27 01:55:27 +00:00
mthsena
4e8217754e Core/PetitionsHandler: Move charter costs to config
(cherry picked from commit 0c1d3aa344)

Conflicts:
	src/server/game/World/World.h
2014-12-25 20:55:46 +00:00
Aokromes
3d69c823fb Update worldserver.conf.dist 2014-12-12 20:34:22 +01:00
Kinzcool
e3b23c2513 Core/Creature: Implemented negative levels for creatures having -1 as expansion 2014-11-30 03:45:48 -05:00
Kinzcool
ac53077dff Conf: Changed hotfix database's name to actually match the initial name 2014-11-11 15:35:41 -05:00
devil1234
b978f0286c Core/Databases: Add hotfix database to world config and prepared statement for it.
Closes #13533
2014-11-11 13:14:36 +00:00
DDuarte
90c53e8c84 Core: Nuke authserver
It has been replaced by bnetserver since grunt was deprecated
2014-11-10 20:57:39 +00:00
joschiwald
2fee7d195b Core/NetworkIO: updated SMSG_UPDATE_WORLD_STATE, added SMSG_PVP_SEASON and added packet class for SMSG_INIT_WORLD_STATES 2014-11-09 04:25:09 +01:00
Shauren
bacc90b6ba Core/NetworkIO: Added second connection to WorldSession, handle AuthContinuedSession and enabled ConnectTo and ResumeComms 2014-11-09 00:37:33 +01:00
joschiwald
f8e935a0b7 Core/NetworkIO: updated CMSG_RANDOMIZE_CHAR_NAME, SMSG_RANDOMIZE_CHAR_NAME, SMSG_CLIENTCACHE_VERSION, SMSG_MOTD 2014-11-08 02:55:45 +01:00
joschiwald
52bd9a771e Core/NetworkIO: implemented undelete opcodes and moved char create/delete packets to new packet classes 2014-11-03 19:11:14 +01:00
jackpoz
573707457e Merge pull request #13440 from Rochet2/ahbot
Core/AH: AHBot related fixes

(cherry picked from commit 248847290a)
2014-10-28 21:02:39 +01:00
Sovak
51095ad39b Core/NetworkIO: *Fixed basic auth packets
Fixed basic character packets
Nulled all opcodes
Thanks to @Shauren for pointing some derps out

Signed-off-by: Sovak <sovak007@gmail.com>
2014-10-19 23:19:49 +02:00
DDuarte
5bf55eacfd Merge remote-tracking branch 'origin/3.3.5' into 4.3.4
Conflicts:
	sql/base/auth_database.sql
	src/server/game/Instances/InstanceScript.h
	src/server/scripts/Northrend/isle_of_conquest.cpp
	src/server/shared/Database/Implementation/LoginDatabase.cpp
	src/server/shared/Database/Implementation/LoginDatabase.h
2014-10-19 00:18:06 +01:00
ShinDarth
e806fc8a02 Core/Quest: implement Quest Tracker 2014-10-18 18:37:39 +02:00
Shauren
f773a9e053 Core: Implemented IPC (Inter-process communication) between worldserver and bnetserver using ZeroMQ library.
* Implemented ToonReady and ToonLoggedOut battle.net packets
2014-10-17 22:48:06 +02:00