aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared
AgeCommit message (Collapse)Author
2013-03-09Revert "Core/Commands: Optimize for command .npc near"Vincent_Michael
This reverts commit 4e789d4c5c83dd6f0f582fe24e9d49b39950fffe.
2013-03-09Core/Commands: Optimize for command .npc nearVincent_Michael
2013-03-09Core: Fix warnings for msvcVincent_Michael
2013-03-08Merge pull request #9385 from thomas007788/DoxygenNay
First step of comment style refactoring to doxygen-style.
2013-03-09Buildsystem: Add support for compiling with MinGW on WindowsNay
Tested with: - Windows 8 x64 - MySQL 5.5.30 win32 - OpenSSL 1.0.1c (32 bits) - No PCH - MinGW with GCC 4.7.0 TODO: - Fix compile/link with PCH enabled - Fix compile with WheatyExceptonionReport enabled (ignored for now) - Fix compile of .rc files (ignored for now) - Test with more platforms
2013-03-08First step of comment style refactoring to doxygen-style.Nefarion
2013-03-06Update SQLOperation.hWyldePointer
Extra ';'.
2013-03-04Core/Players: Implemented converting quests on faction change (keeping old ↵Shauren
faction quests in disabled state - not loaded during login) and restoring them if changing back to original faction Closes #890 Closes #9248
2013-02-27Core: Add support for compiling core in a cygwin-environmentclick
- rename/readd/add G3D-patches - give a history on the changes (some G3D-changes didn't even HAVE a patch - boo!) DON'T MESS ABOUT WITH CHANGING DEP/* LIBRARIES AND NOT LEAVING A DIFF IN THE SOURCETRE, MKAY!?
2013-02-27Core/RBAC: Add .reload rbac command and prevent possible crash if ↵Spp
rbac_permissions has wrong data
2013-02-25Core/DBLayer: Made connection types consistent in DatabaseWorkerPoolShauren
2013-02-21Core/Logging: Fix mem leak. Thanks to @Sar777 for the reportSpp
2013-02-20Core/DBLayer: Comment out MySQL client/server version mismatch warningNay
MySQL version above 5.1 IS required in both client and server and there is no known issue with different versions above 5.1
2013-02-18Core/NPCs: Refactor equipmentsNay
- creature_template.equipment_id deleted - creature_equip_template.entry == creature_template.entry - id field added to creature_equip_template -> PK(entry, id) - id field in creature_equip_template starts at 1 - creature.equipment_id references id of creature_equip_template - creature.equipment_id = 0 means no equipment at all (default 1) - creature.equipment_id = -1 means pick a random equipment from creature_equip_template - add equipment info to .npc info command While table creature_equip_template got bigger in size, this system is easier to mantain and allows creatures to have a random template from a group of equipments
2013-02-08Core/DBLayer: Avoid a crash when calling mysql_get_server_version if ↵Nay
connection was not open
2013-02-08Core/Auth: Reverted part of fb43a92cc2aaffab42efebf025b6a12c01af8fde - ↵Shauren
session key is still needed after logging in to be able to switch realms
2013-02-07Core/Accounts: sessionkey field in account table is only a temporary storage ↵Shauren
to pass data from authserver to worldserver and should only be used as such. Clearing sessionkey from database after a successful login to prevent possible exploits.
2013-02-07Core: Clean up whitespace, and remove a silly warning in boss_lurker_below.cppclick
2013-02-06Core/Player: Fix a query that was wrongly deleting itemsNay
CHAR_DEL_ITEM_INSTANCE deletes by item guid but in Player::DeleteFromDB the guid being used was player's guid. That means that if player with guid 100 was deleted, the item with guid 100 would also be deleted. This item could or could not belong to the player. Closes #8883 Closes #9136 Thanks to @vlad852 for finding the issue
2013-02-04Merge pull request #9099 from Bezo/mutenewAokromes
Add Mute reason and mute by to the db so you can get this info from the ...
2013-02-04Core: Implement Role based Access ControlSpp
- This system will give more control of actions an account can perform. System defines: - Permissions to perform some action - Roles: a set of permissions that have some relation - Groups: a set of roles that have some relation Operations: - Grant: Assign and allow - Deny: Assign and do not allow - Revoke: Remove Precedence to know if something can be done: Grant, Deny. That means, if you are granted some action by a role but you have denied the permission, the action can not be done. Some Rules: - Groups can only have roles - Roles can only have permissions - An account can be assigned granted and denied roles. Permissions inherited from roles are granted if roles is granted and denied if roles is denied - An account can be assigned granted and denied permissions - An account can have multiple groups, roles and permissions - An account can not have same role granted and denied at same time - An acconnt can not have same permission granted and denied at same time - Id 0 can not be used to define a group, role or permission Added some permissions as a sample of use (Instant Logout, Skip Queue, Join BGs, Join DF) and some permissions as a workaround to commands till command system is modified to use RBAC
2013-02-03Core/Debugging: Made WheatyExceptionReport::_GetWindowsVersion code more ↵Shauren
readable and added check for Windows Server 2012
2013-02-03Update WheatyExceptionReport to print Windows 8Regigicas
2013-01-31Scripts/Commands: Show correct guild Rank when using .pinfo commandSpp
(Corrections to 1b551cc1)
2013-01-30Add Mute reason and mute by to the db so you can get this info from the db ↵Bezo
with the pinfo command when player get muted. old LOGIN_UPD_MUTE_TIME change to LOGIN_UPD_MUTE_TIME_LOGIN due the use of it when character login to world.
2013-01-30Core/Misc: Some changes to minimize differences with 4.3.4 branchSpp
2013-01-30Core/Misc: Always state what columns are affected by MySQL statementsSpp
2013-01-30Core/Misc: Remove some calls to const_castSpp
2013-01-27Core/Authserver: Added possibility to allow realm connections both from ↵Shauren
"world" and local networks.
2013-01-26Scripts/Commands: Add guild info to .pinfoNay
Original patch by @secharles, modified Closes #8946
2013-01-25Core/Log: Fix crash due to uninitialized variableMachiavelli
2013-01-25fix typothomas33
2013-01-24Core/Log: Fix console colors (missing change from 53a3373)Spp
Closes #9051
2013-01-24Core/Logging: Fix all possible crashes when using bad Appender config settingsSpp
2013-01-24Update src/server/shared/Logging/Log.cppspringfieldking
Fix crash when the last iter plus and change value
2013-01-24Core/Log: Rotate logs when maximum size is exceeded, backup name will be ↵Spp
"filename".datetime - This is an addition to 39c2d89
2013-01-24Core/DBLayer: Fixed required version definitionsMislav Blažević
2013-01-24Tools/mmaps_generator: Multithreading optimisations. Should save some time ↵Machiavelli
generating mmaps.
2013-01-24Merge branch 'HEAD' of git@github.com:TrinityCore/TrinityCore.gitMachiavelli
2013-01-23Core/DBLayer: Drop support for MySQL versions <5.1Machiavelli
Both server and client libraries must be up to date in order to run TC.
2013-01-23Core/Log: Allow configuring a maximum file size for a log file. If the file ↵Machiavelli
size is about to be exceeded, the core will create a new file titled <oldname>_.log and start outputting there.
2013-01-22Tools/Extractors: Mmap extractors no longer depend on shared and MySQL librariesShauren
2013-01-19Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmapsVincent_Michael
2013-01-18Core/Misc: Delete spell from character_spell table too when encountering an ↵Shocker
invalid spell
2013-01-16Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmapsVincent_Michael
2013-01-16Core/Logging: Add config option to enable/disable asyncronous logging ↵Spp
(disabled by default)
2013-01-16Core/Logging: Use correct realmId when logging to DBSpp
2013-01-14Merge remote-tracking branch 'origin/master' into mmapsNay
Conflicts: src/server/game/Entities/Unit/Unit.cpp src/server/game/Movement/MotionMaster.cpp src/server/game/Movement/MovementGenerators/FleeingMovementGenerator.cpp src/server/game/Movement/MovementGenerators/HomeMovementGenerator.cpp src/server/game/Movement/MovementGenerators/PointMovementGenerator.cpp src/server/game/Movement/MovementGenerators/RandomMovementGenerator.cpp src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp src/server/game/Movement/Spline/MoveSplineInit.cpp
2013-01-14Core/Misc: Apply codestyle to multiple filesSpp
2013-01-05Merge branch 'master' of github.com:TrinityCore/TrinityCore into mmapsVincent_Michael
Conflicts: src/server/game/Movement/Spline/MoveSplineInit.cpp