You are viewing a potentially older version of this package. View all versions.
cn_tao-PingDisplay-2.0.2 icon

PingDisplay

REPO 网络延迟实时监控,内置圆润卡通字体 + 粗黑描边,含主机延迟、波动警告、自动跟随游戏语言 / Real-time ping monitor with bundled rounded cartoon font & heavy outline, host latency and bilingual UI

By cn_tao
Date uploaded 3 days ago
Version 2.0.2
Download link cn_tao-PingDisplay-2.0.2.zip
Downloads 355
Dependency string cn_tao-PingDisplay-2.0.2

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
REPOModding-REPOConfig-1.2.7 icon
REPOModding-REPOConfig

Edit mod configs in-game!

Preferred version: 1.2.7

README

PingDisplay — R.E.P.O. Network Latency Monitor

实时 Photon 网络延迟监控,含主机延迟、波动警告 / Real-time ping, host latency & fluctuation warning

作者 / Author: peachh

功能 / Features

  • Photon 网络延迟实时显示 / Real-time ping display
  • 主机延迟监控 / Host (master client) ping
  • 主机波动警告 ! / Host fluctuation warning
  • 最大/平均延迟、抖动、丢包 / Max/avg ping, jitter, packet loss
  • 连接状态 / Connection state (disconnected/connecting/in lobby)
  • 延迟自动着色:明黄→金黄→琥珀→橙红 连续渐变 / Smooth yellow→amber→red gradient
  • 内置圆润卡通字体 + 粗黑描边 / Bundled rounded cartoon font with heavy outline
  • 中英文完整切换(含配置菜单) / Full bilingual UI including config menu
  • 四角定位 + 边距 / Corner positioning with padding
  • REPOConfig 游戏内配置 / In-game config

配置 / Config

游戏主菜单 → 模组 → PingDisplay / Main menu → Mods → PingDisplay

语言 / Language — Auto(默认,跟随游戏本体语言)/ Chinese / English。Auto 模式下 HUD 会在游戏内切换语言后一秒内跟随;游戏若是中文外的其他语言则回落英文文案 / Auto (default, follows the game language), Chinese, or English

显示 / Display — 位置、边距、自定义字体文件、大小、颜色、ms后缀、标签、菜单显示 / Position, padding, custom font file, size, color, ms suffix, label, show in menu

颜色 / Colors — 延迟着色阈值、描边颜色与粗细 / Thresholds, outline color & thickness

最大延迟 / MaxPing — 最大Ping显示、字体、颜色、重置间隔 / Max ping display, font, color, reset interval

统计 / Stats — 均/抖/丢/主机延迟/波动警告 / Avg, jitter, loss, host ping, fluctuation warning

字体 / Font

插件自带一个字体文件,运行时由 TextMeshPro 直接从 TTF 创建字体资产,不修改系统、不写注册表 / Ships its own font, built into a TextMeshPro asset at runtime — no system changes, no registry writes:

  • PingDisplayFont.ttf — 思源柔黑简体 Heavy(Resource Han Rounded SC)子集,109 字符,圆润厚重的卡通字形 / 109-glyph rounded heavy subset

想换成自己的字体,把任意 .ttf 放进 plugins\PingDisplay\,再把配置里的「自定义字体文件」填成该文件名即可。 / To use your own font, drop any .ttf into plugins\PingDisplay\ and set "Custom font file" to its name.

依赖 / Dependencies

  • BepInExPack_REPO (BepInEx 5.4.23.5)
  • REPOConfig (可选,用于游戏内菜单 / optional, for the in-game settings menu)

安装 / Installation

用 Gale / r2modman 的「从 zip 安装」;手动安装则把压缩包里的 .dll 和 .ttf 放进 BepInEx\plugins\PingDisplay\。 Extract into the game root folder, or use the "Install from zip" feature of Gale / r2modman; manually, put the .dll and .ttf into BepInEx\plugins\PingDisplay\.

CHANGELOG

Changelog / 更新日志

2.1.0

  • 新增「界面语言」:Auto 跟随游戏语言,也可强制中文 / 英文;配置菜单里的标题和帮助文字跟着切换,切换即时生效 / Added a UI language option; the config menu titles and help text follow it and update instantly
  • 配置 key 统一为固定英文,旧配置里 语言 / Language 等区段不再读取,第一次启动回到默认值 / Config keys are now fixed English; the old language-dependent sections are ignored and settings start from defaults once

2.0.2

  • 重做图标,与游戏美术风格一致 / New icon matching the game's art style
  • 简介改为中英双语 / Bilingual store description
  • 发布包统一输出到根目录 release\ / Packages now go to release\

2.0.1

  • 修复丢包率恒为 0:PacketLossByCrc 实为 int,旧代码强转 byte 抛异常被吞 / Fixed packet loss always showing 0%
  • 修复切换显示角落后文字对齐不跟随 / Fixed alignment after changing the corner
  • 修复改「自定义字体文件」不生效、换字体丢描边、字体切换日志每次刷屏 / Fixed custom font and outline issues
  • 修复断线重连后 HUD 滞留旧文案、UI 中途异常导致文字永久缺失 / Fixed stale and missing HUD text
  • 移除 1.2.0 遗留的私有字体注册死代码,配置描述里的 ⚠ 改为 ! / Removed dead font code

2.0.0

  • 渲染换成 TextMeshPro,SDF 描边,默认字号 26 且加粗 / Switched to TextMeshPro with SDF outline
  • 内置思源柔黑简体 Heavy 子集(109 字符 / 88 KB),从 TTF 直接建字体,不依赖系统字体 / Bundled rounded CJK font subset
  • 新增「自动检测语言」并设为默认,跟随游戏内语言切换 / Added auto language detection
  • 配置项清理:删除无效的「内置字体」,原「字体」改为「自定义字体文件」 / Config cleanup

1.2.0

  • 新增内置像素字体子集与文字描边配置 / Bundled pixel font subset, added outline config
  • 默认外观改为黄字灰边并平滑渐变 / Yellow-on-gray with smooth gradient

1.1.0

  • 新增主机延迟显示与波动警告 / Added host ping and fluctuation warning
  • 配置菜单完整中英文翻译 / Bilingual config menu
  • 构建迁移到 netstandard2.1 / Migrated to netstandard2.1

1.0.1

  • 配置即时生效、新增服务器地区通知、断线宽限期、最大 Ping 周期重置 / Config hot-apply, region notice, disconnect grace, max ping reset

1.0.0

  • 首次发布 / Initial release