<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Inline Assembler RAM]]></title><description><![CDATA[<p>Ich hab jetz ein Problem, da ich nicht weiß, wo ich wirklich den Artikel zuordnen soll.</p>
<p>Also meine Frage: Ein Freund fragte mich, ob ich für ihn Trainer programmieren könnte. --&gt; Sind Programme, wo man beliebig die Gesundheit oder Geld im Spiel manipulieren kann.</p>
<p>Ich brauche den Inline Assembler Source für inte x86 und Visual C++. Man soll der Funktion die Adresse in Hex übergeben , die man auslesen, bzw beschreiben will.</p>
<p>Bsp.:</p>
<pre><code class="language-cpp">int getValue(unsigned int adress
{
   ...??? (asM)
   return(value);
}

und

void SetValue(unsigned int adress, int value)
{
   ...??? (asm)
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/121611/inline-assembler-ram</link><generator>RSS for Node</generator><lastBuildDate>Sat, 22 Aug 2026 19:18:07 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/121611.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 25 Sep 2005 18:50:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Inline Assembler RAM on Sun, 25 Sep 2005 18:50:40 GMT]]></title><description><![CDATA[<p>Ich hab jetz ein Problem, da ich nicht weiß, wo ich wirklich den Artikel zuordnen soll.</p>
<p>Also meine Frage: Ein Freund fragte mich, ob ich für ihn Trainer programmieren könnte. --&gt; Sind Programme, wo man beliebig die Gesundheit oder Geld im Spiel manipulieren kann.</p>
<p>Ich brauche den Inline Assembler Source für inte x86 und Visual C++. Man soll der Funktion die Adresse in Hex übergeben , die man auslesen, bzw beschreiben will.</p>
<p>Bsp.:</p>
<pre><code class="language-cpp">int getValue(unsigned int adress
{
   ...??? (asM)
   return(value);
}

und

void SetValue(unsigned int adress, int value)
{
   ...??? (asm)
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/879936</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/879936</guid><dc:creator><![CDATA[Tc++H]]></dc:creator><pubDate>Sun, 25 Sep 2005 18:50:40 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Sun, 25 Sep 2005 19:08:09 GMT]]></title><description><![CDATA[<p>26 Beiträge innerhalb von 2 tagen .. nicht schlecht .. tt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/879947</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/879947</guid><dc:creator><![CDATA[life]]></dc:creator><pubDate>Sun, 25 Sep 2005 19:08:09 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Sun, 25 Sep 2005 19:22:30 GMT]]></title><description><![CDATA[<p>fast wie ich in meiner Anfangszeit <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>kleiner tipp: konzentrier dich wenn möglich bitte nur auf ein(1!!!) projekt, so schnell wie du threads zu unterschiedlichen themen erstellst, kann man ja nichtmal die Seite neuladen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/879959</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/879959</guid><dc:creator><![CDATA[otze]]></dc:creator><pubDate>Sun, 25 Sep 2005 19:22:30 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Sun, 25 Sep 2005 19:27:47 GMT]]></title><description><![CDATA[<p>otze schrieb:</p>
<blockquote>
<p>fast wie ich in meiner Anfangszeit <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>kleiner tipp: konzentrier dich wenn möglich bitte nur auf ein(1!!!) projekt, so schnell wie du threads zu unterschiedlichen themen erstellst, kann man ja nichtmal die Seite neuladen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
</blockquote>
<p>Du hast noch nen 56K modem oder ;p<br />
oder vll hast du recht. naja eins vom beiden wirds sein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/879976</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/879976</guid><dc:creator><![CDATA[shapeless]]></dc:creator><pubDate>Sun, 25 Sep 2005 19:27:47 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Sun, 25 Sep 2005 19:31:16 GMT]]></title><description><![CDATA[<p>[quote=&quot;life&quot;]26 Beiträge innerhalb von 2 tagen .. nicht schlecht .. tt[/quote]</p>
<p>scheißegal-interessiert sowieso nur die Leute hier im Forum... <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/879981</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/879981</guid><dc:creator><![CDATA[Buddy Love]]></dc:creator><pubDate>Sun, 25 Sep 2005 19:31:16 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Sun, 25 Sep 2005 19:34:15 GMT]]></title><description><![CDATA[<p>Nix Assembler. Nimm WriteProcessMemory.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/879986</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/879986</guid><dc:creator><![CDATA[adsfd]]></dc:creator><pubDate>Sun, 25 Sep 2005 19:34:15 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Mon, 26 Sep 2005 04:47:26 GMT]]></title><description><![CDATA[<p>wo wir grad dabei sind: wie schafft mans die speicheradresse für einen Wert, z.b. die Gesundheit in einem SPiel heraus zu finden?</p>
<p>es wäre ja möglich alles durch zu scannen, dann seinen health wert im spiel zu verändern und dann wieder zu scannen und zu schauen was sich verändert hat aber wie scannt man dann alles durch? o_O *ahnungslosbin*^^</p>
<p>theduke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/880109</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/880109</guid><dc:creator><![CDATA[the-duke]]></dc:creator><pubDate>Mon, 26 Sep 2005 04:47:26 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Mon, 26 Sep 2005 04:59:31 GMT]]></title><description><![CDATA[<p>Ja, ich wollte eine Schleife proggen, die am Levelstart den ganzen Arbeitsspeicher ausließt. Bsp.: Health == 100 --&gt; Speichert alle Variablen, die Hundert sind und ihre Adressen. Während des Spiels (Health == 0; 76, 33 ...) lässt mann die Funktion dann noch mehrmals durchlaufen (gespeicherten Adressen nochmal abschecken ), sodass alle Fremden Variablen ausschließen kann.<br />
In Konsole dürfte es scnell geschrieben sein. API is auch kein Problem!</p>
<p>Hab nur keine Assembler Kenntnisse <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f621.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--pouting_face"
      title=":rage:"
      alt="😡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/880112</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/880112</guid><dc:creator><![CDATA[Tc++H]]></dc:creator><pubDate>Mon, 26 Sep 2005 04:59:31 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Mon, 26 Sep 2005 05:01:16 GMT]]></title><description><![CDATA[<p>the-duke schrieb:</p>
<blockquote>
<p>wo wir grad dabei sind: wie schafft mans die speicheradresse für einen Wert, z.b. die Gesundheit in einem SPiel heraus zu finden?</p>
<p>es wäre ja möglich alles durch zu scannen, dann seinen health wert im spiel zu verändern und dann wieder zu scannen und zu schauen was sich verändert hat aber wie scannt man dann alles durch? o_O *ahnungslosbin*^^</p>
</blockquote>
<p>Man kann z.B. einen Windows-Hook an Tastatur-Events binden. Fuer den Hook schreibt man eine DLL, die von Windows automatisch in den Speicher jedes Prozesses gemappt wird. Im Eventhandler scannt man dann den Speicher des Prozesses durch. Nuetzlich auch die TOOLHLP DLL in dem Zusammenhang.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/880113</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/880113</guid><dc:creator><![CDATA[Power Off]]></dc:creator><pubDate>Mon, 26 Sep 2005 05:01:16 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Mon, 26 Sep 2005 05:18:14 GMT]]></title><description><![CDATA[<p>Dum meinst, dass man nur während es Spiels ne (bestimme) Taste drückt, und schon scannt er die verdächtigen Adressen??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/880122</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/880122</guid><dc:creator><![CDATA[Tc++H]]></dc:creator><pubDate>Mon, 26 Sep 2005 05:18:14 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Mon, 26 Sep 2005 05:19:55 GMT]]></title><description><![CDATA[<p>Tc++H schrieb:</p>
<blockquote>
<p>Dum meinst, dass man nur während es Spiels ne (bestimme) Taste drückt, und schon scannt er die verdächtigen Adressen??</p>
</blockquote>
<p>Ja.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/880124</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/880124</guid><dc:creator><![CDATA[Power Off]]></dc:creator><pubDate>Mon, 26 Sep 2005 05:19:55 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Mon, 26 Sep 2005 05:21:37 GMT]]></title><description><![CDATA[<p>Sorry, sehr grad, dass ich mich verschriben habe &quot;Dum&quot;. Scheint eine gute IDEE zu sein, aber hast du asm Kenntnisse???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/880125</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/880125</guid><dc:creator><![CDATA[Tc++H]]></dc:creator><pubDate>Mon, 26 Sep 2005 05:21:37 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Mon, 26 Sep 2005 05:23:10 GMT]]></title><description><![CDATA[<p>Tc++H schrieb:</p>
<blockquote>
<p>Sorry, sehr grad, dass ich mich verschriben habe &quot;Dum&quot;. Scheint eine gute IDEE zu sein, aber hast du asm Kenntnisse???</p>
</blockquote>
<p>Ja.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/880126</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/880126</guid><dc:creator><![CDATA[Power Off]]></dc:creator><pubDate>Mon, 26 Sep 2005 05:23:10 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Mon, 26 Sep 2005 05:29:01 GMT]]></title><description><![CDATA[<p>Das, was Du eigentlich in Assembler machen wolltest, geht aber auch in C++:</p>
<pre><code class="language-cpp">int getValue( unsigned int address )
{
   return *((int*)address);
}

void SetValue( unsigned int address, int value )
{
   *((int*)address) = value;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/880128</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/880128</guid><dc:creator><![CDATA[Power Off]]></dc:creator><pubDate>Mon, 26 Sep 2005 05:29:01 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Mon, 26 Sep 2005 12:32:50 GMT]]></title><description><![CDATA[<p>Kennt jemand Funktionen, mit den man auf die Audio-, Grafik-, Systemhardware zugreifen kann??<br />
Und ich such ne Funktion, mit der ich den Computer ausschalten, bzw. Neustarten kann.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/880394</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/880394</guid><dc:creator><![CDATA[Tc++H]]></dc:creator><pubDate>Mon, 26 Sep 2005 12:32:50 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Mon, 26 Sep 2005 13:18:29 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">int getValue( unsigned int address )
{
   return *((int*)address);
}

void SetValue( unsigned int address, int value )
{
   *((int*)address) = value;
}
</code></pre>
<p>Das kann so nicht gehen (virtuelle Adressräume). Wie ein Vorposter schon gesagt hat, unter Windows musst Du mit ReadProcessMemory und WriteProcessMemory den Speicher eines anderen Prozesses in deinen eigenen Speicherbereich mappen. Dann kann man fröhlich drauf rumturnen.</p>
<p>Zum Neustarten kannst Du übrigens den großen runden Knopf auf der Vorderseite deines Rechners benutzen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/880435</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/880435</guid><dc:creator><![CDATA[7H3 N4C3R]]></dc:creator><pubDate>Mon, 26 Sep 2005 13:18:29 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Mon, 26 Sep 2005 13:26:43 GMT]]></title><description><![CDATA[<p>Tc++H schrieb:</p>
<blockquote>
<p>Kennt jemand Funktionen, mit den man auf die Audio-, Grafik-, Systemhardware zugreifen kann??</p>
</blockquote>
<p>Direkt auf die Hardware zugreifen kann man unter Windows nur, wenn man einen Treiber schreibt (dafuer gibt's den DDK von Microsoft).</p>
<p>Ansonsten bleiben einem nur die diversen System-APIs, z.B. den Windows API, DirectX usw.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/880440</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/880440</guid><dc:creator><![CDATA[Power Off]]></dc:creator><pubDate>Mon, 26 Sep 2005 13:26:43 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Wed, 28 Sep 2005 17:03:07 GMT]]></title><description><![CDATA[<p>Ich hab ne Konsolenanwendung mit VC++ 6.0 angelegt und die Funktioen eingebunden.</p>
<pre><code class="language-cpp">void main()
{
getValue(34465);
}
</code></pre>
<p>--&gt; Das Programm stürzt ab Warum?? Ich hab auch mal nen Hexadezimal Wert übergeben, stürzt trotzdem ab.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/880549</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/880549</guid><dc:creator><![CDATA[Tc++H]]></dc:creator><pubDate>Wed, 28 Sep 2005 17:03:07 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Mon, 26 Sep 2005 15:23:50 GMT]]></title><description><![CDATA[<p>Lies mal meinen vorherigen Beitrag. Diese Adresse gehört dir nicht und zeigt ins Nirvana. Zusätzlich ist sie unaligned. Deshalb *knall* *bumm* *peng* *aua*</p>
]]></description><link>https://www.c-plusplus.net/forum/post/880552</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/880552</guid><dc:creator><![CDATA[7H3 N4C3R]]></dc:creator><pubDate>Mon, 26 Sep 2005 15:23:50 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Mon, 26 Sep 2005 15:28:20 GMT]]></title><description><![CDATA[<p>Un wie kann ich nun auf den Arbeitsspeicher zugreifen und die Werte auslesen, auch wenn die Adresse nicht &quot;meine&quot; ist?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/880558</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/880558</guid><dc:creator><![CDATA[Tc++H]]></dc:creator><pubDate>Mon, 26 Sep 2005 15:28:20 GMT</pubDate></item><item><title><![CDATA[Reply to Inline Assembler RAM on Mon, 26 Sep 2005 15:38:38 GMT]]></title><description><![CDATA[<p>Du kommst nicht einfach an den Arbeitsspeicher. Es gibt nur virtuelle Adressräume, die das BS für dich verwaltet. Adresse 0x12345678 ist in jedem Prozess eine andere physikalische. Und Adressen eines anderen Prozesses kannst Du so nicht einsehen. Dafür brauchst Du unter Windows z.B. ReadProcessMemory und dazu dann WriteProcessMemory.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/880570</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/880570</guid><dc:creator><![CDATA[7H3 N4C3R]]></dc:creator><pubDate>Mon, 26 Sep 2005 15:38:38 GMT</pubDate></item></channel></rss>