370 Commits

Author SHA1 Message Date
AoShinHo
5c7c874f72
Converted ZC_GUILD_CHAT to struct (#8634)
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-09-14 18:25:04 +02:00
AoShinHo
9761fdf4da
Converted ZC_DELETE_RELATED_GUILD to struct (#8638)
Co-authored-by: Daegaladh <Daegaladh@users.noreply.github.com>
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-09-14 17:44:30 +02:00
AoShinHo
1425705a2a
Converted ZC_ACK_REQ_ALLY_GUILD to struct (#8637)
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-09-14 12:47:52 +02:00
AoShinHo
d2809156bc
Converted ZC_ACK_REQ_HOSTILE_GUILD to struct (#8639)
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-09-13 17:57:26 +02:00
AoShinHo
06e2fc95a1
Converted ZC_REQ_ALLY_GUILD to struct (#8636) 2024-09-13 10:53:23 +02:00
AoShinHo
c4b77f1942
Converted ZC_CHANGE_CHATROOM to struct (#8589)
---------

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
Co-authored-by: Aleos <aleos89@users.noreply.github.com>
2024-09-12 14:51:13 -04:00
AoShinHo
ae0bb4929c
Converted ZC_REQ_EXCHANGE_ITEM&ZC_ACK_EXCHANGE_ITEM to struct (#8581)
---------

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
Co-authored-by: Atemo <Atemo@users.noreply.github.com>
Co-authored-by: Aleos <aleos89@users.noreply.github.com>
2024-09-12 14:17:54 -04:00
AoShinHo
00c88167ce
Converted ZC_REQ_TAKEOFF_EQUIP_ACK to struct (#8580)
---------

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
Co-authored-by: Atemo <Atemo@users.noreply.github.com>
2024-09-12 10:47:16 -04:00
AoShinHo
d6f2f49b6d
Converted ZC_ENTER_ROOM to struct (#8590)
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-09-03 18:16:18 +02:00
alexxus
d8dc0e6f41
Fixed static cast (#8603)
Fixes #8602
2024-09-02 17:57:21 +02:00
AoShinHo
37bc0f4c10
PACKET_ZC_HIGHJUMP (#8588) 2024-08-29 07:50:39 +02:00
AoShinHo
5138ae74fc
Converted ZC_CHANGE_DIRECTION to struct (#8584)
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-08-27 19:04:38 +02:00
AoShinHo
e0d1250645
Converted ZC_USER_COUNT to struct (#8585)
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-08-27 15:50:00 +02:00
AoShinHo
d5267c63a9
Converted ZC_NOTIFY_ACT to struct (#8571)
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-08-27 09:59:26 +02:00
AoShinHo
f3c8c70c81
Improved status_isdead and status_get_status_data (#8570)
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-08-22 22:36:29 +02:00
Aleos
dd1c12f624
Fix GD_CHARGESHOUT_BEATING check (#8564)
Add missing parentheses to ensure the player is in a guild and avoid a short circuit check.

Co-authored-by: Atemo <Atemo@users.noreply.github.com>
2024-08-19 09:07:39 +02:00
Atemo
37f402aca7
Updated EFST datas (#8553) 2024-08-16 15:44:27 +02:00
Daegaladh
aacca52eec
Fixed Elemental SP recalc and packet conversion (#8531) 2024-08-02 13:58:24 +02:00
eppc0330
54dc915661
Add mapflag specialpopup (#8365)
* Add packet ZC_SPECIALPOPUP.
* Add mapflag and script command specialpopup.
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
Co-authored-by: Atemo <Atemo@users.noreply.github.com>
Co-authored-by: Aleos <aleos89@users.noreply.github.com>
2024-08-01 09:05:54 -04:00
Singe Horizontal
612bf702ba
Restore a correct packet header (#8530)
Fixes #8529
2024-07-31 19:53:54 +02:00
Daegaladh
48b105405a
Fixed Homunculus Lif skills (#8513) 2024-07-28 18:56:47 +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
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
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
Lemongrass3110
1ca634df1d
Packet cleanups - const and casts (#8422) 2024-06-20 14:33:47 +02:00
Lemongrass3110
8f9b0b8354
Added configs for instance limitations (#3753)
Fixes #1661

Thanks to @admkakaroto
2024-06-12 23:36:33 +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
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
Lemongrass3110
48b4623f3e
Fixed all warnings in MSVS (#8391)
Fixes #2859
Fixes #3570
Fixes #8389
2024-06-04 03:07:16 +02:00
Lemongrass3110
545417ef11 Follow up to 1b9e46b
Fixes #8392

Thanks to @Beginerxx
2024-06-01 15:54:19 +02:00
Daegaladh
1f9a43c9d2
Replaces more constant names with the official ones (#8374)
Co-authored-by: Aleos <aleos89@users.noreply.github.com>
2024-05-31 14:51:59 +02:00
Lemongrass3110
1b9e46b247
Generic cleanup of packets (#8369)
Standardized initial packet length of dynamic packets to sizeof
Standardized normal casts of packet_buffer to reinterpret_cast
Standardized packet length incrementations to static_cast with decltype
Removed unused function clif_setdisguise
Fixed an issue with string length in clif_scriptmenu
Removed struct keywords
Resolved a few warnings
2024-05-31 14:28:40 +02:00
Lemongrass3110
924d1ddad7
Fixed clif_clearchar_skillunit (#8371)
Follow up to cc60c46
2024-05-27 01:00:25 +02:00
Lemongrass3110
79935a75c9
Updated Hercules packets (#8368) 2024-05-26 17:31:23 +02:00
eppc0330
9e2b0b4a4d
New pcblock flag PCBLOCK_EQUIP (#8367) 2024-05-26 15:43:32 +02:00
Daegaladh
05ced985e3
Replaced custom with official message names (#8361) 2024-05-26 13:17:05 +02:00
Atemo
cc60c46e5f
Converted some packets to structs (#8353)
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-05-25 22:17:12 +02:00
Playtester
b4ae40d401
Synchronize Damage Feature (#8305)
- Added a new monster stat "ClientAttackMotion" to mob_db.yml which is the time from when a monster attacks until which the damage shows on the client at 1x speed
- Added a new config synchronize_damage; when set to "yes", the client will display the damage of normal monster attacks at the exact time it is applied on the server, removing position lag (fixes #259)

Special thanks to all people who worked together to make this possible.

Co-authored-by: aleos, Lemongrass3110, Atemo
2024-05-25 18:59:22 +02:00
Lemongrass3110
023263df7d Fixed another crash in clif_wis_message
Follow up to 7ddd035 and a44d954

Fixes #8359

Thanks to @gmragnarok
2024-05-25 15:31:30 +02:00
Atemo
361530a1b6
Converted some packets to structs (#8351) 2024-05-21 21:28:01 +02:00
Atemo
d1cf6f4ac7
Converted some packets to structs (#8332) 2024-05-20 21:13:59 +02:00
Lemongrass3110
fe9f617f97
Fixed clif_sendfakenpc (#8330)
Fixes #8321
Fixes #8328

Thanks to @kaninhot004
2024-05-13 11:45:00 +02:00
Lemongrass3110
580511c0bb Fixed a warning
Fixes #8325

Thanks to @Beginerxx
2024-05-13 07:44:36 +02:00
Lemongrass3110
04386a8ebc Follow up to d445497 2024-05-10 00:12:10 +02:00
Jittapan Pluemsumran
d445497870
Converted a bunch of packets to structs (#8295)
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
2024-05-09 23:06:32 +02:00