@mtprotoclientscommits · Post #3431 · 2026/02/21 21:21
LonamiWebs/Telethon/v1 • dab6bc4 • 1 files, +4/-0 Migrate off GitHub #telethon
Hashtags
前段时间一直被MajdataPlay的外键输入问题困扰:有玩家反映majplay会无征兆地出现拖判和吃音,但是内屏一切正常 因为我是第一次接触游戏开发,IO这方面也完全没经验 一开始我和bb本怀疑是线程调度的问题,即:IO线程时间片被其他线程挤占了,导致IO线程无法及时处理HID设备回报。为了验证这个猜想,我们尝试提高了IO线程的优先级,照旧 接下来我怀疑是我那套框架有问题:majplay是根据上一帧与这一帧的按键状态判断按键是不是"click"。为此我重写了这部分的实现,改进了IO线程与主线程之间的交互,问题照旧....... 到这里我已经怀疑这不是majplay的锅:IO线程没有任何异常,IO线程与主线程的交互没有问题,Note判定逻辑也没有问题,那就是设备确实没有回报给majplay或者设备发过来的回报中按键确实没有按下,但是大佬说hdd没有这种问题.....(人已经快崩溃了,这完全看不透也摸不着,因为我用单片机模拟玩家打高速纵连是完全没有问题的,我在家里用手台测试也没有问题) 到最后,bb本灵光一闪,说有没有可能是led刷新率过高,把按键控制板干爆炸了?我们让大佬把led刷新间隔从16ms改成100ms,吃音问题瞬间没有了,无语了 。。。。。。。。。。。。。。。。。。。。 adx是一个控制板同时管理按键和led,为什么我没有遇到吃音问题呢,因为我的手台不是adx的... #dev
Hashtags
搜索 #telethon
@mtprotoclientscommits · Post #3431 · 2026/02/21 21:21
LonamiWebs/Telethon/v1 • dab6bc4 • 1 files, +4/-0 Migrate off GitHub #telethon
Hashtags
@mtprotoclientscommits · Post #3430 · 2026/02/12 21:36
LonamiWebs/Telethon/v1 • 6e9bf16 • 1 files, +1/-0 Add error code for sending videos in chat (#4741) #telethon
Hashtags
@mtprotoclientscommits · Post #3429 · 2026/02/11 19:06
LonamiWebs/Telethon/v1 • 295c736 • 1 files, +5/-1 Fix InvalidBuffedError on incomplete recv data (#4740) Co-authored-by: Maksym Veremchuk <[email protected]> #telethon
Hashtags
@mtprotoclientscommits · Post #3428 · 2026/02/07 19:51
LonamiWebs/Telethon/v1 • 208ac30 • 1 files, +45/-31 Update to layer 222 #telethon
Hashtags
@mtprotoclientscommits · Post #3427 · 2026/02/01 19:51
LonamiWebs/Telethon/v1 • d57be74 • 1 files, +22/-0 Catch-all unknown RPCError and treat them as transient during getDifference Can be considered to close #4739. #telethon
Hashtags
@mtprotoclientscommits · Post #3426 · 2026/01/12 16:36
LonamiWebs/Telethon/v1 • 416570f • 2 files, +3/-3 Fix doc typos on some raw API types (#4732) #telethon
Hashtags
@mtprotoclientscommits · Post #3425 · 2026/01/04 16:51
LonamiWebs/Telethon/v1 • 980a2c0 • 2 files, +15/-3 Update to layer 221 #telethon
Hashtags
@mtprotoclientscommits · Post #3424 · 2026/01/03 18:36
LonamiWebs/Telethon/v1 • f3bd039 • 1 files, +3/-0 Add errors for chat restrictions (#4729) #telethon
Hashtags
@mtprotoclientscommits · Post #3422 · 2025/12/30 10:21
LonamiWebs/Telethon/v1 • 5efa1fe • 6 files, +20/-51 Update proxy docs and warn if python-socks is not installed As suggested in #4505. #telethon
Hashtags
@mtprotoclientscommits · Post #3420 · 2025/12/18 16:51
LonamiWebs/Telethon/v1 • 05b8488 • 1 files, +12/-3 Fix Telethon could not be imported without sqlite3 Closes #4723. #telethon
Hashtags
@mtprotoclientscommits · Post #3419 · 2025/12/17 07:21
LonamiWebs/Telethon/v1 • 664ceba • 1 files, +4/-3 Fix TestSyncifyAsyncContext.test_sync_acontext on Python 3.14 (#4722) `asyncio.get_event_loop` fails on Python 3.14 if there is no current event loop. For this particular test of sync behaviour, it seems to make most sense to explicitly create one. #telethon
Hashtags
@mtprotoclientscommits · Post #3418 · 2025/12/06 21:51
LonamiWebs/Telethon/v1 • 676c436 • 1 files, +46/-15 Update to layer 220 #telethon
Hashtags