9945 Commits

Author SHA1 Message Date
Atemo
08adc45ba9
bg_join - battleground doc update (#5385)
* Added more information in the doc about waitingroom2bg_single and bg_join commands
* Added MF_BATTLEGROUND mapflag check in waitingroom2bg_single and bg_join to prevent the player to join a bg when the battle map is not a battleground map
2020-09-09 15:09:55 +02:00
Daegaladh
bd90763ffe
Fixed a potential crash in the char-server (#5381) 2020-09-07 20:25:27 +02:00
Atemo
7264180a6f
Small correction in bg_team_leave (#5372)
Corrected bg_team_leave to also remove the player from the bg when entry_point (bg enqueue) is not defined
2020-09-03 22:51:24 +02:00
Atemo
07cac123a9
Terra Gloria (episode 16.2) - walkthrough conversion (#3990)
* Updated monsters DB (data from aegis and DP)
* Updated item_db (data from aegis and DP)
* Updated quest_db, thanks to @zackdreaver for the quests names !
* Implemented SC_EP16_2_BUFF_SS, SC_EP16_2_BUFF_SC, SC_EP16_2_BUFF_AC buff, thanks to @aleos89 !
** Not removed on change map
** Not removed on log out
** Not removed by dispell/clearance/Vanishing Buster
** Removed on death
* SQL synchronisation

Thanks to @Badarosk0, @attackjom, @admkakaroto, @JohnnyPlayy, @Angelic234, @teededung for the reviews/contributions !
2020-08-29 00:33:28 +02:00
Daegaladh
1c123a517e
Added/improved SG's maps and monsters reset script and GM commands (#5359) 2020-08-26 23:52:26 +02:00
Aleos
09c6f7511d
Fixes timer deletion errors from skill_keep_using (#5355)
* Fixes #5354.
* Fixes invalid or wrong timers getting deleted from skill_keep_using when using a second time.
* Adds skill casting checks to prevent timers from being created if the player can't cast the skill to begin with.
Thanks to @Masao87 and @admkakaroto!
2020-08-25 14:27:47 -04:00
Aleos
229f086b31
Fixes a potential crash with the mail system (#5345)
* Fixes a potential crash with the mail system
* Fixes #5298.
* Resolves a potential crash with the mail system if someone is modifying packets.
* Adds an extra item verification check.
Thanks to @blipblopblip!
2020-08-21 16:59:34 -04:00
Aleos
ca27c6d89d
Parry delay should be based on adelay (#5325)
* Removes hard coded 1 second delay.
* The delay should scale based on the player's ASPD.
Thanks to @mrjnumber1 and @Daegaladh!
2020-08-21 13:10:55 -04:00
Aleos
73928b4fe2
Fixes renewal Spiral Pierce damage (#5262)
* Fixes #3503.
* Adjusts weight damage modifier 7%.
* Adjusts size damage modifier for small targets to 115%.
* Adjusts size damage modifier for large targets to 85%.
* Adjusts size damage modifier to only apply for players.
Thanks to @mrjnumber1!
2020-08-21 10:17:44 -04:00
Aleos
2afc3c1a7f
Corrects some details about new Alchemist Potions (#5335)
* Fixes the Concentrated Red, Blue, and Golden Syrup Potions to only require 5 Empty Potion Bottles instead of 10.
* Fixes Golden X to return 1 damage instead of 0 on reflect.
Thanks to @Badarosk0 and Sigma!
2020-08-20 14:56:39 -04:00
Daegaladh
0e4b36dbb8
Fixed battlegrounds not resetting on reloadscript (#5255)
* Thanks to @aleos89
2020-08-19 18:05:52 +02:00
Daegaladh
2d164cb8c8
Fixed skill usage keeping timer being set when skill id is 0 (#5341) 2020-08-19 17:44:27 +02:00
Aleos
3060865aa0
Adjusts map_foreachindir to include caster's cell (#5314)
* Fixes #3502.
* Adjusts map_foreachindir to include the caster's cell when calculating area of effect.
* Adds battle config 'skill_eightpath_same_cell' to allow toggling of the effect.
Thanks to @mrjnumber1!
2020-08-13 11:16:55 -04:00
Daegaladh
78676d8a6f
Removed skilleffect/npcskilleffect cap (#5319)
*Partially revert of eccf5ab20c3ae02cf46c9827f485b8d88a62b531
2020-08-13 08:10:18 +02:00
Aleos
fcefbd3f18
Adjust the Hell Inferno dark element check (#5316)
* Adjusts the dark element attack check for Hell Inferno to be a bit more accurate.
Thanks to @attackjom and @Lemongrass3110!
2020-08-11 11:08:10 -04:00
Aleos
5c5c6839a0
Fixes item production with high item IDs (#5315)
* Fixes #5312.
* Fixes general item production skills not consuming catalyst items with high IDs.
* Adjusts item searching functions to use t_itemid instead of uint32.
* Adjusts script command makeitem2 to use t_itemid isntead of uint32.
* Fixes output and lookups for atcommands idsearch, autolootitem, iteminfo, whodrops, makeegg, and itemlist.
* Fixes signed vs unsigned checks.
* Fixes MVP logging.
* Fixes item drop ratio storage.
* Fixes CSV2YAML conversion checks.
Thanks to @idk-whoami and @Lemongrass3110!
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2020-08-11 10:39:37 -04:00
Aleos
90956f2a79
Fixes renewal Brandish Spear range (#5310)
* Fixes #5251.
* Range should be BF_LONG only and not stacked with BF_SHORT.
* Cleans up battle_range_type checks.
Thanks to @PipeDeveloper!
2020-08-11 08:51:03 -04:00
Lemongrass3110
84223d5e22
Fixed logging out on newer clients (#5302)
Fixes #5215

Thanks to @4144, @mazvi and @attackjom
2020-08-09 21:19:46 +02:00
Vincent Stumpf
223153116e
Fix Arrow Crafting db with high item ids (#5307)
Fixes #5306
Fixes arrow crafting db and produce db, changed atoi and shorts to strtoul and t_nameid
2020-08-09 21:19:20 +02:00
Lemongrass3110
1d049204dc Follow up to c86a5a4
Thanks to @mplaten
2020-08-09 00:04:26 +02:00
Aleos
36195d157d
Job Improvement Project - Warlock (#4897)
* Fixes #4706.
* kRO Changelog: http://ro.gnjoy.com/news/update/View.asp?seq=239&curpage=1
Thanks to @LordWhiplash,  @Badarosk0, Sigma, @Balferian, @tumemmac, @teededung, @attackjom, @Felleonel and @mrjnumber1!
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2020-08-08 12:23:29 -04:00
Lemongrass3110
2d9ef842e4
Added additional idle options (#5284)
Previously no NPC interaction was taken into account.
This will be fixed and enabled by default now.
2020-08-08 12:36:28 +02:00
Vincent Stumpf
3776bfbaa3
Support itemids up to ~2 billion (#5141)
Co-authored-by: aleos89 <aleos89@users.noreply.github.com>
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2020-08-08 12:06:07 +02:00
Lemongrass3110
c86a5a4536
Fixed memory leak from pet imports (#5283)
Fixes #5279

Thanks to @mplaten
2020-08-07 21:38:56 +02:00
Sader Fawall
dd4cce55a3
fix stuck on warp/writing mail (#5299) 2020-08-07 21:36:32 +02:00
Aleos
53e7f59f48
Adjusts NPC_EARTHQUAKE behavior (#5017)
* Fixes #1679 and fixes #3176.
* Converts the skill to a unit-based skill.
* Damage is now properly calculated based on the caster's ATK.
* Damage is considered magic with the element forced to Neutral.
* Now ignores target's DEF and Land Protector.
* Kaupe and Tumbling now can avoid the first attack only.
* Removed old bits of the skill.
Thanks to @poporing, @mrjnumber1, @Daegaladh, @malufett, and @exneval!
2020-08-06 15:21:20 -04:00
Daegaladh
36b9b942c9
Fixed mobskill_event not triggering with plant mode monsters (#5264) 2020-08-06 00:32:42 +02:00
Daegaladh
ec479635c6
Fixed Estun not damaging all monsters (#5293)
*Estun should damage monsters of all sizes, but only stun medium sized monsters
2020-08-06 00:12:02 +02:00
Aleos
28b1d1142c
Fixes RODEX retrieve all button (#5238)
* Fixes #5061.
* Resolves the client crashing when attempting to retrieve all attachments from mail.
* Mail should not be marked as read after retrieving the attachments from them.
* Converts packets to new struct format.
Thanks to @admkakaroto and @attackjom!
2020-08-04 13:27:45 -04:00
Cydh Ramdh
b898c9bc29
Added "bonus2 bMagicSubDefEle,e,x;" (#4375)
* "+x% magic damage reduction from enemy with defense element e"
* Corrected random option script: RDMOPT_MDAMAGE_PROPERTY_element_USER
* Fixes #1706: Fire Golem Card (27029)
* Corrected Books of Apocalypse (1557) script
* Applied bMagicSubDefEle bonus to some items
2020-08-04 11:04:30 -04:00
Aleos
3a39d6710e
Implements NPC_HELLBURNING (#5274)
* Fixes #1893.
* Implements NPC_HELLBURNING skill for Horror Toy Factory Instance.
* Enables NPC_HELLBURNING for HIDDEN_MOB7.
Thanks to @Atemo and @exneval!
2020-08-03 21:18:15 -04:00
Aleos
eccf5ab20c
Adjusts npcskilleffect and skilleffect (#5270)
* Fixes #2156.
* Adjusts the two script commands to take into account the type of skill being used.
* Adjusts documentation to reflect.
* Verify skill and skill level.
Thanks to @Yuchinin and @Lemongrass3110!
2020-08-03 20:57:09 -04:00
Aleos
1a5fc6a67b
Fixes refine attack bonus (#5261)
* Fixes #4007.
* Fixes an issue where the refine bonus of a weapon was overwriting ATK2 bonuses given by other equipment.
Thanks to @cahya1992!
2020-08-03 20:37:26 -04:00
Atemo
d1be0ec6cb
Fixed a sign error in battle_calc_cardfix (#5285)
Fixed #5273
Mistake introduced in 2e04ca98b0
Thanks to @ecdarreola
2020-08-04 01:40:05 +02:00
Lemongrass3110
47a1c7112d
Follow up to 2e88b27 (#5260)
Resolves some remaining issues with NPC secure timeout.

Fixed scripts freezing on close
Idle timer is reseted on closing
Fixed npc_idle_tick being set again on closing

Co-authored-by: Daegaladh <daegaladh@shadowgames.es>
2020-08-03 23:27:25 +02:00
Aleos
2c04392961
Adjusts homunculi hunger delay rate when starving (#5281)
* Fixes #2242.
* When a homunculus is starving (hunger between 0-10) their hunger delay drops from 60 seconds to 20 seconds.
* Added battle configs to allow easy adjustment.
Thanks to @mmalka and @mrjnumber1!
2020-08-03 16:38:25 -04:00
Aleos
579a01c699
Cancel skill usage keeping on failure (#5282)
* Stop skill usage keeping when the player fails to cast in some fashion.
Thanks to @Badarosk0!
2020-08-03 16:14:16 -04:00
Aleos
01afe464bb
Fixes attack cursor not showing up in duels (#5259)
* Fixes #5256.
* Fixes the attack cursor not being displayed when players are in a duel.
Thanks to @roSBK!
2020-07-31 14:47:46 -04:00
Aleos
9991b09837
Updates behavior of statuses that reduce damage (#3129)
* Fixes #2671.
* Restructured battle_calc_damage to utilize battle_status_block_damage for statuses that block damage.
* Renewal Safety Wall has a hit count tracker, same as pre-renewal.
* Updated renewal Safety Wall HP formula.
* Safety Wall will now check for Land Protector before attempting to consume a Blue Gemstone.
* Moves Kyrie and other similar type status changes that may or may not block damage to the top of the list of priority.
* Adds a short delay to Parrying for the next attack when damage is successfully blocked.
* Fixes Millennium Shields remaining shields getting destroyed when damage was over 1000.
* Fixes Millennium Shields disappearing on map change.
Thanks to @Paoly28 and @mrjnumber1, @cydh, @ecdarreola, @InusualZ, and @Badarosk0!
2020-07-31 08:34:04 -04:00
Aleos
1c6270f96a
Removes waitingroom check for Maya Purple hackfix (#5269)
* Fixes #3102 and fixes #3645.
* Removes the waitingroom check for the Maya Purple card hackfix.
Thanks to @sader1992 and @Badarosk0!
2020-07-31 07:54:31 -04:00
Aleos
f7d08d6b2f
Fixes Wind Blade and Wind Charm bonus (#5257)
* Fixes #5227.
* Wind Blade should only have a bonus of 10% per Wind Charm.
2020-07-28 20:36:01 -04:00
Cydh Ramdh
1658f273de
Adjust EXP storage to uint64 (#4377)
* Updates EXP table to 200/70
* Always store exp as uint64 no matter the client date.
* Adjusts guild exp to uint64.
Co-authored-by: Aleos <aleos89@users.noreply.github.com>
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2020-07-28 16:43:46 -04:00
Aleos
fcdcce2cfa
Fixes NPC_RUN behavior (#5236)
* Fixes #3622 and fixes #5220.
* Monsters now properly escape from the attacker.
* NPC_RUN should determine distance based on skill level > 1.
* Resolves Sphere Mine when summoned by an Alchemist not escaping.
Thanks to @Balferian, @Indigo000, and @Daegaladh!
2020-07-28 14:57:09 -04:00
Daegaladh
2e88b27b9b
Fixed secure timeout triggering npc_scriptcont debug messages (#5239) 2020-07-28 19:40:04 +02:00
rAthenaAPI
faadc80042 Effect State Update 2020-07-22 10:05:28 +02:00
Daegaladh
187aa852be
Added the ability to make dynamic cash/item/point shops (#5213) 2020-07-21 00:07:57 +02:00
Sader Fawall
40e1e4e726
Fixes crash when warping to invalid instance (#5228)
Thanks to @sader1992!
2020-07-20 17:04:35 -04:00
Aleos
fd8770c6ff
Fixes skill failure message that require items (#5225)
* Fixes #5222.
* Fixes a skill failure message that requires an item in the players inventory or to be equipped.
Thanks to @voyfmyuh!
2020-07-20 16:43:15 -04:00
Aleos
7bdf67e3d3
Adjusted script command progressbar_npc behavior (#2381)
* Players are no longer detached from the script.
* Players can't walk, attack, use items, or use skills while progress bar is active.

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
Co-authored-by: Atemo <Atemo@users.noreply.github.com>
2020-07-20 13:34:43 -04:00
Atemo
5ba29be2a3
Added support for race/size/element/min level/max level quest objectives (#5191)
* Added support for race/size/element/min level/max level quest objectives
* Enabled Butler for the Richards hunting quests (ep16.1) 

Co-authored-by: Aleos <aleos89@users.noreply.github.com>

Thanks to @attackjom, @Balferian !
Took some parts from b67c688e79 (diff-f3653b71c45029581a98314726e4d8f5) thanks to @exneval !
2020-07-20 18:59:50 +02:00