18341 Commits

Author SHA1 Message Date
Daegaladh
f8c9481673
Added optional Pre-Renewal Brasilis (#8480) 2024-07-06 23:24:48 +02:00
Playtester
78a2babe4d
Monster Losing Target Display (#8479)
- When a monster loses its target, it will now properly display movement to the next cell rather than snapping back to the previous cell
- Looters will no longer spam movement packets to the client when they go for loot
- Added some base implementation for sub-cell coordinates
- Fixes #8232

Co-authored-by: Lemongrass3110
2024-07-06 12:51:58 +02:00
Daegaladh
0a977c1fd7
Fixed vending_over_max behavior to match official (#8469)
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-07-05 02:35:41 +02:00
Daegaladh
29a63820fd
Fixed searchstores incorrectly updating uses (#8491) 2024-07-04 22:22:44 +02:00
Vincent Stumpf
4f2beac029
Clear start_items when reading a new value (#8493)
Fixes #8492
2024-07-04 21:50:40 +02:00
Carlosgrr
529d8fea3d
Reverting Magic Wand Quest to request Trunks (#8473)
Fixes #8465
2024-07-04 20:33:14 +02:00
Lemongrass3110
d2cb6c10e1
Fixed packets 0x440 and 0x8cf (#8486)
Follow up to d445497

Fixes #8478

Thanks to @gmragnarok, @LadyNanuia and @Haydrich
2024-07-04 19:29:00 +02:00
Atemo
fccf328a54
Implemented new items up to July 3, 2024 (#8488)
* Sorted the item IDs
* Added prt_mk map in mapcache
2024-07-04 15:27:17 +02:00
Lemongrass3110
25b9126644
Refactored get/set unitdata (#8483)
Fixes #8481

Thanks to @Hyroshima
2024-07-03 17:05:15 +02:00
Lemongrass3110
2206d1a960
Fixed NoNearNPC flag (#8487)
Fixes #8471

Thanks to @xVaan
2024-07-03 16:02:22 +02:00
Atemo
1d8dec4b72
Uncommented quest ID related to illusion investigation (teddy bear) (#8477) 2024-06-30 19:05:43 +02:00
Atemo
995a5d0f60
Corrected barter shop of illusion dungeon (#8472)
Follow-up 5ca7aee79b
Fancy_Flower can't be refined.
2024-06-29 17:08:08 +02:00
Pokye
5ca7aee79b
Correction of illusion dungeon's barter shop (#8470) 2024-06-29 15:16:12 +02:00
Vincent Stumpf
73b878db37
Add expanded 4ths to jobmaster (#8267) 2024-06-28 21:39:00 +02:00
Atemo
14a22de993
Added missing clear cutin (#8467)
Corrected encoding of some files
2024-06-28 20:20:49 +02:00
Atemo
0057d862af
Initial release of Illusion of Teddy bear (Walkthrough conversion) (#8459)
* Increased MAX_BARTER_REQUIREMENTS to 6
* Fixed #6460
2024-06-28 17:36:29 +02:00
akaineko
82d3b078c3
Fixed rand issue in KO job quest (#8463) 2024-06-28 15:01:15 +02:00
Atemo
88e3eba8cf
Updated instance_check_party script command (#8457)
* The command now returns 0 if the party id does not exist
* Fixed #8426

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
Co-authored-by: Aleos <aleos89@users.noreply.github.com>
2024-06-27 18:23:03 +02:00
Lemongrass3110
c8935ef18a
Official conversion of lasagna warps (#8464) 2024-06-27 09:16:33 +02:00
Pokye
fa5e642d4d
Initial implementation of Shopping Boards (#8453)
Co-authored-by: Aleos <aleos89@users.noreply.github.com>
Co-authored-by: Daegaladh <daegaladh@shadowgames.es>
2024-06-26 20:50:14 +02:00
Daegaladh
549fc3f860
Fixed searchstores and added a map parameter (#8456)
Co-authored-by: Aleos <aleos89@users.noreply.github.com>
Co-authored-by: Atemo <Atemo@users.noreply.github.com>
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-06-26 20:21:26 +02:00
Playtester
30f8cb1f6e
Star Gladiator Miracle Chance (#8460)
- Reduced default chance of Miracle to occur from 0.02% to 0.005%
- Chance of Miracle to occur is now further reduced if AGI is above 46
- Fixes #8445
2024-06-26 11:38:46 +02:00
Atemo
21359386be
Exported constants for setdialogalign script command (#8458)
Follow-up eb308dcad2
2024-06-25 17:27:33 +02:00
Playtester
861833bcfa
Frost Joke / Scream on Party Members (#8455)
- Base chance of Frost Joke / Scream to cause status changes to party members is now one fourth of the original chance
- Variable duration of Frost Joke when applied to party members is now always 15s
- Fixes #8454
2024-06-22 22:22:44 +02:00
Daegaladh
a0bec6a404
Configs for account names, character names, and passwords minimum length (#8448) 2024-06-21 20:36:21 +02:00
Daegaladh
5123704795
Added player permission script commands (#8450) 2024-06-21 19:12:01 +02:00
Atemo
d344caa08d
Implemented NPC_DEADLYCURSE2 and NPC_DEADLYCURSE (#8447)
* Implemented NPC_DEADLYCURSE2
* Splash skill inflicting no damage and activating the status "Deadly_Defeasance" on surrounding target
* Unknown if the duration scale with level. The duration at level 5 is 30s

* Implemented NPC_DEADLYCURSE
* There is not much information on this, assuming it is a single target skill
* Does not deal any damage
* No info on max level, monsters use it level 1
* Duration at level 1 is 15s

* Uncommented NPC_DEADLYCURSE2 in mob_skill_db
2024-06-21 14:48:26 +02:00
Lemongrass3110
1ca634df1d
Packet cleanups - const and casts (#8422) 2024-06-20 14:33:47 +02:00
Playtester
5f16a06f2f
Renewal Bowling Bash Knockback (#8449)
- Fixed Bowling Bash causing knockback effect twice in renewal (fixes #8435)
2024-06-20 07:59:21 +02:00
Playtester
566ac2078d
Guillotine Fist SP Recovery Prevention Cleanup (#8443)
- Unified code for SC_EXTREMITYFIST
  * It stops natural SP recovery for 300s in pre-re
  * It stops natural SP recovery and recovery from items for 3s and shows icon in renewal
- Removed SC_EXTREMITYFIST2 as it's no longer needed
- Fixed an issue that caused a natural SP regen tick to happen right after using Guillotine Fist
- Fixes #8377
2024-06-19 07:53:30 +02:00
eppc0330
d191c2cf2a
Item DB corrections / implemented ALL_RAY_OF_PROTECTION (#8394) 2024-06-18 15:08:54 +02:00
Atemo
4555e7c14c
Updated max RES/MRES and max RES/MRES ignored (#8442)
* Removed the limit of RES/MRES and remove max_res_mres_reduction battle config
* Added a limit of RES/MRES ignored by items and skills in max_res_mres_ignored battle config
2024-06-18 15:04:37 +02:00
Lemongrass3110
ba5221ef97
Added 4th jobs to ea_job_system.txt (#8440)
Fixes #8431

Thanks to @Pokye
2024-06-17 20:15:54 +02:00
Atemo
ce5de23874
Updated get_bosstype and UMOB_MODE (#8439)
* Updated mob_data::get_bosstype() to use current mob data instead of db data to fix issue when the mode is changed via the setunitdata script command.
* Added unit_refresh in UMOB_MODE to refresh the mini icon near the monster indicating the monster type.
2024-06-17 19:38:00 +02:00
Lemongrass3110
44fbe3940d
Fixed pin code changing (#8438)
Fixes #8430

Thanks to @gmragnarok
2024-06-17 19:04:21 +02:00
Lemongrass3110
68f8a4bc7f
Fixed a crash with unknown packets (#8437)
Fixes #8432

Thanks to @gmragnarok
2024-06-17 18:30:43 +02:00
Atemo
6451925430
Updated npcspeed, npcwalkto and npcstop script commands (#8354)
* Added the optional parameter <npc name> to npcspeed to change the walking speed of the npc with the said name.
  Usage : npcspeed( <speed value> {,"<npc name>"} );

* Added the optional parameter <npc name> to npcwalkto to move the npc with the said name at the given coordinates.
  Usage : npcwalkto( <x>,<y> {,"<npc name>"} } );

* Added the optional parameters `<npc name>` and `<flag>` to `npcstop` to stop the movement of the npc with the said name with options.
  Usage : `npcstop( {"<npc name>", {"<flag>"}});`

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
Co-authored-by: Aleos <aleos89@users.noreply.github.com>
2024-06-16 14:57:59 +02:00
Playtester
fcf74b0dfc
Renewal Simple Defense Formula Flag (#8429)
- Added a flag "SimpleDefense" to mark skills that use the simple defense formula
  * Simple defense: Damage is flat reduced by DEF+DEF2. Res is ignored.
- Dragon Breath / Water now also ignore Res
- Fixes #8419

Special thanks to everyone who helped testing all these skills to confirm this common rule.
2024-06-15 20:28:26 +02:00
Lemongrass3110
8c4d1bb0c6 Fixed returning to char-select
Fixes #8420

Thanks to @gmragnarok and @Beginerxx
2024-06-13 15:24:53 +02:00
Jittapan Pluemsumran
503f9e09f6
Always set all item data in npc_sellist_sub (#6429)
Fixes #6422

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-06-13 00:47:04 +02:00
Lemongrass3110
8f9b0b8354
Added configs for instance limitations (#3753)
Fixes #1661

Thanks to @admkakaroto
2024-06-12 23:36:33 +02:00
Playtester
84cdc9cae0
Cannon Ball Skills (P.ATK and Res) (#8415)
- When using Cart Cannon or Arm Cannon, the arrow attack you get from cannon balls is no longer affected by P.ATK
- Cart Cannon and Arm Cannon are no longer reduced by Res
- More consistent naming (PATK -> P.ATK, SMATK -> S.MATK)
- Added a general rule that cannon ball attack is not added to equip attack
- Fixes #8380
2024-06-12 18:59:05 +02:00
Lemongrass3110
34eb4be25b
Preparatory cleanup of parties (#8418) 2024-06-12 15:39:24 +02:00
Lemongrass3110
9c9dcc8cab
Preparatory cleanup of guilds (#8417) 2024-06-12 14:47:52 +02:00
Lemongrass3110
aaa9890470
Preparatory cleanup of clans (#8416) 2024-06-12 10:03:44 +02:00
Lemongrass3110
6fdaac4a75
Added pincode state tracking (#8412)
Fixes #6595

Thanks to @Danil0v3s
2024-06-11 21:50:16 +02:00
Daegaladh
0d3550e7ea
Fixed clif_move to use the correct movement packets (#8405)
* Removed unused ZC_NOTIFY_MOVE (0x86) packet
---------

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-06-11 00:03:43 +02:00
Daegaladh
6ca99e7852
Fixed potentially dangerous map_addflooritem calls and related behaviors (#8360)
*Removed potentially dangerous map_additemfloor calls
*Added weight/inventory checks for marry atcommand
*Fixed overweight message for box items
*Fixed inventory space check for box items to match official requirement (the total number of the items the box will give you *r min 10, plus 1)
*Fixed inventory space message for box items
*Fixed pet egg creation not deleting the pet data when failed to add it to the inventory
*Fixed pet egg creation dropping the egg on the floor when failed to add it to the inventory
*Fixed pet equipment dropping on the floor when failed to retrieve the item
*Added a battle configuration to prevent removing the pet equipment (and disappear into nothingness) when failed to retrieve the item
*Added missing skill_drop_items_full checks on several skills (official behavior makes the items disappear)
---------

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-06-10 22:44:19 +02:00
Jittapan Pluemsumran
9267c2bf8a
Added sanity checks to pincode decryption (#8404) 2024-06-10 22:03:49 +02:00
Vincent Stumpf
92722db3ab
Fix dynamic npc timer mismatch (#8265)
* Fix dynamic npc timer mismatch

Fixes #8241
This adds some missing placement news that I'm surprised hasn't blown up yet.
2024-06-10 21:11:19 +02:00