Saltar al contenido
KG-Emulator · Documentación

Todo lo que necesitás, paso a paso.

Encontrá una guía, explorá las categorías y consultá las instrucciones para tu servidor.

Todas las guías

701 guías · Página 10 de 71
LuaScriptServer (Packets)

SendPacketMain

¿Para qué sirve? Envía al cliente el paquete indicado. Sintaxis SendPacketMain(aIndex, packet, size) Argumentos Argumento Tipo Descripción aIndex número Índice del personaje recib…

LuaScriptServer (Packets)

SendPacket

¿Para qué sirve? Envía el paquete indicado. Sintaxis SendPacket(packetName, aIndex) Argumentos Argumento Tipo Descripción packetName texto Nombre que identifica el paquete. aIndex…

LuaScriptServer (Packets)

GetWordPacket

¿Para qué sirve? Lee un número de 2 bytes del paquete. Sintaxis GetWordPacket(packetName, m_PosNumb) Argumentos Argumento Tipo Descripción packetName texto Nombre que identifica e…

LuaScriptServer (Packets)

GetDwordPacket

¿Para qué sirve? Lee un número de 4 bytes del paquete. Sintaxis GetDwordPacket(packetName, m_PosNumb) Argumentos Argumento Tipo Descripción packetName texto Nombre que identifica …

LuaScriptServer (Packets)

GetCharPacketLength

¿Para qué sirve? Lee texto del paquete con la longitud indicada. Sintaxis GetCharPacketLength(packetName, m_PosNumb, length) Argumentos Argumento Tipo Descripción packetName texto…

LuaScriptServer (Packets)

GetCharPacket

¿Para qué sirve? Lee texto del paquete. Sintaxis GetCharPacket(packetName, m_PosNumb) Argumentos Argumento Tipo Descripción packetName texto Nombre que identifica el paquete. m_Po…

LuaScriptServer (Packets)

GetBytePacket

¿Para qué sirve? Lee un número de 1 byte del paquete. Sintaxis GetBytePacket(namePacket, m_PosN) Argumentos Argumento Tipo Descripción namePacket texto Nombre que identifica el pa…

LuaScriptServer (Packets)

CreatePacket

¿Para qué sirve? Crea un paquete identificado por un nombre y un código. Sintaxis CreatePacket(packetName, packet) Argumentos Argumento Tipo Descripción packetName texto Nombre qu…

LuaScriptServer (Packets)

ClearPacket

¿Para qué sirve? Elimina el paquete indicado y libera sus datos. Sintaxis ClearPacket(packetName) Argumentos Argumento Tipo Descripción packetName texto Nombre que identifica el p…

LuaScriptServer (Monster)

gObjSetPosition

¿Para qué sirve? Asigna una posición de aparición al objeto. Sintaxis gObjSetPosition(aIndex, x, y) Argumentos Argumento Tipo Descripción aIndex número Índice del personaje recibi…