From b7306cb084b14fbca43b2b3e6b45d6575dc93738 Mon Sep 17 00:00:00 2001 From: mjjo Date: Wed, 9 Oct 2013 22:49:25 +0000 Subject: [PATCH] --- HookMsg/Condition.cpp | 6 +++--- HookMsg/HookMsgDlg.cpp | 9 ++++++--- HookMsg/NewsLog.txt | 18 +++++++++--------- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/HookMsg/Condition.cpp b/HookMsg/Condition.cpp index 7d732e7..e5c6d32 100644 --- a/HookMsg/Condition.cpp +++ b/HookMsg/Condition.cpp @@ -255,11 +255,11 @@ enum HM_CONDITION_TYPE CCondition::DetectConditionTitle( CString & strTitle, int { if( ! SearchNot( m_arrTextNot, strTitle ) ) // [°ø½Ã ºÎÁ¤¹®±¸]¸¦ ã´Â´Ù. { - if ( SearchAnd( m_arrManual, strTitle ) ) // [´º½ºÇ÷¯½º_¼öµ¿¹®±¸]¸¦ ã´Â´Ù. - return HM_CONDITION_TYPE_MANUAL; - if( SearchAnd( m_arrTextAnd, strTitle ) ) // [°ø½Ã ±àÁ¤¹®±¸]¸¦ ã´Â´Ù. return HM_CONDITION_TYPE_TRUE; + + if ( SearchAnd( m_arrManual, strTitle ) ) // [´º½ºÇ÷¯½º_¼öµ¿¹®±¸]¸¦ ã´Â´Ù. + return HM_CONDITION_TYPE_MANUAL; } } diff --git a/HookMsg/HookMsgDlg.cpp b/HookMsg/HookMsgDlg.cpp index a855191..8c00c6a 100644 --- a/HookMsg/HookMsgDlg.cpp +++ b/HookMsg/HookMsgDlg.cpp @@ -1870,13 +1870,16 @@ void CHookMsgDlg::_WorkThreadProc(UINT ThreadType) nTotalBattingMoney = g_AppEnv.Money3; // ´º½ºÇ÷¯½º °Å·¡±Ý¾×(ÀϹÝ). nCallLevel = g_AppEnv.Level3-1; // ´º½ºÇ÷¯½º ¸Å¼ö·¹º§(ÀϹÝ). + // *** + SetForegroundWindow(); CString Message; Message.Format("%s(%s)\n\n¼öµ¿ Á¾¸ñÀÔ´Ï´Ù. ¸Å¼ö ÁøÇàÇϽðڽÀ´Ï±î?", (LPCSTR)g_strJName, (LPCSTR)g_strJCode); - - SetForegroundWindow(); if(MessageBox(Message, "¼öµ¿ Á¾¸ñ", MB_YESNO) != IDYES) goto _LAST_JOB_; + // ÆË¾÷À» ±â´Ù¸®´Â µ¿¾ÈÀÇ ½Ã°£À» Ãë¼Ò ´ë±â ½Ã°£¿¡¼­ Á¦¿Ü + m_dwTickStart = ::GetTickCount(); + if(g_AppEnv.bMesuUsingMacro3) { EmulateHotkey(g_AppEnv.MesuHotKey3.wVk, g_AppEnv.MesuHotKey3.wModifier); @@ -1918,7 +1921,7 @@ void CHookMsgDlg::_WorkThreadProc(UINT ThreadType) if( (long)(dwLimitCallEnd-dwLimitCallStart) >= g_AppEnv.LimitCall ) // 2003.10.30 Ãß°¡. { - TraceMsg( strSrc + "È£°¡¿äû ÀÀ´äÀÌ Á¦Çѽð£À» ÃʰúÇÏ¿´½À´Ï´Ù.+strTime", CXListBox::White, CXListBox::Red, TRUE ); + TraceMsg( strSrc + "È£°¡¿äû ÀÀ´äÀÌ Á¦Çѽð£À» ÃʰúÇÏ¿´½À´Ï´Ù."+strTime, CXListBox::White, CXListBox::Red, TRUE ); PlayResource(IDR_MSGTYPE_WAVE); objStockJpbid2.Release(); diff --git a/HookMsg/NewsLog.txt b/HookMsg/NewsLog.txt index a7bf487..9beeff6 100644 --- a/HookMsg/NewsLog.txt +++ b/HookMsg/NewsLog.txt @@ -1,12 +1,12 @@ -08:11 -(µ¿½ÃÈ£°¡°ø·«ÁÖ)¹Ì Áõ½Ã Áõ±Ç»ç ¸®Æ÷Æ® È¿°ú..¾ÖÇáè -»ï¼º¹°»ê +14:21 +¿ìÁø +¿ìÁø -08:11 -Çö´ëÁ¦Ã¶, ¾çÀû+ÁúÀû ¼ºÀå ±â´ë..¸ñÇ¥°¡ '¡è'-´ë¿ìñû -Çö´ëÁ¦Ã¶ +14:21 +Ű¿òÁõ±Ç, ´Þ·¯¼±¹°, ±¹Ã¤¼±¹° ¼ö¼ö·á ¹«·á À̺¥Æ® +Ű¿òÁõ±Ç -08:11 -(Ŭ¸¯!ÅõÀÚÀǸÆ)¹Î°¨ÁÖ »ó½Â¼¼ µÐÈ­..½ÇÀû °³¼±ÁÖ ¼±º°ÇØ¾ß -SKÇÏÀ̴нº +14:21 +¿ìÁø +¿ìÁø