8726 Commits

Author SHA1 Message Date
Sader Fawall
ead017b396 Clear script command(#2840) 2018-02-18 17:47:41 +01:00
Lemongrass3110
132feeb621
Made mercenary db dynamic (#2883)
Removed hard limit of the mercenary database
Cleaned up the hard coded duplicated logic
Turned hard coded mercenary ids into constants
2018-02-18 17:15:09 +01:00
Aleos
02983c4f63
Fixed Mystical Amplification and Chain Lightning (#2907)
* Fixes #2897.
* Mystical Amplification should only boost the damage for the first Chain Lightning attack.
Thanks to @admkakaroto!
2018-02-16 09:43:49 -05:00
Aleos
d2c5ca99fa
Updated Masquerade - Weakness behavior (#2909)
* Fixes #2905.
* Players can no longer equip weapons/shields while the status is active.
Thanks to @Everade!
2018-02-15 22:24:12 -05:00
Aleos
a40b1da4d0
Updated Cultivation plant spawn formula (#2910)
* Fixes #2892.
* Corrected level 2 Cultivation formula for spawning plants.
Thanks to @mrjnumber1!
2018-02-15 21:49:12 -05:00
Daegaladh
2ecb30abb2 Fixed AL_HOLYWATER behavior (#2860)
* Fixes #2853.
* Holy Water should not cast or consume SP when the player has no empty bottles, both in water (and water skills) and outside water.
Thanks to @Daegaladh!
2018-02-15 19:00:11 -05:00
Lemongrass3110
2746e0d351 Removed password output from atcommand accinfo
Thanks to @4144 for bringing this absurd thing to our attention in HerculesWS/Hercules#1975
2018-02-15 23:19:27 +01:00
Lemongrass3110
e1b9d24324 Added support for 2018-02-07bRagexeRE
Thanks to @4144
2018-02-15 17:27:06 +01:00
Lemongrass3110
9d4fa62e65 Fixed a bug with pin code on 2018-01-24
The button to access pin code menu after entering the correct code was likely removed in this client.
It was rendered in between all the characters if we send out the PASSED state instead of the OK state.

Thanks to Bruno
2018-02-10 02:31:29 +01:00
Lemongrass3110
afab80fb6e Updated card seller (#2851)
* Updated card seller

Fixes #2844

Thanks to @vstumpf, @Atemo !
2018-02-09 19:55:54 +01:00
Aleos
75a8f520a6
Corrected Heat Barrel bonuses (#2882)
* Fixes #2875.
* Attack was not factoring in coins.
* Corrected fixed cast time to also factor in coins.
Thanks to @rye305!
2018-02-09 13:27:39 -05:00
Lemongrass3110
8792960df2
Added support for 2018-01-24 (#2884)
In this client the new character select and cash shop UI from Ragnarok Zero were merged into the Sakray client.
Increased MAX_CHARS to 15 to fit the new character select
Added possibility to overwrite MAX_CHARS in defines_pre.h

As always thanks to @4144 for the shuffle packets and keys.
2018-02-09 15:35:58 +01:00
flamefury
8258df6473 Chance to craft 2 runes starts at RuneMasteryLv5, not 6 2018-02-07 17:26:27 -08:00
flamefury
82035609d4 Correct the party member ATK bonus of RK_FIGHTINGSPIRIT (#2877)
Fixes #2876
2018-02-07 22:32:00 +01:00
Aleos
4171cd1801
Updates Rolling Cutter counter behavior (#2837)
* Fixes #2835.
* Rolling Cutter counter should only be reset on physical click-walks, not by any other movement.
Thanks to @ecdarreola and @secretdataz!
2018-01-30 14:15:42 -05:00
Aleos
f2c7384890 Cleaned up Miracle damage bonus (#2811)
* Cleaned up Miracle damage bonus
* Fixes #2809, #2823.
* Moved the bulk of the checks outside of the status change check.
* This was possibly preventing the bonus from being applied when no statuses are active.
Thanks to @Dakado!
* Fixed Star Gladiator's SLS Wrath ATK calculation to match official servers.
2018-01-28 23:20:59 +07:00
Maytichai Saowa
db4e9b2565 Fixed minor style typo in clif_obfuscation.hpp (#2845) 2018-01-28 22:10:09 +07:00
Daegaladh
de9b4efd1a Fixed required weapon messages. (#2808)
Fixes #2804 

Thanks to @Daegaladh
2018-01-27 00:26:51 +01:00
Lemongrass3110
ec59e95520 Fixed a problem with instance_db import
Fixes #2824

Thanks to @luan122
2018-01-25 19:08:56 +01:00
Lemongrass3110
bb0dd7b8dc
Fixed mapserver crash on script command warp (#2766)
Fixes #2765

Thanks to @LunarSHINING
2018-01-24 19:30:05 +01:00
Lemongrass3110
3a8c8a9da4
Cleaned up whisper code between map-servers (#2763)
Fixes #2760
Fixes #2762

Thanks to @LunarSHINING
2018-01-24 18:33:09 +01:00
Lemongrass3110
c4a57c571c Added support for 2018-01-17aRagexeRE
Fixed char select on 2018 clients
2018-01-24 00:41:38 +01:00
Aleos
2e90136dc3
Corrected Reverberation behavior (#2758)
* Fixes #2757.
* Reverberation will no longer trigger the cast animation on the caster when a target walks into it.
Thanks to @MrAntares!
2018-01-12 10:45:52 -05:00
Lemongrass3110
7a0f3d0eaf Added RagexeRE support until 2018-01-03
Thanks to @4144
2018-01-10 22:44:10 +01:00
Jittapan Pluemsumran
48d79cef43 Don't allocate space for new castle data if castle with the same ID already exists. Fixed #2793.
Thanks to @Daegaladh
2018-01-09 19:44:56 +07:00
Yudi Maharlika
a6818eb501 Fixes typo in atcommand.cpp that makes atcommand @accept after duel cannot be used because of limit player reached. (#2778) 2018-01-07 11:30:37 -05:00
Technoken
15b6d5cc83 Corrected Cannibalize behavior (#2769)
* Fixes #2768.
* Fixes Cannibalize level 5 spawning multiple Geographer due to a typo.
Thanks to @technoken!
2018-01-04 10:38:28 -05:00
Lemongrass3110
6f01321b27 Merged two similar conditions on mapchange 2018-01-03 22:41:58 +01:00
Lemongrass3110
c4bfe0b122 Fixed a wrong fifohead allocation 2018-01-03 22:31:04 +01:00
Jittapan Pluemsumran
bfb6972c59 Implemented getequiptradability script command (#2750)
Thanks to @aleos89 @anacondaqq @Lemongrass3110
2018-01-03 21:51:38 +01:00
Lemongrass3110
8c53679a94 New mob placeholders and npc ids 2018-01-02 19:46:43 +01:00
Cydh Ramdh
32950ecead
Updated Item Group features (#2692)
* Added config to hide last chars of player's name `broadcast_hide_name` and its default value is 2.
* Fixed `getgroupitem` that should give unidentified item for equipment types.
* Added optional param for `getgroupitem` and `getrandgroupitem` to always give player identified item, ignores the `itemdb_isidentified`'s check.
* Thanks to @aleos89 @Lemongrass3110
2018-01-02 12:55:52 +07:00
Lemongrass3110
fb966a12e0
Turned pet db into a dynamic map (#2727)
Thanks to @Jeybla, @lighta and @aleos89
2018-01-01 22:57:47 +01:00
aleos
5602bb04f8 Follow up to 1f0ea81
* Removed specific job restrictions from atcommand bodystyle.
2017-12-30 15:43:17 -05:00
aleos
1f0ea81d3f Added Rune Knight to atcommand bodystyle
* Fixes #2746.
Thanks to @mazvi!
2017-12-30 10:50:47 -05:00
Sader Fawall
e88785b181 Resolved a compile error (#2743) 2017-12-29 20:41:54 +07:00
aleos
e385e167ab Resolved a compile warning
* Follow up to 716f6c0.
* Fixes #2738.
Thanks to @sader1992!
2017-12-28 16:28:58 -05:00
Sader Fawall
d19ba918ae Update pet script command (#2705)
* Fixes #2703.
* Added alternative for script command bpet: birthpet.
* Added alternative for script command pet: catchpet.
* Updated documentation for script command pet.
* Added PET_CATCH_UNIVERSAL_ITEM for script command pet which will attempt to catch the targeted monster as long as it is in the pet database and the targeted monster requires the lure item used.
Thanks to @sader1992!
2017-12-27 21:27:04 -05:00
lighta
716f6c0f29 Duel allocation (#2734)
* Duels are now dynamically created and no longer statically consumes memory.
* Removed max number of duel at once.
* Updated duel modules for multi-thread and safer management.
* Remove various statically allocated tab.
* Removed duplicate code for npc_movenpc.
* Fix few warnings.
Thanks for suggestions from @anacondaqq.
2017-12-27 19:39:45 -05:00
Aleos
ae69e50626 Cleaned up renewal ASPD calculations (#2244)
* Cleaned up renewal ASPD calculations
* Fixes #2067 and fixes #2224.
* Adjusted the ASPD table to match Aegis values.
* Angra Manyu now disregards base ASPD values (Pre-Renewal only).

* Relocated Angra Manyu check
* Moved Angra Manyu check to the front to avoid useless calculations.
Thanks to @Lemongrass3110!

* Corrected double weapon calculations
* Resolved wearing two weapons causing ASPD to drop significantly.
* Corrected some typos in the Assassin class ASPD table.
* Added a missing Shadow Arms equipment check.
Thanks to @Lilori!

* Removed some unneeded defines

* Removed the single handed and double handed weapon max defines.
Thanks to @Jeybla!

* Renamed constants to keep legacy values

* Update status.cpp
2017-12-23 16:00:54 -05:00
Aleos
5e2dd2afee Relocated restricted equip failure check (#2735)
* Fixes #2534.
* Moved the restricted equipment failure check before the Super Novice Soul Link check.
Thanks to @admkakaroto!
2017-12-23 14:17:09 -05:00
lighta
5ad35eb66b
Fix #2694 (#2732)
* Fix #2694

Move down skill_unit_move(bl,gettick(),4) of unit_remove_map_ to avoid conflict with duel changing realm.
The issue was that skill_unit_onleft was called before the duel_leave handling which was reapplying skill_unit_onplace causing an infinite status duration.
Other skill might had same issue.

* Small optimisation.
Avoid calling status_change_end when we have no status set yet (or no status_change holder).
Move down overrecurent call to status_change_end SC_ROLLINGCUTTER.
2017-12-22 14:29:44 -05:00
Lemongrass3110
65771a8ec1 Switched mob db searches to find (#2726)
* Switched mob db searches to find
* Replace NULL with nullptr

As suggested by @Jeybla
This way no (caught) exceptions will be reported in visual studio anymore
2017-12-22 07:43:44 -05:00
aleos89
d44367690c Exported the pet catch constant
* Exported to allow usage in scripts.
2017-12-21 13:00:15 -05:00
Aleos
9315781a48
Updated Pet catching values (#2719)
* Added pet catching constants.
* Converted catch_target_class from short to uint16 for future expansion.
Thanks to @Lemongrass3110!
2017-12-21 12:54:19 -05:00
Lemongrass3110
6e7e97cac7 Fixed a crash caused by setquest in login events (#2728)
Fixes #2700

Thanks to @ignizh
2017-12-21 11:06:16 -04:00
lighta
a0c8961e62 Fix #2724 (#2725)
Prevents accessing a nullpointer from a non existant mob when using mobsearch
2017-12-21 00:14:16 +01:00
Lemongrass3110
88e48ed6ff Follow up to 7a1a76a
Thanks to @AthenaStudioz and @sader1992
2017-12-20 21:55:06 +01:00
Sader Fawall
eb8f33e40f Corrected mapcache build (#2715)
* Removed the hyphen from the name in the Windows build.
Thanks to @sader1992!
2017-12-20 10:02:52 -05:00
Jeybla
5a80f29b65
Fixes potential map server crashes. (#2695)
* status_change_timer refactorization
* Changes some pointers to const pointers to prevent unwanted behavoir.
* Changes sc_timer_next to a lambda function with only the tick as a
  paramter.
* sce is not reassigned in sc_timer_next anymore, therefore it should be
  crash safe (see #2414 and #2539)
* Fixes #2539
* Thanks to @whupdo, @MuzTank and @admkakaroto!
2017-12-20 01:00:10 +01:00