Is there a way to trigger a remote event in a Python script (like eg.triggerevent for local events)?
TIA
- Jeff
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
eg.TriggerRemoteEvent
Re: eg.TriggerRemoteEvent
Use the network sender plugin, on the other end use the network reciever.
Works great too BTW! Every PC I own is interlinked like this.
Works great too BTW! Every PC I own is interlinked like this.
-
jsonnabend
- Experienced User
- Posts: 127
- Joined: Wed Apr 23, 2008 7:35 pm
Re: eg.TriggerRemoteEvent
No can-do on that, I'm afraid. I want to setup a ping responder, of sorts, and I won't know the sender's IP until the incoming event is received (it's payload item 0). I need to use code to send the response back to the requesting host.
- Jeff
- Jeff
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: eg.TriggerRemoteEvent
There is no official way, but you can use currently in 0.3.5:
Code: Select all
from NetworkSend import NetworkSend
NetworkSend(host, port, password, eventString, payload=None)
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: eg.TriggerRemoteEvent
@Pako
Wasn't there just a post from you here? Do you have deleted it yourself or has the forum software killed it?
Wasn't there just a post from you here? Do you have deleted it yourself or has the forum software killed it?
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: eg.TriggerRemoteEvent
Maybe help this:jsonnabend wrote:No can-do on that, I'm afraid. I want to setup a ping responder, of sorts, and I won't know the sender's IP until the incoming event is received (it's payload item 0). I need to use code to send the response back to the requesting host.
http://www.eventghost.org/forum/viewtopic.php?f=5&t=678
Pako
-
jsonnabend
- Experienced User
- Posts: 127
- Joined: Wed Apr 23, 2008 7:35 pm
Re: eg.TriggerRemoteEvent
Very cool. I'll play with that tonight.Pako wrote:Maybe help this:jsonnabend wrote:No can-do on that, I'm afraid. I want to setup a ping responder, of sorts, and I won't know the sender's IP until the incoming event is received (it's payload item 0). I need to use code to send the response back to the requesting host.
http://www.eventghost.org/forum/viewtopic.php?f=5&t=678
Pako
- Jeff