Garry's Mod

Garry's Mod

28 个评价
AntiPlayerStuck [Optimized]
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 快乐, 角色扮演, 写实
文件大小
发表于
更新日期
2.415 KB
2024 年 7 月 15 日 下午 2:15
2024 年 7 月 18 日 上午 9:58
4 项改动说明 ( 查看 )

订阅以下载
AntiPlayerStuck [Optimized]

描述
What's that?

A simple script meant to unstuck players who are stuck together.
This is a redesign of the AntiPlayerStuck script.
The features are the same, but the code has been fully rewritten.

Why should I use this script on my server rather than the original?

After a quick benchmark, it turns out that my detection function is almost 15 times faster than in the original script, and is executed at least 10 times less often, making it (very) faster.
By switching to this script, you'll be doing your server's CPU a favor.

A simple script of a few lines like the original AntiPlayerStuck can make the difference between a stable and a laggy server, and can even be the cause of crashes.
Be careful what you install, even if the addon you're using is on thousands of servers.

Bugs/Feature request

If you find a bug or want to see a feature added, you can write it in the comments section.

GitHub: https://github.com/NebulaProductions/antiplayerstuck-optimized

3 条留言
󠁿󠁳⁧⁧󠁿󠁿 cal 6 月 13 日 上午 11:30 
great addon:steamhappy:
Timmy  [作者] 1 月 23 日 上午 12:05 
@Kiddley alright, thanks for letting me know
Kiddley 1 月 12 日 下午 3:56 
Howdy, I would like to incorporate your script into my gamemode, Deathrun Improved. It's got player collisions optionally on, and I'd like to ensure players don't get stuck inside each other as the mode incorporates teleporting. Of course, I will be crediting you and linking this addon, but I thought it'd be respectful to let you know.

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3404456924