<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Чтение памяти процесса в игре GTA:SA:MP]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=9822</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=9822&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Чтение памяти процесса в игре GTA:SA:MP».]]></description>
		<lastBuildDate>Wed, 01 Aug 2018 14:33:03 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Чтение памяти процесса в игре GTA:SA:MP]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=127637#p127637</link>
			<description><![CDATA[<p><strong>tuma4ok</strong><a href="http://forum.script-coding.com/misc.php?action=pun_attachment&amp;item=1491&amp;preview">http://forum.script-coding.com/misc.php … mp;preview</a></p>]]></description>
			<author><![CDATA[null@example.com (slavik26092001)]]></author>
			<pubDate>Wed, 01 Aug 2018 14:33:03 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=127637#p127637</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Чтение памяти процесса в игре GTA:SA:MP]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=84990#p84990</link>
			<description><![CDATA[<p><span style="color: green"><strong>tuma4ok</strong>, ознакомьтесь с <a href="http://forum.script-coding.com/viewtopic.php?id=9590">этой</a> темой, отредактируйте заголовок.</span></p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Tue, 22 Jul 2014 10:25:16 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=84990#p84990</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Чтение памяти процесса в игре GTA:SA:MP]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=84978#p84978</link>
			<description><![CDATA[<p>Так, наверно.<br /></p><div class="codebox"><pre><code>
Addr := ReadMemory(0xB6F5F0+0x14,&quot;GTA:SA:MP&quot;)
Val := ReadMemory(Addr + 0x30, &quot;GTA:SA:MP&quot;)
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (YMP)]]></author>
			<pubDate>Tue, 22 Jul 2014 03:37:56 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=84978#p84978</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Чтение памяти процесса в игре GTA:SA:MP]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=84977#p84977</link>
			<description><![CDATA[<p>И снова здравствуйте, если можете то сразу помогите. Думаю начнем со всего по порядку.<br />Этой функцией мне нужно узнать значение определенного адреса процесса, но я не знаю как его правильно вставить.<br /><a href="http://<br />ReadMemory(MADDRESS,PROGRAM)%20<br />{%20<br />%20%20%20%20%20%20%20winget,%20pid,%20PID,%20%PROGRAM%%20</p><p>%20%20%20%20%20%20%20VarSetCapacity(MVALUE,4,0)%20<br />%20%20%20%20%20%20%20ProcessHandle%20:=%20DllCall(&quot;OpenProcess&quot;,%20&quot;Int&quot;,%2024,%20&quot;Char&quot;,%200,%20&quot;UInt&quot;,%20pid,%20&quot;UInt&quot;)%20<br />%20%20%20%20%20%20%20DllCall(&quot;ReadProcessMemory&quot;,&quot;UInt&quot;,ProcessHandle,&quot;UInt&quot;,MADDRESS,&quot;Str&quot;,MVALUE,&quot;UInt&quot;,4,&quot;UInt%20*&quot;,0)%20</p><p>%20%20%20%20%20%20%20Loop%204%20<br />%20%20%20%20%20%20%20result%20+=%20*(&amp;MVALUE%20+%20A_Index-1)%20&lt;&lt;%208*(A_Index-1)%20</p><p>%20%20%20%20%20%20%20return,%20result%20<br />}%20"><br />ReadMemory(MADDRESS,PROGRAM) <br />{ <br />&nbsp; &nbsp; &nbsp; … result <br />} </a><br />Найденный в интернете адрес.<br /></p><div class="codebox"><pre><code>
0xB6F5F0 - Указатель игрока (CPed)
(CPed+0x14) +0x30 = [dword] позиция по X-координате
</code></pre></div><p>Я пробовал вот так, но ничего не вышло.<br /></p><div class="codebox"><pre><code>
test := ReadMemory((0xB6F5F0+0x14) +0x30,&quot;GTA:SA:MP&quot;)
</code></pre></div><p>Пожалуйста, помогите и если можно не нужно кидать ссылки на разные темы, я не разберусь пока мне не объясните ВЫ.</p>]]></description>
			<author><![CDATA[null@example.com (tuma4ok)]]></author>
			<pubDate>Mon, 21 Jul 2014 22:32:54 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=84977#p84977</guid>
		</item>
	</channel>
</rss>
