- 英文名称
- tsreward
- 来源
- 转载
- 语言支持
-
- English
- 适用版本
-
- 1.4
原帖里算是个老东西(很久没更新),此插件是由 CJX,适配的
装上插件后会生成一个名为tsreward的json文件
里面需要配置API钥匙(key1)在把服务器挂在terraria-servers.com时会在服务器管理界面给到一串密码
问题出在配置文件里的 7777(这个可以在json文件配置)
按插件说法是当玩家输入/tsreward 7777 时会获得奖励,然后此时会
TShock: ERROR: System.NullReferenceException: 未将对象引用设置到对象的实例。
在 TSREWARD.TSReward.<>c__DisplayClass15_0.<Reward>b__0()
在 System.Threading.ThreadHelper.ThreadStart_Context(Object state)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Threading.ThreadHelper.ThreadStart()
然后服务器崩溃,老唉子自己也不太会用....
如果有伙伴研究出来再补充吧
装上插件后会生成一个名为tsreward的json文件
里面需要配置API钥匙(key1)在把服务器挂在terraria-servers.com时会在服务器管理界面给到一串密码
问题出在配置文件里的 7777(这个可以在json文件配置)
按插件说法是当玩家输入/tsreward 7777 时会获得奖励,然后此时会
TShock: ERROR: System.NullReferenceException: 未将对象引用设置到对象的实例。
在 TSREWARD.TSReward.<>c__DisplayClass15_0.<Reward>b__0()
在 System.Threading.ThreadHelper.ThreadStart_Context(Object state)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Threading.ThreadHelper.ThreadStart()
然后服务器崩溃,老唉子自己也不太会用....
如果有伙伴研究出来再补充吧