Spp
18aad847e1
Fix a typo in 8b820baa73
2011-09-29 13:25:37 +02: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
Spp
8b820baa73
Core/Battleground: Use a general solution for MSG_BATTLEGROUND_PLAYER_POSITIONS
2011-09-29 10:21:33 +02:00
Spp
9e517c963b
Cosmetic: Replace "* )" with "*)" and "* /*" with "* /*"
2011-09-29 09:32:55 +02:00
Spp
be12603150
Configuration/ConfigMgr: converted from singleton to namespace with free functions.
2011-09-28 13:00:43 +02:00
Spp
71228f90bb
Core/Weather: Move static function to WeatherMgr.
2011-09-28 11:55:25 +02:00
Spp
b93067350c
Core/WeatherMgr: singleton converted to namespace with free functions. Note how RAII saves your life and removes the need in explicit delete :)
2011-09-28 11:38:56 +02:00
Spp
cc06c41887
Core: Move FormationMgr to namespace
...
Also...
- Warning fixes
- Make Singleton constructors private
2011-09-28 11:11:38 +02:00
Spp
852ffcc139
Core/Scripting: Remove unnecesary reference in param function OnMemberRemove
2011-09-28 10:35:59 +02:00
Jorge
a7396c3112
Merge pull request #3248 from megamage/master
...
Unlink Battleground and BattlegroundMap when one of them is deleted. Fix crash #3239 .
2011-09-27 23:40:21 -07:00
Spp
7b68a6bf69
Core/Logging: Add new function to include full stacktrace.
...
Note: It only has use for devs but makes it easier to get the error with a full trace
2011-09-26 14:34:50 +02:00
Spp
8484b004dd
Core/Handler: Move couple of msgs to Debug
2011-09-26 09:52:17 +02:00
Spp
ab023e847a
Core/Misc: Add <GM> tag to GMs in Who list
2011-09-23 11:23:22 +02:00
Spp
bf38cd8f3e
Tab2spaces previous commit :S
2011-09-16 21:56:29 +02:00
Spp
d0f9406a10
Core/Instances: Resurrect a dead player (with corpse) before enter to instance. Original patch by Den
2011-09-16 21:54:45 +02:00
Spp
2f83db28f2
Core/Instances: Fix client freeze when trying to enter an instance which have players inside and you have save but not in same group that people inside and your homebind is in the same continent that the instance
2011-09-16 21:52:49 +02:00
Spp
6c943bfb08
Core: Cleanup in MiscHandler::SendAreaTriggerMessage and warning fixes
2011-09-16 10:53:24 +02:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Spp
8aadf83e93
Core/Dungeon Finder: Fix entry point not being saved to db.
2011-09-14 11:21:02 +02:00
Spp-
49686075c3
Core/Dungeon Finder: Use areatrigger coords when trying to get out from a lfg dungeon using the portal after player have been disconnected and original coords have not been saved
2011-09-14 10:16:14 +02:00
Spp-
33ce07bdde
Core: Minor cleanups (here and there)
...
- Fix warning
- Fix some typos
- Correct upper 'for' limit in LoadSkillLineAbilityMap
- Remove use of magic number in a query related to security levels
2011-09-13 14:15:35 +02:00
Jorge
d99db2ba27
Merge pull request #3007 from Aokromes/master
...
Better description for Rate.InstanceResetTime setting.
2011-09-12 23:41:29 -07:00
Jorge
1b30f1b641
Merge pull request #3006 from Aokromes/master
...
fixes 2 typos
2011-09-12 22:52:02 -07:00
Spp-
14b3ed9164
Addons/AddonMgr: converted from singleton to namespace with free functions
2011-09-09 15:22:52 +02:00
Spp-
45af1238cf
Conditions/DisableMgr: converted from singleton to namespace with free functions.
2011-09-09 14:27:23 +02:00
Spp-
c4c9165428
Core/ArenaTeam: Use full captain guid instead of low guid on team creation and some code cleanup
2011-09-09 13:05:51 +02:00
Spp
bb0e38fcda
Typo fix of previous commit (:S)
2011-09-08 18:41:43 +02:00
Spp
d46ef045a6
Fix a typo in 327fe7c than changed the logic of a function and simplify IsXXXAccount functions
2011-09-08 18:32:52 +02:00
Spp-
15d220639b
Minor Correction to 327fe7c
2011-09-08 15:15:04 +02:00
Spp-
327fe7c247
Core: Define helper functions to know if an account is Player, Moderator, GM, Admin or Console
2011-09-08 15:11:55 +02:00
Spp-
eddcb8ffbf
AccountMgr singleton converted to namespace with free functions as it has no internal state
2011-09-08 10:49:58 +02:00
Spp-
31c615b84f
Core/OutdoorPvp: Remove usage of "friend class ..." (Use functions to access private members)
2011-09-07 00:11:43 +02:00
Spp-
30fb856ea3
Fix typo (Rename SPELL_AURA_PREVENT_RESSURECTION to SPELL_AURA_PREVENT_RESURRECTION)
2011-09-06 14:23:53 +02:00
Spp-
4560991144
Core/Handler: Do now use dynamic memory allocation in character creation
2011-09-06 10:41:10 +02:00
Spp-
b7882e0fa8
Partial revert of fcf58e7 (both check performed inside IsInMeleeRange)
2011-09-06 10:36:20 +02:00
Spp-
3fac9914be
Core: Code cleanup (here and there)
2011-09-05 14:01:50 +02: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
Spp-
fcf58e7062
Core/AI: Fix a crash in UnitAI
2011-08-30 13:44:14 +02:00
Spp-
e41774750f
Core/Spell: Partial revert of 85164d2 (Move icc spell back to original line to keep icc spells grouped)
2011-08-26 10:29:23 +02:00
Spp-
45c0fd2d37
Core/Handlers: Set LFG_GET_STATUS session status to unhandled (Kills log flood)
2011-08-26 09:43:29 +02:00
Spp-
85164d2876
Core: Some cosmetic changes and minor optimizations
2011-08-26 09:41:33 +02:00
Spp-
4649281536
Core/DVCS: Add .diff extension to gitignore
2011-08-26 09:40:03 +02:00
Spp
0c30139527
Cosmetic: Some cosmetic changes here and there
2011-08-15 11:46:48 +02:00
Spp
92393392ef
Core/Battleground: Missing changes from rev 4ecda55
2011-08-06 10:00:09 +02:00
Spp
287b9e423c
Core/Dungeon Finder: Better solution for 24bb62e (fixed logic in dungeon selection)
2011-08-05 12:51:36 +02:00
Spp
4ecda557e4
Core/Battleground: Some (minor) code optimizations
...
- All access to Battleground vars are done using funtions (Remove friendship from Battleground and BattlegroundMgr)
- Move specific 47 mins arena check to battleground code as its generic to all arenas
- Create PreUpdateImpl and PostUpdateImpl functions. Specific battlegrounds will implement those if needed (No more need of call Battleground::Update inside specific BGs)
- Modify Create function to use only one parameter
- Remove EventPlayerCapturedFlag from Battleground class, only one BG implements it and it's not used outside that BG.
2011-08-05 11:57:09 +02:00
Spp
d0de7976dc
Core/ObjectMgr: Some minor changes in LocaleString functions
2011-08-04 15:14:15 +02:00
Spp
85643fb8a0
Partial revert of fcdd4d7
...
Closes #2494
2011-08-04 14:38:57 +02:00
Spp
473f341012
Core/GameEvent: Minor code optimization. (Also cosmetic changes in other unrelated files)
2011-08-04 14:27:10 +02:00
Spp
1c882084f3
Core: Cosmetic changes in Threat related code (per request) and remove of extra call to SpellMgr singleton inside that singleton
2011-08-04 13:16:09 +02:00
Spp
7e53a73059
Core/Vehicles: Remove Vehicle.h dependency from other header files
2011-08-03 12:28:42 +02:00
Spp
e7327e7e94
Core: Fix compile without PCH and fix some warnings
2011-08-03 11:23:08 +02:00
Spp
43720b1e3a
Core/Movement: Add better error log msg when trying to change active mover
2011-08-02 21:32:35 +02:00
Spp
2ff8b76ddd
Core/Opcodes: Change the status of CMSG_SET_SAVED_INSTANCE_EXTEND to unhandled
2011-03-19 11:04:26 +01:00
Spp
fd66517473
Core/Creatures: Add new extra flag to know if creature is dungeon boss
2011-01-29 09:01:00 +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
Spp
bd2728eb74
Core: Fix some warnings
2011-01-11 11:18:00 +01:00
Spp
54b4345481
Dungeon Finder: Fix proposals when joining the queue as LfgGroup with 5 members. Success was never possible
...
This fixes a inconsistency and a possible deadloop
--HG--
branch : trunk
2010-08-17 13:18:18 +02:00
Spp
0c7f37dab3
Dungeon Finder: Properly remove a player/group from queue after a proposal is formed
...
This should fix some of the inconsistencies
--HG--
branch : trunk
2010-08-17 11:38:30 +02:00
Spp
6009ac3f45
Dungeon Finder: Simplify 'Offer to continue' checks and allow to join non-random dungeon after a random one is assigned
...
--HG--
branch : trunk
2010-08-17 11:26:31 +02:00
Spp
46d06a859b
Dungeon Finder: Drop use of config value CONFIG_INSTANCE_IGNORE_LEVEL
...
--HG--
branch : trunk
2010-08-17 10:24:52 +02:00
Spp
eec9212ee4
Dungeon Finder: Fix bad dungeon selection being show at offer continue rolechecks
...
--HG--
branch : trunk
2010-08-12 00:02:15 +02:00
Spp
5b1b713aa6
Dungeon Finder: Fix rolechecks. All checks with less that 5 players were being rejected
...
--HG--
branch : trunk
2010-08-12 00:06:53 +02:00
Spp
f482bb1cd5
Dungeon Finder: Fix proposal window dungeon display
...
--HG--
branch : trunk
2010-08-11 17:31:34 +02:00
Spp
c53bec73f1
Dungeon Finder: Use DisableMgr and dungeon Saves in dungeon lock list
...
--HG--
branch : trunk
2010-08-11 16:17:05 +02:00
Spp
41534a1324
Dungeon Finder: Add proposals, find group algorithm and teleport support
...
Note: Adds hability to find a group and be teleported to dungeon, but no rewards yet (WIP)
--HG--
branch : trunk
2010-08-11 15:55:27 +02:00
Spp
f9468e7e5d
Dungeon Finder: Add LFG support to groups
...
--HG--
branch : trunk
2010-08-11 15:20:20 +02:00
Spp
23c4b1be25
Dungeon Finder: minor improvements and code clean-ups
...
- Initialize all packet size properly
- Updated all function documentation
- Add placeholders to all LFG opcodes
- Use lowguids wherever is possible
--HG--
branch : trunk
2010-08-11 13:25:14 +02:00
Spp
ac4df5204b
Dungeon Finder: Improve Join and UpdateRoles and move queue to main class
...
--HG--
branch : trunk
2010-08-11 12:44:49 +02:00
Spp
4b62042b28
Dungeon Finder: Make player internal Lfg data private and some minor cleanups
...
--HG--
branch : trunk
2010-08-11 11:54:03 +02:00
Spp
2638d24926
Dungeon Finder: redo CheckGroupRoles, sometimes it was accepting wrong roles as valid
...
--HG--
branch : trunk
2010-08-11 11:27:36 +02:00
Spp
719f770a56
*Fix typo in 9240 sql file
...
*Fix typo in my previous commit
Note to self: next time review the changes, not just C&P the delete from 9240*.sql
--HG--
branch : trunk
2010-08-10 10:00:57 +02:00
Spp
edf9fe17d2
Fix typo in world_scripts_full.
...
Closes issue 3367
--HG--
branch : trunk
2010-08-10 09:35:03 +02:00
Spp
b2b9ed4a32
Add selection weights to BG and Arenas. Will determine the selected BG/Arena chosen using random BG/Arenas from the enabled list.
...
Closes issue 2843
--HG--
branch : trunk
2010-08-02 13:22:05 +02:00
Spp
495bf7df45
Add missing # in worldserver conf file, patch by Aokromes
...
--HG--
branch : trunk
2010-07-26 08:37:18 +02:00
Spp
1522506feb
Fix group invite after a group is formed
...
--HG--
branch : trunk
2010-06-24 10:20:34 +02:00
Spp
e7bb8bca1e
Group::Disband: remove no longer needed code check.
...
--HG--
branch : trunk
2010-06-07 09:37:36 +02:00
Spp
5ca00bc14d
Dungeon Finder: Fix Rolecheck error when more than 3 players selected dps.
...
Thanks to Aokromes for pointing it out and patch testing.
--HG--
branch : trunk
2010-06-04 22:26:59 +02:00
Spp
a388b76a8c
Dungeon Finder: Add LFG_JOIN_MIXED_RAID_DUNGEON restriction to Join Queue
...
Patch by Tali
--HG--
branch : trunk
2010-06-04 13:51:39 +02:00
Spp
60fd4a2f60
Dungeon Finder: Fix a crash when join queue had any restriction.
...
Fixes issue 2500
--HG--
branch : trunk
2010-06-02 17:03:48 +02:00
Spp
d53f91ff32
Dungeon finder: Fix typos
...
- Add missing credits from previous Dungeon Finder commit (6f13a4afc4)
* Thanks to Zor for packet structure
* Thanks to Taliesin for initial Queue design
--HG--
branch : trunk
2010-06-01 09:38:05 +02:00
Spp
08a20ef8a2
Random BG: never select a disabled bg
...
--HG--
branch : trunk
2010-05-31 20:53:43 +02:00
Spp
824b1303ce
Dungeon Finder:
...
- Add Rolechecks
- Can Join and Leave queue
* No Find group implementation, it just adds u to the queue.
* Still missing some join queue restrictions.
--HG--
branch : trunk
2010-05-31 20:25:21 +02:00
Spp
f14ab71fad
Fix SMSG_LOGOUT_RESPONSE
...
- Use correct structure format
- Send opcode when instant logout
--HG--
branch : trunk
2010-05-28 02:07:47 +02:00
Spp
0f99ca17ee
Add some missing %s on final dk quest.
...
Patch by Aokromes
--HG--
branch : trunk
2010-05-25 04:29:59 +02:00
Spp
1b5d171d0b
Group: Fix guid and internal counter default value.
...
Use them in SMSG_GROUP_LIST with groupType 0x10
--HG--
branch : trunk
2010-05-21 14:19:47 +02:00
Spp
c551b23b15
Fix Typo in previous commit
...
Fixes issue 2295
--HG--
branch : trunk
2010-05-21 12:25:03 +02:00
Spp
defd131970
Dungeon Finder: Initial setup and dungeon listing
...
--HG--
branch : trunk
2010-05-20 23:35:27 +02:00