VladimirMangos
bacb39a724
[11361] Add and use max arena team size function instead direct code.
2011-04-15 18:40:43 +04:00
VladimirMangos
bf0ecf6e71
[10947] Update copyright notice for 2011 year.
2011-01-01 20:33:43 +03:00
VladimirMangos
a8a7f3c796
[10815] Use in social lists API ObjectGuid form.
...
0 GUID_LOPART uses in code. :)
2010-12-02 08:32:46 +03:00
VladimirMangos
5fd06abf44
[10379] More wide use ObjectGuid in arena team code.
...
As always in this commits line fixes for uint32->uint64 guid assigns.
2010-08-19 12:22:45 +04:00
VladimirMangos
722135b326
[9838] More log filters and macro uses.
...
* LogFilter_Weather
* LogFilter_PeriodicAffects
* LogFilter_PlayerMoves
* LogFilter_SQLText
* LogFilter_AIAndMovegens
* LogFilter_PlayerStats
2010-05-05 18:46:10 +04:00
AlexDereka
ebfb0f9835
[9389] Cleanup config data. Use proper names and expected types.
2010-02-15 15:29:06 +03:00
tomrus88
2151704669
[9358] Not use PLAYER_FIELD_ARENA_TEAM_INFO_1_1 directly.
2010-02-11 19:30:44 +03:00
tomrus88
0bd88dd55a
[9353] Some fixes to guild/arenateam events.
2010-02-10 21:14:23 +03:00
VladimirMangos
fe6e2e1746
[9122] Updated copyright notice for new year.
...
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
XTZGZoReX
0734adb746
[8789] Rename several singleton macros to use more consistent names.
...
* objmgr -> sObjectMgr
* spellmgr -> sSpellMgr
* WaypointMgr -> sWaypointMgr
* poolhandler -> sPoolMgr
* objaccessor -> sObjectAccessor
* mapmgr -> sMapMgr
* sInstanceSaveManager -> sInstanceSaveMgr
* ticketmgr -> sTicketMgr
* CreatureEAI_Mgr -> sEventAIMgr
* auctionmgr -> sAuctionMgr
* achievementmgr -> sAchievementMgr
2009-11-08 12:11:34 +01:00
XTZGZoReX
1f23884757
Don't use singleton to access static functions.
...
* This affects especially ObjectMgr functions:
- GetCreatureInfo
- GetGameObjectInfo
- GetInstanceTemplate
These are in fact static functions.
2009-11-08 03:54:27 +01:00
tomrus88
94fdc7e37e
Fix.
2009-08-28 19:14:16 +04:00
arrai
a24f39a36f
[8378] Use exceptions instead of explicit size checking for each packet
...
CHECK_PACKET_SIZE was pretty error prone; once it was forgotten mangosd
could crash due to the asserts in ByteBuffer.h. That was exploitable by
malicious players.
Furthermore, there were duplicate checks: Additionally to
CHECK_PACKET_SIZE, the ByteBuffer assertions keept an eye
on not exceeding the packet boundaries - just to crash the server for
sure in such a case.
To prevent memory leaks or other undesirable states, please read in
every handler all variables _before_ doing any concrete handling.
2009-08-16 23:50:22 +02:00
VladimirMangos
2a27a44e2a
[7918] Improve portability in work with uint64 string format specifiers and in code literals.
...
* Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define.
I64FMTD renamed to UI64FMTD for more clear name.
* Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals.
Please always use UI64LIT(0x00001) instead less portable 0x00001LL
2009-05-30 22:44:20 +04:00
tomrus88
42f8ce5f3e
[7911] Applied coding style.
2009-05-29 19:07:28 +04:00
zhenya
8144f30199
[7730] Some optimizantion and code style.
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-04-29 01:05:21 +04:00
balrok
54f2dbefa0
[7403] much more unneeded includes removed
...
now i extended my script:
NAME="Chat"; ack -c $NAME | ack ":1$" | sed 's/:1//' | xargs /usr/bin/ack-grep -l "include \""$NAME".h\"" | xargs /bin/sed -i '/include "'$NAME'.h"/d'
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-08 02:22:17 +03:00
CHEG
4051db9767
[7062] Fixed arena team inviting.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-01-10 03:12:59 +01:00
arrai
c6f48843ad
[7017] Updated copyright notice for new year
2009-01-03 18:09:51 +01:00
hunuza
b17b4c9fd8
[6955] Introduce new function Player::LeaveAllArenaTeams and use it on player delete.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-27 17:07:37 +01:00
ApoC
a5331ab517
[6910] Implemented rewritten arenas. Original author w12x@getmangos.com
...
Many thanks also to:
Balrok@github.com for long time updating.
Triply@github.com for great work in rewriting process.
All who I forget to name.
Signed-off-by: ApoC <apoc@nymfe.net>
2008-12-16 00:17:24 +01:00
hunuza
0f12997ef1
[6899] Pass const reference instead of value for some strings in some functions.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-12 14:17:37 +01:00
hunuza
af6a55bcb5
[6869] Avoid DB access in 2 arena team handlers.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2008-11-30 19:27:08 +01:00
TheLuda
800ee76535
Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/
2008-10-14 00:29:20 +02:00