Commit Graph

12 Commits

Author SHA1 Message Date
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
Furkan Güçlü
19de754f06 removed dev_log 2026-01-05 19:05:23 +03: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
Mind Rapist
5e25a47d2b Auto potion safeguards 2025-12-26 01:17:00 +02:00
Mind Rapist
0f79d890ba MRMJ-1: Messenger & Skills fixes 2025-12-14 05:17:16 +02:00
d1str4ught
916c4c0a6d auction removed 2025-08-28 22:52:22 +02:00
d1str4ught
329eb74e7d pcbang removed 2025-08-28 20:24:27 +02:00
d1str4ught
08043416c5 more packets using fixed size integers 2025-08-23 14:00:40 +02:00
d1str4ught
920a3fc861 std::strncpy back to strlcpy 2025-08-22 17:45:31 +02:00
d1str4ught
d87277458c game and db is building on windows 2025-08-18 03:33:51 +02:00
d1str4ught
34000c3306 text encoding fixed 2025-08-18 02:12:07 +02:00
d1str4ught
4e679320a3 base init 2025-08-18 00:36:52 +02:00