Commit Graph

24 Commits

Author SHA1 Message Date
Praetonus f296095191 Fix various warnings. The core, the scripts and the tools now compile without warnings with -Wall -Wextra -pedantic.
-Fix warnings from -Woverflow on implicit constant conversion.
-Fix warnings from -pedantic.
-Fix warnings from -pedantic.
-Fix warnings from -Wformat.

Two minor changes in addition :

-Replace a defined value equal to 2^31 - 1 by std::numeric_limits<int>::max().
-Remove useless null-check on pointer returned by new. New doesn't returns nullptr on failure, it throws std::bad_alloc.
2014-05-15 21:32:47 +02:00
Aokromes 0c8df80415 Core/Auth: Add support for build 13930 of china
By phoenixfight closes #11978
2014-05-03 02:11:37 +02:00
Gacko a762f72adb Authserver: Fix typo 2014-03-19 09:49:22 +01:00
Vincent_Michael 20004050bc Update copyright note for 2014.
Happy new year.
2014-01-01 00:07:53 +01:00
Nay 3e2f037b20 Core&Tools: Fix warnings and non-pch build 2013-08-25 14:27:40 +01:00
raczman ba22baebbd Core/Auth: Implement time-based token for user login as described in RFC 6238.
New column in account table is a base32 of token key bytes,
coincidentally it is the same format Google's Authenticator Android app uses.
If you want that to work, set system time on server correctly and use ntpd.

Closes #10527

Signed-off-by: Nay <dnpd.dd@gmail.com>
2013-08-25 14:02:40 +01:00
wowpsp 529e8fba82 support 1.12.3 (build 6141) 2013-05-18 22:03:18 +08:00
Shauren 4c8ff6e6a3 Core/Auth: Updated AuthResult enum 2013-03-22 19:55:01 +01:00
WyldePointer 47f7687bab Core: Remove unnecessary commas
Last element of enumerator does not need comma after it's value.

Closes #9367
2013-03-09 15:20:57 +00:00
Vincent_Michael cc65aba789 Update copyright note for 2013.
Happy new year.
2013-01-01 00:41:01 +01:00
Spp 2251d1bfae Core/Misc: Set mode 0644 for files 2012-11-27 13:03:12 +01:00
Nay 154aaa0ad5 Core/Quests: Fix quest honor reward
Based on the patch of Tassader
Closes #1356
2012-08-28 00:25:49 +01:00
Shauren ad8010730c Core/Authserver: Improved realmlist for multiple realms with different versions, idea from MaNGOS and allow 4.0.6a, 4.2.2 and 4.3.4 clients to use the authserver (no world connections) 2012-08-28 01:11:03 +02:00
kiper 8299627ed9 Update headers for 2012. HAPPY NEW YEAR!!! 2012-01-01 00:32:13 +01:00
Cron e7f1158d5d Core/Misc: Remove an overdue copyright. 2011-12-20 00:07:42 -05:00
Kapoeira 1e6546e05b Core/AuthServer: Add a missing header block. 2011-12-19 23:07:19 -05:00
Machiavelli 957c69de83 Update copyright note for 2011.
Happy new year.
2011-01-01 15:01:13 +01:00
silinoron 60c6d462e4 Core/Authserver: Significant cleanup in preparation for a rewrite.
Dropped support for running as a service on windows; it may be back in some form later.
Otherwise there should be no functional changes.

--HG--
branch : trunk
2010-12-27 09:02:02 -08:00
silinoron b8bf37264b Core/Authserver: Cleanup.
--HG--
branch : trunk
2010-12-04 11:19:41 -08:00
click 613b81f36f REALLY fix the CRLF-crap...
--HG--
branch : trunk
2010-10-07 15:54:07 +02:00
click 8ea4b32fab Update copyright headers (following the same standard in all files = good)
--HG--
branch : trunk
2010-10-07 12:41:56 +02:00
Brian 4d00596e95 * Update for 3.3.5a
--HG--
branch : trunk
2010-06-30 13:11:44 -06:00
Brian f1bcd2c5bc * Fix expected client build
--HG--
branch : trunk
2010-06-30 12:46:19 -06:00
XTZGZoReX f27daddd1b * Restructuring authserver and worldserver.
--HG--
branch : trunk
2010-06-06 23:08:23 +02:00