<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; SAMP.ahk используем указатель]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=11322</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=11322&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «SAMP.ahk используем указатель».]]></description>
		<lastBuildDate>Wed, 20 Jul 2016 00:35:07 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: SAMP.ahk используем указатель]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=106196#p106196</link>
			<description><![CDATA[<p>С помощью этого всего можно изменить цвет чата? Если да, то как?<br />P.s. Я новичек в этом вопросе, не судите строго.<br />P.s.s. Пытался что то сделать по коду выше:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><div class="codebox"><pre><code>#Include API.ahk
GetFirstChat()
{
if(!checkHandles())
        return
	dwAddrr1 := readDWORD(hGTA, dwSAMP + SAMP_CHAT_INFO_OFFSET) + 0x62c6
	res := readString(hGTA, dwAddrr1, 128)
	addChatMessage(res)
}
F2::
addChatMessage(GetFirstChat())</code></pre></div></div></div><p>В чат просто выдает &quot;0&quot; Как на скрине выше.<br />Хотелось бы получить примерно такой результат, что бы можно было изменить цвет отпределенной строки чата<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><span class="postimg"><img src="http://i.imgur.com/MN7rDeE.png" alt="http://i.imgur.com/MN7rDeE.png" /></span></p></div></div>]]></description>
			<author><![CDATA[null@example.com (Bamboocho)]]></author>
			<pubDate>Wed, 20 Jul 2016 00:35:07 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=106196#p106196</guid>
		</item>
		<item>
			<title><![CDATA[Re: SAMP.ahk используем указатель]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=101321#p101321</link>
			<description><![CDATA[<div class="quotebox"><cite>ghost29 пишет:</cite><blockquote><p><strong>alekksss</strong><br />Оффсет я знаю откуда<br />Как ты в изменении адреса выбрал &quot;адрес в модуле&quot;?</p></blockquote></div><p>Это результат поиска, там только смещение выбрать можно(</p>]]></description>
			<author><![CDATA[null@example.com (alekksss)]]></author>
			<pubDate>Mon, 22 Feb 2016 18:51:49 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=101321#p101321</guid>
		</item>
		<item>
			<title><![CDATA[Re: SAMP.ahk используем указатель]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=101215#p101215</link>
			<description><![CDATA[<p><strong>alekksss</strong><br />Оффсет я знаю откуда<br />Как ты в изменении адреса выбрал &quot;адрес в модуле&quot;?</p>]]></description>
			<author><![CDATA[null@example.com (ghost29)]]></author>
			<pubDate>Thu, 18 Feb 2016 17:47:46 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=101215#p101215</guid>
		</item>
		<item>
			<title><![CDATA[Re: SAMP.ahk используем указатель]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=101197#p101197</link>
			<description><![CDATA[<div class="quotebox"><cite>ghost29 пишет:</cite><blockquote><p><strong>alekksss</strong>, спасибо. Как ты вообще адрес в модуля взял?</p></blockquote></div><p>не понял, ты о чем? оффсет откуда?</p>]]></description>
			<author><![CDATA[null@example.com (alekksss)]]></author>
			<pubDate>Thu, 18 Feb 2016 05:16:17 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=101197#p101197</guid>
		</item>
		<item>
			<title><![CDATA[Re: SAMP.ahk используем указатель]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=101191#p101191</link>
			<description><![CDATA[<p><strong>alekksss</strong>, спасибо. Как ты вообще адрес в модуля взял?</p>]]></description>
			<author><![CDATA[null@example.com (ghost29)]]></author>
			<pubDate>Wed, 17 Feb 2016 20:02:59 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=101191#p101191</guid>
		</item>
		<item>
			<title><![CDATA[Re: SAMP.ahk используем указатель]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=101106#p101106</link>
			<description><![CDATA[<p><strong>ghost29</strong> Держи мужик.&nbsp; <a href="https://www.youtube.com/watch?v=W1EAssZuU3g">https://www.youtube.com/watch?v=W1EAssZuU3g</a></p>]]></description>
			<author><![CDATA[null@example.com (alekksss)]]></author>
			<pubDate>Mon, 15 Feb 2016 14:52:17 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=101106#p101106</guid>
		</item>
		<item>
			<title><![CDATA[Re: SAMP.ahk используем указатель]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=101101#p101101</link>
			<description><![CDATA[<p><strong>alekksss</strong><br />А точную версию программы можешь сказать?</p>]]></description>
			<author><![CDATA[null@example.com (ghost29)]]></author>
			<pubDate>Mon, 15 Feb 2016 13:28:05 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=101101#p101101</guid>
		</item>
		<item>
			<title><![CDATA[Re: SAMP.ahk используем указатель]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=101100#p101100</link>
			<description><![CDATA[<div class="quotebox"><cite>ghost29 пишет:</cite><blockquote><p>OFFTOP:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>Это PRO версия artmoney? Просто у меня в обычной такого нет</p></div></div></blockquote></div><p>Da, Keygen решает проблемы)</p>]]></description>
			<author><![CDATA[null@example.com (alekksss)]]></author>
			<pubDate>Mon, 15 Feb 2016 13:24:54 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=101100#p101100</guid>
		</item>
		<item>
			<title><![CDATA[Re: SAMP.ahk используем указатель]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=101099#p101099</link>
			<description><![CDATA[<p>OFFTOP:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>Это PRO версия artmoney? Просто у меня в обычной такого нет</p></div></div>]]></description>
			<author><![CDATA[null@example.com (ghost29)]]></author>
			<pubDate>Mon, 15 Feb 2016 13:03:46 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=101099#p101099</guid>
		</item>
		<item>
			<title><![CDATA[Re: SAMP.ahk используем указатель]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=101095#p101095</link>
			<description><![CDATA[<p>Для перевода использовал обычный калькулятор в винде. Только выбрал вид--&gt;Программист, а дальше погугли.</p><div class="quotebox"><cite>alekksss пишет:</cite><blockquote><div class="codebox"><pre><code>
	dwAddrr1 := readDWORD(hGTA, dwSAMP + 0x216048) + 0xC012E
</code></pre></div></blockquote></div><p>Не уверен что можно так записывать оффсеты. <br />Возможно так правильнее:<br /></p><div class="codebox"><pre><code>F7::
	if(!checkHandles())
        return
	dwAddrr1 := readDWORD(hGTA, dwSAMP + 0x216048)
    dwAddrr2 := readDWORD(hGTA, dwAddrr1 + 0xC012E)
	res := writeString(hGTA, dwAddrr2, &quot;Хэллоу ворлд&quot;)
	return</code></pre></div><p>Тоже пытался изменить текст используя оффсеты из первого поста и тоже обновляется когда что-то отправляется в чат. Думаю никак не лечится.</p>]]></description>
			<author><![CDATA[null@example.com (Dworkin)]]></author>
			<pubDate>Mon, 15 Feb 2016 11:21:20 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=101095#p101095</guid>
		</item>
		<item>
			<title><![CDATA[Re: SAMP.ahk используем указатель]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=101088#p101088</link>
			<description><![CDATA[<p>Новый вопрос. Записать стринга.<br /></p><div class="codebox"><pre><code>$F7::
	if(!checkHandles())
        return
	dwAddrr1 := readDWORD(hGTA, dwSAMP + 0x216048) + 0xC012E
	res := writeString(hGTA, dwAddrr1, &quot;Хэллоу ворлд&quot;)
	return</code></pre></div><p>Пробывал другой оффсет, не суть. Проблема такая. Нажимаю Ф7. Ничего не происходит. Пишу что угодно в чат, тогда сообщение обновляется. Как лечится?</p>]]></description>
			<author><![CDATA[null@example.com (alekksss)]]></author>
			<pubDate>Mon, 15 Feb 2016 09:46:04 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=101088#p101088</guid>
		</item>
		<item>
			<title><![CDATA[Re: SAMP.ahk используем указатель]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=101086#p101086</link>
			<description><![CDATA[<div class="codebox"><pre><code>GetFirstChat()
{
if(!checkHandles())
        return
	dwAddrr1 := readDWORD(hGTA, dwSAMP + SAMP_CHAT_INFO_OFFSET) + 0x62c6
	res := readString(hGTA, dwAddrr1, 128)
	return res
}</code></pre></div><p>Получает текст первой строки чата. Если &quot;залупить&quot; то можно делать действия по появлению строки в чате.<br />Теперь буду цвет искать))</p>]]></description>
			<author><![CDATA[null@example.com (alekksss)]]></author>
			<pubDate>Mon, 15 Feb 2016 09:17:26 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=101086#p101086</guid>
		</item>
		<item>
			<title><![CDATA[Re: SAMP.ahk используем указатель]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=101085#p101085</link>
			<description><![CDATA[<p>Скинь как ты указатель в Hex перевел. Просто SetFormat?</p>]]></description>
			<author><![CDATA[null@example.com (alekksss)]]></author>
			<pubDate>Mon, 15 Feb 2016 09:15:22 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=101085#p101085</guid>
		</item>
		<item>
			<title><![CDATA[Re: SAMP.ahk используем указатель]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=101084#p101084</link>
			<description><![CDATA[<div class="quotebox"><cite>Dworkin пишет:</cite><blockquote><p>Пытался сам считать чат и понял что вы забыли перевести dec в hex.<br />0x25286 это = 25286 в десятичной системе, а в hex это равно 0x62c6. Короче попробуйте заменить 0x25286 на 0x62c6.</p></blockquote></div><div class="codebox"><pre><code>$F7::
	dwAddrr1 := readDWORD(hGTA, dwSAMP + SAMP_CHAT_INFO_OFFSET) + 0x62c6
	dwAddrr2 := readDWORD(hGTA, dwAddrr1)
	res := readString(hGTA, dwAddrr1, 128)
	addChatMessage(res)
	return</code></pre></div><p><span class="postimg"><img src="http://i.imgur.com/1vCn77w.jpg" alt="http://i.imgur.com/1vCn77w.jpg" /></span><br />Мужик, ты шаришь как бог. Спасибо тебе! Осталось только перезагрузку к процессу дописать. Шаришь)</p>]]></description>
			<author><![CDATA[null@example.com (alekksss)]]></author>
			<pubDate>Mon, 15 Feb 2016 09:11:17 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=101084#p101084</guid>
		</item>
		<item>
			<title><![CDATA[Re: SAMP.ahk используем указатель]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=101080#p101080</link>
			<description><![CDATA[<div class="quotebox"><cite>Dworkin пишет:</cite><blockquote><p>Пытался сам считать чат и понял что вы забыли перевести dec в hex.<br />0x25286 это = 25286 в десятичной системе, а в hex это равно 0x62c6. Короче попробуйте заменить 0x25286 на 0x62c6.</p></blockquote></div><p>хорошо, о результате отпишу.</p>]]></description>
			<author><![CDATA[null@example.com (alekksss)]]></author>
			<pubDate>Mon, 15 Feb 2016 07:32:54 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=101080#p101080</guid>
		</item>
	</channel>
</rss>
