How to judge vbox is online with a address?
Last modified by Wecon on 2025/09/03 21:04
-----------------------------------------
function demo.main()
local a
a=math.random()
print(a)
addr_setfloat("@HDW0",a)
end
-----------------------------------------
here I make a random function,and output a random number in hdw0
if hdw0 keep changing,means vbox is online.
if hdw0 stop updating,means vbox is offline.