Forums » Suggestions

Lua Sockets support

Jul 12, 2007 Demonen link
I suggest Lua Sockets are enabled/compiled in the client.
That way we can have awesome stuff like auto-updating addons, addons that fetch information from websites etc etc

I've spoken of this elsewhere, but I wanted to make it a formal suggestion.

Pretty please with sugar on top?
Jul 12, 2007 moldyman link
Not only that but a relay bot can be built directly into VO then, if lua sockets is compiled.
Jul 13, 2007 Demonen link
Yep!

Before anyone says "OMG TROJAN!", let's keep it from listening (or whatever).
Besides, there's still a massive potential for "evil" addons, for example addons that transfer all your money to someone if you're ever in the sector with them.

So, I think Lua Sockets (should be a 5-minute job to build in? Dunno) can be a great addition to an already very flexible interface.
Jul 20, 2007 firsm link
could we please get a comment from the devs here?
Jul 20, 2007 a1k0n link
We have our own custom Lua socket library we can use in the client . We use it on the server side. It's TCP-only though. Ray is in favor of linking it into the client and I agree. Why not.

luasockets won't play nice with the main event loop in the game, so that's out.

Maybe tonight's update will have it.
Jul 20, 2007 roguelazer link
There does seem to be a lot of potential for abuse in this idea, but whatever...
Jul 20, 2007 Whistler link
They've already thought of that. See the newspost.
Jul 22, 2007 Demonen link
THANK YOU!

Oh, and about abuse, what's stopping someone from making an addon that automatically transfers the users money into the creators account as soon as they're in the same sector?

It's all about trusting the guy that made the addon, and it always will be.

[edit] Any hints on it's working? Even the slightest snag of code would be awesome help!