summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-12-26* Merry Christmas eAthena!SketchyPhoenix1-1/+48
* Exp modifiers based off player/mob level difference. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14625 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Fixed script command getusers causing map server to crash when called with ↵ai4rei1-6/+31
type 0 without attached character (bugreport:4565). - Lack of character is now reported like other script commands do. Additionally invalid types are reported as well. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14495 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Labels longer than 23 characters will no longer cause the server to exit ↵ai4rei1-9/+10
immediately (bugreport:4563, since r1213). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14494 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Various small cleanups.ai4rei3-47/+113
- Fixed truncation warnings in @statuspoint, @skillpoint and @str/@agi/@vit/@int/@dex/@luk (since r14436). - Fixed data type inconsistency in @statuspoint and @skillpoint (since r5762, related r13541). - Silenced truncation warnings in CR_ACIDDEMONSTRATION damage calculation and cardfix application (since r13700). - Reformatted unit_blown to make it look cleaner (follow up to r14492). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14493 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Added script command pushpc, which is required by newer scripts.ai4rei4-39/+90
- Moved knockback-part of skill_blown into unit_blown, to allow unconditional knockback required by pushpc without copy-pasting code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14492 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-23* Fixed map-server displaying 'PK Mode' notice only for pk_mode 1 (since r8402).ai4rei1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14491 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* Fixed Rogue skill Steal Coin working on boss monsters (bugreport:2442).ai4rei1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14489 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* Fixed disguising as player clone causing the client to crash while looking ↵ai4rei1-2/+2
for non-existing NPC sprites (bugreport:4428, since r14387, related r14383). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14488 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* Fixed guild and guild member exp truncation issue (bugreport:4130, since ↵ai4rei10-46/+46
r14242). - Fixed guild member position, hair, hair color, gender, class and level could potentially become corrupted due to shorts being read as ints (partially since r2986). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14487 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* Fixed saving/loading errors with compilers (such as VC6, MinGW), which do ↵ai4rei2-4/+4
not recognize %ll format (since r14242). - This also fixes guild leader name being displayed and saved as "(null)" in the guild member list. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14486 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* Fixed map server getting notified of hair, hair color, gender, class and ↵ai4rei1-1/+2
level changes from a char server (TXT only) twice (since r2986). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14485 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* Fixed a crash when shutting down char-server (TXT only), after it failed ↵ai4rei1-4/+10
to load storage save data (since r1275). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14483 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-22* mail_deliveryfail no longer attempts to log (since r12910) and give items ↵ai4rei1-5/+8
(since r11855), when there is no item attached to the mail (bugreport:3239). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14482 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-21* Added enumeration RC2_* for mob data 'race2' (bugreport:4561).ai4rei5-6/+17
- Fixed race2-related bonus arrays using RC_MAX, rather than race2 maximum (since r6221, related r1277). - Fixed bSubRace2 lacking bounds check (since r1257). - Fixed bSubRace2 being documented as bSPSubRace2 (since r1257). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14480 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-21* Added 64-bit variants of the socket and buffer I/O macros.ai4rei1-0/+4
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14479 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-21* Added msinttypes (rev. 26, http://msinttypes.googlecode.com/svn/trunk/) ↵ai4rei1-5/+8
portability framework for Visual C++ compilers (related bugreport:4059). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14478 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20* Made atcommand declarations use ACMD_FUNC macro (bugreport:4252, related ↵ai4rei1-225/+225
r11607). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14477 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20* Fixed login-server account engine initialization not getting checked, ↵ai4rei2-7/+11
whether it succeeds or not (bugreport:4361, since r12700, related r13000). - Failure to retrieve account engine and initializing it is now considered fatal and causes the server to exit immediately. - Fixed two data type inconsistencies, while being at it. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14476 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20* Fixed @doom and @doommap spamming packets for the visual effect on invoker ↵ai4rei1-2/+2
unnecessarily over whole map and server respectively. The effect is now displayed on each killed character (bugreport:871, since r311). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14475 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20* Fixed a crash when SqlStmt_ShowDebug is given NULL pointer as statement ↵ai4rei1-1/+1
handle (since r10753, related r10818). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14473 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20* Removed ; from INTPTR_* defines (since r13449).ai4rei1-5/+5
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14472 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20* Fixed pc_marriage not checking spouse character job for baby class.ai4rei1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14471 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-20* Made script command getmapxy print a warning, if an invalid type is ↵ai4rei1-0/+4
supplied (related r69, r8459). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14470 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-19* Fixed WFIFOL being used instead of WFIFOW for a short field of packet ↵ai4rei2-2/+2
0x2710 (bugreport:2819). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14468 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-19* Fixed plug-in version getting checked against itself and a wrong operator ↵ai4rei1-2/+2
being used for the check (bugreport:3952, since r9631). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14467 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-19* Various VC6-related fixes and tweaks. [Ai4rei]ai4rei4-21/+26
- Fixed a typo in VC6 project files, that prevented login-server from compiling (bugreport:4061, since r12727). - Fixed usage of 'long long' in Sql_P_BindSqlDataType preventing SQL VC6 projects from compiling (bugreport:1741, since r10779). - Fixed usage of 'long long' in strtoull preventing VC6 projects from compiling (bugreport:4059, follow up to r14245). - Made strtoull default to base 10 and actually process base 8, to match the normal behavior of this function (bugreport:4059, follow up to r14245). - Fixed functions in db.c not being returned as pointer, causing warnings on VC6. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14466 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-17Added a missing argument to a warning containing a format specifier.Paradox924X1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14465 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-16Follow-up to r14456. Default initialize atk_rate to 0 instead of 100 to ↵Paradox924X2-5/+6
match new effect of bonus bAtkRate. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14464 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-14* Updated quest_read_db. Might need reviewing. ;-;L0ne_W0lf2-2/+8
- Reports entries when read by server at start up like other DBs. - Will now skip blank lines instead of reporting false errors. - Will report when entries are > MAX_QUEST_DB. * Updated quest and item DB with Eden Group information. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14463 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-13- Fixed a typo in abra_db.txt (bugreport:4548)brianluau1-12/+9
- Fixed a weight check in Level 4 Weapon Quest. (bugreport:4533) - Removed a duplicate if() in battle.c, follow up to r14381. (bugreport:4549) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14461 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-10Changed the check prior to adding to the attack rate so it ensures the value ↵Paradox924X1-1/+1
is non-zero instead of not 100. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14457 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-10Made bAtkRate add the rate rather than setting it. (bugreport:4499)Paradox924X1-1/+1
Warning: This will break backwards compatibility for item scripts which rely on the previous effect for this (although most people assumed it added, as described in the bonus doc). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14456 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-10Added an item_delay database usable for item-specific use delays.Paradox924X4-4/+76
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14455 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-10Use packet 0xe7 instead of 0x1f5 within clif_tradestart() when there is no ↵Paradox924X1-16/+13
trade_partner (or an invalid one) specified even for PACKETVER >= 6. (bugreport:4544) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14454 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-09Follow-up to r14368. Load last_map from SQL on char load so the information ↵Paradox924X1-2/+5
is available during char select for PACKETVER > 20100721. Patch based on Ai4rei's. (bugreport:4429) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14453 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-08Notify players involved in a trade that it has been canceled when one player ↵Paradox924X1-1/+5
changes maps/logs out or otherwise becomes unable to participate in the trade. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14452 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-08Send the actual level of the person you're trading with rather than limiting ↵Paradox924X1-2/+2
it by the max_lv/aura_lv settings. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14451 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-07'Exp gained' packets are now sent regardless of @showexp. @showexp can be ↵Gepard1-7/+6
enabled regardless of PACKETVER. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14450 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-07Applied clif_equiplist fix by Ai4rei to prevent client crash when equipment ↵Gepard1-0/+6
is broken/repaired and PACKETVER >= 20100629. Follow-up to r14368. (bugreport:4459) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14449 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02Fixed an issue where two ushorts were being strcmp'd. Follow-up to r14442. ↵Paradox924X1-1/+1
(bugreport:4523) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14443 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02Ensured character data is saved even when last map is the only value that ↵Paradox924X1-0/+1
has changed during save time. (bugreport:2218) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14442 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02Applied fix by Ai4rei to reintroduce mapName within charinfo packet when ↵Paradox924X2-2/+2
PACKETVER >= 20100803. Follow-up to r14432. (bugreport:4413) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14440 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02Applied patch by xazax to clean up various bits of code across mapserver ↵Paradox924X7-29/+8
code. (bugreport:4512) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14438 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02Changed Normal and Cash Food statuses so they do not stack and overwrite the ↵Paradox924X1-0/+96
other if the level (val1) is the same or higher. (bugreport:4519) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14437 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-02Modified certain atcommands to use 64 bit arithmetic before capping a value ↵Paradox924X1-3/+3
to correct boundary logic for overflowing values. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14436 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-21 * Removed unused 'indoors' mapflag (follow-up to r3729).Gepard4-10/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14434 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-17Fixed wrong char info packet size for clients after 2010-07-27 (follow-up to ↵Gepard2-2/+2
r14368). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14432 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-13Prevented direct transformation into dummy jobs via @jobchange command. ↵Paradox924X1-14/+16
(bugreport:4227) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14429 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-13Prevented @stpoint and @skpoint from causing overflows.Paradox924X1-2/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14428 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-10-11Implemented official cash food behavior, including use delay, not being ↵Paradox924X8-35/+91
dispelled (including on death), distinct status effects and icons from the ordinary food types. Updated items accordingly. (bugreport:2560) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14426 54d463be-8e91-2dee-dedb-b68131a5f0ec