summaryrefslogtreecommitdiff
path: root/src/account-server/account.hpp
AgeCommit message (Collapse)AuthorFilesLines
2010-11-14Renamed .hpp files into .h for consistency.Yohann Ferreira1-215/+0
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.
2010-02-07Update Copyright date for Manaserv.Bertram1-1/+1
2009-12-06Fixed name of the project in copyright headersThorbjørn Lindeijer1-13/+13
Also updated the headers to refer to the GPL by URL instead of suggesting to contact the FSF by snail mail, as per the latest GPL usage instructions.
2009-12-06Removed "TMW" and "TMWSERV" from header guardsThorbjørn Lindeijer1-3/+3
2009-10-03Limit login attempt frequency based on IP addressThorbjørn Lindeijer1-10/+2
The previous method was broken because it set the "last time" to the current time when the client connected. So login would fail when the username and password were sent within a second from connecting, which is not desirable. If I'd have fixed this by setting the "last time" to login time minus one second, then an attacker would just need to reconnect for each login attempt. So now it uses an IP address based approach, where each IP can only try to log in once per second.
2009-04-26Standardize on the position of the const keywordBjørn Lindeijer1-11/+9
Same as for the client.
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
2008-09-10* Extended tmw_accounts table with columns for lastlogin and registration ↵Andreas Habel1-9/+38
date. Modified account-server to fill the new columns on registration and login. Recreation of database needed! * Added createIndex function to create indexes on tables.
2008-04-23Fixed docs not to mention encryption, since all we do is hashing. Also, sinceBjørn Lindeijer1-27/+22
we decided not to use libcrypto, remove its configure check.
2008-04-21Added password and email encryption server-side using SHA256.Yohann Ferreira1-2/+2
2007-08-31Tidied up account server.Guillaume Melquiond1-4/+3
2007-08-30Got rid of abstract storage and reference-counted pointers. Fixed lifetime ↵Guillaume Melquiond1-30/+7
of accounts and characters in server memory. Cleaned some code.
2007-08-29Fixed handling of account levels.Guillaume Melquiond1-14/+1
2007-08-27Added support for user commands. Implemented "warp" and "item".Guillaume Melquiond1-21/+28
2007-03-05Added an abstrart base class for characterdata, in order to use the same ↵Rogier Polak1-20/+8
serialize and deserialize functions on both the accountserver and the gameserver.
2007-01-04Started serializing character possessions. Reduced their memory footprint.Guillaume Melquiond1-0/+12
2007-01-03Split persistent player data from game server data. Enabled inventory code back.Guillaume Melquiond1-1/+2
2006-12-29Physically split the server into one tmwserv-acount program (account +Guillaume Melquiond1-0/+232
chat + database) and multiple tmwserv-game programs (selected with respect to the maps). Cleaned the repository by moving server-specific source files into dedicated directories.