Thread: Implementing os.execute
-
August 13th, 2011, 21:31 #1
Grand Templar
- Join Date
- Sep 2008
- Posts
- 274
Implementing os.execute
Hi,
is it possible to implement the Lua components operating system facilities like os.esecute?
Fenloh
-
August 13th, 2011, 22:07 #2
For security reasons the devs have turned that off for now.
-
August 14th, 2011, 06:58 #3
Grand Templar
- Join Date
- Sep 2008
- Posts
- 274
Well, it would be great if there is a possibility to start an external Program from FG, possibly with one or several arguments.
A friend and I were discussing the possibility of a program, to play sounds directly to Teamspeak, since you can loggin to TS with different accounts, at the same time, each playing sounds from a different source. Probably we will need to look through the DB.xml e.g. every half second for a specific string, in a specific node and save the game every time after changing the data in that node. Then we can execute some programs externally.
Ah well, we also might wait a little longer and see what is coming our way .
Fenloh
-
August 14th, 2011, 16:07 #4
What may be doable if a little cumbersome is you can write a little program to monitor say the Campaign.registry file and when a certain string hits there that it then executes the program.
-
August 17th, 2011, 17:06 #5
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,566
It is doubtful that we would ever allow the os package to be available in LUA, given the potential security holes that are opened by giving ruleset developers access to run any program on a host or client machine.
Regards,
JPG
-
November 9th, 2012, 00:11 #6
Archangel
- Join Date
- Apr 2008
- Location
- Virginia Beach
- Posts
- 3,096
Fenloh, please pm me. I may have something you are interested in.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks