Hi,
I really like THS. I'm trying to play with your API in order to create a mission pack.
I was interested in the inNetDomain() function, but it seems broken to me, returning true on every run.
f_checkDomain returns:
Is there a bug with this ?
I see the feature was not used in the Destiny pack (or I didn't understand it), can you explain to me the Domain concept you implemented ?
Thank you for game !
I really like THS. I'm trying to play with your API in order to create a mission pack.
I was interested in the inNetDomain() function, but it seems broken to me, returning true on every run.
- Code:
newVM ("area6")
setProperty ({ ip = "1.1.1.1" })
addUser ( "m101", "area6" )
addFile ({ name = "/bin/check", exec="f_checkDomain", acl="777" })
newVM ("target")
setProperty ({ ip = "85.256.68.56", netd="contoso" })
function f_checkDomain()
print("Your host: "..hostname())
print(inNetDomain (hostname(), "contoso"))
print(inNetDomain (hostname(), "foo"))
print(inNetDomain ("target", "default"))
end
f_checkDomain returns:
- Code:
Your host: area6
true
true
true
Is there a bug with this ?
I see the feature was not used in the Destiny pack (or I didn't understand it), can you explain to me the Domain concept you implemented ?
Thank you for game !