319 Commits

Author SHA1 Message Date
Jittapan Pluemsumran
a266d5aa22 SQL synchronization 2016-04-04 19:04:15 +07:00
Cydh Ramdh
0f41f98716 Item DB Update
* Follow up 7a7ba75369595459438248ad028b67b294759fcb for pre-renewal.
* Fixed wrong variable usage in autobonus script. Thank @Darkelfen in #1006
* Updated sql files.

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2016-03-27 14:18:50 +07:00
rAthenaAPI
c895b3603e SQL synchronization
[ci skip]
2016-03-14 23:53:48 +01:00
nanakiwurtz
3f26c3ddcc Fixed #895
* Thanks to @Dark8008 and @Playtester

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2016-01-12 00:14:47 +07:00
Lemongrass3110
315056b02e Merge pull request #880 from rathena/cleanup/itemdb_aegisname
Added unique indices to ensure that aegis name is only used once per table.
Also added all scripts from sql-files to the travis CI script so that our build check will fail if we have a sql syntax error in there or some duplicate values.
2016-01-07 19:54:09 +01:00
nanakiwurtz
4c6cf469a4 Fixed #618
* Thanks to @anacondaqq and @Playtester

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2016-01-07 02:56:52 +07:00
Lemongrass3110
09a87306b1 Added a unique index for aegis name to the item tables 2016-01-06 02:13:19 +01:00
rAthenaAPI
6206537855 SQL synchronization
[ci skip]
2016-01-05 15:06:47 +01:00
nanakiwurtz
8655913be7 Fixed #877
* Thanks to @Playtester

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2016-01-05 14:28:38 +07:00
nanakiwurtz
2807be3381 Fixed #853
* Thanks to @secretdataz

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2015-12-31 15:42:19 +07:00
rAthenaAPI
ec65a9f699 SQL synchronization
[ci skip]
2015-12-17 00:41:48 +01:00
rAthenaAPI
7e04987235 SQL synchronization
[ci skip]
2015-11-08 11:30:46 +01:00
Cydh Ramdh
c73ebec481 Corrected scripts for items following official scripts.
Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2015-11-02 10:53:53 +07:00
aleos89
3fbac9c8e4 Bug Fixes
* Fixes #586 - Resolved some compile warnings.
* Fixes #584 - Cleaned up the success rate and duration for Sling bombs.
- Banana Bomb now reduces LUK by 75.
- Throwing Cure Free now removes Poison, Orcish, Change Undead, Blind, Confusion, Deadly Poison, and heals a static 500 HP.
- Updated pre-renewal Genetic items to match renewal.
2015-08-21 10:45:46 -04:00
Atemo
031c522c8a - Fixed F_CashSiegeTele typo in item_db.
- Moved VIP_Third_Class function from other/CashShop_Functions into other/re/CashShop_Functions (only used in re folder).
- Fixed a mistake in quests/quests_nameless.txt blame me  36f337ea41a876ef471bfbb78128e35fa0d9aa56
- re/quest/quests_eclage clean-up and bug fix

Signed-off-by: Atemo <capucrath@gmail.com>
2015-08-04 15:16:56 +02:00
rAthenaAPI
5cb90cd1d0 SQL synchronization
[ci skip]
2015-06-19 07:33:44 +02:00
rAthenaAPI
16dba68a8c SQL synchronization
[ci skip]
2015-06-17 06:50:18 +02:00
rAthenaAPI
66e01555f1 SQL synchronization
[ci skip]
2015-06-09 00:45:51 +02:00
rAthenaAPI
70f39149b3 SQL synchronization
[ci skip]
2015-06-07 22:38:09 +02:00
Lemongrass3110
965416bb76 Small fixes to @lighta's convert SQL script 2015-02-10 14:18:45 +01:00
Cydh Ramdh
b47dc0f054 Item DB updates
* Implemented ALL_REVERSEORCISH as follow up 01ae1ae6126dc8aa91f967eea7d145e10dfb29e3.
* Clean up `rand()` script usage in Fools_Day_Box (12396) and Fools_Day_Box2 (12397).

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-18 20:57:42 +07:00
Cydh Ramdh
0ad6cdbb4f Just a follow up of a0bd016.
(Seems something changed with the file attribute or what is it, changed a whole file lines and always be assumed unstaged files/uncommited changes)

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-11-18 19:22:58 +07:00
Playtester
a0bd0168cf Autobonus on ground skill and Angelic Ring fixed
- Autobonus3 will now also trigger when using ground skills (bugreport:6434)
- Fixed trigger chance of the Angelic Ring auto-bonuses (5% -> 10%) and that they didn't display any effect
2014-11-17 17:05:10 +01:00
Capuche
ea6ba2dd3f - Fixed item bonus for vesper card in pre re
- Fixed warning for infinite warp where count_rewarp increased when the player was warped near a warp

Special thanks to Radian

Signed-off-by: Capuche <capucrath@gmail.com>
2014-11-13 21:19:15 +01:00
Cydh Ramdh
c10c05ab61 * Fixed typo in script for RWC2010_Indonesia (18509)
* Changed `mr` values to use constantan value
* Added check for IT_SHADOWGEAR's script restriction before executing it

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-11-06 20:17:49 +07:00
Euphy
2acf9a401a Fixed item script for Glorious Holy Avenger. (bugreport:9244)
http://rathena.org/board/tracker/issue-9244-9-glorious-holy-avenger/

Script command 'preg_match' will throw a debug instead of an error if PCRE is not enabled.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-08-22 23:56:08 -04: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
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
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
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
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
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
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
Cydh Ramdh
96a7e476f5 Fixed bugreport:8599 http://rathena.org/board/tracker/issue-8599-about-his-items-the-ig-thing/
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-02-03 21:45:57 +07:00
aleos89
0f7ecd0c4d 3rd Class 2011 Post Balance Update
* Contains remaining formula updates for 3rd class skills.
* There are a few bug fixes and corrections to broken skills.
2014-01-10 10:36:53 -05:00
Lilith
32713b9526 * Follow up 40f7014
* Item bonus 'bAddClassDropItem' renamed to 'bAddMonsterIdDropItem'
* Added 2 new item bonuses: bonus3 bAddClassDropItem,n,x,y; & bonus3 bAddClassDropItemGroup,n,x,y; ( see doc/item_bonus.txt )
* Fixed Bug: http://rathena.org/board/tracker/issue-8439-bonus3-baddmonsterdropitem-not-specified-on-one-item%EF%BC%81/
2014-01-10 04:18:12 -08:00
Lilith
40f70143d4 * Added RC_PLAYER race.
* Updated all item bonuses.
* Fixed Bug: http://rathena.org/board/tracker/issue-8420-pc-bonus2-unknow-type-0-3-1/
* Fixed Bug: http://rathena.org/board/tracker/issue-8451-whats-wrong-on-bonus-bdefratioatkclass/
* Fixed Visible part of Shadow Equipment when storage is open.
2014-01-09 08:19:18 -08:00
Cydh Ramdh
6900a3a30f Just updated some reverted items
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-01 21:37:13 +07:00
Cydh Ramdh
e18bf43547 * Revert this 487f84e, please import upgrade_20131231.sql. Thank Lemongrass3110 and Toshiro90
* Follow up 7a9aa7f, enum errors
* Follow up 12007fe, function return type error
* Follow up dae8122, 'skill' to 'skill_learnlv'?

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-31 01:52:14 +07:00
Cydh Ramdh
487f84ef92 * Changed some item_db's fields on MySQL table to use char types rather than numeric types (those fields are never been used for calculation)
* Added missing config on inter_athena.conf for MySQL database (use_sql_db: yes)
* Please upgrade your MySQL database with upgrade_20131229.sql

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-29 06:44:48 +07:00
Cydh Ramdh
af319f9eb5 Added item script for Underripe Yggseed, http://rathena.org/board/tracker/issue-8384-item-script-of-12405-underripe-yggseed/
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-26 15:39:05 +07:00
lighta
9cca188908 Itemtype
Fix itemtype IT_ARMOR and IT_WEAPON being inverted, bugreport:8180
please run tools/convert_itemtype.pl to update your dbs.
Upd athena-start having some issue for some os.
Fix a typo on DC_SERVICEFORYOU for val1 assignment.
2013-12-21 01:02:41 -05:00
Cahyadi Ramadhan Togihon
24ca5b5c3c Fixed bug report http://rathena.org/board/tracker/issue-8256-rebellion-lower-hp-bug-and-some-other-bug/ (Thank reigneil)
Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-18 22:07:23 +07:00
Cahyadi Ramadhan Togihon
fef6307cf0 * Follow up to bd2503e and 7355677
-- Modified field data of `equip_locations` to mediumint
-- Updated converter tool for item_db following this update
-- Updated item_db.sql, item_db2.sql, item_db_re.sql, item_db_re2.sql
-- CAUTION: Please update item_db MySQL tables by using 'upgrade_20131115_2.sql'

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-15 10:51:35 +07:00
Cahyadi Ramadhan Togihon
b0957816fe Fixed bugreport:8213 http://rathena.org/board/tracker/issue-8213-bonus4-bautospellwhenhit-not-working
Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-11-07 14:36:43 +07:00
Cahyadi Ramadhan Togihon
f058c4de1c * Follow up f056629
-- Updated item_db.txt, makes Rebellion can use Gunslinger weapons and ammos
-- Updated item_db.sql and item_db_re.sql
-- 3CeAM 2.0 merger: r13
-- idAthena merger: r1057, r1077
* Follow up 3f6d4b6
-- Update the const.txt for SC_MOONSTAR and SC_SUPER_STAR. SC_EXTREMITYFIST2 should be always on the end of SC number
* Hercules merger: 1375af7d00

Signed-off-by: Cahyadi Ramadhan Togihon <house.bad@gmail.com>
2013-10-28 12:23:23 +07:00
Euphy
c610f5b15c * Added some iRO Eden Group NPCs. (credits: -SkittleNugget-)
- This consists of a few traders, warpers, cashshop-related scripts, and duplicates from various locations.
- There are a lot of placeholders and some entirely missing scripts; these may be added later, but we don't intend to implement all of iRO's custom features.
- Some of the item sprites may be unviewable without iRO's data.grf.

* Minor database updates:
- Corrected all *_C (rental) equipment entries; to be updated later on with VIP bonuses.
- Fixed some bHpDrainRate item_db entries. (incl. bugreport:8049)
- Fixed a mob_skill_db entry. (bugreport:8050)

* Other changes:
- Renamed 'F_RandMes' to 'F_Rand', to clear up any confusion. (follow-up 66a2bfd)
- Small changes in Armor Enchanter script (thanks to Emistry for pointing it out :p).

Signed-off-by: Euphy <euphy@rathena.org>
2013-09-06 00:22:41 -04:00
nanakiwurtz
f44ae34734 Updated to the new 'F_RandMes' command.
Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2013-09-05 14:12:42 +07:00
Euphy
1083475207 * Some follow-ups to 5ab4d5e:
- Added Renewal changes to "God Seal Status" signpost and moved from "npc/other/sealstatus.txt" to "npc/quests/seals/seal_status.txt".
- Applied item_db changes to Pre-Renewal and SQL databases.
* Fixed issue in Cursed Spirit quest where an OnTouch NPC wouldn't activate.

Signed-off-by: Euphy <euphy@rathena.org>
2013-08-26 11:34:18 -04:00