Results 1 to 8 of 8

Thread: G3 internet event to G4 comms server

  1. #1
    Join Date
    May 2001
    Posts
    697

    Default G3 internet event to G4 comms server

    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

  2. #2
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    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

  3. #3
    Join Date
    May 2001
    Posts
    697

    Default

    ...\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

  4. #4
    Join Date
    May 2001
    Posts
    697

    Default

    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

  5. #5
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    You probably don't have the Generic Internet Plugin enabled in File|Settings|Plug-in Settings
    --Rob

  6. #6
    Join Date
    May 2001
    Posts
    697

    Default

    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

  7. #7
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    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
    Attached Files Attached Files
    --Rob

  8. #8
    Join Date
    Jan 2000
    Location
    Jupiter, FL
    Posts
    11,400

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •