Commit graph

68 commits

Author SHA1 Message Date
Antz
9d20fe2b32 Initial project location adjustment 2020-02-17 09:22:43 +00:00
Antz
f1c9e0f94b [Sync] Project header sync 2020-02-17 09:22:26 +00:00
Antz
1997c1e903 Rebase resync 2020-02-17 09:19:44 +00:00
billy1arm
ef445ea523 [12632] Revert previous commit (see Notes) 2020-02-17 00:54:15 +00:00
Schmoozerd
a27787851c [c12537] Update Authorship information
(based on commit [12388] - 037f217)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>
2020-02-16 21:27:46 +00:00
Schmoozerd
a05738717a [c12536] Happy New Year 2013
Update authorship information and prepare for easier ways next year

Signed-off-by: Schmoozerd <schmoozerd@cmangos>

(based on commit [12325] - b7dbcda)
2020-02-16 21:25:01 +00:00
Yaki Khadafi
8e5d609e1e [12150] Drop arena point distribution, implement currency week count reset.
- Fix missing currency load.
- Some cleanup.

Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
2020-02-16 20:41:28 +00:00
Schmoozerd
835d1c7479 [12069] Cleanup comment style 2012-07-22 14:39:31 +02:00
Schmoozerd
e32b9953a1 Cleanup Operator padding 2012-07-20 17:38:23 +02:00
Schmoozerd
f80629e307 Various Cleanups (game A-B) 2012-07-19 21:45:38 +02:00
stfx
f3f3349661 [11973] Various Cleanups
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
2012-04-22 19:48:05 +02:00
Schmoozerd
8068dcf6dd [11875] Update Copyright notice to year 2012
Start timemachine and a Happy new year to all!
2012-01-16 17:43:59 +01:00
VladimirMangos
249fb836ca [11490] Alow implicit cast ObjectGuid->uint64 and only explicit uint64->ObjectGuid
Now safe allow this casts in like way after completed convertion to ObjectGuid use.
Also simplify code in result allowed auto cast to uint64.

Please _not_ add new uint64 storages (local and in structures) for guid values.
2011-05-15 22:04:57 +04:00
VladimirMangos
719e298795 [11470] Final cleanup uint64 guid cases
Also drop logout player update fields cleanup that in any cases not saved.
2011-05-11 21:36:27 +04:00
VladimirMangos
cdf449cc0a [11364] One more ArenaTeam::GetMaxMembersSize use case. 2011-04-16 02:25:55 +04:00
VladimirMangos
bacb39a724 [11361] Add and use max arena team size function instead direct code. 2011-04-15 18:40:43 +04:00
caeruleaus
4a1e9b7d5b [11359] Fixed typo in recent arenatype enum related changes comment.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-04-15 16:08:13 +04:00
VladimirMangos
adcb84a325 [11355] Use ArenaType enum instead raw values
* Drop duplicate ArenaTeamTypes
* Use enum type where appropriate
* More strict check integrity arena team data at loading.
2011-04-15 03:19:12 +04:00
VladimirMangos
0912c17cee [11350] Revert "[11349] Instead group online players use arena team full list for claculate avg. personal rating."
This reverts commit aae93a675ca4dc4a936a1f90ad4a67f91161f697.
2011-04-14 15:43:47 +04:00
VladimirMangos
9c34efec41 [11349] Instead group online players use arena team full list for claculate avg. personal rating. 2011-04-14 05:14:42 +04:00
michalpolko
f2e78cdded [11039] As of Season 6 and later, all teams below 1500 rating will earn points as if they were a 1500 rated team
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2011-01-18 16:49:05 +03:00
VladimirMangos
bf0ecf6e71 [10947] Update copyright notice for 2011 year. 2011-01-01 20:33:43 +03:00
Deleterios
549b44d8ec [10664] Rename arena_team_stats fields for better fit to stored values.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-11-01 02:37:10 +03:00
mns
869acb2a24 [10499] Fixed typo at copy-paste in ArenaTeam::BroadcastEvent
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-09-18 02:34:27 +04:00
cipherCOM
1ccf1ccd86 [10413] Add some missing class/struct forward declarations and includes.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-08-27 23:55:57 +04: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
fdb_
384915b0d0 [10245] Allow have custom starting area team/personal rating.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-07-22 10:29:59 +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
VladimirMangos
6487c24f29 [9545] Rename ObjectDefines.h -> ObjectGuid.h
Also move unrelated generic defines to Common.h
2010-03-07 20:05:32 +03: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
VladimirMangos
fe1fae46ee [8830] Restore build at *nix. Make MAKE_PAIR* users includes explicit.
Comment for recently added field also.
2009-11-18 23:57:20 +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
balrok
64848ac380 [8780] fixed typos with arenarating
original patch was ok - i just did copy/paste errors :s
2009-11-06 13:32:33 +01:00
danielich
63951591fd [8776] proper arena rating calculation
the elo-formula has K=48 for rating<1000
an K=32 for rating>1000

also set the rating of new members to 0 if they
join a team with rating <1000
2009-11-05 11:02:08 +01:00
Triply
132aed0f0b [8763] fixed typofix from last commit 2009-11-01 21:43:45 +01:00
danielich
70e3c17982 [8762] fixed typo with minimum default arena rating 2009-11-01 21:24:37 +01:00
VladimirMangos
59befa2e0e Merge branch 'master' into 320 2009-10-02 19:09:06 +04:00
Triply
8246a8c310 [8565] Fixed crash added in [8560]. Thx to KAPATEJIb.
Signed-off-by: Triply <triply@getmangos.com>
2009-09-29 19:13:57 +02:00
Triply
0356924cf9 [8560] Optimized guild and arena team loading at startup.
Signed-off-by: Triply <triply@getmangos.com>
2009-09-29 15:41:17 +02:00
tomrus88
2d86aa4535 Misc fixes. 2009-09-14 18:11:15 +04:00
tomrus88
f90f3dd987 Merge commit 'origin/master' into 320
Conflicts:
	src/game/ArenaTeam.cpp
2009-07-29 15:17:37 +04:00
Ebrithil
707c9f315d [8271] Fix: SQL typo in [8269]
Signed-off-by: balrok <der-coole-carl@gmx.net>
2009-07-28 22:54:02 +02:00
balrok
0513e5cf06 [8269] added "m_" prefix to ArenaTeam classmember-variables
used this script + some manual edit
(i couldn't get out, how to handle comments)
function replace()
{
        sed -ri 's/([^a-zA-Z0-9_])'$1'([^a-zA-Z0-9_])/\1'$2'\2/g' ArenaTeam.*
}
replace Id m_TeamId
replace Type m_Type
replace Name m_Name
replace CaptainGuid m_CaptainGuid
replace BackgroundColor m_BackgroundColor
replace EmblemStyle m_EmblemStyle
replace EmblemColor m_EmblemColor
replace BorderStyle m_BorderStyle
replace BorderColor m_BorderColor
replace members m_members
replace stats m_stats

Signed-off-by: balrok <der-coole-carl@gmx.net>
2009-07-28 18:28:33 +02:00
XTZGZoReX
79d1c3fe6f [8268] ArenaTeam: new rating-system for season 6
every team will start with 0 rating here

to enable this you have to set your season in the config-file

thanks to danielich for initial patch

Signed-off-by: balrok <der-coole-carl@gmx.net>
2009-07-28 18:27:05 +02:00
balrok
3557b00a13 [8267] ArenaTeam: added check, that teamrating won't become negative
for this i added a FinishGame(mod) function
which also updates other stats, to avoid
redundant code

Signed-off-by: balrok <der-coole-carl@gmx.net>
2009-07-28 17:10:12 +02:00
tomrus88
4363516299 Replaced some hardcoded values with enum. 2009-07-11 12:09:42 +04:00
tomrus88
755c8a1a81 Updated to 10083 client build. 2009-07-11 07:46:50 +04:00