Commit Graph

228 Commits

Author SHA1 Message Date
rtw1x1
00b14935b2 Merge pull request #68 from rtw1x1/main
fix: Server-Side mark broadcast and packet.size
2026-01-21 18:34:44 +00:00
rtw1x1
7c615a7a84 QoL: Server-Side mark broadcast P2P 2026-01-21 18:31:58 +00:00
rtw1x1
7f2c842f6d QoL: Server-Side mark broadcast 2026-01-21 08:34:42 +00:00
rtw1x1
a09aa42640 Merge pull request #67 from rtw1x1/main
ML: Item / Mob / NPC client sided
2026-01-21 01:53:52 +00:00
rtw1x1
ce493893df ML-Server: Item Names client sided 2026-01-21 01:51:21 +00:00
rtw1x1
be24b766f6 ML-Server: NPC Names client sided 2026-01-21 00:22:30 +00:00
rtw1x1
95b5998abb Merge pull request #63 from abuseer/patch-2
Refactor movement duration calculations for clarity
2026-01-20 23:02:04 +00:00
Mind Rapist
3b2b74cce1 MR-8: Nemere Dungeon 2026-01-20 13:43:05 +02:00
Mind Rapist
681a8cae1b MR-8: Nemere Dungeon 2026-01-18 09:01:56 +02:00
ekrem-mert-esen
65550c0461 Set C Std Version, fixing build issues with gcc15+ 2026-01-17 17:33:48 +03:00
ausser
c93c1b673f Refactor movement duration calculations for clarity
fix for: https://github.com/d1str4ught/m2dev-server-src/issues/53
2026-01-10 23:26:48 +02:00
rtw1x1
94a2e35129 Merge pull request #62 from eccentricride-sudo/patch-1 2026-01-08 18:06:42 +00:00
eccentricride-sudo
5a593b7fbf Revert onaftercreated function for those having issues with it
Since some of you said there s an issue with the fix on onaftercreateditem, causing errors. To my understanding the issue is timing, the item_del is sent at the wrong time when client isn t ready yet. A small delay of 1 sec seems to fix it without any issues nor syserrs. I'll do a summarized explanation of what it does below: When real time expire function is called it checks in which phase the player is currently in, if in phase_loading(where crash occurs) it calls the event again after one second. If not in phase loading then it skips the block and deletes the item immediately. If you're wondering if it can be exploited it cannot. No desc -> player disconnecting during loading phase item doesn't reach the actual deletion phase, logs in again onaftercreateditem is called -> calls startrealtimeexpireevent which starts the event again.
2026-01-08 07:44:41 -08:00
rtw1x1
b20d5d9391 Merge pull request #60 from furkanguclu/main 2026-01-07 17:43:41 +00:00
Furkan Güçlü
2079744d69 removed over9refine 2026-01-05 20:22:33 +03:00
Furkan Güçlü
19de754f06 removed dev_log 2026-01-05 19:05:23 +03:00
rtw1x1
b6345f2d9e Merge pull request #59 from savisxss/main 2026-01-05 15:31:48 +00:00
savis
bedf062118 Fix crash on login with expired timed items
https://github.com/d1str4ught/m2dev-client-src/issues/69
2026-01-05 13:01:03 +01:00
rtw1x1
807a93a80b Merge pull request #57 from rfdomingues98/feat/add-green-purple-pot-effect
Added effect for green and purple pots
2026-01-04 09:34:46 +00:00
rtw1x1
42654a14dc Merge pull request #56 from rfdomingues98/feat/add-bravery-cape-effect
Added new effect for Bravery Cape
2026-01-04 09:34:37 +00:00
Ricardo Domingues
41f47283a0 Added effect for green and purple pots 2026-01-03 20:51:19 +00:00
Ricardo Domingues
a8b74630f7 Added new effect for Bravery Cape 2026-01-03 20:50:07 +00:00
rtw1x1
38c83e3739 Merge pull request #43 from savisxss/eventflag
Add EventFlag-based quest enable/disable system
2025-12-31 09:14:06 +00:00
rtw1x1
fdb9ee1cbe Merge pull request #52 from rtw1x1/main
fix: Uninitialized move duration causing NaN/INT_MIN position sync
2025-12-31 09:11:22 +00:00
rtw1x1
ec8437cd0b fix: Uninitialized move duration causing NaN/INT_MIN position sync 2025-12-30 19:36:05 +00:00
rtw1x1
24e136ac83 Merge pull request #51 from savisxss/AsyncSQL 2025-12-29 06:10:04 +00:00
rtw1x1
3130ab4cd4 Merge pull request #50 from savisxss/SEQUENCE 2025-12-29 06:09:54 +00:00
rtw1x1
f62fba9884 Merge pull request #49 from savisxss/main 2025-12-29 06:09:44 +00:00
savis
f0c4b0c8d7 modernize AsyncSQL with C++17 features 2025-12-29 01:14:31 +01:00
savis
0735353405 Fix SEQUENCE mismatch error in packet validation 2025-12-28 16:44:26 +01:00
savis
e4182a1b9e Add handshake session timeout protection 2025-12-28 05:03:47 +01:00
rtw1x1
c34a721328 Merge pull request #47 from Mitachi2611/main 2025-12-28 00:03:34 +00:00
rtw1x1
a78c909740 Merge pull request #48 from d1str4ught/rtw1x1-patch-2
fix: Better support UTF8 & Arabic
2025-12-27 19:00:57 +00:00
rtw1x1
7a59fdd7b4 fix: Better support UTF8 & Arabic
Increase CHARACTER_NAME_MAX_LEN from 24 to 64 for better support with UTF8 Arabic
2025-12-27 19:00:42 +00:00
Mitachi
7844727cdc refactor(db): use std::unique_ptr for DirectQuery 2025-12-27 12:25:01 +01:00
rtw1x1
11ba72d2e2 Merge pull request #46 from MindRapist/mr-4
Fixed PK mode bugs, fixed logout cancellation from using skills
2025-12-27 08:25:29 +00:00
Mind Rapist
3b712002a9 Fixed PK mode bugs, fixed logout cancellation from using skills 2025-12-27 10:23:45 +02:00
Mind Rapist
11ef2f5780 Fixed PK mode bugs, fixed logout cancellation from using skills 2025-12-27 10:17:04 +02:00
rtw1x1
7a69f13439 Merge pull request #42 from savisxss/main
Guard netinet/tcp.h include for non-Windows platforms
2025-12-27 07:15:41 +00:00
rtw1x1
baa4d7dd69 Merge pull request #45 from rtw1x1/main
Update item_length.h
2025-12-27 07:15:28 +00:00
rtw1x1
1003dffdd6 Update item_length.h 2025-12-27 07:10:38 +00:00
savis
8123fc602c Add EventFlag-based quest enable/disable system
Implemented EventFlag system to control quest availability:
  - Added IsEventFlagSet() to check if EventFlag exists in questmanager
  - Added EventFlag checks in ExecuteQuestScript() for per-quest control
  - Added EventFlag checks in HandleEvent() for NPC-based quest control
  - Added EventFlag checks in OnChat() for chat-based quest control

  Usage:
  - /event quest_<questname>_enabled 0/1 - Enable/disable specific quest
  - /event quest_npc_<vnum>_enabled 0/1 - Enable/disable all NPC quests
  - /event quests_global_enabled 0/1 - Enable/disable all quests globally
2025-12-27 02:50:46 +01:00
savis
0f21118ad7 Guard netinet/tcp.h include for non-Windows platforms 2025-12-27 01:19:42 +01:00
rtw1x1
db097e3ba2 Merge pull request #41 from rtw1x1/main
TCP_NODELAY undeclared
2025-12-26 07:28:34 +00:00
rtw1x1
366d97dbac TCP_NODELAY undeclared 2025-12-26 07:27:50 +00:00
rtw1x1
1b46b8cc26 Merge pull request #40 from d1str4ught/rtw1x1-patch-1 2025-12-26 07:11:59 +00:00
rtw1x1
65ef80a04b Update char.cpp 2025-12-26 07:10:40 +00:00
rtw1x1
f92dfcd697 Merge pull request #39 from savisxss/socket 2025-12-26 07:04:07 +00:00
rtw1x1
345604adba Merge pull request #38 from savisxss/nodelay-tcp 2025-12-26 07:03:42 +00:00
rtw1x1
22d2091fe7 Merge pull request #37 from SunTrustDev/bugfix/std-1 2025-12-26 07:03:28 +00:00