[Mirai-Native] 基于小黑盒公开接口的Steam游戏信息查询
-
-
- [2022.2.21] 更新图片结果
- [2022.2.22] 修复字段格式问题导致爆炸
-
文件放在哪呢?
大佬 -
@souldriver0
需要安装前置插件Mirai Native之后运行并关闭mirai,
然后把从Releases下载的
me.cqp.luohuaming.SteamHeyboxQuery.dlll
和
me.cqp.luohuaming.SteamHeyboxQuery.json
丢到.\data\org.itxtech.mirainative\plugins
目录下再重新运行mirai。 -
@Kallen
大佬,怎么没反应啊
#steam查询 艾尔登法环 -
@duoxini 做个更新试试
-
steamid查询会报错,查询游戏信息是查询游戏王大师决斗会报错。
图片路径并不是我的安装路径,应该是不兼容的问题 -
@rogue233
我这没什么问题,试着做个更新吧 -
没有反应欸 大佬
-
@DianJiu 看代码应该是你指令用错了,对于游戏名称,应当使用
#steam查询
,而#steamid查询
需要配合#steam列表查询
一起使用,这个指令后接的是游戏的SteamId
,而不是名称 -
native 用npm enable说我bot未上线无法调用enable怎么办啊
-
@ancoldura 试着更新mirai-native
-
@Mr-喜 已经是最新1.9.6了
-
@ancoldura 上2.0.0beta
-
想问一下插件权限ID是啥
-
@siscleaire 啥?这个词没听说过
-
查某些游戏(如彩六)的时候会出错
2022-05-17 18:27:51 I/MiraiNative: [Steam价格查询 异常抛出] Could not convert string to integer: 65.00. Path 'result.items[2].info.price.lowest_price', line 1, position 4228. at Newtonsoft.Json.JsonReader.ReadInt32String(String s) at Newtonsoft.Json.JsonTextReader.FinishReadQuotedNumber(ReadType readType) at Newtonsoft.Json.JsonTextReader.ReadNumberValue(ReadType readType) at Newtonsoft.Json.JsonTextReader.ReadAsInt32() at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value) at me.cqp.luohuaming.SteamHeyboxQuery.PublicInfos.WebApi.SearchGame.GetGameInfoFullJson() in E:\酷Q机器人插件开发\Steam价格查询\Steam-Heybox-query\me.cqp.luohuaming.SteamHeyboxQuery.PublicInfos\WebApi\SearchGame.cs:line 19 at me.cqp.luohuaming.SteamHeyboxQuery.PublicInfos.WebApi.SearchGame.Get() in E:\酷Q机器人插件开发\Steam价格查询\Steam-Heybox-query\me.cqp.luohuaming.SteamHeyboxQuery.PublicInfos\WebApi\SearchGame.cs:line 24 at me.cqp.luohuaming.SteamHeyboxQuery.Code.OrderFunctions.NameQuery.CallSearch(String targetName, SendText sendText) in E:\酷Q机器人插件开发\Steam价格查询\Steam-Heybox-query\me.cqp.luohuaming.SteamHeyboxQuery.Code\OrderFunctions\NameQuery.cs:line 73 at me.cqp.luohuaming.SteamHeyboxQuery.Code.OrderFunctions.NameQuery.Progress(CQGroupMessageEventArgs e) in E:\酷Q机器人插件开发\Steam价格查询\Steam-Heybox-query\me.cqp.luohuaming.SteamHeyboxQuery.Code\OrderFunctions\NameQuery.cs:line 40 at me.cqp.luohuaming.SteamHeyboxQuery.Code.Event_GroupMessage.GroupMessage(CQGroupMessageEventArgs e) in E:\酷Q机器人插件开发\Steam价格查询\Steam-Heybox-query\me.cqp.luohuaming.SteamHeyboxQuery.Code\Event_GroupMessage.cs:line 23
-
@立于羽下 感谢反馈,是数值转换的bug
,马上就修
修好了,来重新下一份吧
-
@Mr-喜 感谢大佬光速修复
-
想请问Mirai-Native只支持32位操作系统吗,64位的centos是否就用不了了