Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

How can I connect to other process through Lua scripts?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> How can I connect to other process through Lua scripts? Page: [1]
Login
Message << Older Topic   Newer Topic >>
How can I connect to other process through Lua scripts? - 8/21/2020 7:50:27 AM   
Rinstein

 

Posts: 4
Joined: 8/21/2020
Status: offline
I want to use Java Process to control Unit In CMO. So need to get relative obsevation to Java Process, then my Java Process get unit action and send it to CMO. Every seconds, reapeat this turn. Now I know how to get observation and send action to unit throught Lua Console, what's more, I want to add Event to send observation data to Java Process,then receive action from Java Process. Now there are two way to do this, through sharing file or socket to connect Java and Lua scripts. But COMMAND Lua even not support file io. Is anyone do this befor? Or any relative advice?Welcome communicate with me.
Post #: 1
RE: How can I connect to other process through Lua scri... - 8/21/2020 8:19:58 AM   
Rory Noonan

 

Posts: 2816
Joined: 12/18/2014
From: Brooklyn, NY
Status: offline
Command: Professional Edition supports file I/O as well as TCP/IP socket input and output; CMO does not.

_____________________________


(in reply to Rinstein)
Post #: 2
RE: How can I connect to other process through Lua scri... - 8/21/2020 9:15:54 AM   
Rinstein

 

Posts: 4
Joined: 8/21/2020
Status: offline
Okay,do you know how can I get CPE,I did not find where I can download or buy it?

(in reply to Rory Noonan)
Post #: 3
RE: How can I connect to other process through Lua scri... - 8/21/2020 10:39:47 AM   
KnightHawk75

 

Posts: 1351
Joined: 11/15/2018
Status: offline
Think you need to contact directly. pro@matrixgames.com

< Message edited by IainMcNeil -- 5/19/2021 3:43:29 PM >

(in reply to Rinstein)
Post #: 4
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> How can I connect to other process through Lua scripts? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.137