760 Commits

Author SHA1 Message Date
rAthenaAPI
70f39149b3 SQL synchronization
[ci skip]
2015-06-07 22:38:09 +02:00
nanakiwurtz
4f2138dfe7 Item DB Update
* View ID added for 20130, 20132, 20133, 20226, 20230, 20233
* Thanks to @lelouch22

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2015-06-03 01:10:40 +07:00
nanakiwurtz
ca00feec5c Item DB Update
* Updated up to kRO 2014-12-03-12 [Limited Actinidia Cat Fruit Box (200)]
* Description for Item ID 17527
냥다래 열매가 200개 들어있는 상자.
소량의 통조림도 보너스로 들어있다.
본 아이템을 개봉하시면 청약철회 및 환불 대상에서 제외 됩니다.
무게 : 1
* Description for Item ID 20130
Modeled after the shape of the whispers made long hats.
Class : ^777777Costume Equipment^000000 Defense :^7777770^000000
Location: ^777777Upper^000000 Weight :^7777770^000000
Required Level :^7777771^000000
Applicable Job :^777777all jobs^000000
* Description for Item ID 20132
Unknown comforting body wrap.
Class : ^777777Costume Equipment^000000 Defense :^7777770^000000
Location: ^777777Lower^000000 Weight :^7777770^000000
Required Level :^7777771^000000
Applicable Job :^777777all jobs^000000
* Description for Item ID 20133
Wearing a pet poring!?.
Class : ^777777Costume Equipment^000000 Defense :^7777770^000000
Location: ^777777Upper^000000 Weight :^7777770^000000
Required Level :^7777771^000000
Applicable Job :^777777all jobs^000000
* Description for Item ID 20230
모든것을 잃고 파산해버린 자의 깊은 슬픔을 나타낸 가면.
계열 : 의상장비 방어 : 0
위치 : 중하단 무게 : 0
요구 레벨 : 1
장착 : 전직업
* Description for Item ID 20231
한 겨울의 정취가 느껴지는 눈사람 모자.
계열 : 의상장비 방어 : 0
위치 : 상단 무게 : 0
요구 레벨 : 1
장착 : 전 직업
* Description for Item ID 20232
금테두리를 두른 고급스러운 리본. 버려졌을 당시부터 지금까지 키미와 함께였다.
계열 : 의상장비 방어 : 0
위치 : 상단 무게 : 0
요구 레벨 : 1
장착 : 전 직업
* Description for Item ID 20233
오줌을 누고 있는 형상의 황금아기천사상. 머리에 이고 다니면 조금 부끄럽다.
계열 : 의상장비 방어 : 0
위치 : 상단 무게 : 0
요구 레벨 : 1
장착 : 전 직업
* Uncommented line #3591 in /db/re/item_trade.txt for Item ID 17527 = Actinidia_Cat_Fruit_Box(200)

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2015-05-27 01:59:27 +07:00
nanakiwurtz
9c00368270 Item DB Update
* Various fixes

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2015-05-24 23:24:14 +07:00
nanakiwurtz
ba3816709d Follow up to 0bf3888
Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2015-05-24 19:59:54 +07:00
nanakiwurtz
0bf388832b Item DB Update
* Updated up to kRO 2014-11-26 (Limited Power Booster Box)

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2015-05-24 19:54:07 +07:00
nanakiwurtz
058f6fdfcb Follow up to c7fdd23
Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2015-05-23 23:40:32 +07:00
nanakiwurtz
c7fdd23dc9 Item DB Update
* Updated up to kRO 2014-11-19 (New Enchantment Stones)

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2015-05-23 23:33:10 +07:00
rAthenaAPI
b69853da2a SQL synchronization
[ci skip]
2015-05-23 18:09:03 +02:00
nanakiwurtz
3e23c18c99 Item DB Update
* Updated up to kRO 2014-11-05 (Quest Of Clan System)

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2015-05-23 22:08:40 +07:00
rAthenaAPI
1325e68891 SQL synchronization
[ci skip]
2015-04-25 15:52:54 +02:00
rAthenaAPI
93e8245c0a SQL synchronization
[ci skip]
2015-04-24 20:41:16 +02:00
rAthenaAPI
e1c3fc443f SQL synchronization
[ci skip]
2015-04-23 23:04:13 +02:00
rAthenaAPI
54e1a645f2 SQL synchronization
[ci skip]
2015-04-21 22:40:58 +02:00
rAthenaAPI
0922e8e050 SQL synchronization
[ci skip]
2015-04-13 12:07:56 +02:00
rAthenaAPI
c54af74f4b SQL synchronization
[ci skip]
2015-04-10 20:02:46 +02:00
rAthenaAPI
f752619a41 SQL synchronization
[ci skip]
2015-04-10 19:01:24 +02:00
rAthenaAPI
7d98dce738 SQL synchronization 2015-04-09 19:17:10 +02:00
Cydh Ramdh
5ed75dc877 * Merge pull request #294 and its clean up
* Moved Bank Vault from `login` table (login-server level) to `global_reg_value` as #BANKVAULT (char-server level)
  * IMPORTANT: Read & import upgrade_20150408.sql
* Follow up cbdc0127, another fix for Point Shop NPC.
* Follow up 022d7289, corrected picklog initial for bound items that removed when member of guild/party or guild/party is broken. Please import upgrade_20150408_log.sql

Signed-off-by: Cydh Ramdh <cydh@pservero.com>
2015-04-09 01:26:17 +07:00
rAthenaAPI
1518d7be24 SQL synchronization 2015-04-04 17:10:44 +02:00
rAthenaAPI
f924f5aeac SQL synchronization 2015-04-04 01:20:40 +02:00
rAthenaAPI
e4f458f1dc SQL synchronization 2015-03-31 19:37:03 +02:00
rAthenaAPI
f62d2ab2d6 SQL synchronization 2015-03-31 12:53:33 +02:00
rAthenaAPI
a17d7bd8ed SQL synchronization 2015-03-28 02:15:20 +01:00
rAthenaAPI
ae66f7197f SQL synchronization 2015-03-27 17:11:57 +01:00
Cydh Ramdh
7d929a06a3 NPC Market Shop support
* New shop script definition: `<map name>,<x>,<y>,<facing>%TAB%marketshop%TAB%<NPC Name>%TAB%<sprite id>,<itemid>:<price>:<quantity>{,<itemid>:<price>:<quantity>...}`
* Added script command to update shop NPC: 'npcshopupdate "<name>",<itemid>,<price>{,<stock>}'
* Added NPCMarketDB (DBMap) for market data persistance method.
* Added `market_table` definition for market table in conf/inter_athena.conf.
* Thank to @aleos89, @Lemongrass, @icxbb-xx, merged HerculesWS/Hercules@cf19b26.

NOTES:
* Minimum client needed 2013-12-23 (but this client has bugs there-and-there).
* There's new table, see `upgrade_20150327.sql`.
* Market shop doesn't support discount.
* Added items by script `npcshopitem` or `npchopadditem` will be assumed as persistance items, will be loaded on next script reload or server start even market_shop NPC does't list them (unless NPC is not exists, entries will be removed).

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-27 21:11:07 +07:00
rAthenaAPI
c62b328413 SQL synchronization 2015-03-24 06:28:21 +01:00
Lemongrass3110
bbf6b96339 SQL synchronization 2015-03-23 21:09:59 +01:00
nanakiwurtz
fffb0adc66 Champion Mobs Implemented
* Big thanks to @Skormie, @Lemongrass3110 and @euphyy

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2015-03-22 01:59:22 +07:00
rAthenaAPI
e3adcbda3b SQL synchronization 2015-03-18 21:50:28 +01:00
nanakiwurtz
17213cabe3 File item_db.txt fixed
* Thanks to @carl820912

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2015-03-18 09:41:36 +07:00
nanakiwurtz
8d47306f18 File item_db_re.sql fixed
Missed a comma, Thanks to @carl820912
2015-03-17 17:40:20 +07:00
nanakiwurtz
186e7edf38 File item_db_re.sql updated
Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2015-03-17 09:47:03 +07:00
nanakiwurtz
d34a12ee05 Item DB Update
* Added Red Booster and Green Potion item script
2015-03-13 04:18:55 +07:00
Lemongrass3110
f366a23fa2 SQL synchronization 2015-02-26 21:40:40 +01:00
aleos89
d3625e5c10 Cleaned up merge issues. 2015-02-21 15:43:58 -05:00
Cydh Ramdh
d5b271b926 Merge pull request #289 from rathena/feature/bonus_HPSP_VanishRace
Bonus HP/SP Vanish updates:
* Added 'bonus3 bHPVanishRaceRate,r,n,x' (2074) and 'bonus3 bSPVanishRaceRate,r,n,x' (2075)
* Corrected documentation about 'bHPVanishRate' and 'bSPVanishRate', rate should be n/100%, 10000 for 100%
* 'bHPVanishRate' and 'bSPVanishRate' applied regardless the target's Race and map (before, if target is player bHPVanishRate only works in PVP/GVG maps)
* Changed Velum item scripts:
  * (1294) Velum_Scare to 'bonus3 bSPVanishRaceRate,RC_Player,10000,10;'
  * (1395) Velum_Buster to 'bonus3 bSPVanishRaceRate,RC_Player,10000,10;'
  * (18113) Velum_Arbalest to 'bonus3 bSPVanishRaceRate,RC_Player,10000,4;'
  * (21002) Velum_Katzbalger to 'bonus3 bHPVanishRaceRate,RC_Player,10000,8;'
2015-02-13 16:45:23 +07:00
Cydh Ramdh
bf6d2f0197 Merge pull request #263 from rathena/cleanup/bonus_script
Bonus Script clean up
* Removed fixed array size (MAX_PC_BONUS_SCRIPT) of bonus_script on players, changed to link list.
* Changed fixed script string on player's bonus_script to StringBuf, reduce memory usage for each connected player.
* Added new flags to expand duplicated script and flag to allow duplicate script.
* Reduced buf length from 1024 to 512 on bonus_script_data (used for saving/loading bonus_script from char-server). Still, MAX_PC_BONUS_SCRIPT is used to gives limit data can be loaded.
* Merged 'pc_bonus_script_clear_all' to 'pc_bonus_script_clear'
* Now bonus script will be saved on auto-save timer or other save request, prevent losing the bonus when "something" happen. But, saving when player is quitting will removes the bonus that won't be saved on logout.
* Fixed Superstar_Snack (22843) and Sealed_Dracula_Card (22846) fields

NOTE:
Please import 'upgrade_20150131.sql' for `bonus_script` table changes

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-02-13 16:37:28 +07:00
Cydh Ramdh
2ef7a7daa8 Bonus HP/SP Vanish updates:
* Added 'bonus3 bHPVanishRaceRate,r,n,x' (2074) and 'bonus3 bSPVanishRaceRate,r,n,x' (2075)
* Corrected documentation about 'bHPVanishRate' and 'bSPVanishRate', rate should be n/100%, 10000 for 100%
* 'bHPVanishRate' and 'bSPVanishRate' applied regardless the target's Race and map (before, if target is player bHPVanishRate only works in PVP/GVG maps)
* Changed Velum item scripts:
  * (1294) Velum_Scare to 'bonus3 bSPVanishRaceRate,RC_Player,10000,10;'
  * (1395) Velum_Buster to 'bonus3 bSPVanishRaceRate,RC_Player,10000,10;'
  * (18113) Velum_Arbalest to 'bonus3 bSPVanishRaceRate,RC_Player,10000,4;'
  * (21002) Velum_Katzbalger to 'bonus3 bHPVanishRaceRate,RC_Player,10000,8;'

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-02-13 01:39:17 +07:00
Cydh Ramdh
9d3d34205f Skill DB clean ups
* Changed skill_db array to better memory allocation.
* Reduced MAX_SKILL_LEVEL from 100 to 10 (part of Hercules 0f4a50d135), also has changes on skill_get checks for skill level that more than 10.
* Reduced MAX_SKILL from 5020 to 1200 (actually only 1109 skills are used).
* Added macros for checking Homunculus, Guild, Mercenary, & Elemental skill ranges.
* Added skill check & index validation when player logged in and when @reloadskilldb.
* Corrected `enum e_skill_flag` order for SKILL_FLAG_REPLACED_LV_0's sake.
* Merged 'addtoskill' script command just as alias of 'skill' script command.
* Fixed #277
* Changed 'skill' script command flag to constant value

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>

NOTE:
* Decreased memory usage by map-server reduced up to 50 MB.
* Decreased memory for each player because of mmo_charstatus::skill[] only has 1200 array, before is 5020.
* Please use skill_get_index() for accessing sd->status.skill[] or skill_db[], don't reckless use skill_id as array index.
* Please import upgrade_20150211_skillset.sql

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-02-12 15:50:50 +07:00
Cydh Ramdh
892e961823 * Fixed Superstar_Snack (22843) and Sealed_Dracula_Card (22846) fields
* Removed debug leftover

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-02-12 14:57:59 +07:00
Aleos
0e533fa7ab Revert "Skill DB clean ups" 2015-02-10 09:33:00 -05:00
Lemongrass3110
adbf6f05c6 SQL synchronization 2015-02-10 14:22:49 +01:00
Lemongrass3110
965416bb76 Small fixes to @lighta's convert SQL script 2015-02-10 14:18:45 +01:00
Cydh Ramdh
72617ac98b Skill DB clean ups
* Changed skill_db array to better memory allocation.
* Reduced MAX_SKILL_LEVEL from 100 to 10 (part of Hercules 0f4a50d135), also has changes on skill_get checks for skill level that more than 10.
* Reduced MAX_SKILL from 5020 to 1200 (actually only 1109 skills are used).
* Added macros for checking Homunculus, Guild, Mercenary, & Elemental skill ranges.
* Added skill check & index validation when player logged in and when @reloadskilldb.
* Corrected `enum e_skill_flag` order for SKILL_FLAG_REPLACED_LV_0's sake.
* Merged 'addtoskill' script command just as alias of 'skill' script command.

Summary:
* Decreased memory usage by map-server reduced up to 50 MB.
* Decreased memory for each player because of mmo_charstatus::skill[] only has 1200 array, before is 5020.
* Please use skill_get_index() for accessing sd->status.skill[] or skill_db[], don't reckless use skill_id as array index.

NOTE:
* Please import upgrade_20150131_skillset.sql

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-31 19:45:52 +07:00
Cydh Ramdh
95705d41be Bonus Script clean up
* Removed fixed array size (MAX_PC_BONUS_SCRIPT) of bonus_script on players.
* Changed fixed script string on player's bonus_script to StringBuf, reduce memory usage for each connected player.
* Added new flags to expand duplicated script and flag to allow duplicate script.
* Reduced buf lenght from 1024 to 512 on bonus_script_data (used for saving/loading bonus_script from char-server). Still, MAX_PC_BONUS_SCRIPT is used to gives limit data can be loaded.

NOTE:
Please import 'upgrade_20150131.sql' for `bonus_script` table changes

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-31 15:07:13 +07:00
nanakiwurtz
e31ed0c3ea Item DB Fix
-- Thanks to Chaos92

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2015-01-22 22:53:44 +07:00
nanakiwurtz
88fdcc0ac2 Item DB Fix #236
-- Thanks to @trickyloki3
2015-01-19 05:44:50 +07: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
01ae1ae612 Fixed #235
* Thank @trickyloki3
* Except items with "ALL_REVERSEORCISH" skill

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-01-18 19:09:18 +07:00