동일 위치에
세가지 그림이 랜덤으로 나오고
그림에 맞춰 터치를 해야 하고
정해진 시간안에 목표점수를 넘어야 하는
넷마블 프로야구속 미니게임 대응 메크로를 만들려고 하는데요.
해당 포인트에 이미지 3종은 캡쳐를 했습니다.
근데....
비교를 안하고 무조건 돌아가면서 실행이 되네요;;
하늘색 공이 올경우 키보드 Num1을 입력하고
아니면
연두색 공이 오는지 확인후 맞으면 Num2
빨간색 공이 오는지 확인후 맞으면 Num3를 입력 하게 하고 싶은데...
돌려보면
공색깔과는 상관없이
Num1, Num2, Num3 을 반복 합니다.....
파일 첨부가 안돼서 xml 소스 첨부합니다...
<?xml version="1.0" encoding="EUC-KR"?>
<ROOT>
<MAIN>
<XmlVersion>1.110000</XmlVersion>
<Cmy>422</Cmy>
<Hotkey0>F7</Hotkey0>
<Modifiers0>0</Modifiers0>
<Vk0>118</Vk0>
<Hotkey1>F8</Hotkey1>
<Modifiers1>0</Modifiers1>
<Vk1>119</Vk1>
<Hotkey2>F9</Hotkey2>
<Modifiers2>0</Modifiers2>
<Vk2>120</Vk2>
<AuthorID>test</AuthorID>
<IniDelimiter>9818919660816196</IniDelimiter>
</MAIN>
<TW>
<CheckTWInc>0</CheckTWInc>
<CheckTWHide>0</CheckTWHide>
<TargetWnd.left>289</TargetWnd.left>
<TargetWnd.top>178</TargetWnd.top>
<TargetWnd.right>1708</TargetWnd.right>
<TargetWnd.bottom>976</TargetWnd.bottom>
<TarfrmWnd.left>288</TarfrmWnd.left>
<TarfrmWnd.top>145</TarfrmWnd.top>
<TarfrmWnd.right>1741</TarfrmWnd.right>
<TarfrmWnd.bottom>977</TarfrmWnd.bottom>
<TWAName>BlueStacks</TWAName>
<TWAClass>Qt5154QWindowOwnDCIcon</TWAClass>
<TWBName>BlueStacks</TWBName>
<TWBClass>Qt5154QWindowOwnDCIcon</TWBClass>
<TWCName>HD-Player</TWCName>
<TWCClass>Qt5154QWindowIcon</TWCClass>
<TWHandle>0x90A18</TWHandle>
<TWInc/>
</TW>
<GENERAL>
<CaptureMode>1</CaptureMode>
<ReactSpeed>0</ReactSpeed>
<InputType>2</InputType>
<ImageCount>13</ImageCount>
<Image_1>
<Name>Y</Name>
<Rect>(856, 462, 104, 114)</Rect>
<ROI>(856, 462, 104, 114)</ROI>
<FullROI>0</FullROI>
<Param1>10944512</Param1>
<Param2>998316</Param2>
<Param3>0</Param3>
<Param4>1649603023</Param4>
<Enable>0</Enable>
<Group>0</Group>
<Trg Interval="0.5" CheckInherit1="0" Acc="90" CheckInherit2="0" CheckShade="1" CheckEdge="0" CheckGauge="0" Gauge="70" ComboGauge="0" CheckAnimated="1" AnimatedSec="0.1" CheckLuaVar="0" LuaVar="" CheckNotFound="0" CheckPrint="0" ComboPrint="1"/>
<ActCount>2</ActCount>
<Act_1>
<Name>이미지 표시</Name>
<Enable>1</Enable>
<Param/>
<Attr/>
</Act_1>
<Act_2>
<Name>인식 활성/비활성</Name>
<Enable>1</Enable>
<Param>Enable( 9 YF 1 0 0 0 0 0 0 0 0 0 )</Param>
<Attr ImageSelect="9" ImageName="YF" Enable="1" DisableCurImage="0" CheckEnableTimer="0" EnableTimerMin="0" EnableTimerSec="0" CheckEnableOnTime="0" EnableOnTimeHH="0" EnableOnTimeMM="0" EnableOnTimeSS="0" CheckEnableTimeCancel="0"/>
</Act_2>
</Image_1>
<Image_2>
<Name>R</Name>
<Rect>(846, 463, 115, 112)</Rect>
<ROI>(846, 463, 115, 112)</ROI>
<FullROI>0</FullROI>
<Param1>9895936</Param1>
<Param2>867220</Param2>
<Param3>0</Param3>
<Param4>1649603059</Param4>
<Enable>0</Enable>
<Group>0</Group>
<Trg Interval="0.5" CheckInherit1="0" Acc="90" CheckInherit2="0" CheckShade="1" CheckEdge="0" CheckGauge="0" Gauge="70" ComboGauge="0" CheckAnimated="1" AnimatedSec="0.1" CheckLuaVar="0" LuaVar="" CheckNotFound="0" CheckPrint="0" ComboPrint="1"/>
<ActCount>2</ActCount>
<Act_1>
<Name>이미지 표시</Name>
<Enable>1</Enable>
<Param/>
<Attr/>
</Act_1>
<Act_2>
<Name>인식 활성/비활성</Name>
<Enable>1</Enable>
<Param>Enable( 3 RF 1 0 0 0 0 0 0 0 0 0 )</Param>
<Attr ImageSelect="3" ImageName="RF" Enable="1" DisableCurImage="0" CheckEnableTimer="0" EnableTimerMin="0" EnableTimerSec="0" CheckEnableOnTime="0" EnableOnTimeHH="0" EnableOnTimeMM="0" EnableOnTimeSS="0" CheckEnableTimeCancel="0"/>
</Act_2>
</Image_2>
<Image_3>
<Name>B</Name>
<Rect>(853, 467, 108, 114)</Rect>
<ROI>(853, 467, 108, 114)</ROI>
<FullROI>0</FullROI>
<Param1>11272192</Param1>
<Param2>605075</Param2>
<Param3>0</Param3>
<Param4>1649603094</Param4>
<Enable>0</Enable>
<Group>0</Group>
<Trg Interval="0.5" CheckInherit1="0" Acc="90" CheckInherit2="0" CheckShade="1" CheckEdge="0" CheckGauge="0" Gauge="70" ComboGauge="0" CheckAnimated="1" AnimatedSec="0.1" CheckLuaVar="0" LuaVar="" CheckNotFound="0" CheckPrint="0" ComboPrint="1"/>
<ActCount>2</ActCount>
<Act_1>
<Name>이미지 표시</Name>
<Enable>1</Enable>
<Param/>
<Attr/>
</Act_1>
<Act_2>
<Name>인식 활성/비활성</Name>
<Enable>1</Enable>
<Param>Enable( 6 BF 1 0 0 0 0 0 0 0 0 0 )</Param>
<Attr ImageSelect="6" ImageName="BF" Enable="1" DisableCurImage="0" CheckEnableTimer="0" EnableTimerMin="0" EnableTimerSec="0" CheckEnableOnTime="0" EnableOnTimeHH="0" EnableOnTimeMM="0" EnableOnTimeSS="0" CheckEnableTimeCancel="0"/>
</Act_2>
</Image_3>
<Image_4>
<Name>RF.grp</Name>
<Rect>(0, 0, 0, 0)</Rect>
<ROI>(0, 0, 0, 0)</ROI>
<FullROI>0</FullROI>
<Param1>0</Param1>
<Param2>0</Param2>
<Param3>0</Param3>
<Param4>0</Param4>
<Enable>0</Enable>
<Group>1</Group>
<Trg Interval="1" CheckInherit1="1" Acc="80" CheckInherit2="1" CheckShade="1" CheckEdge="0" CheckGauge="0" Gauge="70" ComboGauge="0" CheckAnimated="0" AnimatedSec="2" CheckLuaVar="0" LuaVar="" CheckNotFound="0" CheckPrint="0" ComboPrint="1"/>
<ActCount>0</ActCount>
</Image_4>
<Image_5>
<Name>RC</Name>
<Rect>(1059, 644, 301, 126)</Rect>
<ROI>(1059, 644, 301, 126)</ROI>
<FullROI>0</FullROI>
<Param1>4980736</Param1>
<Param2>3029949</Param2>
<Param3>0</Param3>
<Param4>1649604812</Param4>
<Enable>1</Enable>
<Group>2</Group>
<Trg Interval="1" CheckInherit1="1" Acc="80" CheckInherit2="1" CheckShade="1" CheckEdge="0" CheckGauge="0" Gauge="70" ComboGauge="0" CheckAnimated="0" AnimatedSec="2" CheckLuaVar="0" LuaVar="" CheckNotFound="0" CheckPrint="0" ComboPrint="1"/>
<ActCount>3</ActCount>
<Act_1>
<Name>멀티 이미지 인식</Name>
<Enable>1</Enable>
<Param>Multi( 1 0 1 R -1 null -1 null -1 null -1 null -1 null -1 null -1 null -1 null -1 null )</Param>
<Attr Op="1" ImageNotBits="0" S0="1" N0="R"/>
</Act_1>
<Act_2>
<Name>이미지 표시</Name>
<Enable>1</Enable>
<Param/>
<Attr/>
</Act_2>
<Act_3>
<Name>마우스 입력</Name>
<Enable>1</Enable>
<Param>Mouse( 0 0 0 0 0 0 0 0 300 125 0.000000 0.000000 0.300000 1 )</Param>
<Attr Input="0" Button="0" Speed="0" Base="0" Coord_x1="0" Coord_y1="0" Coord_x2="0" Coord_y2="0" Rand_x="300" Rand_y="125" PressSec1="0" PressSec2="0" Delay="0.3" Iter="1"/>
</Act_3>
</Image_5>
<Image_6>
<Name>RFnOM</Name>
<Rect>(0, 0, 0, 0)</Rect>
<ROI>(0, 0, 0, 0)</ROI>
<FullROI>0</FullROI>
<Param1>0</Param1>
<Param2>0</Param2>
<Param3>0</Param3>
<Param4>0</Param4>
<Enable>1</Enable>
<Group>2</Group>
<Trg Interval="1" CheckInherit1="1" Acc="80" CheckInherit2="1" CheckShade="1" CheckEdge="0" CheckGauge="0" Gauge="70" ComboGauge="0" CheckAnimated="0" AnimatedSec="2" CheckLuaVar="0" LuaVar="" CheckNotFound="0" CheckPrint="0" ComboPrint="1"/>
<ActCount>1</ActCount>
<Act_1>
<Name>인식 활성/비활성</Name>
<Enable>1</Enable>
<Param>Enable( 3 RF 0 0 0 0 0 0 0 0 0 0 )</Param>
<Attr ImageSelect="3" ImageName="RF" Enable="0" DisableCurImage="0" CheckEnableTimer="0" EnableTimerMin="0" EnableTimerSec="0" CheckEnableOnTime="0" EnableOnTimeHH="0" EnableOnTimeMM="0" EnableOnTimeSS="0" CheckEnableTimeCancel="0"/>
</Act_1>
</Image_6>
<Image_7>
<Name>BF.grp</Name>
<Rect>(0, 0, 0, 0)</Rect>
<ROI>(0, 0, 0, 0)</ROI>
<FullROI>0</FullROI>
<Param1>0</Param1>
<Param2>0</Param2>
<Param3>0</Param3>
<Param4>0</Param4>
<Enable>0</Enable>
<Group>1</Group>
<Trg Interval="1" CheckInherit1="1" Acc="80" CheckInherit2="1" CheckShade="1" CheckEdge="0" CheckGauge="0" Gauge="70" ComboGauge="0" CheckAnimated="0" AnimatedSec="2" CheckLuaVar="0" LuaVar="" CheckNotFound="0" CheckPrint="0" ComboPrint="1"/>
<ActCount>0</ActCount>
</Image_7>
<Image_8>
<Name>BC</Name>
<Rect>(59, 644, 304, 123)</Rect>
<ROI>(59, 644, 304, 123)</ROI>
<FullROI>0</FullROI>
<Param1>6225920</Param1>
<Param2>2833393</Param2>
<Param3>0</Param3>
<Param4>1649604755</Param4>
<Enable>1</Enable>
<Group>2</Group>
<Trg Interval="0.1" CheckInherit1="0" Acc="0" CheckInherit2="0" CheckShade="0" CheckEdge="0" CheckGauge="0" Gauge="70" ComboGauge="0" CheckAnimated="0" AnimatedSec="2" CheckLuaVar="0" LuaVar="" CheckNotFound="0" CheckPrint="0" ComboPrint="1"/>
<ActCount>3</ActCount>
<Act_1>
<Name>멀티 이미지 인식</Name>
<Enable>1</Enable>
<Param>Multi( 1 0 2 B -1 null -1 null -1 null -1 null -1 null -1 null -1 null -1 null -1 null )</Param>
<Attr Op="1" ImageNotBits="0" S0="2" N0="B"/>
</Act_1>
<Act_2>
<Name>이미지 표시</Name>
<Enable>1</Enable>
<Param/>
<Attr/>
</Act_2>
<Act_3>
<Name>마우스 입력</Name>
<Enable>1</Enable>
<Param>Mouse( 0 0 0 0 0 0 0 0 303 122 0.000000 0.000000 0.300000 1 )</Param>
<Attr Input="0" Button="0" Speed="0" Base="0" Coord_x1="0" Coord_y1="0" Coord_x2="0" Coord_y2="0" Rand_x="303" Rand_y="122" PressSec1="0" PressSec2="0" Delay="0.3" Iter="1"/>
</Act_3>
</Image_8>
<Image_9>
<Name>BFNon</Name>
<Rect>(0, 0, 0, 0)</Rect>
<ROI>(0, 0, 0, 0)</ROI>
<FullROI>0</FullROI>
<Param1>0</Param1>
<Param2>0</Param2>
<Param3>0</Param3>
<Param4>0</Param4>
<Enable>1</Enable>
<Group>2</Group>
<Trg Interval="1" CheckInherit1="1" Acc="80" CheckInherit2="1" CheckShade="1" CheckEdge="0" CheckGauge="0" Gauge="70" ComboGauge="0" CheckAnimated="0" AnimatedSec="2" CheckLuaVar="0" LuaVar="" CheckNotFound="0" CheckPrint="0" ComboPrint="1"/>
<ActCount>1</ActCount>
<Act_1>
<Name>인식 활성/비활성</Name>
<Enable>1</Enable>
<Param>Enable( 6 BF 0 0 0 0 0 0 0 0 0 0 )</Param>
<Attr ImageSelect="6" ImageName="BF" Enable="0" DisableCurImage="0" CheckEnableTimer="0" EnableTimerMin="0" EnableTimerSec="0" CheckEnableOnTime="0" EnableOnTimeHH="0" EnableOnTimeMM="0" EnableOnTimeSS="0" CheckEnableTimeCancel="0"/>
</Act_1>
</Image_9>
<Image_10>
<Name>YF.grp</Name>
<Rect>(0, 0, 0, 0)</Rect>
<ROI>(0, 0, 0, 0)</ROI>
<FullROI>0</FullROI>
<Param1>0</Param1>
<Param2>0</Param2>
<Param3>0</Param3>
<Param4>0</Param4>
<Enable>0</Enable>
<Group>1</Group>
<Trg Interval="1" CheckInherit1="1" Acc="80" CheckInherit2="1" CheckShade="1" CheckEdge="0" CheckGauge="0" Gauge="70" ComboGauge="0" CheckAnimated="0" AnimatedSec="2" CheckLuaVar="0" LuaVar="" CheckNotFound="0" CheckPrint="0" ComboPrint="1"/>
<ActCount>0</ActCount>
</Image_10>
<Image_11>
<Name>YC</Name>
<Rect>(561, 645, 298, 123)</Rect>
<ROI>(561, 645, 298, 123)</ROI>
<FullROI>0</FullROI>
<Param1>5898240</Param1>
<Param2>2964414</Param2>
<Param3>0</Param3>
<Param4>1649604799</Param4>
<Enable>1</Enable>
<Group>2</Group>
<Trg Interval="0.1" CheckInherit1="0" Acc="0" CheckInherit2="0" CheckShade="0" CheckEdge="0" CheckGauge="0" Gauge="70" ComboGauge="0" CheckAnimated="0" AnimatedSec="2" CheckLuaVar="0" LuaVar="" CheckNotFound="0" CheckPrint="0" ComboPrint="1"/>
<ActCount>3</ActCount>
<Act_1>
<Name>멀티 이미지 인식</Name>
<Enable>1</Enable>
<Param>Multi( 1 0 0 Y -1 null -1 null -1 null -1 null -1 null -1 null -1 null -1 null -1 null )</Param>
<Attr Op="1" ImageNotBits="0" S0="0" N0="Y"/>
</Act_1>
<Act_2>
<Name>이미지 표시</Name>
<Enable>1</Enable>
<Param/>
<Attr/>
</Act_2>
<Act_3>
<Name>마우스 입력</Name>
<Enable>1</Enable>
<Param>Mouse( 0 0 0 0 0 0 0 0 297 122 0.000000 0.000000 0.300000 1 )</Param>
<Attr Input="0" Button="0" Speed="0" Base="0" Coord_x1="0" Coord_y1="0" Coord_x2="0" Coord_y2="0" Rand_x="297" Rand_y="122" PressSec1="0" PressSec2="0" Delay="0.3" Iter="1"/>
</Act_3>
</Image_11>
<Image_12>
<Name>YFN</Name>
<Rect>(0, 0, 0, 0)</Rect>
<ROI>(0, 0, 0, 0)</ROI>
<FullROI>0</FullROI>
<Param1>0</Param1>
<Param2>0</Param2>
<Param3>0</Param3>
<Param4>0</Param4>
<Enable>1</Enable>
<Group>2</Group>
<Trg Interval="1" CheckInherit1="1" Acc="80" CheckInherit2="1" CheckShade="1" CheckEdge="0" CheckGauge="0" Gauge="70" ComboGauge="0" CheckAnimated="0" AnimatedSec="2" CheckLuaVar="0" LuaVar="" CheckNotFound="0" CheckPrint="0" ComboPrint="1"/>
<ActCount>1</ActCount>
<Act_1>
<Name>인식 활성/비활성</Name>
<Enable>1</Enable>
<Param>Enable( 9 YF 0 0 0 0 0 0 0 0 0 0 )</Param>
<Attr ImageSelect="9" ImageName="YF" Enable="0" DisableCurImage="0" CheckEnableTimer="0" EnableTimerMin="0" EnableTimerSec="0" CheckEnableOnTime="0" EnableOnTimeHH="0" EnableOnTimeMM="0" EnableOnTimeSS="0" CheckEnableTimeCancel="0"/>
</Act_1>
</Image_12>
<Image_13>
<Name>PLAY</Name>
<Rect>(0, 0, 0, 0)</Rect>
<ROI>(0, 0, 0, 0)</ROI>
<FullROI>0</FullROI>
<Param1>0</Param1>
<Param2>0</Param2>
<Param3>0</Param3>
<Param4>0</Param4>
<Enable>1</Enable>
<Group>0</Group>
<Trg Interval="0.1" CheckInherit1="0" Acc="80" CheckInherit2="1" CheckShade="1" CheckEdge="0" CheckGauge="0" Gauge="70" ComboGauge="0" CheckAnimated="0" AnimatedSec="2" CheckLuaVar="0" LuaVar="" CheckNotFound="0" CheckPrint="0" ComboPrint="1"/>
<ActCount>6</ActCount>
<Act_1>
<Name>멀티 이미지 인식</Name>
<Enable>1</Enable>
<Param>Multi( 1 0 0 Y -1 null -1 null -1 null -1 null -1 null -1 null -1 null -1 null -1 null )</Param>
<Attr Op="1" ImageNotBits="0" S0="0" N0="Y"/>
</Act_1>
<Act_2>
<Name>키보드 입력</Name>
<Enable>1</Enable>
<Param>Keybd( 0 0 <Delay_100><Num2> )</Param>
<Attr Speed="0" Clipboard="0" Text="<Delay_100><Num2>"/>
</Act_2>
<Act_3>
<Name>멀티 이미지 인식</Name>
<Enable>1</Enable>
<Param>Multi( 1 0 1 R -1 null -1 null -1 null -1 null -1 null -1 null -1 null -1 null -1 null )</Param>
<Attr Op="1" ImageNotBits="0" S0="1" N0="R"/>
</Act_3>
<Act_4>
<Name>키보드 입력</Name>
<Enable>1</Enable>
<Param>Keybd( 0 0 <Num3><Delay_100> )</Param>
<Attr Speed="0" Clipboard="0" Text="<Num3><Delay_100>"/>
</Act_4>
<Act_5>
<Name>멀티 이미지 인식</Name>
<Enable>1</Enable>
<Param>Multi( 1 0 2 B -1 null -1 null -1 null -1 null -1 null -1 null -1 null -1 null -1 null )</Param>
<Attr Op="1" ImageNotBits="0" S0="2" N0="B"/>
</Act_5>
<Act_6>
<Name>키보드 입력</Name>
<Enable>1</Enable>
<Param>Keybd( 0 0 <Delay_100><Num1> )</Param>
<Attr Speed="0" Clipboard="0" Text="<Delay_100><Num1>"/>
</Act_6>
</Image_13>
</GENERAL>
</ROOT>