7402 Commits

Author SHA1 Message Date
Cydh Ramdh
f4eb33e176 * Fixed some typos on skill_copyable_db.txt that causing Shadow Slash (and other skill?) cannot be copied, bugreport:8500 http://rathena.org/board/tracker/issue-8500-plagi-buggi/
* Follow up f3bb209 also remove unused check of INF3_DIS_PLAGIA since using skill_copyable_db.txt now
* Follow up 96443cd

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-20 03:43:05 +07:00
Cydh Ramdh
5a2849d9ff Fixed bugreport:8514, http://rathena.org/board/tracker/issue-8514-map-server-crash/
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-19 21:00:54 +07:00
Lemongrass3110
ef0515873e Channels & Typo
Autotraders dont join any channels nomore
Fixed a small typo for vending entry loading
2014-01-17 20:47:54 +01:00
Cydh Ramdh
c703636adb Fixed bugreport:8439 (http://rathena.org/board/tracker/issue-8439-bonus3-baddmonsterdropitem-not-specified-on-one-item%EF%BC%81/) as follow up 32713b9
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-16 13:04:44 +07:00
Lemongrass3110
8183c380f7 Shop order
Order will now be the same everytime
2014-01-15 21:21:57 +01:00
Lemongrass3110
b6f60d5434 Added a comment for @euphyy
Vendings are now deleted after you relogin with that account
Should fix player freezing?
2014-01-15 09:05:15 +01:00
Lemongrass3110
b7fd4dd274 Unneeded semicolons removed
Removed duplicate slashes
2014-01-14 23:38:12 +01:00
Lemongrass3110
9240320501 Possible leak fix 2014-01-14 22:44:43 +01:00
Lemongrass3110
07b9fe761f Autotrade persistency 2014-01-14 22:24:00 +01:00
Euphy
d569d288bd Added 'strcmp' script command.
Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-01-13 19:07:01 -05:00
Cydh Ramdh
d35ac5a601 * Initial release idRO Cash trader NPC. npc: npc/re/merchants/cash_trader-idRO.txt (disabled by default)
* Added some items following idRO Cash trader NPC (added on db/re/item_db.txt)
* Updated documentation on doc/script_command.txt and npc.c
* Follow up d4128ce

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-14 01:54:38 +07:00
Cydh Ramdh
f3bb209e92 Follow up 6e9796b also as bugreport:8473 http://rathena.org/board/tracker/issue-8473-plagi-bug/
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-13 12:40:06 +07:00
Akkarinage
3bd3b81749 Merge remote-tracking branch 'remotes/rAthena/master'
Conflicts:
	src/map/guild.c
2014-01-12 19:19:05 +00:00
Akkarinage
fa2aced4ae sv_readdb for castle_db.txt updated max cols to 4 2014-01-12 16:26:21 +00:00
Akkarinage
201d0047f4 Testing git-api stuff 2014-01-12 15:44:58 +00:00
Euphy
a3dbbe21ce Added script command 'isbeginquest'.
Aegis has been using this command instead of 'checkquest(id,HASQUEST)' for years, so we will no longer be writing workarounds for it.

Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-01-11 09:45:32 -05:00
Cydh Ramdh
ecb91e36fc * Follow up 0f7ecd0 as bugreport:8464, http://rathena.org/board/tracker/issue-8464-lg-earthdrive-becomes-weak/
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-11 19:17:41 +07:00
Cydh Ramdh
f46a7920e2 * Added warning message when addtimer script is failed, as bugreport:8459 http://rathena.org/board/tracker/issue-8459-addtimer-command-should-report-an-error-if-it-hits-max-eventtimer/
* Follow up 0f7ecd0, 308ee6c, 1f29f50
* Little source documentation updated on script.c

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-11 16:10:22 +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
Cydh Ramdh
308ee6c043 Fixed bugreport:8429 http://rathena.org/board/tracker/issue-8429-bug-statpoint/
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-10 18:36:19 +07:00
Cydh Ramdh
1f29f50f75 Follow up 780b9d3
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-10 17:39:14 +07:00
Euphy
89896d751a Card compounding window no longer appears if no slotted items are available. (Hercules 763102b)
Signed-off-by: Euphy <euphy.raliel@rathena.org>
2014-01-09 11:58:27 -05: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
lighta
b92230e33e Cppcheck
Fix typo in race bonus fix : race<RC_NONE_ && race<RC_MAX
Fix bugreport:8418 => clif_instance_changestatus possible mapcrash
Reduce lot of variable scope and fix unsafe scanf
2014-01-09 02:18:51 -05:00
lighta
4af314500e Check_db
Add a check_db on char-serv startup to ensure all sql-tables was loaded
correctly and avoid error on runtime.
Fix OnInterIfInitOnce being executed on reloadscript, (now only done at
server startup)
2014-01-09 00:08:00 -05:00
aleos89
65d1ee32e4 Follow up to eca4fa0.
* Fixed a multi-hit damage issue for Falcon Assault (bugreport:8447).
* Fixed unsigned int specifier for sprint (bugreport:8448).
* Fixed WE_MALE and WE_FEMALE checking target rather than caster (bugreport:8449).
2014-01-08 15:27:33 -05:00
Cydh Ramdh
5143c4c36f * Follow up 51074a0: Remove ugly fixed array size! It increases memory usage too much!
* A little optimization on skill_db for skill requirement

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-08 22:14:36 +07:00
Cydh Ramdh
14a096a5a2 Follow up d6caec1: changed RC_NONE to RC_NONE_ in map.h because it confilcts with RC_NONE in WinGDI.h
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-08 13:07:35 +07:00
lighta
d6caec1c51 Various fixs
Fix bugreport:8418 (possible mapcrash from custom instance script)
Fix bugreport:8439 (pc_bonus_item_drop typos) thx to Baalberith
Fix some errors detected by cppcheck
upd install.sh (leftover of svn and wrong simlink)
2014-01-07 20:15:40 -05:00
Lilith
b5a7035261 * Fixed bug: http://rathena.org/board/tracker/issue-8427-use-reload-mobdb-crash-the-map-server/ 2014-01-07 03:36:10 -08:00
aleos89
eca4fa0e38 Bug Fixes
* Fixed an operator check for WE_MALE and WE_FEMALE. Thanks Baalberith.
Optimizations
* Fixed a possible null pointer dereference in Spirit Ball check, Change Cart check, WE_BABY, MH_PYROCLASTIC, and MH_LIGHT_OF_REGENE.
* Fixed a reassigned value being reset before being checked.
* Fixed a homunculus expression always being false because of prior check.
* Fixed sprintf specifier output trying to display int value when return value is unsigned int.
* Fixed a redundant check for when monster's HP is less than 0 when HP is declared as an unsigned int.
* Fixed a redundant check for when uAccLen or uTokenLen are less then 0 when both are declared as unsigned int.
* Various other clean ups.
2014-01-06 14:20:50 -05:00
Cydh Ramdh
780b9d33d2 * pc_combocheck fix. *combo_idx should be has -1 as the init value, not 0. Thx Daegaladh
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-07 01:16:39 +07:00
Cydh Ramdh
22cfb75276 * Fixed item_combo bug, related bugreport http://rathena.org/board/tracker/issue-8321-maximum-hp-bug/
Thank lighta and everyone who told how to reproduce

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-05 16:22:21 +07:00
Lilith
a053ccea3f * Fixed bug: http://rathena.org/board/tracker/issue-8345-specialeffect-target-self-doesnt-work
* Fixed bug: http://rathena.org/board/tracker/issue-8169-hiding
* Fixed bug: http://rathena.org/board/tracker/issue-8366-egg-type-monster-issue
* Fixed bug: http://rathena.org/board/tracker/issue-8406-item-bonus-not-working
* Added fix with mob_hp update when mob get healed (Hercules merge)
2014-01-03 23:56:13 -08:00
Cydh Ramdh
2d35b03bf7 * Fixed itemgroup_db that being reseted when read import file. http://rathena.org/board/tracker/issue-8419-cant-not-open-any-itemgroup/
* Fixed typo for maxsp bonus as follow up of 96443cd. Thank Baalberith

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-03 02:58:23 +07:00
Cydh Ramdh
e2e71c73cc Merge branch 'rathena/master' 2014-01-02 20:01:17 +07:00
lighta
ff29c234cc DB Import2
Add db/import-tmpl/ and add all file that could currently be
overwritten, (please add note if a db is missing)

db/import folder is created by "make import" just like conf/import and
msg_conff/import, (didn't found the visual equivalent)
2014-01-01 21:33:08 -05:00
Matej Pristak
07727d50bc pc_get_child can return NULL > segfault 2014-01-02 00:33:26 +01:00
pori
8eaac0a29c This is definitely wrong - sd->equip_index can be - 1 and we can't use unsigned for it... 2014-01-01 23:39:53 +01:00
Cydh Ramdh
0104aef878 Fixed bugreport:8415, missplaced WM_LESSON bonus http://rathena.org/board/tracker/issue-8415-wandererminstrel-lesson-skill-bug/ Thank euphoria
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-02 03:13:12 +07:00
Cydh Ramdh
6e9796b023 * Follow up 28ecab5, added misisng db/import files
* Follow up 96443cd, seems like for final MaxSP use round() instead floor(). Removed unecessary floor() (Isn't by default, rounding from double to int will be rounded down like floor()?)
* A little clean up on skill_co_copy()

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2014-01-01 16:43:40 +07:00
lighta
28ecab5712 DB Import
Add folder import/ into db/ to load all customs
This folder is meant to hold all the customs file you wish override rA
one.
(In short it work like conf import)
related to tid:90199
2013-12-31 18:21:45 -05:00
Lilith
3f4c389cef Follow up dae8122 , b695ab3 , 8120164
Added missing line, removed item bonus from item_id:1602
2013-12-31 00:12:14 -08:00
Cydh Ramdh
ce518600f3 * Added and modified some item script
* Warped itemdb_re_split_atoi with #ifdef RENEWAL

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2013-12-31 13:09:27 +07:00
Lilith
8120164575 Follow up dae8122 , thanks Cydh. 2013-12-30 21:30:43 -08:00
lighta
b695ab3f41 Fix compilation issue
Follow up dae81222 (AEGIS class system) fix out of bound issue for
array.
(didn't check the x_ALL option system yet)
Follow up 7a9aa7fb Fix possible mapcrash due to offline player
Follow up 12007fef Fix some invalide string check and remove the
reverted sqlfiles
2013-12-30 15:21:25 -05: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
aleos89
7a9aa7fbcf Bugfixes
* Fixed WE_MALE and WE_FEMALE up to You to not consume HP/SP when it's below 10%. (bugreport:3546)
* Fixed WE_CALLPARTNER, WE_CALLPARENT, and WE_CALLBABY to not recall target if they are autotrading. (bugreport:2479)
* Fixed WE_BABY not checking for parents if they are in the same party and in the area. (bugreport:2518)
* Fixed Dragon Breath - Water not requiring a dragon. (bugreport:8237)
* Added a new config 'char_del_option' to set whether email or birthdate should be used for deleting characters. (bugreport:8240)
* Follow up to 9a5a6b9. Fixed a missing define check for 2013 clients when deleting a character. (bugreport:8399)
* Fixed Weapon Refining to use clif_upgrademessage. (bugreport:2135)
* Fixed script command 'prompt' not ending script state when player selects Cancel from menu. (bugreport:7932)
* Fixed nomineeffect display on GvG enabled maps. (bugreport:7754)
Others
* All items, except for Cash items, can no longer be used when storage is open.
* Defined constants for a lot of item and monster IDs used throughout the source.
* Follow up to 0f2dd7f. Corrected a change to the wrong hostname array.
2013-12-30 13:20:33 -05:00
Lilith
dae81222a8 * Added AEGIS 'CLASS_' enum
- Removed RC_BOSS, RC_NONBOSS, RC_NONDEMIHUMAN.
 - Added CLASS_NORMAL, CLASS_BOSS, CLASS_GUARDIAN enum.
 - Added CLASS_ALL, RC_ALL, ELE_ALL, SZ_ALL.
 - Item bonuses 'bAddDefClass' and 'bAddMdefClass' replaced by 'bAddDefMonster' and 'bAddMdefMonster'.
 - Item bonuses 'bIgnoreMdefRate' and 'bIgnoreDefRate' replaced by 'bIgnoreMdefRaceRate' and 'bIgnoreDefRaceRate'.
 - Added new item bonuses: bIgnoreDefClass, bIgnoreMdefRaceRate, bDefRatioAtkClass, bAddClass, bSubClass, bMagicAddClass, bWeaponComaClass, bHpDrainValueClass, bSpDrainValueClass, bIgnoreMdefClassRate.
 - Updated doc/item_bonus.txt
 - Updated db/re/level_penalty.txt & 'pc_level_penalty_mod' function.
 - Updated 'battle_calc_cardfix' function.
 - 'md->class_' replaced by 'md->mob_id'
2013-12-30 08:46:24 -08:00