Navigation
Addons
Plugins
Navigation
Addons
Plugins
The following page covers the functions that are built into Ashita's Addons.dll plugin.
void AddIncomingPacket(packet, id, size);
void AddOutgoingPacket(packet, id, size);
string ParseAutoTranslate(str, addBrackets);
object GetEntity(index);
object GetPlayerEntity();
number bitpack:unpackBitsBE(packet, bitOffset, bitLength);
number bitpack:unpackBitsBE(packet, byteOffset, bitOffset, bitLength);
number bitpack:unpackBitsLE(packet, bitOffset, bitLength);
number bitpack:unpackBitsLE(packet, byteOffset, bitOffset, bitLength);
boolean config:load_config(className);
boolean config:load_config(className, file);
void config:remove_config(className);
boolean config:save_config(className);
string config:get_string(className, name);
boolean config:get_bool(className, name, defaultValue);
number config:get_int(className, name, defaultValue);
number config:get_float(className, name, defaultValue);
number config:get_double(className, name, defaultValue);
number file:create_dir(path);
boolean file:dir_exists(path);
boolean file:file_exists(path);
table file:get_dir(path);
table file:get_dirs(path);
string file:get_install_dir(languageId, installId);
Valid languageId's are the following:
Valid installId's are the following:
number mem:GetBaseAddress(modname);
boolean mem:UnprotectMemory(addr, size);
number mem:FindPattern(modname, bytetable, size, mask);
number mem:ReadUChar(addr);
number mem:ReadChar(addr);
number mem:ReadUShort(addr);
number mem:ReadShort(addr);
number mem:ReadULong(addr);
number mem:ReadLong(addr);
number mem:ReadULonglong(addr);
number mem:ReadLonglong(addr);
number mem:ReadFloat(addr);
number mem:ReadDouble(addr);
table mem:ReadArray(addr, size);
string mem:ReadString(addr, size);
void mem:WriteUChar(addr, val);
void mem:WriteChar(addr, val);
void mem:WriteUShort(addr, val);
void mem:WriteShort(addr, val);
void mem:WriteULong(addr, val);
void mem:WriteLong(addr, val);
void mem:WriteULonglong(addr, val);
void mem:WriteLonglong(addr, val);
void mem:WriteFloat(addr, val);
void mem:WriteDouble(addr, val);
void mem:WriteArray(addr, val);
void mem:WriteString(addr, val);
void misc:open_url(url);
void sound:playsound(file);