8764 Commits

Author SHA1 Message Date
ai4rei
6cfbe77910 * Applied some script command documentation updates and fixes as already 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://svn.code.sf.net/p/rathena/svn/trunk@14570 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-08 23:41:55 +00:00
ai4rei
00a72ed8b9 * Fixed txt-converter-login was no longer compilable with supplied project/make files, due to missing reference to function exists in utils.c (bugreport:4626, since r14528).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14569 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-08 00:15:48 +00:00
ai4rei
437a082a1a * Applied svn:eol-style to VS2010 project files (follow up to r14562).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14568 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-07 20:10:53 +00:00
ai4rei
e26ea94a2f * Reverted r14563, due to multiple issues which render the source malfunctioning or uncompilable. To be redone later (bugreport:4627).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14567 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-07 19:45:24 +00:00
Paradox924X
45c05e45b7 Removed unnecessary reference operator from scanf calls passing character strings as arguments in adduser tool.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14566 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-07 19:24:03 +00:00
Paradox924X
f95546e131 Revert of r14564. The value wasn't an arbitrary account id but rather the file format version. Added comment specifying this.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14565 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-07 19:18:03 +00:00
Paradox924X
bece9eef66 Removed arbitrary account id from atop account.txt (Since r13000).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14564 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-07 19:06:48 +00:00
Paradox924X
ca53ef6f4a Changed almost all instances of sprintf() to snprintf().
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14563 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-07 18:38:03 +00:00
Paradox924X
f6d95be1f9 Added Visual Studio 10 project files.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14562 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-07 12:14:52 +00:00
ai4rei
eaa7afe00c * Further corrections to doc/item_bonus.txt (bugreport:4624).
- 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://svn.code.sf.net/p/rathena/svn/trunk@14561 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-07 10:02:35 +00:00
ai4rei
a6c1101658 * Corrected description for bonuses bHealPower and bHealPower2 stating skill names being supported, although the bonus does not accept 'skill' as parameter (bugreport:4619, since r13821).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14560 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-06 16:17:46 +00:00
L0ne_W0lf
013acf50b1 Added support for bonus bAddItemHealRate, which works for all healing items care of Epoque.
Updated some items to use bonus bAddItemHealRate, and healpower2.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14559 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-06 00:15:16 +00:00
ai4rei
c1151a7ee3 * Fixed party booking search increasing result counter, even when no results were found, causing crashes from r14516 onwards (bugreport:4615, since r14412).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14558 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-05 00:00:37 +00:00
ai4rei
2e82e68ce9 * Fixed soul linkers not receiving taekwon angel buffs upon level up (bugreport:3585, since r3657 and r3660, related r6294).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14556 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-03 17:27:07 +00:00
L0ne_W0lf
d68eeba638 Corrected incorrect bonuses relating to bAddMonsterDropItem/Group. (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://svn.code.sf.net/p/rathena/svn/trunk@14555 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-03 16:14:07 +00:00
ai4rei
d3773c0b51 * Corrected 'chance' in description for bonuses bAddMonsterDropItem and bAddMonsterDropItemGroup (bugreport:4063, partially since r1572).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14554 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-03 09:59:34 +00:00
ai4rei
5cfc017080 * Removed leftovers of the item_value_db.txt feature (bugreport:2031, since athena-dev-2.1.1-mod377, followup to pre-svn 2004/05/29).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14553 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-03 09:15:29 +00:00
L0ne_W0lf
e4ae836f44 Updated some more cash shop boxes to use rentitem instead of getitem.
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://svn.code.sf.net/p/rathena/svn/trunk@14552 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-03 02:24:34 +00:00
ai4rei
cd78795961 * Various code tweaks and updates related to item types.
- 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://svn.code.sf.net/p/rathena/svn/trunk@14551 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02 22:33:32 +00:00
ai4rei
df41665d39 * Added support for IT_CASH to @iteminfo, logging filters and item drop rate adjustment. Added 'show_picker.item_type'-specific IT_CASH value to it's description (follow up to r14549).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14550 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02 20:44:38 +00:00
L0ne_W0lf
28e4aaf123 * Added item type IT_CASH (item type 18) Requires user confirmation before 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://svn.code.sf.net/p/rathena/svn/trunk@14549 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02 19:23:32 +00:00
ai4rei
4ac5525eb8 * Fixed mapflags not getting initialized upon @reloadscript (bugreport:2247, since r1275).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14548 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02 18:50:34 +00:00
ai4rei
081db1deb2 * Removed redundant check in food vs. cash food status change overriding code, partially suggested by xazax (related r14437 and r14510).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14547 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02 17:20:47 +00:00
ai4rei
ff135c1ee5 * Added an error message when a client connection exceeds the socket write buffer, so that it does not appear to be closed for no apparent reason (follow up to r13469).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14546 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02 16:40:44 +00:00
ai4rei
fc662a0020 * Random clif.c fixes and cleanups.
- 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://svn.code.sf.net/p/rathena/svn/trunk@14545 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02 14:58:34 +00:00
ai4rei
f9bdaf5426 * Added defines for guild notice sizes (MAX_GUILDMES1 and MAX_GUILDMES2).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14544 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02 14:17:07 +00:00
ai4rei
ce93557473 * Added clif_starskill (packet 0x20e, ZC_STARSKILL) to host the packet 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://svn.code.sf.net/p/rathena/svn/trunk@14543 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02 13:56:19 +00:00
ai4rei
10638473e4 * Various additions and updates to the comments and documentation of packets in clif.
- Renamed clif_01ac to clif_skillunit_update to make it look less 'mysterious'.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14542 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02 13:06:00 +00:00
ai4rei
c8cae9e659 * Removed clif_weather_sub and clif_misceffect2 in favor of clif_specialeffect_single and clif_specialeffect (all of them are ZC_NOTIFY_EFFECT2).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14541 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02 12:08:44 +00:00
L0ne_W0lf
521a0280af Monsters spawned with mob-generating items now have MD_ANGRY applied to them.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14540 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02 05:09:45 +00:00
ai4rei
a313575e51 * Added packet 0x1b1 (ZC_SHOWDIGIT).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14539 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-02 00:02:55 +00:00
ai4rei
ca36918486 * Confirmed packet 0x291 (ZC_MSG) to be general-purpose msgstringtable.txt packet and updated all functions using it (related r12245 and r13126).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14538 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-01 23:59:10 +00:00
ai4rei
5c84df6a15 * Fixed using main chat nick longer than 15 characters would cause a buffer overflow (bugreport:2671, since r5013).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14537 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-01 20:57:47 +00:00
ai4rei
0b5563ac28 * Fixed bAutoSpellOnSkill bonuses could not be chained (bugreport:4421, since r13596).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14536 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-01 18:36:27 +00:00
ai4rei
9808dfb86b * Fixed NPC_TALK message being displayed with EOL character attached (bugreport:4596, since r14270).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14535 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-01 17:07:14 +00:00
ai4rei
459d8fd961 * Reverted change from r14533 and restored the 3rd field of mob_avail.txt being optional (bugreport:4599, since r14532).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14534 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-01 15:48:59 +00:00
ai4rei
fe818bf27a * Updated example in mob_avail.txt to match the format description and actual implementation (bugreport:4599, follow up to r14532).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14533 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-01 15:09:47 +00:00
ai4rei
0781024807 * Monster database reading now utilizes sv_readdb.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14532 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-12-01 10:18:57 +00:00
ai4rei
279ea12459 * Fixed out-of-bound access to percentrefinery array causing refine bonuses stop working (bugreport:4598, since r14526).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14531 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30 22:18:30 +00:00
ai4rei
cc4608e666 * Fixed class being used instead of idx in status_readdb_job2 (bugreport:4597, since r14526).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14530 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30 21:57:42 +00:00
ai4rei
947d2c8ae4 * Fixed a mistake (excess dummy name) in dead branch list fallback value (since r32).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14529 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30 20:19:39 +00:00
ai4rei
c792e189e4 * Moved function 'exists' (file presense check) to utils.c, so that it is available to code outside of lock.c
- Fixed associated F_OK and R_OK defines causing 'already defined' warnings on MinGW (since r1361).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14528 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30 18:02:54 +00:00
ai4rei
df022f175d * Resolved missing script documentation (bugreport:4578).
- Added documentation for bonus bAutoSpellOnSkill (follow up to r13596).
- Added documentation for script command progressbar (follow up to r14024).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14527 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30 15:42:39 +00:00
ai4rei
91aee9b80c * Made job_db1.txt, job_db2.txt, size_fix.txt and refine_db.txt reading use sv_readdb.
- NOTE: Any MAX_LEVEL (map.h) increase requires at least same increase of SV_READDB_MAX_FIELDS as well.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14526 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30 12:40:36 +00:00
ai4rei
739d77f80f * Added SV_READDB_MAX_FIELDS define for configuration of the sv_readdb limit.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14525 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30 12:08:39 +00:00
ai4rei
cbc43338bf * Made skill_tree.txt reading use sv_readdb. [Ai4rei]
- Added define for skill entry requirements.
- Reports duplicate skills within same job class.
- Updated comments for skill Berserk in skill_tree.txt, among others because they would cause errors the way they are read now.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14524 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30 08:55:22 +00:00
ai4rei
6cb2c681c9 * Added a define for star gladiator feel/hate info array length (follow up to r8721 and r11840).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14523 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30 08:25:03 +00:00
ai4rei
72c5290837 * Fixed script command getusers causing 'player not attached' errors when asking for character count in entire server (bugreport:4591, since r14495).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14522 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-30 06:49:51 +00:00
ai4rei
c634198301 * Resolved issues with item delay system.
- Fixed random crashes caused by map_session_data corruption due to out-of-bounds access to item_delay array (bugreport:4568, since r14455).
- Fixed item delay database not being compatible with @reloaditemdb. Item delays are now reset upon reloading, much like a restart would do (bugreport:4589).
- Fixed trailing commented lines in db/item_delay.txt could cause 'too many entries' error to be displayed.
- Fixed last entity of a cash food item not being recognized as cash food, thus not receiving use delay, due to access to deleted inventory slot (since r14426).
- These changes also fix a warning regarding variable 'i' in pc_useitem being potentionally uninitialized (bugreport:4559).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14521 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-29 19:55:47 +00:00
ai4rei
b870941ee0 * Insignificant code tweaks: removal of excess function declarations and self assignments.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@14520 54d463be-8e91-2dee-dedb-b68131a5f0ec
2010-11-29 11:28:13 +00:00