holschuh Posted July 1, 2015 Posted July 1, 2015 Hi, i know networking support is asked many times. But i ask me is it not possible to do out of the box simple things like an Access to an Highscore Server in Internet or make an simple 2 Player Game with round based communication in Leadwerks using the Indie Version of LE3.x? Or maybe an simple Http Acces JSON AJAX style? Speed is not so important in this cases. Scecond question: Can i workaround this calling an external app from LE lua to do communikation there and interface via Textfile with this app? os.execute / io.open maybe? cu Volker Quote
gamecreator Posted July 1, 2015 Posted July 1, 2015 Have you seen this already? http://www.leadwerks.com/werkspace/blog/170/entry-1496-building-a-network-test-app-with-leadwerks/ Also, Lua is intentionally limited for security reasons but there was talk about adding some more functionalilty (I think for saving and loading data). Quote
holschuh Posted July 1, 2015 Author Posted July 1, 2015 yep, but he is using c/c++ parts not pure lua in the indie LE Version. I read in the forum disabling the sandbox restriction allows lua libs to use but this cancels the steam publishing. cu Volker Quote
Rick Posted July 1, 2015 Posted July 1, 2015 There is no pure lua networking that will work without disable sandbox at this time. Quote
Einlander Posted July 1, 2015 Posted July 1, 2015 It's possible, but as Rick said, you will need to disable the sandbox. I tried it once and it was lots of messy code. I may try it again when I have the time and peace of mind to make it usable for generic stuff. http://www.leadwerks.com/werkspace/blog/120/entry-1182-luajit-awesome-luajit-enet-loaded/ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.