12051 Commits

Author SHA1 Message Date
Lighta
55134d1ae1 Fix ARM compilation.
-Upd configure (merge with Hercule configure.in)
-upd nullpo.c and atomic.h to allow arm compilation, testedon Epiphany parallela.
2014-06-22 17:06:02 -04:00
Cydh Ramdh
c17b0849b0 Merge pull request #79 from nanakiwurtz/master
Item DB update
2014-06-20 19:36:20 +07:00
Cydh Ramdh
6c5d4a730f * Follow up 7cd82d0
-- Changed itemdb_array (array) to itemdb (DBMap)
-- Removed itemdb_other (DBMap)
-- Changed MAX_ITEMDB to MAX_ITEMID, by default limit is USHRT_MAX (65,535)
-- Changed item_drop_ratio_db (array) to mob_item_drop_ratio (DBMap)
-- Now all item datas stored in itemdb (DBMap) and mob item ratio datas in mob_item_drop_ratio (DBMap)

PS: I just realized that db/import/mob_item_ratio.txt doesn't work, because it loaded after mob_db.txt (another thing to do)
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-20 19:13:45 +07:00
Cydh Ramdh
0fca530278 * Fixed bugreport:9034 (Hercules aff9c14)
* 'bonus_script' improvement:
-- Added flag values (partial merge from sc_config branch):
-- * 16  : Removeable by Banishing Buster.
-- * 32  : Removable by Refresh.
-- * 128 : Removable by Luxanima.
-- * 256 : Remove when Madogear is activated or deactivated.
-- * 512 : Remove when receive damage.
-- * 1024: Script is permanent, cannot be cleared by bonus_script_clear
-- Added 'bonus_script_clear' command to remove active bonus_script from player (works like sc_end) Thank Napster to mention this. (bugreport:9042)

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-20 15:12:42 +07: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
Cydh Ramdh
bfac556ecb Follow up 32d659f
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-16 12:09:59 +07:00
Cydh Ramdh
32d659fee7 Follow up 267d521, thank Napster (bugreport:9040)
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-16 11:22:04 +07:00
Cydh Ramdh
8742f78da9 Fixed bugreport:8234, memleak leftover from channel.c
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-15 21:58:05 +07:00
Cydh Ramdh
267d521c00 Bug fixes:
-- Pin code issue after char_refac (bugreport:9027)
-- Delete date issue after char_refac (bugreport:9029)
-- Stuck when drag item from/to inventory/cart/storage if the item cannot be moved. (bugreport:8935)
Command:
-- Added @cloneequip to clone other's equipments.
-- Added @clonestat to clone other's statuses.
-- Thank Antares for the suggestion, http://rathena.org/board/topic/95076-new-atcommands-suggestion/
Permission:
-- Added 'bypass_stat_onclone' to make user who use @clonestat can bypass stat limit.
-- Change 'atcommand_enable_npc' to 'command_enable' permission to enable use command while talking with NPC. Suggested by @aleos long time ago.
Misc:
-- Correcting some checks for bAddEff bonuses.
-- Moved status point calculaiton formula to PC_STATUS_POINT_COST, removing redundancy in pc_need_status_point and pc_maxparameterincrease.
-- Added pc_is_same_equip_index function to move all item index checks, removing redundancy in some cases.
-- Some random in-source documentations.
-- Updated map_msg_idn.conf.

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-15 18:50:21 +07:00
aleos89
82467e14ed Follow up to 7cd82d0.
- Adjusted a few SQL variable types and specifiers for cards in the char-server.
2014-06-12 14:03:44 -04: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
Euphy
5e261ba415 Minor cleanup of riding script commands.
- The 'checkriding()' function no longer checks for wargs and dragons, ONLY Pecos, Grand Pecos, and Gryphons (as documented). (bugreport:9024)
http://rathena.org/board/tracker/issue-9024-about-renters-from-rathenanpcremerchants/
- Replaced 'checkoption()' warg checks with 'checkwug()'.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-06-10 22:58:09 -04:00
Cydh Ramdh
869d9be17a Follow up 6b9ec5f, bug fix of http://rathena.org/board/topic/95699-compiling-error-when-changing-client-date-on-mmoh/ thank iZeal
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-11 01:35:36 +07:00
aleos89
b44e5e11f2 Bug Fixes
* Fixed characters moving to unavailable slots using Character Moving System. Thanks to Napster. (bugreport:8987)
* Implemented MD_RANDOMTARGET. (bugreport:8781) (Hercules 10e6f1a)
* Implemented a new define for renewal status point calculation to separate from default renewal define. Thanks to @cydh. (bugreport:8784)
* Follow up to f511107 to fix a compile warning.
* Forcefully save characters before opening a Vending Shop to prevent invalid data from saving. (bugreport:8955)
* Fixed 2013-12-23 client from disconnecting after executing /limitedsale command. Thanks to Napster. (bugreport:9011)
* Fixed Elemental Shield displaying a warning to the console. (bugreport:9016)
* Elemental Shield requires a Blue Gemstone to cast.
* Adjusted Flash Combo to only consume 65 SP.
* Added missing skill_require_db defines for Episode 14.3 Part 2 skills in the pre-renewal database.
2014-06-10 12:24:19 -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
Capuche
5577161e6e Re-add the commented lines follow up 256e0652b18ee789d4c598abdf4af0d3163b9975 2014-06-09 16:51:07 +02:00
Capuche
256e0652b1 Update re/item_combo.txt 2014-06-09 15:52:42 +02:00
Cydh Ramdh
a8a44254e1 * Bug Fixes & Misc
-- Compiling errors when VIP_ENABLE (bugreport:9013)
-- Taekwon skills leftover when player was in Taekwon Ranker then changes to other job (bugreport:8973)
-- Follow up f511107.Fixed parentheses statement.
-- Follow up 6afcdeb. Updated check for char table.
-- Follow up 794c1a8. Wrong SC constanta order.
* Battle Config Updates
-- 'transcendent_status_points', stat point bonus for trans classes.
-- 'revive_onwarp', disable/enable to revive a dead player when set new position (warping).
-- 'taekwon_ranker_min_lv', minimum level bonus of Taekwon Ranker.
-- 'fame_taekwon_mission', fame point gained when complete Taekwon Mission.
-- 'fame_refine_lv1', fame point when success to refine to +10 forged weapon level 1.
-- 'fame_refine_lv2', fame point when success to refine to +10 forged weapon level 2.
-- 'fame_refine_lv3', fame point when success to refine to +10 forged weapon level 3.
-- 'fame_forge', fame point when success to forge level 3 weapon with 3 additional ingredients.
-- 'fame_pharmacy_3', fame point when success do pharmacy 3 times in a row.
-- 'fame_pharmacy_5', fame point when success do pharmacy 5 times in a row.
-- 'fame_pharmacy_7', fame point when success do pharmacy 7 times in a row.
-- 'fame_pharmacy_10', fame point when success do pharmacy 8 times in a row.

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-08 17:04:37 +07:00
Cydh Ramdh
263c138f6d Merge pull request #78 from Atemo/master
* Updated Renewal mapcache.dat
* Replace item group id by const name in item group db
* Removed a duplicate entry for Taekwon (4046) in job_exp
2014-06-08 00:10:37 +07:00
Capuche
811e657674 Update mapcache.dat 2014-06-06 23:30:53 +02:00
Capuche
8591570e3d Replace ID to constant in item group 2014-06-06 23:30:03 +02:00
aleos89
1dfb6d42d6 Follow up to 70aa7e0 to fix a potential crash. 2014-06-06 11:53:11 -04:00
aleos89
f511107523 Fixed some compile warnings. 2014-06-06 11:12:53 -04:00
aleos89
70aa7e03ee Bug Fixes
* Fixed Spider Web and other trap skills not working correctly on GvG maps. (bugreport:8982)
* Fixed Cloaking Exceed not hiding players from demon and insect monsters. (bugreport:9001)
* Bloody Lust no longer affects monsters. (bugreport:8991)
* Ruwach will no longer damage players in Invisibility. (bugreport:8950)
2014-06-06 10:54:28 -04:00
Cydh Ramdh
f5ef82e44a * Follow up 6b9ec5f, added new files to MSVS filters
* Fixed PVP Timer that shown in PK Mode after @hide (bugreport:6036)

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-05 17:56:22 +07:00
lighta
6b9ec5fe0b Merge pull request #70 from lighta/master
Merging Char_refact branch
2014-06-05 05:35:18 -04:00
lighta
3585e700f2 Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/char/char.c
	src/char/int_storage.c
2014-06-05 02:51:13 -04:00
lighta
214176ab1b Merge remote-tracking branch 'upstream/master'
Conflicts:
	src/char/char.c
	src/char/int_storage.c
2014-06-05 02:51:01 -04:00
aleos89
ce8b98b1f4 Bug Fixes
* Fixed Shield Spell not casting correctly. (bugreport:8948, bugreport:8999)
* Fixed Exceed Break attack increase not being applied. (bugreport:8993)
* Fixed Gentle Touch - Energy Gain not adding spirit spheres. (bugreport:9004)
* Updated Magnetic Field SP drain value.
2014-06-02 09:36:27 -04:00
Akkarinage
47e7771563 Merge pull request #76 from Atemo/master
Some fix
2014-06-02 14:06:18 +01:00
nanakiwurtz
70a65642c4 Merge pull request #77 from nanakiwurtz/master
Item DB updates:
2014-06-02 18:07:56 +07:00
nanakiwurtz
7a4e90e24e Item DB updates:
-- kRO 2014-04-23
-- kRO 2014-04-30
-- kRO 2014-05-14
-- kRO 2014-05-21

Thanks to Cydh

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2014-06-02 09:26:17 +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
e75a83dc99 * Updated buyingstorelist.txt, sync with last kRO update (2014-05-28)
* Fixed map-server crashed when read item_cash_db.txt (bugreport:9003)

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-06-01 12:13:16 +07:00
Cydh Ramdh
794c1a8247 Bug fixes & Misc:
-- Map crashed because empty item_combo script (bugreport:8959)
-- Wrong MATK calculation of Distort Crescent/Zangetsu effect (SC_ZANGETSU) (bugreport:8998)
-- Wrong damage reduction of Sera's Pain Killer effect (SC_PAIN_KILLER) (bugreport:8994)
-- Fixed Shape Shift (NC_SHAPESHIFT) wrong requirement (bugreport:9002)
-- @itembound, getitembound usage. Not, now allowed for unspecified bound_type (thank Ceejay Abne! http://rathena.org/board/index.php?showtopic=94726)
-- Change check behavior for skill requirement level-dependent check.
-- Removed NC_REPAIR hardcoded requirement.
-- Moved the required equipped item to 'RequiredEquipment' on skill_require_db.txt.
-- Missing "Option_Ruwach" as contantan.
-- Corrected Chasewalk STR bonus, it's SC_CHASEWALK2, different with SC_INCSTR.
-- Corrected some Rebellion skill's effects.
-- USESKILL_FAIL_MADOGEAR message for failed skill that needs player has Madogear.
-- Changed skill name and description length to 31 chars.
-- Some documentation updates.
-- Follow up 0f2dd7f. (Well, using empty password in import file, won't works, if you want, empty the original conf file. Fix this later, related on 'sscanf' for those files)
-- Follow up 28c90bb, thank @julia40124009
-- Misc. :P

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-05-31 21:42:44 +07:00
Capuche
dcd6b02c09 Update script command (bugreport 7836). 2014-05-30 20:52:29 +02:00
Capuche
be1fd7b1fa - Fixed an issue in dual race (bugreport 8636).
- Optimizated.
2014-05-30 20:48:19 +02:00
Capuche
45a7abcf4e - Updated docs about strmobinfo.
- Fixed an exploit in jobmaster.txt
2014-05-30 20:46:23 +02:00
Capuche
5e44c68a49 Remove the debug message for a wrong mob id in getmonsterinfo script command (already return a value) 2014-05-30 20:43:36 +02: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
aleos89
5ca8f406e4 Follow up to 1d1a58c when using self skills while storage is open. (Hercules 31486a8) 2014-05-23 12:18:27 -04:00
aleos89
c01d9357d6 Guild Bound items are now removed when someone is offline and expelled. (Hercules b5c2a71) 2014-05-23 11:57:46 -04:00
aleos89
6afcdeb613 Cleaned up the Font System to properly save to the character.
Also expanded @itemlist to support costume item types.
2014-05-23 11:48:28 -04:00
Akkarinage
704f4f2d9a Merge pull request #74 from cydh/bAddItemGroupHealRate
Follow up 2d53a78:
2014-05-23 15:27:51 +01: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