summaryrefslogtreecommitdiffstats
path: root/src/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* Moved rectangle intersection to the Rectangle classThorbjørn Lindeijer2009-12-062-35/+39
| | | | Also a bit of pointless cleanup in the math utils.
* Synced the protocol file with client in protocol.h, letting other defines in ↵Bertram2009-10-092-2/+0
| | | | defines.h, and removing some overheading along the way.
* Limit login attempt frequency based on IP addressThorbjørn Lindeijer2009-10-031-1/+1
| | | | | | | | | | | | 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.
* Fixed compilation problem with GCC 4.4Bjørn Lindeijer2009-05-242-5/+9
| | | | Fix ported from the client.
* Standardize on the position of the const keywordBjørn Lindeijer2009-04-266-23/+30
| | | | Same as for the client.
* Merged MovingObject into the Being classBjørn Lindeijer2009-04-261-1/+1
| | | | | | Also renamed Object to Actor, to make it sound a little less generic. Cleans up a bit the rather big hierarchy of different object types we have.
* Fixes for some compile warningsBjørn Lindeijer2009-03-101-3/+5
| | | | Mostly comparisons between signed and unsigned integers
* Made a lot of hard-coded values configuration optionsPhilipp Sehmisch2009-02-241-2/+2
|
* Removed unused md5sum calculation codeBjørn Lindeijer2008-12-282-199/+0
| | | | Reported by seeseekey
* Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer2008-11-1630-61/+0
|
* Use a string util for converting strings toDavid Athay2008-11-052-0/+13
| | | | integers, as per Bjorns suggestion.
* Changed command system to handle commands without template magic.David Athay2008-10-312-0/+14
|
* Fixed crash introduced in utils::toupperBjørn Lindeijer2008-10-231-1/+1
|
* Fixed compiler warnings, including a forgotten initialization of an item'sBjørn Lindeijer2008-10-232-7/+8
| | | | | script pointer.
* ignore case in map object types (by Chuck Miller)Roderic Morris2008-10-232-0/+62
|
* Fixed compilation with GCC 4.3 (patch by rodge).Bjørn Lindeijer2008-05-222-0/+2
|
* Switched to alternative SHA-256 implementation from InspIRCd.Bjørn Lindeijer2008-04-236-1024/+419
|
* Fixed some small issues.Bjørn Lindeijer2008-04-221-0/+1
|
* Removed our copyright header since these files are not copyright by us.Bjørn Lindeijer2008-04-212-52/+0
|
* Added password and email encryption server-side using SHA256.Yohann Ferreira2008-04-214-0/+1075
|
* Fix a possible memleak in inflateMemory if the stream fails to uncompress ↵Dennis Friis2008-04-201-0/+4
| | | | cleanly.
* Moved the functions which translate strings into enumerations from the XML ↵Philipp Sehmisch2008-02-212-72/+0
| | | | library into the item and monstermanager modules and reimplemented them using std::maps.
* Implemented different monster attacks read from monsters.xmlPhilipp Sehmisch2008-02-202-0/+95
|
* Removed useless win32 implementation of gettimeofday.Eugenio Favalli2007-11-193-119/+1
|
* Trimed script filenames from spaces.Guillaume Melquiond2007-11-131-0/+53
|
* Made it compile with GCC 4.3Guillaume Melquiond2007-10-272-1/+5
|
* Cleaned both configuration and resource managers.Guillaume Melquiond2007-09-222-13/+8
|
* Got rid of abstract storage and reference-counted pointers. Fixed lifetime ↵Guillaume Melquiond2007-08-301-167/+0
| | | | of accounts and characters in server memory. Cleaned some code.
* Simplified TokenCollector and fixed a few bugs. Moved its implementation ↵Guillaume Melquiond2007-08-172-265/+205
| | | | outside the header file.
* Implemented loading of warp and spawn areas from map files.Eugenio Favalli2007-07-171-0/+3
|
* Forgot the changelog entry. Work around compilers that have trouble dealing ↵Guillaume Melquiond2007-06-161-1/+1
| | | | with zero-sized arrays.
* Fix rsqrt and sqrt.Guillaume Melquiond2007-06-161-7/+8
|
* Mostly fixed some compilation issues.Bjørn Lindeijer2007-03-231-1/+1
|
* Corrected a bug, that occurred when connecting to the game-server.Rogier Polak2007-03-201-6/+6
|
* Fixed two compiler warnings and corrected a spelling error.Philipp Sehmisch2007-03-191-6/+6
|
* Added a TokenCollector class for matching magic_tokens.Rogier Polak2007-03-181-0/+326
|
* Corrected formatting of single-line commentsRogier Polak2007-03-141-1/+1
|
* Added a utils::processor namespace and a function to determine if, the ↵Rogier Polak2007-03-112-0/+89
| | | | processor the program is running on, is little-endian or big-endian.
* Added a utility function for creating magic_tokensRogier Polak2007-03-103-2/+87
|
* Added an abstrart base class for characterdata, in order to use the same ↵Rogier Polak2007-03-052-23/+25
| | | | serialize and deserialize functions on both the accountserver and the gameserver.
* Enable the Id keyword.Bjørn Lindeijer2007-03-032-2/+2
|
* Set native eol-style on recently added files.Bjørn Lindeijer2007-03-032-153/+153
|
* Use M_PI_2 instead of acos(0.0f) and FLT_MAX instead of 1.0E40f (which exceededBjørn Lindeijer2007-03-032-22/+23
| | | | | | the maximum float value). Some cosmetics (whitespace and declaring variables where they are used).
* Implemented an alternate collision-detection function, added namespace ↵Rogier Polak2007-03-033-23/+152
| | | | utils::math.
* Some speed optimizations at the collision detection suggested by Avaniel.Philipp Sehmisch2007-02-251-0/+23
|
* Unified logging macros.Björn Steinbrink2007-01-141-32/+10
|
* Removed world timer usage from account server, instead letting ENet wait duringBjørn Lindeijer2007-01-062-9/+19
| | | | | | each host service to reduce CPU usage. Modified timer code to gracefully handle jumps back in time.
* Simplified handling of verbosity levels. Optimized code by generating only ↵Guillaume Melquiond2007-01-054-413/+124
| | | | needed messages.
* Removed log level argument from LOG_FATAL helper macro, with the assumptionBjørn Lindeijer2007-01-051-2/+2
| | | | | that fatal messages should always have highest log level.
* Fix building with --pedantic.Björn Steinbrink2007-01-031-6/+6
|