https://wiki.cheatengine.org/index.php?title=Lua:loadTable&feed=atom&action=history
Lua:loadTable - Revision history
2024-03-29T06:08:10Z
Revision history for this page on the wiki
MediaWiki 1.32.0
https://wiki.cheatengine.org/index.php?title=Lua:loadTable&diff=5799&oldid=prev
TheyCallMeTim13 at 03:19, 18 April 2018
2018-04-18T03:19:26Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 03:19, 18 April 2018</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Lua]]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Lua]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''function''' loadTable(''fileName'', ''merge'' OPTIONAL)</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''function''' loadTable(''fileName'', ''merge'' OPTIONAL)<ins class="diffchange diffchange-inline"><br></ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''function''' loadTable(''memoryStream'', ''merge'' OPTIONAL, ''ignoreLuaScriptDialog'')</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''function''' loadTable(''memoryStream'', ''merge'' OPTIONAL, ''ignoreLuaScriptDialog'')</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>
TheyCallMeTim13
https://wiki.cheatengine.org/index.php?title=Lua:loadTable&diff=5791&oldid=prev
TheyCallMeTim13 at 02:47, 18 April 2018
2018-04-18T02:47:38Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 02:47, 18 April 2018</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l42" >Line 42:</td>
<td colspan="2" class="diff-lineno">Line 42:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>loadTable('SomeGame.CT')</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>loadTable('SomeGame.CT')</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></pre></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><pre></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">loadTable('SomeGame.CETRAINER')</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td></tr>
</table>
TheyCallMeTim13
https://wiki.cheatengine.org/index.php?title=Lua:loadTable&diff=5789&oldid=prev
TheyCallMeTim13: Created page with 'Category:Lua '''function''' loadTable(''fileName'', ''merge'' OPTIONAL) '''function''' loadTable(''memoryStream'', ''merge'' OPTIONAL, ''ignoreLuaScriptDialog'') Loads a ".…'
2018-04-18T02:42:44Z
<p>Created page with '<a href="/index.php?title=Category:Lua" title="Category:Lua">Category:Lua</a> '''function''' loadTable(''fileName'', ''merge'' OPTIONAL) '''function''' loadTable(''memoryStream'', ''merge'' OPTIONAL, ''ignoreLuaScriptDialog'') Loads a ".…'</p>
<p><b>New page</b></p><div>[[Category:Lua]]<br />
'''function''' loadTable(''fileName'', ''merge'' OPTIONAL)<br />
<br />
'''function''' loadTable(''memoryStream'', ''merge'' OPTIONAL, ''ignoreLuaScriptDialog'')<br />
<br />
Loads a ".CT" or ".CETRAINER". If merge is provided and set to true it will not clear the old table.<br />
<br />
===Function Parameters===<br />
{|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0"<br />
!align="left"|Parameter<br />
!align="left"|Type<br />
!style="width: 80%;background-color:white;" align="left"|Description<br />
|-<br />
|fileName<br />
|String<br />
|The name of the file to be added to the cheat table<br />
|-<br />
|merge<br />
|Boolean<br />
|If set to true it will merge to current table with the loaded table and not clear the old table.<br />
|}<br />
<br />
{|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0"<br />
!align="left"|Parameter<br />
!align="left"|Type<br />
!style="width: 80%;background-color:white;" align="left"|Description<br />
|-<br />
|memoryStream<br />
|[[Lua:Class:MemoryStream|MemoryStream]]<br />
|The memory stream to load as a cheat table<br />
|-<br />
|merge<br />
|Boolean<br />
|If set to true it will merge to current table with the loaded table and not clear the old table.<br />
|-<br />
|ignoreLuaScriptDialog<br />
|Boolean<br />
|<br />
|}<br />
<br />
== Examples ==<br />
<pre><br />
loadTable('SomeGame.CT')<br />
</pre><br />
<pre><br />
local stream = createMemoryStream()<br />
stream.loadFromFile('SomeGame.CT')<br />
loadTable(stream)<br />
</pre><br />
<br />
<br />
{{LuaSeeAlso}}<br />
<br />
=== Related Functions ===<br />
* [[Lua:findTableFile|saveTable]]<br />
<br />
=== Related Classes ===<br />
* [[Lua:Class:TableFile|TableFile]]<br />
* [[Lua:Class:MemoryStream|MemoryStream]]</div>
TheyCallMeTim13