<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Запись hex строки по адресу]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=17102&amp;type=atom" />
	<updated>2022-05-07T07:26:41Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=17102</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запись hex строки по адресу]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=153101#p153101" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Потому что я думал обращаюсь к знающим людям которые подскажут мне как правильно функцию записать. А вы начинаете тут строить из себя гениев хотя сами не разбираетесь, просто смешно.</p>]]></content>
			<author>
				<name><![CDATA[solo3ix]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42260</uri>
			</author>
			<updated>2022-05-07T07:26:41Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=153101#p153101</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запись hex строки по адресу]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=153093#p153093" />
			<content type="html"><![CDATA[<p>Если не будете <a href="https://forum.script-coding.com/misc.php?action=rules#literacy">ставить точки</a> в конце предложений, то вряд ли.<br />Вы цитируете мой вопрос, но не отвечаете на него. Выглядит, как требование, здесь это не оценят.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-05-06T21:22:04Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=153093#p153093</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запись hex строки по адресу]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=153092#p153092" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>А вы его читали?</p></blockquote></div><p>Так я не пойму, вы мне поможете записать хекс в адрес или если вы не знаете, может кто-то другой поможет )</p>]]></content>
			<author>
				<name><![CDATA[solo3ix]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42260</uri>
			</author>
			<updated>2022-05-06T21:00:29Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=153092#p153092</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запись hex строки по адресу]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=153086#p153086" />
			<content type="html"><![CDATA[<p>А вы его читали?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-05-06T18:51:28Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=153086#p153086</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запись hex строки по адресу]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=153083#p153083" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Самп 32 бита.<br />Вот описание команды <a href="https://www.autohotkey.com/docs/commands/NumPut.htm">https://www.autohotkey.com/docs/commands/NumPut.htm</a></p>]]></content>
			<author>
				<name><![CDATA[solo3ix]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42260</uri>
			</author>
			<updated>2022-05-06T17:56:44Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=153083#p153083</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запись hex строки по адресу]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=153079#p153079" />
			<content type="html"><![CDATA[<p>Для начала нужно узнать, какая битность игры. Скрипт желательно должен быть такой же битности. Если битность 64, скрипт неправильный в принципе, так как хэндлы и указатели должны быть Ptr, а не UInt.<br />Во-вторых, я не понял, что делает эта команда:<br /></p><div class="codebox"><pre><code>NumPut(hexstr,value,0,Uint)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-05-06T15:08:27Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=153079#p153079</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запись hex строки по адресу]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=153076#p153076" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Ну окей, мне не понятно как так вышло в моем скрипте, записываю значение hex в память, при использовании функции краш.<br /></p><div class="codebox"><pre><code>
#NoEnv
#SingleInstance Force
#include udf-r1.ahk

F12::
{
hexstr(90909090909090909090909090C744240E00000000909090909090909090909090909090C744240F0000000090B300)
return
}

hexstr(hexstr) 
{ 
    VarSetCapacity(idvar,32,0) 
    VarSetCapacity(processhandle,32,0) 
    VarSetCapacity(value, 32, 0) 
    NumPut(hexstr,value,0,Uint) 
    address=0x60BB41
    WinGet ,idvar,PID,GTA:SA:MP
    processhandle:=DllCall(&quot;OpenProcess&quot;,&quot;Uint&quot;,0x38,&quot;int&quot;,0,&quot;int&quot;,idvar) 
    Bvar:=DllCall(&quot;WriteProcessMemory&quot;,&quot;Uint&quot;,processhandle,&quot;Uint&quot;,address+0,&quot;Uint&quot;,&amp;value,&quot;Uint&quot;,&quot;94&quot;,&quot;Uint&quot;,0) 
}
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[solo3ix]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42260</uri>
			</author>
			<updated>2022-05-06T13:41:13Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=153076#p153076</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запись hex строки по адресу]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=153075#p153075" />
			<content type="html"><![CDATA[<p>Это была шутка. Здесь форум для интересующихся программированием, а не раздача халявных скриптов. Хотите получить помощь — покажите, что уже сделали, чего удалось добиться, что было непонятно. Если сами разбираться не хотите — добро пожаловать в Коммерческий раздел.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-05-06T13:23:17Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=153075#p153075</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запись hex строки по адресу]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=153074#p153074" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />А внутри как, можешь расписать ?</p>]]></content>
			<author>
				<name><![CDATA[solo3ix]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42260</uri>
			</author>
			<updated>2022-05-06T13:17:54Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=153074#p153074</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запись hex строки по адресу]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=153073#p153073" />
			<content type="html"><![CDATA[<p>DllCall().</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2022-05-06T12:30:11Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=153073#p153073</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Запись hex строки по адресу]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=153072#p153072" />
			<content type="html"><![CDATA[<p>Нужно записать hex строку </p><div class="codebox"><pre><code>&quot;90909090909090909090909090C744240E00000000909090909090909090909090909090C744240F0000000090B300&quot;</code></pre></div><p>По адресу&nbsp; </p><div class="codebox"><pre><code> &quot;0x60BB41&quot;</code></pre></div><p>Подскажите функцию пожалуйста.</p>]]></content>
			<author>
				<name><![CDATA[solo3ix]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42260</uri>
			</author>
			<updated>2022-05-06T12:12:41Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=153072#p153072</id>
		</entry>
</feed>
