12715 Commits

Author SHA1 Message Date
Cydh Ramdh
d7964edbda Another follow up 5f21afb2555d73bba219fd9fdb1d117c0e1950b1
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-22 18:36:39 +07:00
Cydh Ramdh
d951fab876 Follow up 231710c0fa9c2f9f3d150417e4ca2392850dd41b
* Updated const.txt entries. Thank @julia40124009

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-22 11:07:46 +07:00
nanakiwurtz
5ce3c68393 Champion Mobs natural spawn area added
* Follow up to fffb0adc66

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2015-03-22 03:41:20 +07: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
Cydh Ramdh
e93afad7db Follow up 2cee5b6ff1bf53c4ae53bc1278b09ae84b8a0a76
* A little clean up in BUILDIN_FUNC(getunitdata)

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-21 20:33:40 +07:00
Cydh Ramdh
be86cbd5a8 Merge pull request #352 from cydh/cleanup/instance
Instance cleanup
* Changed instance_db fixed array to DBMap
* Removed MAX_INSTANCE_DB
* Valid Instance ID is 1 ~ 65535
* Removed MAX_MAP_PER_INSTANCE from instance_db struct (in the map arrays)
* Change mapnames for instance_db to StringBuf
2015-03-21 20:01:48 +07:00
Cydh Ramdh
ee1866152f Follow up 5f21afb2555d73bba219fd9fdb1d117c0e1950b1
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-21 19:56:43 +07:00
Cydh Ramdh
2b00a1c9d3 Follow up 2cee5b6ff1bf53c4ae53bc1278b09ae84b8a0a76
* Some types aren't correct
* Missing '=' for Homunculi's max_sp change. Thank @lighta

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-20 19:37:26 +07:00
musashi076
82767650d1 Corrected Tiucknuc mob name into Tiyanak
To avoid confusion in Tiyanak Mob Hunt.
2015-03-20 13:41:52 +08:00
nanakiwurtz
acffcba636 Fixed #353 - item_trade.txt
* Thanks to @BraisGabin

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2015-03-20 10:13:51 +07:00
aleos89
f6df76bb15 Follow up to ec4f1f8
- Fixed script errors.
2015-03-19 21:26:49 -04:00
aleos89
ec4f1f8f80 Fixed #231 - Flavius Battleground Crystals can no longer be attacked while Guardians are still alive. Thanks to @cydh. 2015-03-19 21:02:59 -04:00
aleos89
2cee5b6ff1 Implemented Basic Unit Controller Script Commands
* Added getunitname, setunitname, getunitdata, and setunitdata script commands.
- getunitdata and setunitdata are open to suggestions for more values.
* Split unitstop to unitstopattack and unitstopwalk.
* Expanded unitskilluseid and unitskillusepos to be able to adjust casttime of skill.
* Added two new monster modes: MD_NORANDOM_WALK and MD_NOCAST_SKILL.
* The areamonster script command now saves spawned monster game IDs in an array called $@mobid[].
* Adjusted other monster spawning script commands to return game ID.
* Updated documentation to reflect changes.
2015-03-19 20:47:57 -04:00
Cydh Ramdh
0e5997e9ef Added map names check for entrance and maplist
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-19 23:12:36 +07:00
rAthenaAPI
e3adcbda3b SQL synchronization 2015-03-18 21:50:28 +01:00
aleos89
231710c0fa Bug Fixes
* Fixed #119 - Corrected Flash Combo weapon ATK and to cancel skill cast when target is more than 2 cells away.
* Fixed #148 - Corrected Kings Grace to only cast on guild members in versus type maps and added missing effects. Updated cooldown from 60 to 90 seconds.
* Fixed #341 - Offertorium and Magnificat now cancel each other out (Mimics Kyrie Eleison and Assumptio).
* Follow up to 5a0f8dc. Added missing monster transformation bonuses.
* Updated the Status Icon list with newer icons.
2015-03-18 15:12:02 -04:00
Cydh Ramdh
fb01b02283 Instance (core) cleanup
* Changed instance_db array to DBMap
* Removed MAX_INSTANCE_DB
* Valid Instance ID is 1 ~ 65535
* Removed MAX_MAP_PER_INSTANCE from instance_db struct (in the map arrays)
* Change mapnames for instance_db to StringBuf

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-18 19:57:37 +07: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
5a0f8dc12a Complete recheck of item_db, item_trade, item_combo_db and pet_db (Renewal only)
* Added more Combo Sets
* Added Quest of Clan System item
* Correcting wrong Vellum Combo Set
* Completed the item script for Halloween candies
* Updated item scripts to reflect the last state in kRO
* Removed multiple getrefine()'s so the getrefine() will be called only once in an item script
* Complete one by one item script and specification data (atk, def, weight, etc) recheck in the kRO patches throughout the period of 2 years! \o/

Signed-off-by: nanakiwurtz <nanakiwurtz240@gmail.com>
2015-03-17 09:47:02 +07:00
Cydh Ramdh
46f010cb28 Bug fixes:
* #331: Fixed Auto Shadow Spell always failed, 9d3d34205fdb424e4a9281c3e6a951a1f0cdbdc1 fault
* #340: Phantom Thrust can be used to pull a party member

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-16 23:08:43 +07:00
Cydh Ramdh
739a8f5831 Fixed #176 Stealth Field effect
* Should drains 3% caster's SP each 3 seconds
* Speed penalty for not the caster

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-16 20:53:30 +07:00
Cydh Ramdh
17ffda6235 Fixed 'wrong' mapname in party info window when member is in instance.
... I think I saw the report somewhere ...

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-16 00:02:41 +07:00
Lighta
d92a8df4c2 Remove some duplicate code 2015-03-15 05:52:53 -04:00
Lighta
d1eeda3466 Fix 'make tools' target for ./configure
Fix update.pl wasn't able to recompile due to path error.
2015-03-15 04:24:58 -04:00
aleos89
bae469e6c6 Follow up to 9d247d8
* Disable Packet Obfuscation if it's enabled and client version is below 2011-08-17.
2015-03-14 14:31:04 -04:00
aleos89
5a9ffc489f Follow up to 9f6f55c.
* Fixed Dragon Breath skill type checks.
* Adjusted Camouflage to account for ground-based skills.
- Thanks to @reigneil.
2015-03-14 12:38:14 -04:00
Aleos
9d247d88c1 Merge pull request #312 from rathena/feature/official_packet_obfuscation
Added Packet Obfuscation support
* More info: https://rathena.org/board/topic/101092-packet-obfuscation-support/
2015-03-14 12:25:27 -04:00
aleos89
1b69b981fa More cleanups
- Enabled Packet Obfuscation by default.
- Added a bit of documentation.
2015-03-14 11:45:42 -04:00
Cydh Ramdh
3b197eb76c Added optional param <char_id> for some script commands:
* getexp <base xp>,<job xp>{,<char_id>};
* equip <item id>{,<char_id>};
* unequip <equipment slot>{,<char_id>};
* delequip <equipment slot>{,<char_id>};
* breakequip <equipment slot>{,<char_id>};
* clearitem {,<char_id>};
* openmail {<char_id>};
* openauction {<char_id>};
* setquest <ID>{,<char_id>};
* completequest <ID>{,<char_id>};
* erasequest <ID>{,<char_id>};
* changequest <ID>,<ID2>{,<char_id>};
* checkquest(<ID>{,PLAYTIME|HUNTING{,<char_id>}})
* isbegin_quest(<ID>{,<char_id>})
* showevent <icon>{,<mark color>{,<char_id>}}
* setd "<variable name>",<value>{,<char_id>};

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-14 19:19:53 +07:00
Cydh Ramdh
5f21afb255 Added script command optional param for account/char id
* `set`, added char id -> set <var>,<value>{,<charid>}
* `rentitem`, added account id -> rentitem <item id>,<time>{,<account_id>};
* `rentitem2`, added account id -> rentitem2 <item id>,<time>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account_id>};
* `strcharinfo`, added char id -> strcharinfo <type>{,<char_id>};
* `getequipisequiped`, added char id -> getequipisequiped <equipment slot>{,<char_id>};
* `repair`, added char id -> repair <broken item number>{,<char_id>};
* `repairall`, added char id -> repair {<char_id>};

Added macros
* Macro to replace a check "if there's additional param for account/char id then get the value or use attached rid"
* script_accid2sd(<param_location_for_account_id>,sd,<fail action>)
* script_charid2sd(<param_location_for_char_id>,sd,<fail action>)
* script_nick2sd(<param_location_for_char_id>,sd,<fail action>)

TODO:
* Add optional param for CharID/AccountID/Nick for other necessary commands

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-14 18:52:18 +07:00
Playtester
16d747af48 - Fixed trap HP and knock back (fixes #338)
* Talkie Box and all ranger traps no longer can be destroyed by HP damage
* Electric Shock can now be knocked back
2015-03-14 11:50:59 +01:00
aleos89
9f6f55c07c Bug Fixes
* Fixed #167 - Dragon Breath burning chance is now 15% for all levels. Also corrected damage calculation. Thanks to @exneval.
* Fixed #270 - Cleaned up Reverberation and how it's triggered.
* Fixed #321 - Follow up to 1b6be4e. Fixed MATK calculation for for all player, monster, homunculus, mercenary, etc.
* Fixed #332 - Camouflage now hides player from targeting skills. Added missing DEF/DEF2 bonus.
* Fixed #335 - Check to make sure script has data before trying to free null values.
* Fixed Full Throttle SP drain amount and movement speed increase value. Updated cooldown value to 30 minutes.
* Fixed Bloody Lust skill type from magic to none.
* Fixed Mix Cooking, Make Bomb, Special Pharmacy, Change Material, and Rune Mastery success and fail animations.
* Cleaned up some more compile warnings.
2015-03-13 17:49:38 -04:00
nanakiwurtz
d34a12ee05 Item DB Update
* Added Red Booster and Green Potion item script
2015-03-13 04:18:55 +07:00
nanakiwurtz
96c49c805f Item DB Update
* Fixed wrong item script in item_db.txt and item_combo_db.txt
Thanks to @trickyloki3
2015-03-13 02:06:12 +07:00
nanakiwurtz
45e1bf295d Item Combo Update
* Added some more Aegir combo set
2015-03-13 01:08:57 +07:00
aleos89
1b6be4e0df Bug Fixes
* Fixed #145 - Corrected the duration of Frigg's Song ending too quickly.
* Fixed #202 - Added damage bonus for Rifle when using Piercing Shot (renewal).
* Fixed #257 - Adjusted get_status() in athena-start to return the correct string.
* Fixed #272 - Blood Lust not leeching HP from target.
* Fixed #298 - Corrected the renewal calculation of ATK and ASPD for Homunculus.
* Fixed #309 and #313 - Cleaned up warnings during compile.
* Fixed #321 - Monsters not calculating MATK at spawn (renewal).
* Added missing renewal calculations for Mercenary.
2015-03-11 10:10:05 -04:00
Playtester
ad8e22139f Kaahi and Arrow Shower RE fixes
- Removed Kaahi timer system (fixes #320)
* Kaahi will now heal BEFORE the damage is dealt
* Heals will no longer get lost due to timer system
* Decreased Kaahi duration 1800->350 seconds
- Implemented recent Arrow Shower Renewal updates (fixes #310)
* Arrow Shower now has 3x3 AoE on level 1~5 and 5x5 AoE on level 6~10
* Arrow Shower now has a fixed after cast delay of 500ms
* Note: The bug that causes the skill to hit twice is still present (couldn't fix it)
2015-03-07 19:27:49 +01:00
aleos89
1be5665580 Small cleanup
- Fixed some compile warnings when Packet Obfuscation is disabled.
2015-03-06 09:48:08 -05:00
aleos89
86f1cebee8 Merge branch 'master' of https://github.com/rathena/rathena into feature/official_packet_obfuscation 2015-03-06 09:41:41 -05:00
Cydh Ramdh
6472425c10 Something left behind...
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-05 00:14:30 +07:00
Cydh Ramdh
73bfa215e5 Fixed #317
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-04 23:49:56 +07:00
Cydh Ramdh
5c24534b51 Expanded msg len for e_msg in pc_useitem to CHAT_SIZE_MAX
Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-04 23:12:48 +07:00
Cydh Ramdh
f05119b36c Packet Obfuscation support
* Enable it by uncomment `#define PACKET_OBFUSCATION` in mmo.h
* Obfuscation keys are defined in db/packet_db.txt, each packet_ver has their own default keys (for temperory lookup) in `packet_keys:` right after `packet_ver:`
* Keys can be refined (user-defined keys) by defining the keys in `packet_keys_use:` in file db/[import/]packet_db.txt
* This feature only for client 20110817 or newer
* `@reloadpacketdb` won't changes the keys, so make sure define everything before run the map-server.

Thank to @icxbb-xx, @aleos, 5a942993dd

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-03-01 15:16:56 +07:00
Playtester
d4aa4c70a7 Walkpath loop fix (fixes #198)
- Move requests one cell west will now be ignored if the target cell is occupied
- You can now set official_cell_stack_limit to 0 to completely disable it including the limitation above
2015-02-28 15:41:18 +01:00
Cydh Ramdh
7d42cf2ba4 Follow up fa75733cc109f926b1df4156ccdf1292c78f8f79
* `getiteminfo` fix after `elvmax` added

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-02-28 13:05:06 +07:00
Aleos
d8ecfeb48b Merge pull request #307 from rathena/hotfix/issue296
Fixes #296
- Warg Strike can now trigger by Fist, Dagger, and Bow (no restrictions).
2015-02-27 10:59:01 -05:00
Cydh Ramdh
72a831aa2f Added "clear" for item group
* It is: <IG>,clear,0,0

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
2015-02-27 11:29:41 +07:00
Lemongrass3110
f366a23fa2 SQL synchronization 2015-02-26 21:40:40 +01:00