플레이어 커서 정보 저장 부분에서 플레이어 꺼짐
페이지 정보
본문
2020-07-25 03:10:01,961 FATAL [1] NGM.Client.Player.Program.HandleException - [NGM Player Community 5.1.2.66][3056]: 매개 변수가 잘못되었습니다.
System.ArgumentException: 매개 변수가 잘못되었습니다.
위치: System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
위치: System.Drawing.Icon.BmpFrame()
위치: System.Windows.Forms.ThreadExceptionDialog..ctor(Exception t)
위치: System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
위치: System.Windows.Forms.Control.WndProcException(Exception e)
위치: System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
2020-07-25 05:25:42,693 FATAL [6] NGM.Client.Player.Program.HandleException - [NGM Player Community 5.1.2.66][3580]: 매개 변수가 잘못되었습니다.
System.ArgumentException: 매개 변수가 잘못되었습니다.
위치: System.Drawing.Graphics.GetHdc()
위치: System.Drawing.Internal.WindowsGraphics.FromGraphics(Graphics g, ApplyGraphicsProperties properties)
위치: System.Drawing.Icon.Draw(Graphics graphics, Rectangle targetRect)
위치: System.Drawing.Icon.BmpFrame()
위치: NGM.Macro.Engine.Action.Mouse.MouseCursor(MacroPlayer player, BaseModel baseModel)
위치: NGM.Macro.Engine.ActionDistribution.Execute(MacroPlayer player, BaseModel baseModel, TreeNode node, List`1 nodes, String& id, Int32& i, Boolean& isSame, Rectangle& imageRect)
위치: NGM.Macro.Engine.MacroPlayer.ScriptPlay(List`1 nodes, Boolean isSelectStart)
위치: NGM.Macro.Engine.MacroPlayer.<>c__DisplayClass129_0.<Play>b__0()
위치: 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()
2020-07-25 05:25:44,766 FATAL [1] NGM.Client.Player.Program.HandleException - [NGM Player Community 5.1.2.66][3580]: 매개 변수가 잘못되었습니다.
System.ArgumentException: 매개 변수가 잘못되었습니다.
위치: System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
위치: System.Drawing.Icon.BmpFrame()
위치: System.Windows.Forms.ThreadExceptionDialog..ctor(Exception t)
위치: System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
위치: System.Windows.Forms.Control.WndProcException(Exception e)
위치: System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
2020-07-25 06:07:33,478 FATAL [13] NGM.Macro.Engine.MacroPlayer.Stop - 2020-07-25 오전 6:07:33: 스레드가 중단되었습니다.
System.Threading.ThreadAbortException: 스레드가 중단되었습니다.
위치: System.Threading.Thread.AbortInternal()
위치: System.Threading.Thread.Abort()
위치: NGM.Macro.Engine.MacroPlayer.Stop(Boolean isComplete, Boolean isSubScript)
2020-07-25 16:31:49,844 FATAL [3] NGM.Client.Player.Program.HandleException - [NGM Player Community 5.1.2.66][2920]: 매개 변수가 잘못되었습니다.
System.ArgumentException: 매개 변수가 잘못되었습니다.
위치: System.Drawing.Graphics.GetHdc()
위치: System.Drawing.Internal.WindowsGraphics.FromGraphics(Graphics g, ApplyGraphicsProperties properties)
위치: System.Drawing.Icon.Draw(Graphics graphics, Rectangle targetRect)
위치: System.Drawing.Icon.BmpFrame()
위치: NGM.Macro.Engine.Action.Mouse.MouseCursor(MacroPlayer player, BaseModel baseModel)
위치: NGM.Macro.Engine.ActionDistribution.Execute(MacroPlayer player, BaseModel baseModel, TreeNode node, List`1 nodes, String& id, Int32& i, Boolean& isSame, Rectangle& imageRect)
위치: NGM.Macro.Engine.MacroPlayer.ScriptPlay(List`1 nodes, Boolean isSelectStart)
위치: NGM.Macro.Engine.MacroPlayer.<>c__DisplayClass129_0.<Play>b__0()
위치: 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()
2020-07-25 16:31:49,985 FATAL [1] NGM.Client.Player.Program.HandleException - [NGM Player Community 5.1.2.66][2920]: 매개 변수가 잘못되었습니다.
System.ArgumentException: 매개 변수가 잘못되었습니다.
위치: System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
위치: System.Drawing.Icon.BmpFrame()
위치: System.Windows.Forms.ThreadExceptionDialog..ctor(Exception t)
위치: System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
위치: System.Windows.Forms.Control.WndProcException(Exception e)
위치: System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
------------------
2020-07-26 01:07:28,536 FATAL [10] NGM.Client.Player.Program.HandleException - [NGM Player Community 5.1.2.66][18400]: GDI+에서 일반 오류가 발생했습니다.
System.Runtime.InteropServices.ExternalException (0x80004005): GDI+에서 일반 오류가 발생했습니다.
위치: System.Drawing.Image.FromHbitmap(IntPtr hbitmap, IntPtr hpalette)
위치: System.Drawing.Image.FromHbitmap(IntPtr hbitmap)
위치: System.Drawing.Icon.BmpFrame()
위치: NGM.Macro.Engine.Action.Mouse.MouseCursor(MacroPlayer player, BaseModel baseModel)
위치: NGM.Macro.Engine.ActionDistribution.Execute(MacroPlayer player, BaseModel baseModel, TreeNode node, List`1 nodes, String& id, Int32& i, Boolean& isSame, Rectangle& imageRect)
위치: NGM.Macro.Engine.MacroPlayer.ScriptPlay(List`1 nodes, Boolean isSelectStart)
위치: NGM.Macro.Engine.MacroPlayer.<>c__DisplayClass129_0.<Play>b__0()
위치: 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()
2020-07-26 19:01:32,044 FATAL [6] NGM.Client.Player.Program.HandleException - [NGM Player Community 5.1.2.66][20964]: GDI+에서 일반 오류가 발생했습니다.
System.Runtime.InteropServices.ExternalException (0x80004005): GDI+에서 일반 오류가 발생했습니다.
위치: System.Drawing.Image.FromHbitmap(IntPtr hbitmap, IntPtr hpalette)
위치: System.Drawing.Image.FromHbitmap(IntPtr hbitmap)
위치: System.Drawing.Icon.BmpFrame()
위치: NGM.Macro.Engine.Action.Mouse.MouseCursor(MacroPlayer player, BaseModel baseModel)
위치: NGM.Macro.Engine.ActionDistribution.Execute(MacroPlayer player, BaseModel baseModel, TreeNode node, List`1 nodes, String& id, Int32& i, Boolean& isSame, Rectangle& imageRect)
위치: NGM.Macro.Engine.MacroPlayer.ScriptPlay(List`1 nodes, Boolean isSelectStart)
위치: NGM.Macro.Engine.MacroPlayer.<>c__DisplayClass129_0.<Play>b__0()
위치: 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()
로그에선 매개 변수로 찍혀나올 때가 있고
gdi+로 찍혀나올 때도 있네요
스크립트는
1커서 정보 저장
2이미지 매치로 비교
3조건에 따라 클릭 혹은 빠져나가기
4 1번으로 돌아가기
이런 식으로 짜여 있습니다.
- 이전글타이머 틱 등록 비동기 방식으로 루프 돌렸을때 꼬이는것 같습니다. 20.07.26
- 다음글다중처리 매치옵션문의 20.07.26