diff --git a/node.lua b/node.lua index dada4ca..11f4cef 100644 --- a/node.lua +++ b/node.lua @@ -6,8 +6,8 @@ node = multi:newNode{ crossTalk = false, -- default value, allows nodes to talk to eachother. WIP NOT READY YET! allowRemoteRegistering = true, -- allows you to register functions from the master on the node, default is false name = nil, --"TESTNODE", -- default value - noBroadCast = true, -- if using the node manager, set this to true to prevent the node from broadcasting - managerDetails = {"localhost",12345}, -- connects to the node manager if one exists + --noBroadCast = true, -- if using the node manager, set this to true to prevent the node from broadcasting + --managerDetails = {"localhost",12345}, -- connects to the node manager if one exists } function RemoteTest(a,b,c) -- a function that we will be executing remotely print("Yes I work!",a,b,c) diff --git a/test.lua b/test.lua index 2e2cc36..ae75f1e 100644 --- a/test.lua +++ b/test.lua @@ -7,8 +7,8 @@ nGLOBAL = require("multi.integration.networkManager").init() -- Act as a master node master = multi:newMaster{ name = "Main", -- the name of the master - noBroadCast = true, -- if using the node manager, set this to true to avoid double connections - managerDetails = {"localhost",12345}, -- the details to connect to the node manager (ip,port) + --noBroadCast = true, -- if using the node manager, set this to true to avoid double connections + --managerDetails = {"localhost",12345}, -- the details to connect to the node manager (ip,port) } -- Send to all the nodes that are connected to the master master.OnNodeConnected(function(node)