NGMsoftware

NGMsoftware
로그인 회원가입
  • 커뮤니티
  • 질문과 답변
  • 커뮤니티

    지식인! 질문에 답변을 달면 포인트가 지급됩니다.

    질문과 답변

    지식인! 질문에 답변을 달면 포인트가 지급됩니다.

    질문에 대한 답변을 3일안에 채택하지 않으면, 자동으로 첫번째 답변자가 채택되고 포인트는 100점이 차감됩니다.

    플레이어 커서 정보 저장 부분에서 플레이어 꺼짐

    페이지 정보

    본문

    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번으로 돌아가기 

     

    이런 식으로 짜여 있습니다.

     

    1890303120_1595759751.9074.png

    • 네이버 공유하기
    • 페이스북 공유하기
    • 트위터 공유하기
    • 카카오스토리 공유하기
    추천0 비추천0

    댓글목록

      채택답변
    profile_image

    엔지엠소프트웨어님의 댓글

    엔지엠소프트웨어 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일 Date

    내용을 보면 마우스 커서에서 문제가 발생되는듯 보이네요.
    마우스 커서 속성이 어떻게 설정되어 있는지 이미지도 첨부해주세요.

    profile_image

    아티칸님의 댓글의 댓글

    no_profile 아티칸 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일 Date

    수정으로 추가해두겠습니다

    profile_image

    엔지엠소프트웨어님의 댓글의 댓글

    엔지엠소프트웨어 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일 Date

    제가 방금 마우스 커서 해봤는데... 잘 동작해요.
    새로운 스크립트에서 저것만 설정하고 한번 해보실래요?

    profile_image

    아티칸님의 댓글의 댓글

    no_profile 아티칸 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일 Date

    저도 아예 작동안하는게 아니라 하루종일 돌리면 2~3번 꼴로 꺼져가지고...

    profile_image

    엔지엠소프트웨어님의 댓글의 댓글

    엔지엠소프트웨어 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일 Date

    그런거면... 스크립트 구성이 문제일듯한데...
    음... 혹시 비동기 모드인가요?

    profile_image

    아티칸님의 댓글의 댓글

    no_profile 아티칸 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일 Date

    비동기인거 확인은 어디서 할까요?

    profile_image

    엔지엠소프트웨어님의 댓글의 댓글

    엔지엠소프트웨어 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일 Date

    내문서에 NGM5 안에 보시면 Script, Image 폴더가 있을거예요.
    압축해서 첨부좀 해주시면 제가 한번 봐볼께요.

    profile_image

    아티칸님의 댓글의 댓글

    no_profile 아티칸 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일 Date

    이미지는 제가 png로 저장을해서 그 폴더 내부에 없네용,,,

    profile_image

    아티칸님의 댓글의 댓글

    no_profile 아티칸 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일 Date

    일단 끝까지 굴러보다가 안되면 다시 질문글 작성해 볼게여 흐