honkai-impact-4-galaxy-journey / utilplugin Goto Github PK
View Code? Open in Web Editor NEWa plugin with many things
License: GNU General Public License v3.0
a plugin with many things
License: GNU General Public License v3.0
增加SCP击杀回血,我们正在考虑增加一个新服务器来完整的实现你的插件功能。即我只需要你的插件来开服务器,作为插件测试服
(示例)
我需要这个功能来xxxx。很多人都有xxxx的需求,但如果没有这个功能,就不能xxxx了。
CCBE--月姐
[2024-02-08 00:58:39.835 +08:00] [ERROR] [Exiled.Loader] Error while initializing plugin UtilPlugin (at )! System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not load type of field 'UtilPlugin.EventHandler+d__15:<>s__5' (7) due to: Could not resolve type with token 01000026 from typeref (expected class 'BasicRagdoll' in assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:BasicRagdoll member:(null)
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <75633565436c42f0a6426b33f0132ade>:0
at Exiled.Loader.Loader.CreatePlugin (System.Reflection.Assembly assembly) [0x00000] in <405723e5ece0438c9407a775ad158948>:0
System.TypeLoadException: Could not load type of field 'UtilPlugin.EventHandler+d__15:<>s__5' (7) due to: Could not resolve type with token 01000026 from typeref (expected class 'BasicRagdoll' in assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:BasicRagdoll member:(null)
[2024-02-08 00:58:39.847 +08:00] [ERROR] [Exiled.Loader] System.TypeLoadException: Could not load type of field 'UtilPlugin.EventHandler+d__15:<>s__5' (7) due to: Could not resolve type with token 01000026 from typeref (expected class 'BasicRagdoll' in assembly 'Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:BasicRagdoll member:(null)
服务器重启后
加入SCP站立回血
开局30s内自动补票(变成DD)
加入SCP-2818,伤害很高的狙击枪,会把人发射出去,人会死,一发,最好用左轮的模型(要是做不了当我没说)
我觉得有必要()
如题
(示例)
我需要这个功能来xxxx。很多人都有xxxx的需求,但如果没有这个功能,就不能xxxx了。
请问可以给一个数据库的正确sql实例文件吗,否则不知道需要在数据库中加入什么内容导致功能无法使用
[2024-03-11 20:21:40.575 +08:00] [ERROR] [Exiled.Loader] Plugin "UtilPlugin" threw an exception while enabling: System.FormatException: String was not recognized as a valid Boolean.
at System.Boolean.Parse (System.ReadOnlySpan`1[T] value) [0x0000a] in <75633565436c42f0a6426b33f0132ade>:0
at System.Boolean.Parse (System.String value) [0x00014] in <75633565436c42f0a6426b33f0132ade>:0
at System.Convert.ToBoolean (System.String value, System.IFormatProvider provider) [0x00005] in <75633565436c42f0a6426b33f0132ade>:0
at System.String.System.IConvertible.ToBoolean (System.IFormatProvider provider) [0x00000] in <75633565436c42f0a6426b33f0132ade>:0
at System.Convert.ToBoolean (System.Object value) [0x00003] in <75633565436c42f0a6426b33f0132ade>:0
at MySql.Data.MySqlClient.MySqlDataReader.GetBoolean (System.Int32 i) [0x0001e] in <8bd29e848ed64b8c9564688eac2ba5d4>:0
at MySql.Data.MySqlClient.MySqlDataReader.GetBoolean (System.String name) [0x00008] in <8bd29e848ed64b8c9564688eac2ba5d4>:0
at (wrapper remoting-invoke-with-check) MySql.Data.MySqlClient.MySqlDataReader.GetBoolean(string)
at UtilPlugin.BadgeDatabase.Update (System.String connectstring) [0x0009e] in <1c6b14fccc114afa91b0b04c9b17518d>:0
at UtilPlugin.UtilPlugin.OnEnabled () [0x0004d] in <1c6b14fccc114afa91b0b04c9b17518d>:0
at Exiled.Loader.Loader.EnablePlugins () [0x000c6] in :0
自行创建sql文件以badge为表名,userid、color、admin等字段
这个功能及其重要,需要尽快处理
(示例)
我需要这个功能来xxxx。很多人都有xxxx的需求,但如果没有这个功能,就不能xxxx了。
在预留位人数为较小数值时(如1-2人),减去有预留位的玩家数,计算结果可能为负数
即:
public static uint Remain => (UtilPlugin.Instance.Config.Slots - Player.List.Where(p => BadgeDatabase.badges.Find(badge => badge.userid == p.UserId)?.reverseslot == "true").Count());
通过检查代码,好像是remain计算结果会为负数导致预留位不生效,需要转换为正整数?
将UtilPlugin.Instance.Config.Slots调整为1-2人,同时服务器内存在reserveslot人数大于UtilPlugin.Instance.Config.Slots配置的人数,会出现预留位不生效的问题
[2024-02-10 21:19:49.113 +08:00] [ERROR] [Exiled.Events] Method "OnSpawned" of the class "UtilPlugin.EventHandler" caused an exception when handling the event "Exiled.Events.Features.Event1[[Exiled.Events.EventArgs.Player.SpawnedEventArgs, Exiled.Events, Version=8.8.0.0, Culture=neutral, PublicKeyToken=null]]" System.NullReferenceException: Object reference not set to an instance of an object at UtilPlugin.EventHandler.OnSpawned (Exiled.Events.EventArgs.Player.SpawnedEventArgs ev) [0x00020] in <c1db744b45604f02804e8373e4157f14>:0 at Exiled.Events.Features.Event
1[T].InvokeNormal (T arg) [0x00028] in <8eab984dbf6048c9afb11c5a44184c52>:0
服务器端报错,一直在刷屏
血量有bug,开局所有人都是0血
Originally posted by @luna9964 in #41 (comment)
在回合开始一分钟以内,进入的人观察者自动变成D级人员
有些人因为网络问题不能在开始之前进入服务器,管理员不可能一直都在,需要帮助补票
如题
(示例)
我需要这个功能来xxxx。很多人都有xxxx的需求,但如果没有这个功能,就不能xxxx了。
如题
(示例)
我需要这个功能来xxxx。很多人都有xxxx的需求,但如果没有这个功能,就不能xxxx了。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.