248 Commits

Author SHA1 Message Date
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
Akinari1087
f05667e4fb Removed RENEWAL_EDP option as it is no longer necessary and is not supported between Pre-Renewal and Renewal
Updated La'cryma Stick - Fixes bugreport:7980
2013-08-25 00:31:39 -04:00
euphyy
24c2c27c65 > Database SQL update: Complete
* Extended SQL converter to cover mob_db and mob_skill_db as well as item_db. All credits to Lighta - thank you!
* Current SQL databases mob_db.sql, mob_db_re.sql, mob_skill_db.sql, and mob_skill_db_re.sql replaced with converted files.
* Updated mob_db with new entries for Hall of Abyss, Port Malaya, and Eclage (missing some mob modes).
* Minor item_db updates.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17376 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-19 19:12:10 +00:00
euphyy
5d00e98927 > Item Database SQL update: Part 1 (tid:83703)
* Updated tools/item_db.pl to convert both the Pre-Renewal and Renewal item databases. (credits: Lighta)
* Current SQL databases item_db.sql and item_db_re.sql replaced with converted files.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17371 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-17 20:46:56 +00:00
brianluau
e19b56aa39 - Fixed unescaped apostrophe in Lope's, since r17342. (bugreport:7729)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17362 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-13 15:54:29 +00:00
euphyy
3a234d787a * Implemented Mora Enchants.
* Updated Episode 14.1 item database entries.
* Removed party size check for Malangdo Culverts, as there is none on official servers.
* Added THA map_msg translation - thanks, boneskung, for translating!
* Updated IDN map_msg translation. (credits: Cydh)
* Code by Lighta:
-- Updated configure, add enable-warn [yes/no] and remove wno-parentheses, wno-unused from default compilation
-- Cleanup small warnings
* Crash fix for bugreport:7688 (code by Akinari).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17342 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-06-03 02:07:41 +00:00
euphyy
105beac9d0 * Implemented Blessed ore refiner "Blacksmith Dister" and Refine Ticket NPC. Since these were event NPCs, they are disabled by default.
* Updated item_db and item_trade with HD/Blessed ores/boxes and Guarantee Refine Tickets.
* Added remaining Port Malaya generic town NPCs.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17338 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-28 23:55:09 +00:00
euphyy
91475315b8 * Implemented HD ore refiners "Mighty Hammer" and "Basta" (hd_refiner). (bugreport:6577)
* Fixed coordinates of "Suhnbi" (advanced_refiner).
* Merged Hercules b17e2b7 (adapted):
-- Implemented official Port Malaya warps.
-- Fixed bug where players could not take the "Ring of the Wise King" and "Finding a Fairy" quests using the Cat Hand Agent warper inside Eden Group Headquarters.
-- Fixed bug where players could not complete the "Guardian of Yggdrasil" quest. (bugreport:6855)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17337 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-28 06:36:55 +00:00
akinari1087
b770bb52e7 Implemented script commands 'addmonsterdrop' and 'delmonsterdrop' (cool)
-> Added documentation
Updated script command 'sc_start' to allow for more variables and options - Fixes bugreport:7664
-> Item databases and some scripts updated
Cleanup of script commands 'countitem' and 'countitem2'
Rework of @ 'reload' commands - Now offers @reload dbname
-> @reload packetdb now available
Restricted bonuses 'SPRecovRate' and 'HPRecovRate' to short range melee only - Fixes bugreport:2916
Increase AGI no longer makes characters stand - Fixes bugeport:7657
Small warning fix for 'below array bounds' in skill.c
Added short timeout to make_connection (lighta) - Fixes bugreport:7670
Some visual fixes for equipment and items (lighta)
Rework of script command 'checkweight' (lighta)
Some channel system cleanup (lighta)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17326 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-05-10 08:11:21 +00:00
euphyy
0cb9ee98ef * Added documentation for cashshop.c functions. (credits: Lighta)
* Fixed a duplicate 'next' call for cart function in functions_kafras.txt.
* Updated item bonuses for LV5 Assumptio Scroll (12218) and Chemical Protection scrolls. (Hercules 7a625b9, 854851c; incl. bugreport:6396)
* Replaced current SPN map_msg translation by jaBote/Tragedy with one by Leeg.
* Updated FRN, CHN map_msg translations. (credits: Capuche, Goddameit)
* Changed '@newmount' to '@mount2' in atcommand documentation.
* Other misc. changes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17305 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-29 22:39:28 +00:00
euphyy
e6dfa8ab65 * Updated RUS and SPN map_msg translations. (credits: Lilith and jaBote)
* Fixed a quest entry and NPC name for Eden Quests 71-85. (bugreport:7551)
* Added missing barrier resets in Poring War script, credits to Zopokx. (bugreport:7241)
* Removed nonexistant function "SetPalete" from item scripts. (bugreport:7409)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17267 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-04-17 04:17:47 +00:00
euphyy
ba798de7ab * Follow-up r17205, added new mercenary skills and scrolls.
* Updated item_db and some related functions.
* Updated item_trade table.
* Fixed two item scripts with bMagicAtkEle. (bugreport:7385)
* Fixed minor issue in guild storage sample script. (bugreport:7406)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17209 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-25 04:17:45 +00:00
euphyy
7f6fc0c7a9 * Initial implementation of Archangel Wing Enchants script.
* Added some Malangdo coin exchange NPCs, more will come later.
* Updated Malangdo warp portals.
* Fixed item ID 12220 and clarified documentation of 'getiteminfo' types 11 and 14 (bugreport:7256).
* Minor Renewal item database update.
* Applied changes from r17171 to SQL databases.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17172 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-03-06 02:04:59 +00:00
euphyy
fa88107a9e * Some optimization of 13-1 quests.
* Updated SQL databases from r17134, r17149.

> Hercules merges:
* 2f72676, 06883a7:
Renewal item_db updates, mostly new headgears and costumes.

* b38c660:
Fixed Trick Dead not being removed on job change.

* 55134e8:
Modified @mi exclusion criteria so that it requires a monster to not have a fixed spawn point as well as no base/job exp. It was excluding things such as red/blue/whatever plant from search results.

* bf76055:
#autotrade now relogs the target, not the caster.

* c6882c7, 412efb9:
Updated Renewal Izlude warps.
Moved various Izlude NPCs to Renewal coordinates.

* 064dad8:
Fixed bug where Kagerou and Oboro could hit their Zanzoe.
Follow-up on bugreport:4832, Ankle Snare now works properly in GvG.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17151 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-02-22 01:28:46 +00:00
euphyy
642d93c65c * Follow-up r17104, added item_trade entries for Sealed MVP cards.
* Fixed an incorrect itemscript drop (bugreport:7213).
* More updates to Renewal item scripts.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@17105 54d463be-8e91-2dee-dedb-b68131a5f0ec
2013-01-21 18:05:33 +00:00
rud0lp20
4129e5eb1c Fixed bugreport:5689 recoded/reimplement RE Matk formula(including RE Heal)
Fixed bugreport:5745 WL_RECOGNIZED us now functional.
Fixed bugreport:5663 where HW_MAGICPOWER shows glitch in status window.
Fixed bugreport:6759 where items granting matk bonus didn't work.
Follow up r16980 small performance enhancement...:)
Done some TODO in skill_cast_db.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16981 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-29 16:03:55 +00:00
euphyy
e5253aa7c6 * Added the "Catalog Magician" NPC to merchants/buying_shops.txt, thanks to Muad_Dib!
* Changed all commands in atcommands.txt to their defined names, not aliases, and added two more common aliases.
* Documented 'makerune' in script_commands.txt.
* Documented '@accinfo' in atcommands.txt.
* Follow-up r16965, database update for rune crafting formula.
* Updated Magic Mushroom DB according to 3CeAM revision 703.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16966 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-25 01:08:33 +00:00
euphyy
7fc959438d * Removed duplicate isequipped() entries from item_db already written in item_combo_db (bugreport:6924).
* Moved a few remaining isequipped() entries to item_combo_db.
* Follow-up r16940: applied change to SQL and pre-re files, and renamed Size constants to Size_ for consistency.
* Follow-up r16947: fixed mob modes.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16955 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-23 18:30:42 +00:00
kenpachi2k11
7cf43a3375 Replaced 'bonus2 bVariableCastrate' with 'bonus2 bCastrate' in pre-renewal item databases. (bugreport:6913)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16938 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-21 13:03:30 +00:00
momacabu
c303484e06 Updated all items which had groupranditem with getrandgroupitem (better implementation done by Ind)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16932 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-20 03:47:31 +00:00
flaid
0ad26adc3c Shiny Wing Gown was set to tame the wrong monster, fixed now.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16886 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 04:33:14 +00:00
momacabu
aae7d1d129 - Removed backup.pl (for TXT servers) and vs9-to-vs8.php (outdated versions);
- Merged @killmonster2 with @killmonster tid:73632;
- Fixed bugreport:6764, auction code was misplaced;
- Follow up to r16753 (bugreport:6523), fixed bugreport:6673, using Gravitational Field with Safety Wall would keep the character immobilized. Blame myself, thankyou Lunar for the fix;
- Fixed bugreport:6514, @slaveclone wouldn't be targeted by monster. Thanks to zippy;
- Fixed bugreport:6837, some code was duplicated;
- Fixed bugreport:6768, removed some leftovers from TXT removal;
- Fixed bugreport:6868, Unequipping a weapon with Incantation Samurai card will not kill you if you have less than 999 hp and are on a non-pvp map;
- Fixed wrong bit field on ai field in mob_data structure. Credits to Ind.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16881 54d463be-8e91-2dee-dedb-b68131a5f0ec
2012-11-09 00:26:36 +00:00