aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared
AgeCommit message (Collapse)Author
2013-06-15Buildsystem/MSVCShauren
* Fixed ACE PCH * Removed WheatyExceptionReport sources from shared project
2013-06-11Core: More Function Renaming.Malcrom
2013-06-11Core/Instances: Fixed a bug that caused switching group leader inside active ↵Shauren
instance to cause players not being saved when a boss was killed. Closes #5109
2013-06-02Merge pull request #9854 from Ascathor/masterSubv
Core/Command: Optimized .pinfo more
2013-06-01Core/Database: Fix bad sql query in 55b3819d12699ee5d255b8dea82ab6aaee093a07 ↵Vincent-Michael
(thx Shauren)
2013-06-01Core/Database: Deleted characters will no longer be loaded when sending the ↵Subv
SMSG_CHAR_ENUM packet.
2013-05-26Core/Command: Optimized .pinfo moreAscathor
* Moved some checks around * Added RBAC Permission for Email, last login and last ip (group 3 and 4) -- If missing RBAC permission, then it displays "Unauthorized (RBAC)" * Changed totalmail output from uint64 to uint32 * Level either puts Max level, or a list of information necessary * Only queries guild if the current xp query also detects guild membership * Incorporated recent changes into code * Commander requires higher than target to get sensitive data beside RBAC permission.
2013-05-24Missed change for previous commitShauren
2013-05-22Implement .arena commands - add new commands to the core to handle with ↵Bezo
arena teams. *.arena create [player] "arena name" [type] *.arena create "arena name" [type] *.arena disband [TeamID] *.arena rename "oldName" "newName" *.arena captain [TeamID] [Player] *.arena info [TeamID] *.arena lookup [name]
2013-05-21Merge pull request #9827 from Ascathor/masterAokromes
Core/Command: Rework .PInfo and give more output and add Gender to trinity_string
2013-05-21Core/Misc: Remove trailing whitespace, compile warnings and minor cosmetic ↵Spp
changes
2013-05-20Core/Command: Rework PInfo and give more output and add Gender to trinity_stringAscathor
* Prints out in several strings instead of few * Leaves unnecessary ones out (e.g. phase for GMs) * Some code documentation included (including doxygen) * Cleaner code (partly) * Prints more content, e.g.: ** Localized Class- and Race names ** Localizable Gender names ** Current experience, required experience ** And more Shoutouts to @Nay, @Subv, @Shauren and several others from the irc Core/Command: Rework PInfo and give more output and add Gender to trinity_string
2013-05-18Reverted part of 8be181c7e60daf9833044da61b379c2136892c37 that was not ↵Shauren
supposed to be pushed
2013-05-17Core/Misc: Fixed a bunch of issues found by static analysisShauren
2013-05-16Core: Fix compiler warningsNay
2013-05-13Core/Debugging: Marked assert functions as non returningShauren
2013-05-13Core: Fixed windows compileShauren
2013-05-13Core/Logging: Performance-related tweaks to logging systemSpp
All sLog->out* functions (except outCommand atm) are replaced with TC_LOG_* macros. Memleak fix
2013-04-29Core/Commands: Improve .character rename [name], now can force rename ↵xjose93
.character rename [name] [newName]
2013-04-27Merge pull request #9710 from xjose93/AutobroadcastAokromes
Core/World: Improvements in Autobroadcast system (dropped from world database and moved to auth database, added realmid and weight columns)
2013-04-27Merge pull request #9662 from xjose93/GuildRenameAokromes
Guild rename
2013-04-25Core/World: Improvements in Autobroadcast system (dropped from world ↵xjose93
database and moved to auth database, added realmid and weight columns)
2013-04-22[Ip2nationLock] Implement the ip2nation lock country.Bezo
2013-04-19Core/Commands: rename guilds (.guild rename "old guildname" "new guildname")xjose93
2013-03-26Core: Fix compile with WITH_COREDEBUG option enabledSpp
2013-03-26Core/Misc: Remove the use of logging system from WPFatal (Fixes tools compile)Spp
Closes #9501
2013-03-25Core/Misc: Minor optimizations (+code changes to reduce differences with ↵Spp
4.3.4 branch) Core/Logging: Create new logger type "Cheat". Will be used to log all cheat attempts
2013-03-17Core/DB: Fix a table name in CHAR_SEL_MAIL_LIST_INFONay
2013-03-17Scripts/Commands: Add .list mail $char/$guid commandBezo
Prints a list of mails received by the characters Closs #9421
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