Commit Graph
243 Commits
Author SHA1 Message Date
Kapoeira b071505216 Scripts/Arenas: Fix achievement [The Last Standing].
Closes #3637.
2012-01-12 01:57:46 -05:00
Wilds 2a38902d2e Core/Battleground: fix re-enter into battleground after disconnect 2012-01-04 11:52:13 +01:00
leak ced346076b Merge pull request #4567 from Kiperr/master
Happy new year!
2011-12-31 16:13:28 -08:00
leak cdbeb42e0f Core/DBLayer: Refactor prepared statement defines to new format (char db) 2012-01-01 01:09:38 +01:00
kiper 8299627ed9 Update headers for 2012. HAPPY NEW YEAR!!! 2012-01-01 00:32:13 +01:00
Aokromes eed85f4fab Requiere at least 1 door of each line of defense to be down to allow to take relic 2011-12-31 12:13:41 +01: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
Wilds 711a5793bc Core/Battleground: fix invite accept wait timer (m_events must be always updated, not only when schedule) 2011-12-25 09:32:09 +01:00
megamage 529af3cd09 Delete obj if it is not successfully added to grid. More to fix. 2011-11-28 14:05:25 -05: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
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
Yelvann 74dad924fc Core/Arenas: Members of same arena team were able to fight each other
and minor refactoring
Closes #3753
2011-11-09 20:33:01 +01:00
Bootz d1334624da Core: Codestyle clean-up
"pl"->"player"

 Note: codestyle methods needs maintained, Player* player.
still to do properly clean-up chat.cpp.
2011-11-07 11:18:00 -06:00
Bootz f75ec5ba2b Core: Codestyle clean-up
"plr"->player

Note: codestyle methods needs maintained, Player* player.
2011-11-07 11:06:39 -06:00
kaelima b5cb41b4ea Core/Player: Make chat tag (last byte in SMSG_MESSAGECHAT) a bitmask. 2011-11-07 07:16:31 +01:00
tobmaps ae600a0ea2 BG/Isle of Conquest: Fix bug with immediate respawn of Glaive Thrower 2011-11-07 06:09:16 +07:00
kaelima 526ada47e1 BG/Isle of Conquest:
- Fix seaforium bombs.
- Add flag pole for Refinery
- Some cleanup
Also correct a typo in 0083290322
2011-10-29 15:16:13 +01: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
Fredi Machado 97142102e0 Core/Misc: Added 'f' after float values 2011-10-17 07:38:27 -03:00
megamage 3ba22d0d06 Rename Map::Add to Map::AddToMap, Map::Remove to Map::RemoveFromMap for better management. 2011-10-10 17:39:34 -04:00
Bootz 5b4c7783c2 REPO: Code-style clean-ups
* Fixed pMap->map
* Fixed pInstance->instance
* Fixed pInsta->instance
* Fixed pQuest->quest
* Fixed pWho->who
* Fixed pTarget->target
* Fixed pGo->go

~DEVNOTES: Handlers/QuestHandler.cpp still needs to be cleaned...
2011-10-07 19:45:43 -05:00
Shocker 7f89678bcd Merge pull request #3278 from lost-illusion/master
CleanUp
2011-10-07 09:28:10 -07: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
unknown 8acf07dbab Random minor code cleanup 2011-09-29 22:35:00 +04: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
megamage eb946691c7 Unlink Battleground and BattlegroundMap when one of them is deleted. Fix crash #3239. 2011-09-27 17:26:13 -04:00
megamage e81b3c6fde Move thread-unsafe events from Player to BattlegroundQueue. Fix crash #2960. 2011-09-19 17:22:27 -04: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
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
kaelima 99935fd98c BG/Isle of Conquest: Fix a crash in RemovePlayer. 2011-09-05 15:56:47 +02:00
horn 43052a47e1 Core/Achievements: Fixed some Alterac Valley achievements:
- Stormpike Perfection
- Frostwolf Perfection
- Everything Counts
2011-09-03 18:53:26 +02:00
Shauren e3f4cca534 Core/Arena: Players online but not in world will now gain their arena points as intended 2011-09-02 16:09:32 +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
Lopin f72cff430d Core/Achievements: Added also check for player's team. Only defenders should get this achievement 2011-08-24 22:56:36 +02:00
Lopin 6758056dda Core/Achievements: Fixed Defense of the Ancients in SotA 2011-08-24 21:53:00 +02:00
Chaplain fb27848510 Core: Clean up here and there.
*replase postfix iterator increment\decrement with prefix in cycles
*replase strlen(*char) != 0 with *char[0] != '\0'
*replase strlen(rStr.c_str()) with rStr.length()
2011-08-23 18:09:08 +03:00
Shauren 1c606d0d0c Core/Battlegrounds: Don't send SOTA transports removal twice 2011-08-17 12:02:34 +02:00
Shauren bac78de203 Core/Battlegrounds: SotA will no longer crash in update 2011-08-13 12:28:36 +02:00
tobmaps 7f57507155 Fix compile 2011-08-06 19:56:12 +07:00
Spp 92393392ef Core/Battleground: Missing changes from rev 4ecda55 2011-08-06 10:00:09 +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
tobmaps 2056af63f0 Core/Spells: Fix typo in b0fe236265 , thx A-Metaphysical-Drama 2011-08-05 01:46:35 +07:00
Spp e7327e7e94 Core: Fix compile without PCH and fix some warnings 2011-08-03 11:23:08 +02:00
Spp- c69b149d7e Core: Typo fix introduced in previous commit (:S) 2011-08-01 14:57:30 +02:00
Spp- 079f292b15 Core: Some more missing changes from previous commit (Pass by const reference for simple objects replaced with pass by value). Also fix unintended change 2011-08-01 14:51:44 +02:00