summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-05-29* Fixed bonus 'bHPDrainValue' on left hand would work as right hand bonus, ↵ai4rei2-2/+4
when specified with 'bonus' rather than 'bonus2' (bugreport:4939, since r6221). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14834 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-24- Fixed a possible exploit in guild castle investment. (bugreport:4929, ↵brianluau12-33/+226
topic:272783) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14833 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-24- Fixed some bugs in Cursed Spirit quest. (bugreport:4926)brianluau1-3/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14832 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-23* Changed enumerating defines into enumerations (related topic:264007).ai4rei9-93/+120
- Minor fixups on few macros. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14831 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-22- Fixed a typo in eA Job System documentation.brianluau3-4/+4
- Fixed some bugs in Cursed Spirit quest. (bugreport:4914, bugreport:4917) - Changed <dir> in movenpc to wrap around if the number is < 0 or > 7. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14830 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-18Quick fix to Venom Splasher's Poison React bonus, 30% -> 20%, based on aegis ↵ultramage1-1/+1
(bugreport:230). Initially eA used 20%, then it got removed in r10907 due to incorrect info, and was added back in r11494 as 30% (no idea where I got that number from >.>). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14829 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-17* Fixed Super Novices could not be adopted (bugreport:4907, since r12389).ai4rei2-1/+2
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14828 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-17* Improved error reporting during monster database and spawn data reading.ai4rei3-20/+27
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14827 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-15* Extracted calculations of the number of status points PC gets when ↵Gepard4-13/+22
leveling up to a function. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14825 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-15* Removed status point calculations (duplicate) from `pc_resetstate` ↵Gepard4-35/+51
function. It is now handled by `pc_need_status_point`. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14824 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-15* Merged pcdb_checkid update from renewal [14810/branches/renewal].ai4rei2-1/+7
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14820 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-14* Moved bitfield 'boss' inside 'spawn_data' and 'mob_data' into the ↵ai4rei6-8/+9
respective state struct (from r13813, follow up to r14795). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14818 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-14* Some NPC event related cleaning.ai4rei10-43/+51
- Made event label deprecation message a warning rather than an error, as the scripts still work regardless of whether '::On' is used or not (since r6592). - Introduced constant EVENT_NAME_LENGTH (51) for all event name struct fields to eliminate size inconsistency across all objects (was 50 and 51). - Fixed event names, that are considered special attributes, were not wiped when the value was 0 (since r5707). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14817 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-14* Removed impossible condition in mob_parse_dataset as spawn_data::eventname ↵ai4rei2-5/+2
was/is the same size as mob_data::npc_event (since r5707). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14816 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-14* Fixed map-server printing deprecation message, when monster event label ↵ai4rei5-5/+24
was used as transport for special attributes (small/large monsters etc.) in script command 'monster' and related commands (bugreport:1274, since r6592, related r5707). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14814 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-14* Random accumulated bits and pieces.ai4rei14-19/+120
- Added checks/warnings to pc_paycash and pc_getcash (follow up to r12264). - Added missing packet_db.txt and packet length table entries for packet 0x0859 (follow up to r14799). - Added set of map_id2xx wrappers for map_id2bl for most common map objects, which return NULL when the bl-type is not the expected one (also updated map_id2nd to behave this way). - Fixed missing ',' in mob_skill_db.txt example (follow up to r14270). - Updated mapcache with recent maps (up to que_lhz). - Functions 'msg_txt' and 'job_name' now return a const pointer. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14813 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-14* Added settings 'cashshop_show_points' and 'mail_show_status', both ↵ai4rei7-8/+39
disabled by default, as the messages they control are custom (follow up to r11548 and r12264). - Moved custom cash point update messages to 'msg_athena.conf' (IDs 504~506). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14812 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-08* Script command 'query_logsql' now throws a warning when SQL logs are ↵ai4rei2-0/+8
disabled (related r11892). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14811 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-08* Updated/revised description of instance-related script commands ↵ai4rei4-40/+89
(bugreport:4880). - Fixed 'instance_create' would return -4 (party already instancing) when the requested party was not found. - 'instance_create' return value -2 now means 'party not found' rather than 'missing parameter'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14809 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-01* Removed functions 'decode_zip' (ancient) and 'encode_zip' (from r824) from ↵ai4rei5-73/+8
grfio. These were outdated copies of zlib's 'uncompress' and 'compress' respectively (related r1530 and r5152). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14808 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-05-01* Removed auto-add feature from mapindex code, as map indexes are used for ↵ai4rei3-13/+2
save data, thus need to be constant across server starts (since r4726). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14807 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-28* Fixed @makehomun not checking for existing homunculus properly and thus ↵ai4rei2-1/+2
allowing to create a homunculus when one is already present but inactive (bugreport:4879, since r10272). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14806 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-28* Code cleaning and reformatting in functions responsible for sending guild ↵ai4rei2-24/+27
expel information packets (follow up to r14718 and r14804). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14805 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-28* Updated packet 0x163 (ZC_BAN_LIST) to reflect change in packet layout ↵ai4rei2-5/+15
introduced with 2010-08-03aRagexeRE (bugreport:4881, follow up to r14718). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14804 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-28* Fixed formatted broadcast messages not working with 2010-11-24aRagexeRE ↵ai4rei2-5/+2
and later (bugreport:4872, since r14120). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14803 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-27* Fixed description for script command 'itemheal' claiming, that this ↵ai4rei2-10/+10
command is responsible for potion visual effects which it is not (item-use causes the client to display these) (since r2397). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14802 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-21* Extended debugging code for bugreport:3504 (related r14599).ai4rei4-4/+30
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14801 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-20* Fixed quest_check checking exactly 3 quest objectives instead of ↵Gepard2-12/+10
MAX_QUEST_OBJECTIVES (since r13959). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14800 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-18* Updated packet for the view players' equip feature for ↵ai4rei2-27/+39
2010-11-24aRagexeRE+ and made it support robes (follow up to r14797). - Fixed spawn/walking packets using wrong variable for shifting buffer reference (since r14797). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14799 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-17* Fixed char-server missing some WFIFOHEAD (partially due to r10909 being ↵ai4rei3-0/+10
reverted by r11245, follow up to r9307 and r14618). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14798 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-16* Added support for visible garments/robes.ai4rei14-21/+122
- For SQL apply upgrade_svn14797.sql to upgrade table `char`; for TXT no action is necessary, as it upgrades itself. - This also fixes NPCs not being visible with clients 2011-01-11aRagexeRE+ (bugreport:4865). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14797 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-16* Updated field `weapon` in table `char` to default to '0' (bare-handed) ↵ai4rei3-1/+4
rather than '1' (knife) (follow up to r11696). - Apply upgrade_svn14796.sql to reflect the change on existing setups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14796 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-16* Some cleanups related to player and monster states.ai4rei11-120/+127
- Moved user_font and bg_id out of states as they are data, not states. - Reordered members of state structs so that bitfields are packed together (less memory gets wasted). - Other insignificant code tweaks. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14795 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-15* Fixed some `mob_db` columns being too small for currently used values ↵Gepard3-18/+18
(bugreport:4866, since r14727). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14794 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-13Added missing 0x369 packet.(info provided by Yommy)Inkfish2-0/+3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14793 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-10* Added more packets for clients 2010-11-23aRagexeRE+ provided by Shinryo.ai4rei2-1/+9
- Fixed missed updates for packet version bump in previous revision. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14792 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-10* Added support for clients 2010-11-23aRagexeRE+ and 2011-01-11aRagexeRE+.ai4rei5-3/+20
- Servers that used packet db version 'default' until now need to be updated to use version '25'. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14791 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-10* Fixed switching between musical weapons would cancel ongoing dance skills ↵ai4rei2-1/+2
(bugreport:4756, since r3538). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14790 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-10* Fixed @changegm not updating guild window interface after changing the ↵ai4rei2-2/+15
guild leader (bugreport:408, since r2622, related r3185). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14788 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-09* Moved duel code into a separate file.ai4rei19-188/+291
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14785 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-09* Added *.opt (VS6 workspace cache file) to svn:ignore.ai4rei1-0/+1
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14784 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-09* Changed pc_jobid2mapid to use a 1:1 mapping which is less prone to errors ↵ai4rei2-86/+85
and faster than the previous method (follow up to r14755). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14782 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-09* Fixed memory corruption when amount of players online approached ↵ai4rei2-4/+2
FD_SETSIZE (topic:262388, bugreport:4856, since r11897). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14781 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-08* Added missing Hair Dressers and Hair Dyer to Lighthalzen.L0ne_W0lf8-1477/+2671
- Hair Dresser will change hair styles ranging between 20 to 27 - Assistant Beautician changes to a random style and colour between 1-23. * Updated the Cursed Spirit quest, and added some more town NPCs. * Added more town NPCs to Splendide and Manuk. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14780 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-08* Fixed a compile error when socket send shortlists are disabled (s->eof ↵ai4rei2-1/+3
instead of s->flag.eof) (follow up to r11930). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14779 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-07* Fixed monster skill associated emotions were always ignored when having ↵ai4rei2-1/+2
less than three digits ( = all ) (bugreport:4842). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14778 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-07* Throwing around with packet updates.ai4rei3-55/+69
- Clarified the description for role-change chatroom packets 0xe0 (CZ_REQ_ROLE_CHANGE) and 0xe1 (ZC_ROLE_CHANGE). - Fixed auction window opening packet 0x25f (ZC_AUCTION_WINDOWS) had also a close button packet attached (since r12270). - Fixed auction search results packet 0x252 (ZC_AUCTION_ITEM_REQ_SEARCH) obtaining only a WFIFO buffer of 20 bytes, regardless of the amount of results (since r12301). - Fixed auction search result item type was .W instead of .L, which also eliminates the unknown field after it (since r12301). - Fixed an odd packet in clif_Auction_close, which is supposed to have layout of 0x25e, while using 0x25d as packet type (since r12323). - Resolved unconfirmed fields in clif_party_show_picker (follow up to r13987). - Updated packet layouts for auction in packet_db. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14777 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-06- Changed 'specialeffect' when <send_target> is SELF, it will display the ↵brianluau2-7/+19
effect to the attached RID (if there is one) instead of the npc. (topic:243842) - Changed 'movenpc' to accept an optional argument for direction. (topic:206973) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14776 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-06Added two new quests, Alberta Boy and Secret Note of Bazett.L0ne_W0lf4-73/+1798
Implemented 13.2 update to Report to the New World quest. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14775 54d463be-8e91-2dee-dedb-b68131a5f0ec
2011-04-06* Resolved some pc_setparam issues.ai4rei2-12/+35
- Fixed HP/MaxHP/SP/MaxSP could be set to arbitrary values, thus disregarding configuration limits and causing client crashes on certain conditions (bugreport:4177). - Fixed HP/SP not getting adjusted to MaxHP/MaxSP respectively, when the max. value is reduced below the value of the cur. value. - Fixed STR/AGI/VIT/INT/DEX/LUK values could be set beyond character's max. stat limit. - Fixed Gender not being limited to male/female. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14774 54d463be-8e91-2dee-dedb-b68131a5f0ec