<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
<title>mmBBQ DOC</title>
<link rel="stylesheet" href="../ldoc.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="product">
<div id="product_logo"></div>
<div id="product_name"><big><b></b></big></div>
<div id="product_description"></div>
</div> <!-- id="product" -->
<div id="main">
<!-- Menu -->
<div id="navigation">
<br/>
<h1>mmBBQ
<! adds on all pages top right -->
<div id="adds_tower" style="position:absolute ; right:20px ; top:20px ; width:160px ; height:600px ">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-4178159456287064";
/* dk-tower */
google_ad_slot = "1153622316";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</h1>
<ul>
<li><a href="../index.html">Index</a></li>
</ul>
<h2>Contents</h2>
<ul>
<li><a href="#Functions">Functions</a></li>
</ul>
<h2>Modules</h2>
<ul>
<li><a href="../modules/common.api.html">common.api</a></li>
<li><a href="../modules/common.api_chat.html">common.api_chat</a></li>
<li><a href="../modules/common.asmcall.html">common.asmcall</a></li>
<li><a href="../modules/common.astar.html">common.astar</a></li>
<li><a href="../modules/common.codecave.html">common.codecave</a></li>
<li><a href="../modules/common.dbg.html">common.dbg</a></li>
<li><a href="../modules/common.event.html">common.event</a></li>
<li><a href="../modules/common.fuzzy.html">common.fuzzy</a></li>
<li><a href="../modules/common.log.html">common.log</a></li>
<li><a href="../modules/common.luasock.html">common.luasock</a></li>
<li><a href="../modules/common.mmbbq.html">common.mmbbq</a></li>
<li><a href="../modules/common.relay.html">common.relay</a></li>
<li><a href="../modules/common.userinput.html">common.userinput</a></li>
<li><strong>common.utils</strong></li>
<li><a href="../modules/config.html">config</a></li>
<li><a href="../modules/dwiper.html">dwiper</a></li>
<li><a href="../modules/examples_hell.html">examples_hell</a></li>
<li><a href="../modules/examples_myth.html">examples_myth</a></li>
<li><a href="../modules/examples_sro.html">examples_sro</a></li>
<li><a href="../modules/hell.hell.html">hell.hell</a></li>
<li><a href="../modules/hell.hell_cam.html">hell.hell_cam</a></li>
<li><a href="../modules/hell.hell_chat.html">hell.hell_chat</a></li>
<li><a href="../modules/hell.hell_packets.html">hell.hell_packets</a></li>
<li><a href="../modules/hell_common.hell_char.html">hell_common.hell_char</a></li>
<li><a href="../modules/hell_common.hell_env.html">hell_common.hell_env</a></li>
<li><a href="../modules/hell_common.hell_global.html">hell_common.hell_global</a></li>
<li><a href="../modules/hell_common.hell_gui.html">hell_common.hell_gui</a></li>
<li><a href="../modules/hell_common.hell_inv.html">hell_common.hell_inv</a></li>
<li><a href="../modules/hell_common.hell_map.html">hell_common.hell_map</a></li>
<li><a href="../modules/hell_common.hell_move.html">hell_common.hell_move</a></li>
<li><a href="../modules/hell_common.hell_net.html">hell_common.hell_net</a></li>
<li><a href="../modules/hell_common.hell_skill.html">hell_common.hell_skill</a></li>
<li><a href="../modules/moveit.html">moveit</a></li>
<li><a href="../modules/myth.myth.html">myth.myth</a></li>
<li><a href="../modules/myth.myth_cam.html">myth.myth_cam</a></li>
<li><a href="../modules/myth.myth_combat.html">myth.myth_combat</a></li>
<li><a href="../modules/myth.myth_packets.html">myth.myth_packets</a></li>
<li><a href="../modules/sro.sro.html">sro.sro</a></li>
<li><a href="../modules/sro.sro_chat.html">sro.sro_chat</a></li>
<li><a href="../modules/sro.sro_env.html">sro.sro_env</a></li>
<li><a href="../modules/sro.sro_gui.html">sro.sro_gui</a></li>
<li><a href="../modules/sro.sro_move.html">sro.sro_move</a></li>
<li><a href="../modules/sro.sro_net.html">sro.sro_net</a></li>
<li><a href="../modules/sro.sro_skill.html">sro.sro_skill</a></li>
<li><a href="../modules/utils.asmdiff.html">utils.asmdiff</a></li>
<li><a href="../modules/utils.libudis86.html">utils.libudis86</a></li>
<li><a href="../modules/utils.md5.html">utils.md5</a></li>
<li><a href="../modules/utils.persistence.html">utils.persistence</a></li>
</ul>
<h2>Topics</h2>
<ul>
<li><a href="../topics/CHANGELOG.html">CHANGELOG</a></li>
<li><a href="../topics/LICENSE.html">LICENSE</a></li>
<li><a href="../topics/README.html">README</a></li>
</ul>
</div>
<div id="content">
<h1>Module <code>common.utils</code></h1>
<p>common utilities module.</p>
<p><p> keep in mind to add module identifier “utils.” in front of all calls to this module.
i.e. <code>fooBar()</code> becomes <code>utils.fooBar()</code>.</p>
<h3>Global C-Type helper functions:</h3>
<pre><code>-- reading a string from process memory (num ptr or ctype)
str(<PTR>)
-- reading a wide char string (converted) from process memory
wstr(<PTR>)
-- checking whether a cdata ptr is NULL
isnull(<CDATA>)
-- declaring a ctype `ffi.cdef("uint32_t*")`
cdef(uint32_t*)
-- accessing a ctype definition `ffi.C.<TYPENAME>`
C.<TYPENAME>
-- allocating ctype space `ffi.new(...)`
new()
alloc()
calloc()
</code></pre>
</p>
<h2><a href="#Functions">Functions</a></h2>
<table class="function_list">
<tr>
<td class="name" nowrap><a href="#_G.hexdump">_G.hexdump (buf, len)</a></td>
<td class="summary">prints a buffer in standard hexdump format to stdout.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#_G.exists">_G.exists (path)</a></td>
<td class="summary">tests wether a file exists</td>
</tr>
<tr>
<td class="name" nowrap><a href="#round">round (number, digits)</a></td>
<td class="summary">rounds a number</td>
</tr>
<tr>
<td class="name" nowrap><a href="#vecAbs">vecAbs (x, y, z)</a></td>
<td class="summary">returns the geometrical distance to the origin</td>
</tr>
<tr>
<td class="name" nowrap><a href="#vecDist">vecDist (x1, y1, z1, x2, y2, z2)</a></td>
<td class="summary">returns the distance between to points</td>
</tr>
<tr>
<td class="name" nowrap><a href="#vecDelta">vecDelta (x1, y1, z1, x2, y2, z2)</a></td>
<td class="summary">returns the delta vector between to points</td>
</tr>
<tr>
<td class="name" nowrap><a href="#_G.wchar2char">_G.wchar2char ()</a></td>
<td class="summary">returns a 16Bit wchar buffer to a 8Bit string by just dropping each second byte.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#_G.char2wchar">_G.char2wchar ()</a></td>
<td class="summary">converts a character string to a wide character string by adding each second byte string.char(0).</td>
</tr>
<tr>
<td class="name" nowrap><a href="#_G.printf">_G.printf (fmt, ...)</a></td>
<td class="summary">a shortcut to print(string.format(fmt,…));</td>
</tr>
<tr>
<td class="name" nowrap><a href="#bit">bit (p)</a></td>
<td class="summary">returns the 2^(p-1) value for a bit index</td>
</tr>
<tr>
<td class="name" nowrap><a href="#hasbit">hasbit (x, p)</a></td>
<td class="summary">checks whether a UInt32 value has a bit or not</td>
</tr>
<tr>
<td class="name" nowrap><a href="#setbit">setbit (x, p)</a></td>
<td class="summary">sets a bit on a UInt32 value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#clearbit">clearbit (x, p)</a></td>
<td class="summary">clears a bit on a UInt32 value</td>
</tr>
<tr>
<td class="name" nowrap><a href="#string.starts">string.starts (str, Start)</a></td>
<td class="summary">Checks wether a string starts with a given substring</td>
</tr>
<tr>
<td class="name" nowrap><a href="#string.startsi">string.startsi (str, Start)</a></td>
<td class="summ
没有合适的资源?快使用搜索试试~ 我知道了~
lua注入学习的好东西
共119个文件
html:61个
lua:53个
css:1个
3星 · 超过75%的资源 需积分: 35 107 下载量 2 浏览量
2012-11-22
21:49:44
上传
评论 4
收藏 933KB ZIP 举报
温馨提示
如果游戏使用lua,就可以用它注入游戏,调用运行游戏注册过的lua函数或字符串
资源推荐
资源详情
资源评论
收起资源包目录
lua注入学习的好东西 (119个子文件)
sdk.bat 98B
ldoc.css 6KB
Sc320.exe 683KB
common.utils.html 21KB
common.dbg.html 21KB
hell_common.hell_env.html 18KB
index.html 16KB
common.event.html 14KB
myth.myth_env.html 14KB
common.log.html 14KB
hell.hell_env.html 14KB
hell_common.hell_gui.html 13KB
hell_common.hell_inv.html 13KB
myth.myth_inv.html 13KB
common.codecave.html 13KB
hell.hell_inv.html 13KB
CHANGELOG.html 12KB
myth.myth_combat.html 11KB
common.astar.html 10KB
sro.sro_env.html 10KB
myth.myth_cam.html 10KB
sro.sro.html 10KB
common.userinput.html 10KB
hell_common.hell_skill.html 9KB
hell_common.hell_move.html 9KB
common.api.html 9KB
utils.asmdiff.html 9KB
hell.hell_skill.html 8KB
hell_common.hell_net.html 8KB
myth.myth_move.html 8KB
hell_common.hell_global.html 8KB
hell.hell_cam.html 8KB
hell_common.hell_map.html 8KB
common.mmbbq.html 8KB
sro.sro_net.html 8KB
hell.hell_move.html 8KB
LICENSE.html 8KB
sro.sro_gui.html 8KB
common.fuzzy.html 8KB
common.asmcall.html 7KB
examples_hell.html 7KB
config.html 7KB
myth.myth_skill.html 7KB
sro.sro_skill.html 7KB
sro.sro_move.html 7KB
hell.hell.html 7KB
common.luasock.html 7KB
moveit.html 7KB
moveit_sro.html 7KB
hell_common.hell_char.html 7KB
myth.myth.html 7KB
examples_myth.html 7KB
common.relay.html 6KB
utils.libudis86.html 6KB
README.html 6KB
common.api_chat.html 6KB
hell.hell_packets.html 5KB
utils.md5.html 5KB
dwiper.html 5KB
utils.persistence.html 5KB
myth.myth_packets.html 5KB
examples_sro.html 5KB
hell.hell_chat.html 5KB
sro.sro_chat.html 5KB
LICENSE_Scintilla_SciTE 869B
hell_env.lua 26KB
sro_env.lua 17KB
utils.lua 16KB
myth_target.lua 14KB
dbg.lua 13KB
astar.lua 12KB
hell_gui.lua 12KB
event.lua 12KB
luaunit.lua 12KB
hell_target.lua 12KB
hell_inv.lua 11KB
ilua.lua 10KB
relay.lua 9KB
sro_target.lua 9KB
userinput.lua 8KB
sro_gui.lua 8KB
mmbbq.lua 8KB
sro.lua 8KB
hell_packets.lua 7KB
codecave.lua 7KB
hell_net.lua 7KB
md5.lua 7KB
myth_packets.lua 7KB
fuzzy.lua 7KB
myth_combat.lua 7KB
inject.lua 6KB
asmdiff.lua 6KB
hell_global.lua 6KB
middleclass.lua 5KB
hell_move.lua 5KB
sro_move.lua 5KB
hell_skill.lua 5KB
sro_net.lua 4KB
persistence.lua 4KB
myth_cam.lua 4KB
共 119 条
- 1
- 2
nekaxi
- 粉丝: 4
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页