请选择 进入手机版 | 继续访问电脑版

站内搜索

搜索
热搜: 活动 交友 discuz

iFAction 世界需要你的想象力!

[BUG反馈] 怪物设置行为就会报错

2

主题

4

帖子

173

积分

iF基础方块

Rank: 3Rank: 3

积分
173
发表于 2022-9-26 10:58:03 | 显示全部楼层 |阅读模式
错误信息:索引超出范围。必须为非负值并小于集合大小。
参数名: index

   在 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   在 System.Collections.Generic.List`1.get_Item(Int32 index)
   在 IFAction.Root.RF.FindValue(Int32 id)
   在 IFAction.Setting.SWEnemyAction.WToolsBase_Loaded(Object sender, RoutedEventArgs e)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
   在 System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
   在 MS.Internal.LoadedOrUnloadedOperation.DoWork()
   在 System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
   在 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object rKT66iavTEivxLdKzeT1Hqi5c38JT6hYgk)
   在 System.Windows.Media.MediaContext.RenderMessageHandler(Object rKT66iavTEivxLdKzeT1Hqi5c38JT6hYgk)
   在 System.Windows.Interop.HwndTarget.OnResize()
   在 System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   在 System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

3

主题

59

帖子

1886

积分

iF城镇

Rank: 6Rank: 6

积分
1886
发表于 2022-9-27 15:02:24 | 显示全部楼层
你是把变量删除完了吧?至少要留1个变量

评分

参与人数 1金钱 +5 收起 理由
bwza767 + 5 很给力!

查看全部评分

2

主题

4

帖子

173

积分

iF基础方块

Rank: 3Rank: 3

积分
173
 楼主| 发表于 2022-9-27 15:13:21 | 显示全部楼层
1084736768 发表于 2022-9-27 15:02
你是把变量删除完了吧?至少要留1个变量

试了一下添加变量,真的不会报错了,感谢
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系我们
QQ群:977585123
iFAction下载
Windows客户端
反馈
意见建议
iFAction

iFAction

京ICP备15053274号-1

Powered by Discuz! X3.4 © 2001-2013 Comsenz Inc.