Matrixβ„’ Emulator
Go to websitePanel LoginRegisterFAQ
  • WELCOME
    • Server Documentation
      • πŸ“‚MuServer
        • πŸ“‚ConnectServer
          • πŸ“ConnectServer.ini
          • πŸ—’οΈServerList.dat
        • πŸ“‚Data
          • πŸ“‚Character
            • πŸ“„DefaultClassInfo.txt
          • πŸ“‚Custom
            • πŸ“‚BotSystem
              • πŸ“„BotBuffer.txt
            • πŸ“„ConsumableTicket.txt
            • πŸ“„CustomArena.txt
            • πŸ“„CustomCommandDescription.txt
            • πŸ“„CustomEventDrop.txt
            • πŸ“„CustomJewel.txt
            • πŸ“„CustomMix.txt
            • πŸ“„CustomMonster.txt
            • πŸ“„CustomMove.txt
            • πŸ“„CustomNpcCommand.txt
    • Lua Documentation
      • πŸ“‚Mu Server Side
        • Bridges
        • Functions
      • πŸ“‚Client Side
        • Bridges
        • Functions
  • CHANGE LOG
    • Version 1.0
    • Version 1.1
    • Version 1.2
    • Version 1.3
    • Version 1.4
    • Version 1.5
    • Version 1.6
    • Version 1.7
    • Version 1.8
    • Version 1.9
    • Version 2.0
    • Version 2.1
    • Version 2.2
Powered by GitBook
On this page
  1. WELCOME
  2. Lua Documentation
  3. Client Side

Bridges

Client Side


LuaWorkSS() Description: Activates only on Select Server. Used to launch visual functions, windows, images etc... Example: require "System\ScriptCore" BridgeFunctionAttach("LuaWorkSS", "NewWorkSS") NewWorkSS = function() -- Your visual function here end


LuaWorkSC() Description: Activates only on Select Character. Used to launch visual functions, windows, images etc... Example: require "System\ScriptCore" BridgeFunctionAttach("LuaWorkSC", "NewWorkSC") NewWorkSC = function() -- Your visual function here end


LuaWorkMH() Description: Used to launch visual functions, windows, images etc... Example: require "System\ScriptCore" BridgeFunctionAttach("LuaWorkMH", "NewWorkMH") NewWorkMH = function() -- Your visual function here end


LuaWork() Description: Used to launch visual functions, windows, images etc... Example: require "System\ScriptCore" BridgeFunctionAttach("LuaWork", "NewWork") NewWork = function() -- Your visual function here end


LuaLoadImages() Description: Hook function for loading images, use with LoadImage() Example: require "System\ScriptCore" BridgeFunctionAttach("LuaLoadImages", "NewLoad") NewLoad = function() LoadImage("Interface\NewRender\Exemple.tga", 200000) -- Use image ID from 200000 onwards end


LuaMouseEvent() Description: Used to initiate keyboard and mouse functions Example: require "System\ScriptCore" BridgeFunctionAttach("LuaMouseEvent", "NewEvent") NewEvent = function() if CheckMouseIn(X,Y,W,H) then if IsRelease(0x4E) then PlaySound(25) end return true -- Not Walk end return false -- Walk end


LuaEntryProc() Description: Starts functions that will be loaded once when opening Main.exe Example: require "System\ScriptCore" BridgeFunctionAttach("LuaEntryProc", "NewProc") NewProc = function() ConsoleOn(1) -- Open Main.exe with Debug Window end


LuaPacketRecv(aIndex, String) Description: Starts a function that receives packets from the GameServer Example: require "System\ScriptCore" require "System\ScriptDefines" BridgeFunctionAttach("LuaPacketRecv", "NewRecv")

local JoiaCunt = {aIndex, "", "", "", "", "", "", "", "", "", "", ""}

JBRecv = function(aIndex, str) if (obterElemento(str, 0) == "JewelBank") then if (obterElemento(str, 1) == "Open") then JoiaCunt[1] = obterElemento(str, 2) JoiaCunt[2] = obterElemento(str, 3) JoiaCunt[3] = obterElemento(str, 4) JoiaCunt[4] = obterElemento(str, 5) JoiaCunt[5] = obterElemento(str, 6) JoiaCunt[6] = obterElemento(str, 7) JoiaCunt[7] = obterElemento(str, 8) JoiaCunt[8] = obterElemento(str, 9) JoiaCunt[9] = obterElemento(str, 10) JoiaCunt[10] = obterElemento(str, 11) end end end


Last updated 2 months ago

πŸ“‚