XKaguya / AutoReconnect-Remastered

A plugin based on Exiled for SCP:SL. This Plugin allowed players who was accidently disconnected from server to spawn what the player was.
Other
2 stars 1 forks source link

command question #9

Closed CN-hurui closed 4 months ago

CN-hurui commented 4 months ago

image emm...the rp command is same of deny. Can the rp broadcast can be configable?

XKaguya commented 4 months ago

image emm...the rp command is same of deny. Can the rp broadcast can be configable?

额,复制的时候忘记改了。。。 广播是可以自定义的,我马上改

XKaguya commented 4 months ago

image emm...the rp command is same of deny. Can the rp broadcast can be configable?

这个不是已经存在的功能吗

var message = string.Format(AutoReconnect.Instance.Config.DisconnectedMessage, pd.Class, player.Nickname);
XKaguya commented 4 months ago

Issue resolved. rp feature have the following alias:

rp
replace
replaceplayer
CN-hurui commented 4 months ago

您好,我想试着在本地进行编译,但是程序集无法引用,请问您有程序集的相关文件吗 Hello, I want to try to compile locally, but the assembly cannot be referenced, do you have the related files of the assembly

---Original--- From: @.> Date: Wed, Jun 12, 2024 12:08 PM To: @.>; Cc: @.**@.>; Subject: Re: [XKaguya/AutoReconnect-Remastered] command question (Issue #9)

Closed #9 as completed.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

XKaguya commented 4 months ago

您好,我想试着在本地进行编译,但是程序集无法引用,请问您有程序集的相关文件吗 Hello, I want to try to compile locally, but the assembly cannot be referenced, do you have the related files of the assembly ---Original--- From: @.> Date: Wed, Jun 12, 2024 12:08 PM To: @.>; Cc: @.**@.>; Subject: Re: [XKaguya/AutoReconnect-Remastered] command question (Issue #9) Closed #9 as completed. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Exiled 下载最新版 解压那个 .tar.gz 里面就是

CN-hurui commented 4 months ago

我已经使用nuget获取了ex的包,但是有些引用如mirror.dll,0harmony.dll这类是无法直接添加程序集的😭😭,您可以指导一下吗

---Original--- From: @.> Date: Wed, Jun 12, 2024 13:03 PM To: @.>; Cc: @.**@.>; Subject: Re: [XKaguya/AutoReconnect-Remastered] command question (Issue #9)

您好,我想试着在本地进行编译,但是程序集无法引用,请问您有程序集的相关文件吗 Hello, I want to try to compile locally, but the assembly cannot be referenced, do you have the related files of the assembly … ---Original--- From: @.> Date: Wed, Jun 12, 2024 12:08 PM To: @.>; Cc: @.@.>; Subject: Re: [XKaguya/AutoReconnect-Remastered] command question (Issue #9) Closed #9 as completed. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

去 Exiled 下载最新版 解压那个 .tar.gz 里面就是

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

XKaguya commented 4 months ago

我已经使用nuget获取了ex的包,但是有些引用如mirror.dll,0harmony.dll这类是无法直接添加程序集的😭😭,您可以指导一下吗 ---Original--- From: @.> Date: Wed, Jun 12, 2024 13:03 PM To: @.>; Cc: @.**@.>; Subject: Re: [XKaguya/AutoReconnect-Remastered] command question (Issue #9) 您好,我想试着在本地进行编译,但是程序集无法引用,请问您有程序集的相关文件吗 Hello, I want to try to compile locally, but the assembly cannot be referenced, do you have the related files of the assembly … ---Original--- From: @.> Date: Wed, Jun 12, 2024 12:08 PM To: @.>; Cc: @.@.>; Subject: Re: [XKaguya/AutoReconnect-Remastered] command question (Issue #9) Closed #9 as completed. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.> 去 Exiled 下载最新版 解压那个 .tar.gz 里面就是 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

里面有带 Harmony 的,你把这些解压丢一起,然后实在懒就去 SL服务器 根目录的 Managed 里面把所有 DLL 拖出来 你可能还需要用到 APublicizer 来使得 Assemble-CSharp.dll 里面的方法全部公开化,这样才能调用

然后再去VS/Rider里面引用整个文件夹里面的所有DLL就行。

CN-hurui commented 4 months ago

image 尝试引用的时候(添加程序集)总是报错,无法引用

XKaguya commented 4 months ago

image 尝试引用的时候(添加程序集)总是报错,无法引用

额,我不知道你具体怎么操作的,这个报错你还是百度看看吧

CN-hurui commented 4 months ago

image var message = string.Format(AutoReconnect.Instance.Config.DisconnectedMessage, pd.Class, player.Nickname); 您这个这个好像是在观察者替代SCP之后会向全体玩家发送的消息,功能设计应该是可以在SCP玩家断开后向观察者角色发送.rp可以代替玩家的公告

CN-hurui commented 4 months ago

我是一名自学的编程新手,以下是我引用程序集的步骤: Collage_20240612_140847

XKaguya commented 4 months ago

image var message = string.Format(AutoReconnect.Instance.Config.DisconnectedMessage, pd.Class, player.Nickname); 您这个这个好像是在观察者替代SCP之后会向全体玩家发送的消息,功能设计应该是可以在SCP玩家断开后向观察者角色发送.rp可以代替玩家的公告

我复用了这段文本, 然后你的依赖为什么这样不行我也不清楚,我后期主要转Rider了 或许你可以点开程序集再下一层看看引用