unkyzh

简洁、现代、优雅的技术博客

摘要: 步骤 1.依赖注入IWorldSerivce 2.通过IWorldSerivice创建玩家TextDraw 3.设置参数 4.显示 public class SomeSystem :ISystem{ private readonly IWorldService _worldService; priv 阅读全文
posted @ 2026-02-08 22:56 Happy_Eric 阅读(3) 评论(0) 推荐(0)
摘要: 配置编码 // Program.cs // ... 省略部分代码 static void Main(string[] args) { // 注册编码支持 System.Text.Encoding.RegisterProvider(System.Text.CodePagesEncodingProvid 阅读全文
posted @ 2026-02-04 22:26 Happy_Eric 阅读(6) 评论(0) 推荐(0)
摘要: 核心思路: 在服务端传递之前把中文数据转换为十六进制,再把这个十六进制传给客户端,客户端收到以后再把十六进制转换为gbk 服务端代码示例: // StringToHex stock StringToHex(const string[], dest[], size = sizeof(dest)) { 阅读全文
posted @ 2026-01-24 18:23 Happy_Eric 阅读(3) 评论(0) 推荐(0)
摘要: samp-cef samp 侠盗猎车手:圣安地列斯多人联机工具的嵌入式chromium内核浏览器。 前提 客户端: samp版本 0.3.7-R1 和 0.3.7-R3 或 omp-launcher 从0.3.7-R1和0.3.7-R3 启动即可 cef插件: cef.asi,client.dll 阅读全文
posted @ 2026-01-19 20:09 Happy_Eric 阅读(4) 评论(0) 推荐(0)
摘要: 准备工作 OpenCore Legacy Patcher 0.4.7 OpenCore 配置编辑器(Auxiliary Tool 或者 OpenCore Configurator,此处以前者作为演示) 步骤 检查自己的启动参数是否有如下参数: amfi_get_out_of_my_way=0x1 n 阅读全文
posted @ 2025-01-13 21:06 Happy_Eric 阅读(604) 评论(0) 推荐(0)
摘要: Pages The chunk of a process, known as pages. Frames Could be assigned to available chunks of memory, known as frames. 阅读全文
posted @ 2024-07-05 09:47 Happy_Eric 阅读(18) 评论(0) 推荐(0)
摘要: Definition transport-layer multiplexing and demultiplexing The job of delivering the data in a transport-layer segment to the correct socket is called 阅读全文
posted @ 2024-07-04 09:38 Happy_Eric 阅读(55) 评论(0) 推荐(0)
摘要: socat 公网ipv6 实现 FiveM 联机 不花一分钱 研究了三天终于研究明白了,首先大家需要测试家里的宽带是否有IPv6 本教程基于Linux实现,因为socat 目前我没找到好用的Windows版本 进入[https://www.test-ipv6.com/index.html.zh_CN 阅读全文
posted @ 2024-01-31 13:51 Happy_Eric 阅读(900) 评论(0) 推荐(0)
摘要: #include<iostream> #include<malloc.h> #include<queue> using namespace std; #define MAX 10 typedef int E; typedef struct Node{ int nextVex; struct Node 阅读全文
posted @ 2023-12-21 18:51 Happy_Eric 阅读(23) 评论(0) 推荐(0)
摘要: #include<iostream> #include<malloc.h> #include<string.h> using namespace std; #define MAX 10 #define INF 0; typedef int E; typedef struct GraphMartix{ 阅读全文
posted @ 2023-12-21 18:34 Happy_Eric 阅读(33) 评论(0) 推荐(0)