<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Отправка нажатий клавиш в игру с защитой]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=14870</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=14870&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Отправка нажатий клавиш в игру с защитой».]]></description>
		<lastBuildDate>Wed, 07 Aug 2019 03:57:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Отправка нажатий клавиш в игру с защитой]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=135331#p135331</link>
			<description><![CDATA[<div class="quotebox"><cite>Phazer пишет:</cite><blockquote><p>Я использовал&nbsp; AutohotInterception.&nbsp; <a href="https://github.com/evilC/AutoHotInterception#autohotinterception">https://github.com/evilC/AutoHotInterce … terception</a></p><p>Код выглядит так: </p><div class="codebox"><pre><code>#SingleInstance force
#Persistent
#include Lib\AutoHotInterception.ahk
AHI := new AutoHotInterception()
id1 := AHI.GetKeyboardId( 0xVIDВашей клавиатуры ,  0xPIDВашей клавиатуры , 1)
return

1::
While GetKeyState(&quot;1&quot;,&quot;P&quot;){
AHI.SendKeyEvent(idВашей клавиатуры, GetKeySC(&quot;2&quot;), 1)
sleep, 500
If !(GetKeyState(&quot;1&quot;,&quot;P&quot;))
Break
AHI.SendKeyEvent(idВашей клавиатуры, GetKeySC(&quot;3&quot;), 1)
sleep, 500
If !(GetKeyState(&quot;1&quot;,&quot;P&quot;))
Break
AHI.SendKeyEvent(idВашей клавиатуры, GetKeySC(&quot;4&quot;), 1)
sleep, 500
If !(GetKeyState(&quot;1&quot;,&quot;P&quot;))
Break
AHI.SendKeyEvent(idВашей клавиатуры, GetKeySC(&quot;5&quot;), 1)
sleep, 1000
If !(GetKeyState(&quot;1&quot;,&quot;P&quot;))
Break
AHI.SendKeyEvent(idВашей клавиатуры, GetKeySC(&quot;6&quot;), 1)
sleep, 1000
If !(GetKeyState(&quot;1&quot;,&quot;P&quot;))
Break
}
return</code></pre></div></blockquote></div><p>Я овощ в этом всем, но как это все запустить чтобы все работало стабильно?.. Попросту понять не могу. Что, да куда надо копировать?</p>]]></description>
			<author><![CDATA[null@example.com (X_vorost)]]></author>
			<pubDate>Wed, 07 Aug 2019 03:57:26 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=135331#p135331</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Отправка нажатий клавиш в игру с защитой]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=135223#p135223</link>
			<description><![CDATA[<p>Я использовал&nbsp; AutohotInterception.&nbsp; <a href="https://github.com/evilC/AutoHotInterception#autohotinterception">https://github.com/evilC/AutoHotInterce … terception</a></p><p>Код выглядит так: </p><div class="codebox"><pre><code>#SingleInstance force
#Persistent
#include Lib\AutoHotInterception.ahk
AHI := new AutoHotInterception()
id1 := AHI.GetKeyboardId( 0xVIDВашей клавиатуры ,  0xPIDВашей клавиатуры , 1)
return

1::
While GetKeyState(&quot;1&quot;,&quot;P&quot;){
AHI.SendKeyEvent(idВашей клавиатуры, GetKeySC(&quot;2&quot;), 1)
sleep, 500
If !(GetKeyState(&quot;1&quot;,&quot;P&quot;))
Break
AHI.SendKeyEvent(idВашей клавиатуры, GetKeySC(&quot;3&quot;), 1)
sleep, 500
If !(GetKeyState(&quot;1&quot;,&quot;P&quot;))
Break
AHI.SendKeyEvent(idВашей клавиатуры, GetKeySC(&quot;4&quot;), 1)
sleep, 500
If !(GetKeyState(&quot;1&quot;,&quot;P&quot;))
Break
AHI.SendKeyEvent(idВашей клавиатуры, GetKeySC(&quot;5&quot;), 1)
sleep, 1000
If !(GetKeyState(&quot;1&quot;,&quot;P&quot;))
Break
AHI.SendKeyEvent(idВашей клавиатуры, GetKeySC(&quot;6&quot;), 1)
sleep, 1000
If !(GetKeyState(&quot;1&quot;,&quot;P&quot;))
Break
}
return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Phazer)]]></author>
			<pubDate>Sun, 04 Aug 2019 08:10:00 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=135223#p135223</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Отправка нажатий клавиш в игру с защитой]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=135217#p135217</link>
			<description><![CDATA[<p>Ну так выложите код, ради таких же спрашивающих как и вы.<br />Если поиск выведет их на эту тему, вашу радость они разделить не смогут.</p>]]></description>
			<author><![CDATA[null@example.com (stealzy)]]></author>
			<pubDate>Sat, 03 Aug 2019 13:58:23 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=135217#p135217</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Отправка нажатий клавиш в игру с защитой]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=135176#p135176</link>
			<description><![CDATA[<p>Всем большое&nbsp; спасибо я разобрался). Это действительно работает,удалось обойти защиту!И не так уж это и сложно оказалось.</p>]]></description>
			<author><![CDATA[null@example.com (Phazer)]]></author>
			<pubDate>Fri, 02 Aug 2019 08:53:52 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=135176#p135176</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Отправка нажатий клавиш в игру с защитой]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=135119#p135119</link>
			<description><![CDATA[<p>В общем я так понял с одним ahk тут не получится. Помогите разобраться с низкоуровневой эмуляцией. WinRing0 не подходит,&nbsp; так как клавиатура&nbsp; usb. Class_DD ведет на ссылку сайта с иероглифами, который бесконечно что-то грузит и ничего не скачивается, остается только AutoHotInterception, но я не могу разобраться как с ним работать, может кто-то подсказать как это сделать? Я перерыл уже весь google, но никакой информации. Как его привязать к ahk и как написать аналогичный скрипт как в шапке? Этот скрипт при удерживании клавиши, воспроизводит последовательность других клавиш, когда отпускаю он прерывается.</p>]]></description>
			<author><![CDATA[null@example.com (Phazer)]]></author>
			<pubDate>Tue, 30 Jul 2019 03:46:14 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=135119#p135119</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Отправка нажатий клавиш в игру с защитой]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=135081#p135081</link>
			<description><![CDATA[<p>Попробовал SendMode Play, какой-то результат есть, если до этого совсем не работал, то сейчас скрипт работает, но вот только в чате игры, причем в чат даже пишутся кнопки от F1&nbsp; до F12, но как теперь сделать так, чтобы они нажимались нормально?</p>]]></description>
			<author><![CDATA[null@example.com (Phazer)]]></author>
			<pubDate>Sun, 28 Jul 2019 04:08:53 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=135081#p135081</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Отправка нажатий клавиш в игру с защитой]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=135077#p135077</link>
			<description><![CDATA[<p><a href="http://%20http://forum.script-coding.com/viewtopic.php?pid=123063#p123063"> http://forum.script-coding.com/viewtop … 63#p123063</a></p>]]></description>
			<author><![CDATA[null@example.com (stealzy)]]></author>
			<pubDate>Sat, 27 Jul 2019 19:27:15 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=135077#p135077</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Отправка нажатий клавиш в игру с защитой]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=135072#p135072</link>
			<description><![CDATA[<p>Кто-то поможет?</p>]]></description>
			<author><![CDATA[null@example.com (Phazer)]]></author>
			<pubDate>Sat, 27 Jul 2019 14:38:16 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=135072#p135072</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Отправка нажатий клавиш в игру с защитой]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=135062#p135062</link>
			<description><![CDATA[<p><span style="color: #008000">Недостатки были исправлены, обсуждение может быть продолжено.</span></p>]]></description>
			<author><![CDATA[null@example.com (belyankin12)]]></author>
			<pubDate>Fri, 26 Jul 2019 17:55:29 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=135062#p135062</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Отправка нажатий клавиш в игру с защитой]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=135052#p135052</link>
			<description><![CDATA[<p>Исправил</p>]]></description>
			<author><![CDATA[null@example.com (Phazer)]]></author>
			<pubDate>Fri, 26 Jul 2019 15:36:41 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=135052#p135052</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Отправка нажатий клавиш в игру с защитой]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=135034#p135034</link>
			<description><![CDATA[<p><span style="color: #008000">Все ещё не верно. В заголовке не указан префикс скриптового языка. Посмотрите на заголовки других тем - что их объединяет?</span></p>]]></description>
			<author><![CDATA[null@example.com (belyankin12)]]></author>
			<pubDate>Fri, 26 Jul 2019 06:25:21 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=135034#p135034</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Отправка нажатий клавиш в игру с защитой]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=135031#p135031</link>
			<description><![CDATA[<p>Заголовок отредактирован.</p>]]></description>
			<author><![CDATA[null@example.com (Phazer)]]></author>
			<pubDate>Thu, 25 Jul 2019 23:34:23 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=135031#p135031</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Отправка нажатий клавиш в игру с защитой]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=134991#p134991</link>
			<description><![CDATA[<p><strong>Phazer</strong><br /><span style="color: #008000">1. Ознакомьтесь с <a href="http://forum.script-coding.com/viewtopic.php?id=5421">правилами составления заголовков</a>, а после ознакомления исправьте согласно правилам.</span><br /><span style="color: #008000">Кроме того я рекомендую вам ознакомится с <a href="http://forum.script-coding.com/rules.html">полной версией правил форума</a>, либо с выпиской <a href="http://forum.script-coding.com/misc.php?action=rules">важнейших правил поведения на форуме</a> чтобы избежать подобных ошибок в будущем.</span></p><p><span style="color: #FF0000">Обсуждение в теме временно прекращено.</span> <br />Пока оформление не будет приведено в порядок, ответы будут удаляться. Если в течение трех суток тема не будет оформлена должным образом, то будет удалена.</p>]]></description>
			<author><![CDATA[null@example.com (belyankin12)]]></author>
			<pubDate>Sun, 21 Jul 2019 20:48:27 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=134991#p134991</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Отправка нажатий клавиш в игру с защитой]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=134979#p134979</link>
			<description><![CDATA[<p>Приветствую. Есть игра, но в ней не работает ahk, в окне игры при нажатии запрограммированной клавиши просто ничего не происходит, хотя в блокноте скрипт работает. Думаю там есть защита от макросов. Пробовал много чего, запуск от администратора, режим совместимости, отключение uac, все тщетно. Причем у меня есть клавиатура с драйверами для макросов, она в игре работает, значит теоретически и ahk должен работать, но проблема в том что у нее очень ограниченный функционал. Можно ли каким-то образом настроить скрипт так, чтобы защита на него&nbsp; не срабатывала?</p><p>Для примера мой скрипт :</p><div class="codebox"><pre><code>1::
While GetKeyState(&quot;1&quot;,&quot;P&quot;) {
Send, {2 down}
Sleep, 50
Send, {2 up}
Sleep, 500
If !(GetKeyState(&quot;1&quot;,&quot;P&quot;))
Break
Send 3
Sleep, 500
If !(GetKeyState(&quot;1&quot;,&quot;P&quot;))
Break
Send 4
Sleep, 500
If !(GetKeyState(&quot;1&quot;,&quot;P&quot;))
Break
Send 5
Sleep, 500
If !(GetKeyState(&quot;1&quot;,&quot;P&quot;))
Break
Send 6
Sleep, 500
If !(GetKeyState(&quot;1&quot;,&quot;P&quot;))
Break
}
Return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Phazer)]]></author>
			<pubDate>Sat, 20 Jul 2019 13:10:31 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=134979#p134979</guid>
		</item>
	</channel>
</rss>
