670 Commits

Author SHA1 Message Date
Capuche
99769b8283 Update fallen angel wing item script (bugreport 9192)
Signed-off-by: Capuche <capucrath@gmail.com>
2014-08-09 21:51:11 +02:00
Cydh Ramdh
3fcc7e7f3a Follow up 7fd6776, update main.sql for buyingstores & vendings table following https://github.com/rathena/rathena/blob/7fd6776/sql-files/upgrades/upgrade_20140723.sql
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-08-03 06:11:03 +07:00
Euphy
42491cee08 A few item_db updates. (incl. bugreport:9171)
http://rathena.org/board/tracker/issue-9171-snowier-card/

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-07-30 01:11:31 -04:00
Cydh Ramdh
7fd6776194 - SC_BANANA_BOMB_SITDOWN & SC_SITDOWN_FORCE force player to wait unti duration ended before standing. (bugreport:9074) Confirmed by @raynra & reigneil
- Corrected check to finalizing vending/buyingstore autotrader datas, follow up 171e2f2. Thank Stingor
- Autotrade persistance updates: (suggestion from Napster)
--- Kicked player will be removed from vending or buyingstore table. This also avoid 'confusion' lookup when server restarted after the kicked player logged back and does autotrade.
--- feature.autotrade_direction, added -1 value to use last player's direction
--- feature.autotrade_head_direction, added for player's head direction
--- feature.autotrade_sit, added -1 value to use last player's condition (standing/sitting)
--- Please import/execute upgrade_20140723.sql

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-07-23 13:26:04 +07:00
nanakiwurtz
00ae0aea2f Merge pull request #82 from nanakiwurtz/master
Item DB update (Bug Report #009132)
2014-07-14 23:37:18 +07:00
nanakiwurtz
455ba33ca7 Item DB update (Bug Report #009132)
Thanks to rayn
2014-07-14 23:14:16 +07:00
nanakiwurtz
b5b25a82bb Merge pull request #81 from nanakiwurtz/master
Item DB update
2014-07-13 12:53:22 +07:00
nanakiwurtz
c9519b0bad Item DB edit (Bug Report #009100)
Thanks to rayn & Capuche

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2014-07-13 12:47:11 +07:00
Cydh Ramdh
a8f239fc88 Bug Fixes:
- Client stuck while deleting char (bugreport:9101), thank leke
- Wrong check at pc_is_same_equip_index() triggers double damage for two-handed weapon (bugreport:9124), thank Myskelz & Anacondaqq
- Follow up 3d27b7e, Item avail check for npc_cashshop_buy() (bugreport:9122), thank Napster
- Missing enum 'K' for LOG_TYPE_BANK at `zenylog` (bugreport:9122), thank Napster

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-07-13 12:46:41 +07:00
nanakiwurtz
48ba55ed63 Item DB update
Thanks to Skorm, Cydh, Ziu
2014-07-09 02:52:42 +07:00
Cydh Ramdh
462b2bebdb * Bug Fixes:
-- Added itemstack check when init autotrader (bugreport:9077)
-- 'getitem' issue, gave unidentified item (bugreport:9075), follow up 62a2813
-- Invalid Def & Mdef reduction of SC_ARMORCHANGE & duration (NPC_STONESKIN & NPC_ANTIMAGIC), should be percentage (bugreport:9076)
-- Invalid Effect duration & Reflect chance of SC_MAGICMIRROR (NPC_MAGICMIRROR)
-- Wrong usage of script_isstring() for script commands: addspiritball, delspiritball, & countspiritball
* Misc:
-- Moved mail send progress to mail.c mail_send() from clif.c clif_parse_Mail_send()
-- Moved hardcoded flood protection when send a mail to 'mail_delay' in misc.conf

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-07-01 16:29:19 +07:00
aleos89
62a2813adc Bug Fixes
* Fixed Concentration ending when Frenzy is used. (bugreport:8942)
* Fixed Hells Plant hitting Ghost element enemies. (bugreport:8799)
* Forced guild notice changes to save immediately. (bugreport:8961)
* Fixed Cart Tornado damage formula. (bugreport:9065)
* Adjust Amistr's Castling to now switch to any target type. Still needs skill switching support. (bugreport:1784)
* Removed hard coded 1 second skill duration reduction for Spore Explosion.
* Fixed the party window not displaying the correct map name when in an instance. (bugreport:7949)
* Fixed hatching a pet causing client disconnections. (bugreport:9059) (Hercules 533ff4f)
* Updated Kagerou/Oboro skill cast times. (bugreport:9035)
* Removed deprecated negative nameid value for getitem/getitem2.
* Renamed incuvate to incubate throughout source and SQL.
* Added skill ID to the error display for battle_calc_attack to help resolve issues. (bugreport:8876)
* Cleaned and corrected some Sorcerer Elemental skills. (bugreport:9058)
* Cleaned up some more compile warnings.
2014-06-27 15:45:35 -04:00
nanakiwurtz
34efce56c5 Item DB updates:
-- kRO 2014-05-28
Thanks to Cydh

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2014-06-19 09:59:56 +07:00
Cydh Ramdh
8cb97785c2 Follow up https://github.com/rathena/rathena/commit/98c6aee#commitcomment-6679748 Thank @CairoLee (err, messed up D:)
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-18 04:09:10 +07:00
Cydh Ramdh
98c6aee157 Follow up 7cd82d0, bugreport:9041
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-16 17:10:50 +07:00
aleos89
42b29ee81e Follow up to 7cd82d0.
- Fixed SQL queries to convert CARD0_PET to positive value before adjusting table to avoid setting the value to 0.
- Thanks to Cydh.
2014-06-12 12:38:46 -04:00
aleos89
7cd82d00db Increased item ID array size.
- Increased limit from 32,767 to 65,535.
- Still uses same amount of memory with doubled usable size.
- Adjusted CARD0_PET from -256 to 256.
- Please run both SQL files after applying this update to avoid values becoming corrupt.
- Tested and works on clients 2012-04-10 and up thanks to Cydh.
- Removed an unused SQL file.
2014-06-12 11:29:10 -04:00
Cydh Ramdh
efdca3e25d Follow up cc499e8
some files not selected in previous commit. :P

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-09 22:11:46 +07:00
Cydh Ramdh
cc499e80b2 Item sql update, follow up 70a6564 & bugreport:9018
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-09 22:05:32 +07:00
Cydh Ramdh
516a094a0c DB Updates for last kRO patch on 2014-05-28. Thank Ziu for the translation files
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-01 17:36:48 +07:00
Cydh Ramdh
28c90bb841 * Item DB Updates:
-- kRO 2013-09-25
-- kRO 2013-10-23
-- kRO 2013-11-06 Bar Cookie Festival
-- kRO 2013-11-20
-- kRO 2013-12-18 Casualties Of The Sepulcher & Xmas Event
-- kRO 2013-12-25 Episode 15.2
-- kRO New Year Event 2014 & Octopus Festival Malangdo
-- kRO 2014-01-08 Jumping Event
-- kRO 2014-01-22
-- kRO 2014-01-29 New Year Day Event
-- kRO 2014-02-05
-- kRO 2014-02-12 San Valentin
-- kRO 2014-02-19
-- kRO 2014-02-26
-- kRO 2014-03-12
-- kRO 2014-03-19
-- kRO 2014-03-26
-- Slot & View ID
* Bug fixes:
-- Removed Rebellion job from dagger type weapon (bugreport:8972)
-- Costume leftover on db/import-tmpl/item_db.txt (bugreport:8895)
-- Invalid flag for 12258,Bombring_Box (bugreport:8997)
-- Wrong combo criteria (bugreport:8984)
-- Wrong values in skill_changematerial_db.txt
Thank's to Kido & Bug Reporters

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-05-29 11:31:36 +07:00
aleos89
7e92017092 Follow up to 6afcdeb to include changes on the character server and SQL update. 2014-05-23 13:38:38 -04:00
Cydh Ramdh
e83d69be57 Follow up 2d53a78:
* Added 'bonus2 bAddItemGroupHealRate' to replace 'bonus2 bAddItemHealRate' for Item Group ID usage. Since MAX_ITEMGROUP is removed, there is no identifier which entry that Item ID or Item Group. Previous check using 'if (type2 < MAX_ITEMGROUP)' (2d53a782fa (diff-08420bab8271f3965304fee42cf4b865L3220))
* bonus2 bAddItemHealRate,iid,n;
* bonus2 bAddItemGroupHealRate,ig,n;

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-05-23 21:17:01 +07:00
Cydh Ramdh
7f4a7ba26f * Changed itemgroup from array to DBMap
* Removed MAX_ITEMGROUP limit
* Changed player bonus fixed array
* Minor changes

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-05-23 01:49:49 +07:00
Akkarinage
5abcf46075 Item SQL fix.
Casually increasing my commit count >_>
2014-05-22 16:11:18 +01:00
Akkarinage
f35599ef64 Lotto Box Item Grouping (bugreport:5608) 2014-05-22 16:01:20 +01:00
Akkarinage
df14e64df5 Item syntax fixes (bugreport:8986) 2014-05-21 21:47:26 +01:00
Cydh Ramdh
8ee1ea636b * Added 'missing' items:
-- kRO 2012-07-16
-- kRO 2012-25-25
-- kRO 2012-08-01
-- kRO 2012-08-08
-- kRO 2012-08-15
-- kRO 2012-08-30
-- kRO 2012-10-10
-- kRO 2012-10-17
-- kRO 2012-10-23
-- kRO 2012-11-07
-- kRO 2012-11-21
-- kRO 2012-11-28
-- kRO 2012-12-05
-- kRO 2012-12-09
-- kRO 2012-12-12
-- kRO 2012-12-18
-- kRO 2012-12-27
-- kRO 2012-12-30
-- kRO 2013-02-06 White Day's & Valentine Day's Event
-- kRO 2013-02-15
-- kRO 2013-02-27
-- kRO 2013-03-20
-- kRO 2013-04-03
-- kRO 2013-04-17
-- kRO 2013-05-22
-- kRO 2013-06-05 Ep.15.1
-- kRO 2013-06-19
-- kRO 2013-06-26
-- kRO 2013-07-24
-- kRO 2013-08-21
-- idRO last updated on 2014-04-23
* Thank Ziu for the kRO translation files

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-05-21 11:03:29 +07:00
aleos89
89ef868650 Bug Fixes
* Fixed Extremity Fist sliding issue getting players stuck in un-walkable cells. (bugreport:8949)
* Updated Cursed Circle against the target behavior.
* Updated Tinder Breaker snap behavior.
* Fixed Crush Strike to work with Auto Counter. (bugreport:6919)
* Fixed Fire Expansion - Acid skill animation.
* Fixed Spider Web not trapping targets. (bugreport:8958)
* Feint Bomb cannot be used on top of Land Protector.
* Fixed Slow Grace movement speed penalty. (bugreport:8946)
* Updated Camouflage to official effects.
* Fixed Beyond of Warcry decreasing critical rather than increasing.
* Fixed Zephyr flee bonus to be a solid 25 increase.
* Decrease Agi, Quagmire, Slow Grace, and Adoramus are no longer affected by SC_SPEEDUP1.
* Fixed Warg Strike to be a weapon attack type. (bugreport:8917)
* Fixed Explosion Spirits to double SP regen tick rather than halve SP regen rate. (bugreport:8936)
* Fixed Millennium Shield, Crush Strike, and Refresh having their cooldown values in the wrong field. (bugreport:8957)
* Cleaned up the status change table for 3rd class skills applying/removing SCB's that should/shouldn't be calculated.
* Updated Saturday Night Fever to official effects.
* Updated Berserk damage formula for renewal versus pre-renewal.
* Fixed Masquerade - Laziness not reducing movement speed.
* Updated the behavior of Frigg's Song.
* Updated Light of Regen, Xeno Slasher, and Silent Breeze skills.
* Updated several Homunculus S skill cast values.
* Deadly Infect will now only spread for short ranged attacks.
* Abundance and Guillotine Cross Poisons no longer overlap.
* Fixed Upheaval and Cursed Soil not giving their respective Max HP bonuses. (bugreport:8951)
* Fixed Solid Skin not giving DEF bonus.
* Fixed Stealth Field to properly hide players.
* Burning now reduces MDEF and has an icon.
* Updated the way skills that give equipment attack are calculated. Thanks to exneval.
* Updated the official item delay message.
* Cleaned up some other issues/left overs.
2014-05-14 14:35:24 -04:00
Euphy
dd9719de62 Implemented Wolfchev's Laboratory instance. (credits: Hercules 1a477c4)
Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-05-13 15:34:56 -04:00
Euphy
484d3cc710 Job database updates. (Hercules 5a5a327)
- Updated Job Stat Bonus tables.
- Updated Renewal Star Gladiator EXP table.
- Small changes to Renewal Stat Point table.

A few item database updates/fixes. (incl. Hercules 0604877)

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-04-25 18:16:59 -04:00
Euphy
684c336d49 Item-related bug fixes and other miscellaneous fixes.
Item fixes:
- Fixed Tikbalang Card and Lichtern * Card itemscripts. (bugreport:8834)
http://rathena.org/board/tracker/issue-8834-lichtern-cards-tikbalang-card/
- Added Rudo Card itemscript. (bugreport:8833)
http://rathena.org/board/tracker/issue-8833-rudo-card/
- Fixed itemscript for Wild Rider Card. (bugreport(8898)
http://rathena.org/board/tracker/issue-8898-wild-rider-card/
- Added some constants in item database. (part of bugreport:8831)
http://rathena.org/board/tracker/issue-8831-gioia-card/
- Updated a few other Renewal items.

Other fixes:
- Updated Malaya and Biolab 4 spawns. (Hercules 03949b9)
- Added additional .gitignore entries. (Hercules)
- Added a missing 'noteleport' mapflag for spl_in02. (bugreport:8925)
http://rathena.org/board/tracker/issue-8925-spl-in02-can-use-teleport/
- Fixed a leftover in atcommand documentation. (bugreport:8770)
http://rathena.org/board/tracker/issue-8770-dropall-atcommands-docs/

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-04-25 12:31:32 -04:00
aleos89
81ca299d91 Bug Fixes
* Fixed Overbrand swing damage ground placement. (bugreport:8856)
* Fixed Wug Dash not getting ATK bonus from Tooth of Wug.
* Cleaned up Gates of Hell damage formula.
* Corrected Hell Gate skill define to be passive.
* Added missing immobilization duration reduction for Poem of Netherworld and blocked it from working on MVP. (bugreport:8877)
* Cleaned up NPC_RUN to show e_hlp and not get stuck in a follow state. (bugreport:8875)
* Fixed item bonus DefRatioAtkEle/DefRatioAtkRaceDefRatioAtkClass not working for left handed weapons. (bugreport:8495, bugreport:8808, bugreport:8847)
* Fixed SubSize/SubRace/SubClass stacking to create 100+% immunity. Thanks to @cydh. (bugreport:8827, bugreport:8879)
* Small cleanup to clif_parse_StatusUp.
* Fixed Sling Item to copy the source skill ID and not the dummy ID.
* Fixed spirit spheres not giving ATK bonus. (bugreport:8130, bugreport:8285, bugreport:8686)
* Acid Demonstration is now forced to neutral in renewal.
* Follow up to e2d2494 to fix cooldown for Unlimit.
* Follow up to e2d2494 to clean up some compile warnings.
* Follow up to da0da73 to fix SC_ITEMSCRIPT to only use an icon if val2 is not empty.
2014-04-09 10:10:32 -04:00
Cydh Ramdh
e54a1d47df * Follow up e2d2494
- Removed hardcodes SI_ for SC_ITEMSCRIPT
- Changed some item scripts that use SC_ITEMSCRIPT to sc_start2, added val2 as SI_
- Revert some hardcodes ITEMID_
* Changed spiritball limit to MAX_SPIRITBALL (Hercules partial merge)
* Updated .sql item_db files

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-04-05 17:19:44 +07:00
Euphy
e1903cb97a Fixed some equip location itemscripts. (bugreport:8821)
http://rathena.org/board/tracker/issue-8821-general-daehyon-card/

Added official names as comments in many newer scripts.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-03-26 01:47:37 -04:00
Euphy
e2fe7383e7 Minor bug fixes.
- Fixed incorrect item IDs in Port Malaya quests. (bugreport:8810)
http://rathena.org/board/tracker/issue-8810-quest-malaya/
- Updated Ship Captain Hat bonuses. (bugreport:8725)
http://rathena.org/board/tracker/issue-8725-item-bugs/

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-03-21 00:21:38 -04:00
Euphy
c8d792488f Questlog fixes.
- Lost Child (bugreport:8791)
http://rathena.org/board/tracker/issue-8791-lost-child-quest/
- Muff's Loan (bugreport:8787)
http://rathena.org/board/tracker/issue-8787-muffs-loan/
- Peace For Arunafeltz (bugreport:8790, needs confirmation)
http://rathena.org/board/tracker/issue-8790-peace-for-arunafeltz/

Added base entries for new pets; bonuses are currently not properly implemented. (bugreport:8777)
http://rathena.org/board/tracker/issue-8777-pet-missing-tikbalang-database-entry/

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-03-17 18:24:19 -04:00
Euphy
e13d727940 Removed remaining 'bIgnoreMdefRate' item bonuses. (follow-up dae8122, bugreport:8712)
http://rathena.org/board/tracker/issue-8712-bonus-bmdef-error/

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-03-01 18:56:29 -05:00
Euphy
cad0a57865 Replaced 'getserverdef' command with 'script_hardcoded_constants' function in source. These constants can now be directly accessed in scripts. (Hercules 950e3eb)
- Relocated 'Option_*' constants from 'db/const.txt' to source; added OPTION_COSTUME compound. (Hercules a5728fd)
- Added MAX_CHAT_USERS define. (Hercules 950e3eb)
- Follow-up ca9642a: applied 'Loc' changes to Pre-Renewal database.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-03-01 15:42:49 -05:00
CairoLee
9ca5208b59 - Remove "DEFAULT CHARSET=latin1" from sql-files(Maybe has somebody Using utf8 like me) 2014-02-20 10:19:02 +08:00
Euphy
ca9642a2a2 A few database fixes.
- Removed all 'Loc' fields from Armor Enchantments (4700-4938), since they cannot be used directly by players.
- Fixed some item view IDs. (bugreport:8676)
http://rathena.org/board/tracker/issue-8676-itemid-5770-view-error/
- Fixed item bonus typos. (bugreport:8677, blame:c7e020a)
http://rathena.org/board/tracker/issue-8677-bonus-syntax-error/

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-02-19 13:28:52 -05:00
Euphy
944e7d041f Minor bug fixes.
- Changed 'bIgnoreDefRate' to 'bIgnoreDefRaceRate' in Pre-Renewal item database. (bugreport:8674)
http://rathena.org/board/tracker/issue-8674-item-bonus-error-or-not/
- Added missing 'bFixedCastrate' bonus for item 1832. (bugreport:8422)
http://rathena.org/board/tracker/issue-8422-vellum-claw-not-giving-insta-cast-on-10/
- Clarified 'getgmlevel()' and 'getgroupid()' functions in script documentation. (bugreport:8586, pull #46)
http://rathena.org/board/tracker/issue-8586-script-commandstxt-doc-getgroupid/
- Added Buying Store tables to source documentation.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-02-18 19:09:37 -05:00
Cydh Ramdh
521104a282 * Fixed bugreport:8663 http://rathena.org/board/tracker/issue-8663-importjob-db1-errors/
* Follow up 8800f32

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-02-17 12:35:41 +07:00
Cydh Ramdh
8800f3238c Item Database Updates
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-02-16 20:40:32 +07:00
Euphy
c7e020ad18 Added pRO/twRO "Card Exchange" NPC.
Information: http://richkidherbert.blogspot.com/2013/08/card-exchanger.html

Fixed incorrect position and view for item 18771. (bugreport:8657)
http://rathena.org/board/tracker/issue-8657-item-18771-enchanced-opera-phantom-mask-is-incorrect/

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-02-16 01:40:29 -05:00
Euphy
68f547c9af Item database update.
- Added some new headgears.
- Fixed High Wizard Card itemscript. (bugreport:8635)
http://rathena.org/board/tracker/issue-8635-bonus-command-dont-have-bignoremdefclass/

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-02-12 01:16:19 -05:00
Euphy
a2d095f5c4 Item database update.
- Added/edited itemscripts for some new items.
- Corrected the persistence of many Hit- and Flee-increasing consumables, as they should dispel upon death. (incl. bugreport:8626)
http://rathena.org/board/tracker/issue-8626-accuracy-30-scroll-effect-when-death/

Hercules merges:
- Added optional 'count' parameter to script command 'successrefitem'. (9d1f80e)
- Atcommand bindings are now case-insensitive, like normal atcommands. (92be98c)
- Consumables without expire time no longer stack with rental items. (afcb4bc, bugreport:8458)
http://rathena.org/board/tracker/issue-8458-rent-item-bug/

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-02-10 16:13:53 -05:00
Cydh Ramdh
339c0a8c48 * Added script commands2, rentitem2 and makeitem2, suggestion http://rathena.org/board/topic/90918-emistrys-rentitem2-be-added-to-svn/
-- *rentitem2 <item id>,<time>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>;
-- *rentitem2 "<item name>",<time>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>;
-- from http://www.eathena.ws/board/index.php?showtopic=241313&view=findpost&p=1315831
-- *makeitem2 <item id>,<amount>,"<map name>",<X>,<Y>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>;
-- *makeitem2 "<item name>",<amount>,"<map name>",<X>,<Y>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>;
-- Credits for the script author(s) & contributor(s)
-- NOTE: I didn't make the documentation yet
* Follow up 3441d4a

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-02-08 16:34:55 +07:00
Lemongrass3110
899f3c117c Follow up b3506fb
Somehow I missed the upgrade file. Sorry guys.
Thanks to @exneval for raising my attention on it.
2014-02-06 12:40:04 +01:00
Lemongrass3110
b3506fb8f5 Buyingstore persistency
Basic features of @autotrade persistency now also available for buyingstores.
2014-02-06 09:55:59 +01:00