Kandera
f63328dcbe
Core/LFG: commented out a previous change that was causing issues with lfg dungeon locks.
2012-06-22 12:23:53 -04:00
Chaplain
716e2db0e1
Core/Misc: Code-style + some const methods.
2012-06-21 21:05:45 +03:00
kaelima
9cdf3fb4c0
Core/DungeonFinder:
...
- Corrections to c6c23b7f7e : Properly fixed #6748 after misunderstanding the issue.
- Display proper error message when teleportating as fatigued
2012-06-13 08:21:29 +02:00
Subv
e8f4eb28f5
Core/DF: Add Dungeon Deserter debuff when leaving an incomplete DF match, and implemented Dungeon Cooldown for random dungeons
2012-06-12 16:33:43 -05:00
kaelima
c6c23b7f7e
Core/DungeonFinder:
...
- Prevent players from vote kicking in combat (basic implementation, still needs a timer) partially closes #2563
- Prevent players from teleporting to a finished dungeon using macro commands. Closes #6748
Also add a missing change for ff77610e1d thanks 2010phenix for the hint.
2012-06-12 18:14:52 +02:00
Machiavelli
bc96df1aae
Core/Shared: Move container functions to shared project under Trinity::Container namespace. Also implement RandomResizeList which takes a predicate function as parameter.
...
Core/ScriptedAI: Extend SummonList::DoAction to take a predicate function as parameter and allow specifying a maximum number of units to be selected.
2012-04-08 17:40:05 +02:00
kaelima
820f45c424
Core/Protocol:
...
- Correct and rename response message from creating/updating a ticket
- Prevent some trailing data in CMSG_GMTICKET_CREATE and add comment on stuff missing from its structure.
- Random cleanup
2012-03-28 03:59:03 +02:00
Shauren
a306c00d43
Core/LFGMgr: Added missing changes from previous commit
2012-03-24 18:01:39 +01:00
click
5411e1ce52
Core: Clean up whitespace and tabs in the base sourcetree
2012-02-18 16:52:08 +01:00
Shocker
08be716ef8
Core/Misc: Rename UNIT_STAT_* enums to UNIT_STATE_*
2012-02-03 19:02:17 +02:00
kaelima
819da8af4d
Core/Items: Attempt to fix crash in Player::SplitItem caused by 6a44399852.
...
And some random cleanup
2012-01-18 06:07:30 +01:00
Subv2112
f4075f0f94
Core/LFG:
...
Fix priority of the player when its added to the lfg group
Better implementation of the Dungeon Deserter debuff
Rewrite the NeedBeforeGreed loot
Fixed players being shown as Unknown Entity when entering the lfg group
Some incremental optimizations after original patch
Thanks to Retriman and Paecman for base implementation
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com >
2012-01-14 17:37:28 +01:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
Shauren
3ff67fb257
Core/Achievements: Refactored HasAchieved to take only achievement id as parameter
2011-12-12 18:19:26 +01:00
Shauren
638693e78f
Core: Fixed more warnings (C6246: Local declaration of 'x' hides declaration of the same name in outer scope.)
2011-11-23 17:55:16 +01:00
Bootz
f75ec5ba2b
Core: Codestyle clean-up
...
"plr"->player
Note: codestyle methods needs maintained, Player* player.
2011-11-07 11:06:39 -06:00
Bootz
81c0a3a847
REPO: code-style clean-up
...
* Fixed pPlayer->player
* Fixed pCreature->creature
~DevNote: codestyle for Player should be (*player), not *plr or *p...
same goes for Creatures (*creature)... more cleaning needed.
We've way too many codestyles happening here.
2011-10-07 11:08:09 -05:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Shocker
7afb179185
Misc/Util: Add a template function for returning a random element from any container
2011-09-15 21:28:40 +03:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Spp-
45af1238cf
Conditions/DisableMgr: converted from singleton to namespace with free functions.
2011-09-09 14:27:23 +02:00
Chaplain
f5a668ae8d
Core: Cleanup.
2011-08-30 23:09:39 +03:00
Spp-
aa85553bfd
Core: Crash fix (TemporarySummon), remove some warnings and some other minor changes
...
- "const uint64" and "uint64 const" --> uint64
- Add some info in LFGDungeonEntry
- Move some definitions from ".h" files and move to ".cpp"
2011-08-30 13:46:36 +02:00
Manuel Carrasco
763d59aeec
Core/Dungeon Finder: Added condition to avoid unnecessary checks to the joining result.
2011-08-05 21:47:12 -03:00
Spp
287b9e423c
Core/Dungeon Finder: Better solution for 24bb62e (fixed logic in dungeon selection)
2011-08-05 12:51:36 +02:00
LihO
24bb62ec44
Core/Dungeon Finder: fixed logic in dungeon selection
...
Random number should be generated only once.
2011-08-04 19:24:11 +02:00
Spp-
acd0fc79f6
Core: Pass by const reference for simple objects replaced with pass by value
2011-08-01 14:23:27 +02:00
Spp-
e47b96af3e
Core: Append single character to stream as character, not as a string
2011-07-29 14:18:28 +02:00
Spp-
b2a84d9f1e
Core/ObjectMgr: Remove GetPlayer function (Remove double use of singletons)
2011-07-27 12:14:27 +02:00
Spp-
bb921ae78c
Core: Do not use STL container size method to check if container is empty
2011-07-01 14:58:44 +02:00
kaelima
b9e8694540
Core: Continued cleanup
...
If and for whitespaces.
2011-06-12 02:30:32 +02:00
leak
dfacd287a4
Core/ObjectMgr: Refactor group related functions into dedicated class
2011-05-05 10:25:17 +02:00
leak
1003f30448
Add spaces after commas
2011-04-29 20:47:02 +02:00
Shauren
2f79b0f266
Core: Removed all double (and more) empty lines
2011-03-21 10:52:14 +01:00
Machiavelli
e07e20ffca
Core/Log: Implement log masks for debug log level, to allow selective debug output. Update your worldserver.conf.
2011-02-20 20:16:34 +01:00
leak
6a64c79d2a
Core/Groups: Group system cleaning sweep.
2011-02-18 18:35:52 +01:00
Shauren
c2b0bcbd6c
Core/Instances: Implemented DungeonEncounter.dbc for creating completed encounters mask to use in packets
...
Core/Dungeon Finder: Implemented new way of giving random dungeon rewards, linked to DungeonEncounter.dbc
2011-02-03 22:20:40 +01:00
leak
137b079eea
Core: Generic cleanup (tab2spaces/trailing whitespace removal)
2011-01-26 01:03:35 +01:00
Spp
e05ab4b25a
Core/Dungeon Finder: Fix exploit that allowed players to get random reward after finish a dungeon they did not queue for. Note: lfg_dungeon_encounters MUST contain the correct dungeonId, no the random ones.
2011-01-17 12:27:44 -03:00
Machiavelli
957c69de83
Update copyright note for 2011.
...
Happy new year.
2011-01-01 15:01:13 +01:00
Spp
9b73cb1694
Core/Dungeon Finder: Fix crash in Update after DF system gone inconsistent
...
Note: Reason that makes DF go inconsistent not fixed, as it's not identified
Closes issue 5293
Thanks to cyberbrest for open my eyes and make me spot the problem
--HG--
branch : trunk
2010-12-28 01:21:05 +01:00
Shauren
928443d899
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
...
--HG--
branch : trunk
2010-12-23 23:25:44 +01:00
Spp
95daf7998f
Core/Dungeon Finder: Fix a crash in rolecheck when a player is offline
...
Closes issue 5246
--HG--
branch : trunk
2010-12-23 21:11:11 +01:00
Spp
b6724bea03
Core/Dungeon Finder: Fix crash in recursive calls while joining
...
closes issue 5162
--HG--
branch : trunk
2010-12-23 15:26:41 +01:00
Spp
067984ba9f
Core/Dungeon Finder: Reset player Locked Dungeons after change level or bind to heroic instance
...
Note: Actual DF system is not supposed to select a dungeon you are already saved to (core does not support someone to have multiple saves on the same instance)
--HG--
branch : trunk
2010-12-23 06:06:24 +01:00
Spp
1f238d1700
Core/Dungeon Finder: Some cosmetic changes
...
- Drop pointer use in updateData struct
- Variable renaming
- Use of guid instead of group/player in rolecheck update
--HG--
branch : trunk
2010-12-23 06:06:19 +01:00
Shauren
0f3b9019a8
Core: Get rid of dirty operator workaround for ACE_Singleton class implementation
...
--HG--
branch : trunk
2010-12-22 21:25:23 +01:00
Spp
80a5cda77f
Core/Dungeon Finder: Fix wrong join result when joining with random dungeons and there are disabled dungeons. If no disabled dungeons players also got the same problem if they have done an heroic dungeon today
...
Thanks to j4r0d for the help spotting the error and testing
--HG--
branch : trunk
2010-12-22 13:20:18 +01:00
leak
6115b0bd5f
Removing ProgressBars as they are performing badly on startup.
...
[**************************************************] 100%
R.I.P
--HG--
branch : trunk
2010-12-22 00:12:03 +01:00
Spp
a45a039e73
Fix typo in previous commit :S
...
--HG--
branch : trunk
2010-12-21 23:21:12 +01:00