summaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)AuthorFilesLines
2012-12-12Remove guilds, finallyBen Longbons1-125/+1
If anyone in the future wonders why I did this, just look at how many lines of code this eliminates.
2012-09-03Fix compiler errors of C++ conversionBen Longbons11-34/+143
2012-08-30Rename files for C++ conversion. Does not compile.Ben Longbons22-77/+72
After updating, you can remove these files, as shown in 'git status': Untracked files: (use "git add <file>..." to include in what will be committed) src/map/magic-interpreter-lexer.c src/map/magic-interpreter-parser.c src/map/magic-interpreter-parser.h
2012-07-19Hopefully make shutdown more clean.Ben Longbons2-16/+35
2011-10-01Fix negative chances wrapping to high (Another bug in the language)Ben Longbons1-1/+4
2011-10-01Fix abuse of fread.Ben Longbons1-1/+1
2011-04-04Get rid of RETCODEBen Longbons1-6/+0
2011-04-03Fix some more compiler warningsBen Longbons9-24/+27
2011-04-03Rewrite make system to be optimalBen Longbons2-15/+7
2011-04-02Fix subtle MD5 bugBen Longbons1-2/+2
2011-03-24Fix accidentally-named interdb_val_tBen Longbons2-9/+9
2011-03-24Fix timer bugs in previous versionBen Longbons2-25/+14
The most visible effect of this was that the map-server would never actually connect with the char-server
2011-03-24Optimize common objects, and adjust other objects accordingly.Ben Longbons26-3014/+1420
Major changes still need to be made to each of the servers.
2011-03-18Changes that should have been caught earlierBen Longbons1-2/+2
2011-03-16Use makefiles correctly and expand include dirsBen Longbons1-1/+1
2011-03-02Recode from SHIFT-JIS to unicode, then undo the conversion of backslashs and ↵Ben Longbons7-108/+108
tildes.
2010-10-08Added MD5_ip() function to hash IP addressesMadCamel2-1/+32
2010-10-08Moved md5calc.c from login-server to the common libraryMadCamel3-1/+348
2010-09-29Increase default guild member limit from 16 to 100.Andrei Karas1-1/+1
2010-08-07Tweak memory wrappers and add one for strdup()remoitnane2-22/+36
2010-08-04Fixed minor portability problemMadCamel1-1/+1
Should compile correctly on newer cygwin now
2010-05-05Fixed up and slightly simplified the build systemMadCamel1-0/+1
It's now possible to run 'make' in any of the src/ subdirs and have it build properly. Moved some tools including eathena-monitor to src/tools - run 'make tools' to build. CFLAGS, etc are now in the 'make.defs' file. Requires GNU make.
2010-04-04Fixed some bad code that was generating compiler warningsMadCamel1-6/+16
2009-12-26Used the "indent" C formatting program from GNU to do some clean upsChuck Miller22-2320/+2730
The command options used was: -nbad -bap -sc -bl -blf -bli0 -cli4 -cbi0 -di5 -nbc -bls -ip2 -nut -ts4 -bap -i4 -sob -npsl
2009-09-30Merge branch 'master' of ↵MadCamel2-0/+10
git@gitorious.org:~madcamel/tmw-eathena/thealternateworld Conflicts: src/common/utils.h
2009-09-30Added -fno-strict-aliasing to CFLAGSMadCamel3-1/+11
This will likely fix a few minor weirdnesses, and compiler warnings.
2009-09-26Initial support for skill pools (available via at commands andFate1-1/+1
untested scripting commands.) These changes also affect the format of the skill_db.txt file.
2009-09-17MRAND now wraps its modulo parameter in parentheses to avoid misassociationFate1-1/+1
2009-08-30MRAND() no longer uses high-order bitsMadCamel1-3/+2
2009-08-29Converted to Mersenne Twister for random.MadCamel5-2/+125
Randomerer! Also: Fixed a security problem. Can you find it?
2009-08-26Revert "Fixed crash on empty storage"MadCamel1-3/+0
This reverts commit 53f87f7e41aa8f5dbe8639253ede44542086f046. I was sloppy about where I put the null check.
2009-08-23More locking fixupsMadCamel1-4/+4
2009-08-23Fixed crash on empty storageMadCamel1-0/+3
2009-08-21Made temporary files more robust against race conditionsMadCamel1-2/+3
2009-07-24char-server now offloads file writes to a child processMadCamel1-1/+6
Should see a massive speedup as it's now free to do other things. If processes start piling up, decrease the save frequency.
2009-07-07Fixes to socket system to make it cope better with fd depletion.Dennis Friis4-23/+104
Also added timeout for fullconnect, secured map server from stateless connections.
2009-07-05The function should return a valueThorbjørn Lindeijer1-1/+1
2009-07-05Bail out early from connect_clientThorbjørn Lindeijer1-8/+9
Don't use an invalid file descriptor in an attempt to create a session.
2009-06-25Incremented the inter-server fifo size to 256*1024, patch from ea stable.Dennis Friis1-1/+1
2009-06-25Redo storage, derived from ea stable.Dennis Friis2-5/+11
2009-05-25Changed ladmin to allow being piped into more safelyFate1-16/+21
2009-03-08Strip some more outJared Adams1-20/+1
2009-03-08Some more cleanupJared Adams1-13/+0
2008-11-24Converted some DOS newlines to UNIXBjørn Lindeijer2-26/+26
2008-11-03Rename MMRAND to MPRAND and clarify in a comment how it works exactly. These ↵Dennis Friis1-2/+9
are purpose-specific replacements for the vast usage of rand() with modulo and using high-order bits instead.
2008-11-03Add 2 defines for rand() that uses hi-order bits to get slighty better ↵Dennis Friis1-0/+2
pseudo-random numbers
2008-10-23Commit Mantis tasks 486 and 460Jared Adams1-2/+2
2008-10-11Commit magic patch v13Jared Adams1-2/+2
2008-04-25minor fix to some simple signedness errorsDennis Friis1-7/+7
2008-04-02initial checkinDennis Friis22-0/+3491