summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-12* Fixed homunculus_autoloot not working with skill/item granted drops and ↵ai4rei2-5/+6
loot (bugreport:4452, since r12203). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14589 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-12* Fixed killed monsters were assumed to be killed by homunculus only, if no ↵ai4rei2-5/+13
damage log entries were elligible for exp distribution, even when no homunculus took part in damage dealing (bugreport:4452, since r12203). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14588 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-12* Added enumeration for monster damage log field 'flag'.ai4rei5-12/+22
* Corrected wording of the setting homunculus_autoloot (since r12203). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14587 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-12* Removed disabled backup of script command 'isequipped' (since r1605).ai4rei2-62/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14586 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-12* Made script engine's DEBUG_DISASM block use script_op2name, rather than ↵ai4rei2-37/+13
hardcoding operator names as per TODO from r13083 (related r9569, follow up to r10667). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14585 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-12* Cleaned up MOTD reading (related r292 and r4552).ai4rei3-34/+76
- Added a warning for common client crash caused by the sequence ' :' in MOTD. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14584 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-12* Fixed impossible condition in soundeffect script command (since ↵ai4rei2-4/+2
athena-dev-2.1.1-mod1046, related r5841). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14583 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-12* Updates to the playBGM functionality (since r14335).ai4rei5-38/+45
- Removed impossible condition in playBGM script command (from soundeffect). - Removed unused code (retrieving of a bl) in playBGMall (from soundeffectall). - Made playBGMall default to 'entire server' when both map name and coordinates are omitted instead of printing an error. - Updated documentation for playBGM and playBGMall to match actual behavior. - Removed unused parameter 'bl' in clif_playBGM. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14582 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-12* Fixed script command setd always assuming value parameter to be a string, ↵ai4rei2-5/+5
which causes hexadecimal and octal numbers not being handled properly (topic:261833, followup to r14577 and r14578). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14581 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-12* Removed `motd` from `ragsrvinfo` table in main.sql, missed in previous ↵ai4rei1-2/+1
commit (follow up to r14579). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14580 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-12* Updates to dynamic server information `ragsrvinfo` on SQL.ai4rei5-41/+18
- Fixed exp and drop rates (int) getting truncated (short) when sent to char-server. - Removed `motd` from `ragsrvinfo` as it is not dynamically changed by the server and as such can be read by 3rd party applications directly from conf/motd.txt if required. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14579 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-12- Fixed argument declaration of 'setd' (topic:261833, related r14573).brianluau1-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14578 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-11* Added support for checking argument data type of built-in script functions ↵ai4rei4-0/+105
(bugreport:1701, topic:261833, related r14573). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14577 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-11* Fixed error message in intif_parse_mercenary_received printing wrong ↵ai4rei2-2/+4
struct size (bugreport:4633, since r13116). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14576 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-11* Replaced buildin_getpartyname_sub, buildin_getguildname_sub and ↵ai4rei2-77/+57
buildin_getguildmaster_sub, which create only unnecessary overhead, with equivalent inlined code. - Fixed a memory leak in getguildmasterid, when the guild leader was not online (bugreport:2743). - Command getguildmasterid no longer requires the guild leader to be online. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14575 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-11* Fixed bAutoSpellOnSkill bonuses not working independently of each other ↵ai4rei2-7/+2
(bugreport:4617, since r13596, related r14536). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14574 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-10* Revised argument declaration of all script commands according to the ↵ai4rei5-65/+70
actual functions' argument usage. - Fixed many script commands with fixed amount of optional parameters to no longer accept any amount of arguments (faulty declaration). - Corrected use of dummy parameter for guildopenstorage in scripts. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14573 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-10* Applied update to charhelp.txt provided by EvilPuncker to match current ↵ai4rei2-23/+25
charcommand behavior (bugreport:4632, follow up to r13403). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14572 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-09* Removed some of the duplicate, storage-related packet code.ai4rei5-136/+23
- Removed clif_guildstoragelist and adjusted clif_storagelist to be able to handle any kind of storage. - Removed clif_guildstorageitemadded in favor of clif_storageitemadded. - This also fixes clif_guildstorageitemadded sending old update packet for clients prior 20090603, although packet 0x1c4 (ZC_ADD_ITEM_TO_STORE2) was added before PACKETVER 5 (before 2003-11-03aSakexe, exact addition date unknown) (since r14286). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14571 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-08* Applied some script command documentation updates and fixes as already ↵ai4rei2-139/+134
done inside the wiki. - Updated description for 'next', 'return', 'attachrid', 'detachrid', 'itemskill', 'openstorage', 'skilleffect', 'donpcevent', 'day', 'night', 'atoi' and 'axtoi' to resolve inaccuracies, missing information or unverified behavior. - Clarified the purpose of the 'jump_zero' and 'getelementofarray' script commands. - Fixed 'changebase' stating, that it only works in item scripts (since r2402). - Fixed 'kickwaitingroomall' stating, that it is not properly linked into the script engine, thus not working (since r13732). - Updated the description for 'cutin' so that it does not give the impression, that the client is able to display multiple illustrations at once, and being less confusing about the maximum size of illustrations. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14570 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-08* Fixed txt-converter-login was no longer compilable with supplied ↵ai4rei5-0/+21
project/make files, due to missing reference to function exists in utils.c (bugreport:4626, since r14528). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14569 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-07* Applied svn:eol-style to VS2010 project files (follow up to r14562).ai4rei12-1937/+1938
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14568 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-07* Reverted r14563, due to multiple issues which render the source ↵ai4rei41-415/+416
malfunctioning or uncompilable. To be redone later (bugreport:4627). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14567 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-07Removed unnecessary reference operator from scanf calls passing character ↵Paradox924X2-3/+4
strings as arguments in adduser tool. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-07Revert of r14564. The value wasn't an arbitrary account id but rather the ↵Paradox924X2-0/+3
file format version. Added comment specifying this. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-07Removed arbitrary account id from atop account.txt (Since r13000).Paradox924X2-1/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14564 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-07Changed almost all instances of sprintf() to snprintf().Paradox924X41-415/+416
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14563 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-07Added Visual Studio 10 project files.Paradox924X11-0/+1947
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14562 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-07* Further corrections to doc/item_bonus.txt (bugreport:4624).ai4rei2-7/+22
- Added documentation for bUnbreakableGarment, bUnbreakableWeapon, bUnbreakableArmor, bUnbreakableHelm, bUnbreakableShield, bUnbreakableShoes, bBreakWeaponRate and bBreakArmorRate (follow up to r485, r915, r1116, r13819). - Fixed bIgnoreDefEle having race constants listed instead of element constants (since r12804). - Fixed bUnstripable* not mentioning, that the bonus parameter is meaningless (follow up to r1382). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-06* Corrected description for bonuses bHealPower and bHealPower2 stating skill ↵ai4rei2-3/+5
names being supported, although the bonus does not accept 'skill' as parameter (bugreport:4619, since r13821). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-06Added support for bonus bAddItemHealRate, which works for all healing items ↵L0ne_W0lf7-5/+19
care of Epoque. Updated some items to use bonus bAddItemHealRate, and healpower2. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14559 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-05* Fixed party booking search increasing result counter, even when no results ↵ai4rei2-1/+6
were found, causing crashes from r14516 onwards (bugreport:4615, since r14412). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14558 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-03* Fixed soul linkers not receiving taekwon angel buffs upon level up ↵ai4rei2-1/+2
(bugreport:3585, since r3657 and r3660, related r6294). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14556 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-03Corrected incorrect bonuses relating to bAddMonsterDropItem/Group. ↵L0ne_W0lf7-380/+413
(burgerport:4569) Updated the IG_Ore, IG_Food, IG_Recovery and IG_Jewel item groups to official items/rates. As a result bAddMonsterDropItemGroup now uses the highest rate in group as it's base rate. Updated instances with more proper English, care of Resplendent. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14555 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-03* Corrected 'chance' in description for bonuses bAddMonsterDropItem and ↵ai4rei2-6/+7
bAddMonsterDropItemGroup (bugreport:4063, partially since r1572). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14554 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-03* Removed leftovers of the item_value_db.txt feature (bugreport:2031, since ↵ai4rei6-19/+7
athena-dev-2.1.1-mod377, followup to pre-svn 2004/05/29). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14553 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-03Updated some more cash shop boxes to use rentitem instead of getitem.L0ne_W0lf9-59/+109
Added mercenary skills for Mimic, Disguise, Alice, Doppelganger, and Egnigem. Removed duplicate NPCs in Lighthalzen and Morroc. (bugreport:4555) Corrected typo (Sit -> Suit) in enhcant_arm NPC. (bugreport:4586) Corrected a typo in the christmas_2008 event. (bugreport:4600) Changed which White Lady spawns in endless tower. (bugreport:4601) Also added Quest Log Entries to Endless Tower, please test. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14552 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02* Various code tweaks and updates related to item types.ai4rei7-12/+54
- Replaced item type literals with their appropriate constants. - Added itemdb_typename to replace the ugly "BUG!" filled array in @iteminfo (since r1741, follow up to r14550). - Made the item database parser verify item type for validity. - Added item type constants to const.txt for use in scripts (getiteminfo). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14551 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02* Added support for IT_CASH to @iteminfo, logging filters and item drop rate ↵ai4rei6-6/+10
adjustment. Added 'show_picker.item_type'-specific IT_CASH value to it's description (follow up to r14549). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14550 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02* Added item type IT_CASH (item type 18) Requires user confirmation before ↵L0ne_W0lf7-836/+844
using/generating item(s). * Updated the item types for several of the cash item boxes to 18. * Fixed the Exorcism_Bible bonus, missing {}'s for who knows how long. (bugreport:4342) * Updated Brasilis monsters stats again, care of Playtester. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14549 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02* Fixed mapflags not getting initialized upon @reloadscript (bugreport:2247, ↵ai4rei4-2/+22
since r1275). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02* Removed redundant check in food vs. cash food status change overriding ↵ai4rei2-24/+13
code, partially suggested by xazax (related r14437 and r14510). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14547 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02* Added an error message when a client connection exceeds the socket write ↵ai4rei2-0/+2
buffer, so that it does not appear to be closed for no apparent reason (follow up to r13469). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14546 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02* Random clif.c fixes and cleanups.ai4rei2-18/+32
- Fixed clif_homskillup using sd before nullpo check (since r9297 and r9307). - Merged code responsible for disabling pets in GvG and spawning them as per TODO (related r12002). - Fixed base and job exp not being sent to the client for new connections (follow to r14505). - Fixed Magnifier (item) and Identify (skill) attempting to identify an item, even when cancel is pressed, causing skill failed message. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02* Added defines for guild notice sizes (MAX_GUILDMES1 and MAX_GUILDMES2).ai4rei7-16/+21
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14544 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02* Added clif_starskill (packet 0x20e, ZC_STARSKILL) to host the packet ↵ai4rei3-37/+62
previously implemented by clif_feel_info, clif_hate_info, clif_mission_info and clif_feel_hate_reset (related r4352, r4375 and r9162). - This also fixes sd->bl.id being sometimes supplied for monster_id in this packet. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14543 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02* Various additions and updates to the comments and documentation of packets ↵ai4rei4-34/+83
in clif. - Renamed clif_01ac to clif_skillunit_update to make it look less 'mysterious'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14542 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02* Removed clif_weather_sub and clif_misceffect2 in favor of ↵ai4rei8-47/+21
clif_specialeffect_single and clif_specialeffect (all of them are ZC_NOTIFY_EFFECT2). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02Monsters spawned with mob-generating items now have MD_ANGRY applied to them.L0ne_W0lf2-1/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14540 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02* Added packet 0x1b1 (ZC_SHOWDIGIT).ai4rei3-0/+20
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14539 54d463be-8e91-2dee-dedb-b68131a5f0ec