summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-09-06* Restrict intif_quest_save to sql only. txt char-server doesn't support the ↵flaviojs2-0/+3
packet and disconnects the map-server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14954 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-05* Add consistency checks to the shortlist.flaviojs2-2/+19
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14953 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-03- Fixed a typo in Nidhoggr's Nest. (bugreport:5041)brianluau1-4/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14952 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-02- Fixed @reloadmobdb wiping out monster spawn informationSkotlex2-0/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14951 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-09-01Fixed 'getitem' documentation typo (stating the optional 3rd argument is ↵ultramage2-4/+4
char id instead of account id). Initial documentation mistakes from r2402, propagated to code documentation in r9599, only partially fixed in r12648. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14950 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-30- Updated mmo_char_tosql and memitemdata_to_sql to keep a count of errors ↵Skotlex2-24/+63
while saving a character. If there are any errors, the in-memory copy (cp) will not be updated. Should fix dupes that can happen when a intermediary save fails because of sql access being down. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14949 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-24- Fixed a typo in quests_amatsu (bugreport:4861).brianluau1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14940 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-23- Rewrote/updated the SC_COMBO logic. Got rid of state.combo and added usage ↵Skotlex7-107/+106
of packet 0x7e1 (PACKET_ZC_SKILLINFO_UPDATE2) to report skill inf changes. - Cleaned up a bit the function clif_setlevel (these functions should be as lightweight as possible...) - Fixed the server sending twice the skill tree during login. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14939 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-21* Fixed monsters above Lv99 displaying a Lv99 aura (bugreport:3986).ai4rei6-9/+66
- The server no longer caps the level sent to the client by default. - Servers that require the aura to be displayed at a level different from lv99, either have to alter the client or adjust the 'client_limit_unit_lv' setting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-20* Added quick validation of guild emblems' bitmap format to prevent forged ↵ai4rei2-2/+32
emblems, that cause the client to crash, from being accepted (thx to sinya for a sample). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14937 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-19- Fixed some script typos (bugreport:4861, bugreport:5028).brianluau3-3/+3
- Fixed a typo in Blacksmith Quest (fixes issue 5012). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14936 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-16* Added -fno-strict-aliasing detection to configure.in (-fstrict-aliasing is ↵ai4rei3-0/+68
added through -O2), since the code is not aliasing safe and causes warnings with gcc. - This also fixes a missing line in the pre-built configure script (since r14870). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14935 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-11- Oh, forgot to make unitwarp support the mapname "this"Skotlex1-1/+8
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14934 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-11- Fixed the add_drop code breakage which ocurred after adding support for ↵Skotlex3-6/+10
SP_ADD_CLASS_DROP_ITEM. There's probably a bugreport for this, but the website is also broken currently :3 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14933 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-11* Added support for cash shop packets without kafra points for clients ↵ai4rei2-8/+33
2007-07-10aSakexe and older (bugreport:4701, related r10888 and r11548). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-10- added sending a dummy 0x08b9 packet in the char-server, required to ↵Skotlex4-0/+23
support clients from this year. - added a fix to status_heal to take into account that -int_max == int_max in some architectures, which leads to an infinite loop (bugreport:3410) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14930 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-10- Commiting a bunch of cleanups piled up from the past few weeks/months/years.Skotlex14-112/+116
- Updated unitwarp so that an id of "0" causes the script's rid to be warped. - Updated the Brasilis ontouchNPC warp command to use unitwarp instead. - Signum Crucis's duration is now specified in the skill_cast_db file - Updated @warp/@jump commands so that when an invalid tile is specified, a nearby cell is chosen (rather than using a map-wide random value) - The if(req.weapon) code was broken, since req.weapon is never "0" for a skill. Updated the code so that the requirement of '99' (any weapon) is stored as 0, in order to make the checks effective. - Cleaned up the code for script command warpparty - Fixed the define itemdb_canrefine() - Cleaned up some the status_damage() function - Fixed map_random_dir(), which at times would pick cells that didn't preserve the required distance. - Some aesthetic code cleanups. - Fixed some possible crashes for skills where the code assumes the caster is a player. - Fixed a bunch of idiotic code-snippets that should have embarrassed whoever was responsible for them. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14929 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-09* Implemented remaining Brasilis NPCs.L0ne_W0lf20-90/+4952
* Added remaining database modifications for Brasilis. - Added the skills for the Brasilis monsters. - Added remaining entries for Bathroom Ghost quest. - Added stats for the Suspicious Hydra monsters. - Corrected the capture rate for Suspicious Hydra. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14928 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-07Minor item-related updates, and a couple quest database updates.L0ne_W0lf5-157/+216
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14926 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-08-06* Added missing fields to guild belong info packet 0x16c (ZC_UPDATE_GDID).ai4rei3-9/+14
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14925 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-31* Fixed quest saving checking only the first 3 objectives for changes ↵ai4rei2-2/+5
regardless of MAX_QUEST_OBJECTIVES (follow up to r14800, since r13973). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14924 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-22* CMake: Added options BUILD_TXT_SERVERS, BUILD_SQL_SERVERS, BUILD_MAPCACHE.flaviojs12-35/+54
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14921 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-21* Missing deletion from r14918.flaviojs1-1/+0
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14919 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-21* CMake: Only install template files if they don't already exist.flaviojs15-73/+256
* CMake: Added plugin targets. * CMake: Added options BUILD_* to build the converters and individual plugins. (default=OFF) * CMake: Added option WITH_CPACK for package creation. (default=ON) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14918 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-20* Made GCOLLECT use it's debug functions.flaviojs3-36/+48
* Turned off garbage collection for GCOLLECT since there's nothing to do with explicit frees. * Added malloc_verify_ptr/malloc_usage code for all memory libraries. * Added malloc_memory_check for debug purposes, tests memory for errors and memory leaks. * Added explicit memory check on malloc_final. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14917 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-20Removed malloc's Atomic (-A) function macros (see r968, changelog 01/20). ↵ultramage2-53/+6
They were specific to the GC allocator (atomic = promise to not have any pointers to other things inside = will be skipped during Mark phase), serving as a (dubious) optimization trick - which could cause GC to malfunction if used incorrectly. Simplified GC's CALLOC, since the GC docs say GC_MALLOC automatically clears memory. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14916 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-19* CMake: added option ENABLE_EXTRA_DEBUG_CODE.flaviojs2-6/+44
* CMake: added option ENABLE_PROFILER. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14915 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-19* CMake: added option ENABLE_MEMMGR. (builtin memory manager)flaviojs2-7/+81
* CMake: added option ENABLE_MEMORY. (memory library) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14914 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-19* Made NO_MEMMGR only be set as a default value, allowing for simultaneous ↵flaviojs5-81/+91
use with the memory libraries. * Moved memory library selection to malloc.c to avoid poisoning the namespace of the rest of the code. * Removed BCHECK code since it's unneeded. (bcheck is an external batch tool that runs on top of the dbx debugger) * Fixed GCOLLECT usage. (missing init and final memory leak check) * Fixed DMALLOC usage. (missing options on CYGWIN and verify memory) * Renamed malloc_verify to malloc_verify_ptr to avoid conflict with DMALLOC. * Changed itemtype from inline to static inline to avoid error with the SunOS compiler. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14913 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-18Updated dialog in monster_race.txtL0ne_W0lf3-1519/+1989
Minor dialog updates to Nidhoggr's Nest. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14912 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-16Of all the things to have typo'd...but hey, at least I'm consistent. I've ↵L0ne_W0lf2-1/+1
been spelling 'nest' as 'next' since I started working on it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14910 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-16* Have been working on this for months: Added Nidhoggr's Nest instance.L0ne_W0lf7-12/+2966
* Tweaks to how checkquest is used in orc's memory and sealed shrine. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14909 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-15* CMake: added tests for big endian, typecast to union and monotonic clock.flaviojs2-20/+128
* CMake: added 'have function' tests for setrlimit, strnlen, getpid and gettid. * CMake: added option ENABLE_RDTSC. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14908 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-15* Changed the warning message of when setrlimit fails to be more explicit.flaviojs2-2/+11
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14907 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-13Tweaked the sealed shrine entrance NPCs. Hopefully the damn thing works now.L0ne_W0lf4-110/+111
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14905 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-13* CMake: added search for ws2_32 library. (tested with MinGW/MSYS)flaviojs4-9/+13
* Added missing pcre library for MinGW. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14904 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-12* CMake: added search for math.h, added search for socket/nsl library. ↵flaviojs5-7/+46
(tested with Solaris-201011-x86) * Added missing include to socket.c. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14903 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-12* CMake: set project language to C, added module FindFunctionLibrary, added ↵flaviojs15-63/+128
search for dl library. (tested with debian-wheezy-i386) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14902 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-11* Added bonus3 bAddClassDropItem, care of Epoque.L0ne_W0lf16-1773/+2594
- Added several missing items to the item database, updated others. - Raised level 10 Dec. AGI to be level 48, when used by mobs. - Added missing mercenaries to the mercenary DB, and skills. - Added missing monster_chat_db entries for Nydhoggr's Shadow. - Added Brasilis pets to the pet DB, these pets are unhatchable on purpose. - Added additional quests to the quest_db, mostly for RE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14901 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-10* CMake: added txt-converter targets, added warning for 64bit, added list of ↵flaviojs16-184/+393
available targets. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14900 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-10* Changed limit definitions used in WBUF* and WFIFO* to the intended fixed ↵flaviojs4-63/+64
size alternatives. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14899 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-10reverting unintended change in r14897 (3rdparty line removed)flaviojs1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14898 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-10* CMake: lowered required version to 2.8.3 and moved custom cmake modules to ↵flaviojs7-4/+27
3rdparty/cmake. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14897 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-10* Temporary fix for bugreport:4961 (unintended conversion from signed to ↵flaviojs2-0/+12
unsigned). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14896 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-09* Added script command 'getmercinfo' for retrieving information about a ↵ai4rei3-1/+82
mercenary of an online character. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14894 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-09* CMake: added search for math library, made CPack existence optional, ↵flaviojs5-43/+54
updated the search for mysqlclient and corrected misspelled variables (tested with FreeBSD-8.2-i386) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14893 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-09* Removed duplicate entries for Gunslinger and Ninja in msg_athena.conf ↵ai4rei4-8/+8
(since r5506). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14892 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-07* Replaced compress/uncompress inline code (encode_zip/decode_zip) with the ↵ai4rei2-54/+4
respective zlib library calls while keeping 3rdparty calls inside common code (follow up to r14888, related r14808). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14891 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-07* CMake: normalized variable names, added ability to create a package/installer.flaviojs14-315/+206
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14890 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-07-06* CMake: src/common builds static libraries common_base/common_sql, that are ↵flaviojs14-437/+594
used as dependencies by the other targets. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14889 54d463be-8e91-2dee-dedb-b68131a5f0ec