Vincent_Michael
20004050bc
Update copyright note for 2014.
...
Happy new year.
2014-01-01 00:07:53 +01:00
Spp
ec62bc6e88
Core/Dungeon Finder: Improve join log message to try to detect cases when one of the selected dungeons is 0
...
* Added specialization to all loggers related to lfg (allows to enable "lfg.join" in debug mode and keep all the rest in error)
2013-12-19 09:39:00 +01:00
Spp
94e2b9332a
Core/Logging: Remove LOG_FILTER_XXX defines with it's value (remember logger names are case-sensitive)
2013-11-08 10:50:51 +01:00
leguybrush
0a308144a8
Core/Code: Unify [more] codestyle for brackets: )\n{\n} to ) { }.
2013-10-28 14:36:07 -04:00
Ascathor
2607738990
Core/Code: Unify codestyle for brackets: {} to { }.
...
Also added missing copyright to some files.
2013-10-27 23:46:02 +01:00
Spp
cfaea769bc
Core/RBAC: Move RBAC code to namespace rbac
2013-09-27 13:35:45 +02:00
Spp
f245124127
Core/Misc: Avoid heap allocation when performing some RBAC checks
2013-08-07 08:42:53 +02:00
Malcrom
ec474a62e5
Core: More Function Renaming.
2013-06-11 21:25:12 -02:30
Malcrom
66978cfc3b
Core: Some function renaming.
2013-06-11 19:54:27 -02:30
Spp
d1677b2db0
Core/Logging: Performance-related tweaks to logging system
...
All sLog->out* functions (except outCommand atm) are replaced with TC_LOG_* macros.
Memleak fix
2013-05-13 15:07:36 +02:00
Nefarion
49fd11ab5a
First step of comment style refactoring to doxygen-style.
2013-03-08 21:55:37 +01:00
Spp
15343d9bb0
Core/RBAC: Remove unnecessary header includes from other header files
2013-02-25 15:48:17 +01:00
Machiavelli
8befbdcc56
Core/LFG: Fix a crash
...
Fix a crash in case a player is recognized as in a LFG dungeon, but without a valid group
2013-02-14 15:01:33 +01:00
Spp
fb7a544d84
Correction to previous commit (Use proper way to delete from spell_script_names)
2013-02-04 17:04:40 +01:00
Spp
61979f8591
Scripts/Player: Add OnMapChanged to PlayerScripts (after map changed)
...
Core/Dungeon Finder: Use OnMapChanged script to cast/remove Luck of the draw
- Also move code to force party update to LfgPlayerScript
- Remove some obsolete Lfg code after recent commits
2013-02-04 16:52:43 +01:00
Spp
b980aff83e
Core: Implement Role based Access Control
...
- 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-04 09:04:33 +01:00
Spp
ec5d16db8a
Core/Dungeon Finder: Declare some functions private as those are not used outside LFGMgr. Also do not expose LFGDungeonData outside LFGMgr
2013-02-04 06:43:03 +01:00
Spp
f743424f63
Core/Dungeon Finder: Corrections to previous commit
...
- player::inRandomLfgDungeon was supposed to return if current player map and difficulty are the ones player applied for
2013-02-04 05:50:52 +01:00
Spp
9bdfc87774
Core/Dungeon Finder: Use lfg namespace to encapsulate all LFG classes, structs and enums
2013-02-04 04:43:50 +01:00
Spp
f753c989f2
Core/Dungeon Finder: Simplify Spell Luck of the draw code
...
Core/Dungeon Finder: Partial recode of "group list" using existing Lfg functions
2013-02-04 04:43:49 +01:00
Spp
8cd408ae6c
Core/Misc: Some changes to minimize differences with 4.3.4 branch
2013-01-30 10:34:18 +01:00
Spp
802657250c
Core/Misc: Apply codestyle to multiple files
2013-01-14 09:50:59 +01:00
Spp
4c247f5d2d
Core/Dungeon finder: Fix teleport out after dungeon is finished
...
Closes 8914
2013-01-13 16:22:41 +01:00
Spp
677ed18080
Core/Dungeon Finder: Fix group (5) unable to do new dungeon after finished last dungeon
...
- Some optimizations here and there
- Drop unused columns related to dungeon rewards
- Simplify Group reward. All people inside the dungeon should get the reward, no matter how far it's from the boss
2013-01-09 15:15:42 +01:00
Spp
2292025bf9
Core/Misc: Replaced some macro definitions with inline functions
2013-01-02 09:07:52 +01:00
Vincent_Michael
cc65aba789
Update copyright note for 2013.
...
Happy new year.
2013-01-01 00:41:01 +01:00
Spp
a7d8a65bd0
Core/Dungeon Finder: Partial revert of ad6b5fb419
2012-11-28 08:29:39 +01:00
Spp
e954498560
Core/Misc: Random changes here and there to minimize differences with 4.3.4 branch
2012-11-27 13:03:12 +01:00
Spp
2251d1bfae
Core/Misc: Set mode 0644 for files
2012-11-27 13:03:12 +01:00
Spp
ad6b5fb419
Core/Dungeon Finder: Fix reward for last member of each group being disbanded to join new lfg group
...
- Move some messages to Trace
- Add some cases where internal data wasn't updated with new state
- Reverts 441712fbb and ae507e5 (Old State should only store those states you can Restore from a Rolecheck/Proposal)
Closes #8339
Closes #8420
Closes #8421
2012-11-26 20:20:47 +01:00
Spp
32c259b1ce
Core/Channels: Remove unnecessary calls to FindPlayer wherever is possible
...
- Add better opcode debug messages
- Move isValidChatMessage debug messages to trace
2012-11-22 12:11:35 +01:00
Spp
d3c902915b
Core/Dungeon Finder: Properly update Lfg Status (shouldn't lose 'eye' when changing maps or reconnect after disconnection)
...
- Also fixes removing Player data when it shouldn't... should solve some problems with players not getting reward in some cases
2012-11-21 19:56:48 +01:00
Subv
17071df235
Merge pull request #8383 from blipi/lfg_fixes
...
Core/Dungeon Finder: Properly save old state for LfgPlayerData
2012-11-20 19:35:45 -08:00
Blipi
ae507e5cc6
Core/Dungeon Finder: Properly save old state for LfgPlayerData
2012-11-21 04:31:21 +01:00
Subv
a17d44bcc2
Merge pull request #8381 from blipi/lfg_fixes
...
Core/Dungeon Finder: Old state should be saved, not the new one
2012-11-20 19:19:30 -08:00
Blipi
441712fbba
Core/Dungeon Finder: Old state should be saved, not the new one
2012-11-21 04:11:58 +01:00
Spp
7bef4ce401
Core/Misc: Reduce header dependencies - Step III
2012-11-20 15:03:56 +01:00
Spp
b5c9ab8802
Core/Misc: Reduction of header dependencies - Step II
2012-11-20 12:30:30 +01:00
Spp
fcc524d598
Core/Guilds: Send correct opcode when purchasing a new tab and fix data not being saved in db after purchasing the new tab
2012-11-08 11:13:46 +01:00
Spp
58ec4e5319
Core/Guild: Code Refactor
...
- Send correct events when modifiying Ranks (Add, modify, delete)
- Store money/slots withdraw, not remaining slots. This will update remaining slots/money properly.
- Reset daily slots/money withdraw for all members at same time, configurable
- Better debug messages
2012-11-02 22:26:10 +01:00
Spp
5ff16046b6
Core/Dungeon Finder: Remove lfg player data when a group is disbanded
...
Core/Dungeon Finder: Some codestyle changes
Note: Real change is in LFGMgr::RemoveGroupData, all other are cosmetic changes
2012-10-29 20:56:37 +01:00
Spp
9074c11a90
Core/Dungeon Finder: Update "Current group roles" according to people in queue.
...
Core/Dungeon Finder: Properly update internal lfg group structure at server load
2012-10-29 20:13:42 +01:00
Spp
14027262ee
Core/Dungeon Finder: Add some more debug msgs and restore LFG group structure at server load.
2012-10-29 13:58:48 +01:00
Spp
d2ba73d97f
Core/Misc: Proper fix for previous commit ( c5c8e38 - check race change before perfoming faction-change actions)
...
Core/Misc: tab to spaces and remove trailing whitespaces
2012-10-29 12:28:12 +01:00
Spp
3120364aff
Core/Dungeon Finder: Prevent crash when Teleport opcode is received from client when is not supposed.
...
Note: In order to get teleported in/out you need to be in group
Closes #8183
2012-10-25 11:33:14 +02:00
Spp
9fbc4c0ae2
Core/Misc: reduced amount of string memory allocations (Step II)
2012-10-24 15:34:48 +02:00
Spp
013fb1f4d9
Core/Misc: reduced amount of string memory allocations (Step I)
2012-10-24 15:34:48 +02:00
Spp
663db1cee3
Core/Misc: Add default count param to HasItemCount
2012-10-23 13:11:57 +02:00
Spp
1be638e731
Core/Dungeon Finder: Add debugging commands
2012-10-23 11:44:02 +02:00
Spp
c1fada456b
Core/Dungeon Finder: Correct rolechecks ( 4e8fa52)
...
- Fix bad sql (36806bf )
- Add better teleport debug messages
2012-10-23 09:48:08 +02:00