Jorge
9089ad2d61
Merge pull request #4952 from Bootz/master
...
Script fixes defines in enums...BWL
2012-01-25 23:52:33 -08:00
Jorge
528a9a6966
Merge pull request #4742 from Subv/gossips
...
Gossips
2012-01-10 03:16:06 -08:00
Spp
57490ead83
Core/Commands: Allow to search for other account/characters from a selected player without having to write the ip as argument (By Bizzy)
2011-12-30 08:27:05 +01:00
Spp
48829f8ffb
Core/Players: Fix out of bound access (by MoltenDev)
2011-12-28 12:32:48 +01:00
Spp
c1513b2c05
Warning fixes
2011-12-28 11:00:27 +01:00
Spp
3792b470e0
Core/Scripts: Replace rand with urand in most cases (using regexp)
...
Used: perl -pi -e 's/([0-9]+) \+ rand\(\)\%([0-9]+)/"urand(".$1.", ".($1+$2).")"/ge'
2011-12-28 10:51:16 +01:00
Spp
4fb634f9a5
Fix missing changes from previous merge
2011-12-28 09:16:06 +01:00
Jorge
6d327ac126
Merge pull request #4509 from Aokromes/master
...
Change some rands() to urand
2011-12-27 23:46:30 -08:00
Spp
ee8ed0247c
Fix typo from previous commit
2011-12-15 16:07:06 +01:00
Spp
d59c5e627f
Fix warnings
2011-12-15 11:12:15 +01:00
Spp
99ad58233b
Core/Opcodes: Change status of CMSG_MOVE_SET_COLLISION_HGT_ACK to Unhandled to kill spam log
2011-11-22 13:26:54 +01:00
Jorge
7c1f1b3898
Merge pull request #3907 from Aokromes/master
...
Scripts/Utgarde Pinnacle: Remove resize hack for Arthas
2011-11-10 04:23:40 -08:00
Jorge
4749c853cc
Merge pull request #3901 from Yelvann/master
...
Core/Arenas: Members of same arena team were able to fight each othe...
2011-11-09 11:59:13 -08:00
Jorge
dc81555740
Merge pull request #3827 from Yelvann/master
...
Revert commit ab023e8 (Add GM tag to gms in Who)
2011-11-04 01:54:58 -07:00
Spp
bb64e64463
Compile Fix
2011-10-18 17:55:21 +02:00
Spp
e3f8588a22
Minor changes here and there:
...
- Cosmetic changes
- 'Engrish fix'
- Initialization of some vars
- Remove some not needed includes
2011-10-18 14:59:23 +02:00
Spp
b5e8a192b1
Core/Calendar: Send map raid reset only once
...
Also some minor changes here and there
2011-10-18 14:23:08 +02:00
Spp
bc023c6dfb
Core: Fix some warnings
2011-10-18 12:39:01 +02:00
Spp
805e14a463
Core/Grid: Replaced ambiguous operator overloads with functions (Makes it clear to read)
2011-10-18 11:42:40 +02:00
Spp
e5fb7f093f
Minor cleanups here and there
2011-10-18 11:13:56 +02:00
Spp
ee69fc940e
Core/Items: Split SetSoulboundTradeable in two functions (Set and Clear)
...
Note: this is mostly for clarify action being done: ClearSoulboundTradeable better than SetSoulboundTradeable(..., ..., false)
2011-10-18 10:44:45 +02:00
Spp
be34ae68bb
Core/GameObject: Fixed memory leak in GameObject AI handling
2011-10-18 09:51:55 +02:00
Spp
8a448c5d91
Core/GameObject: Fix compile warning (Note: bg->GetTypeID(true) will always return the Bg type being played, never Random)
2011-10-18 09:48:11 +02:00
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