I want to allow my G3 instance on another machine send interent events to comms server under G4
Set G4 with 1020 port and password but does not work
can it work if so how?
I want to allow my G3 instance on another machine send interent events to comms server under G4
Set G4 with 1020 port and password but does not work
can it work if so how?
Rickd
G4 comes with a lua file called ievents.lua - this will provide you with an Internet Event Server in G4. Read the comments at the start of that file for instructions.
--Rob
...\Program Files\Promixis\Girder\luascript\ievents.lua:165: attempt to index global `gip' (a nil value)
...\Program Files\Promixis\Girder\luascript\ievents.lua:165: in function `f'
...gram Files\Promixis\Girder\\luascript\compat-5.1.lua:78: in function `require'
did a require on script enable for that file ievents but get errors?
Rickd
restarting girder solved this problem
tried adding to scrip to kick it off
g = gip.InternetEventServer:New({Password='girder'})
g:Open(8085) -- 8085 = port to listen on.
get
[string "htpc2andcass3oldedited.GML:\Theta Serial fe..."]:1: attempt to index global `gip' (a nil value) stack traceback
[string "htpc2andcass3oldedited.GML:\Theta Serial fe..."]:1: in main chunk
Rickd
You probably don't have the Generic Internet Plugin enabled in File|Settings|Plug-in Settings
--Rob
ok get that all setup onenablescript has require('ievents')
manually run this
g = gip.InternetEventServer:New({Password='girder'})
g:Open(8085) -- 8085 = port to listen on.
send event from G3.3 and event status says event sent and girder 4.0 crashs
Rickd
I get the same behaviour here - I note that it's repeatedly closing the connection on the G4 side.
Try this version, something has clearly changed in gip since Ron wrote ievents.lua
--Rob
http://www.promixis.com/forums/showthread.php?t=14673
This fix should have made it into 4.0.5.2. If not then my appologies.
Ron
No support through PM