Celestia 1.5.1 and sockets?
Posted: 21.05.2009, 14:44
Hi!
Does Celestia 1.5.1 work with sockets somehow?
I tried the same approach as I did with Cel 1.6 where I simply copied the folders "lua", "mime" and "socket" into the Celestia root folder.
But with a celx script there's always the error "attempt to call global 'require' (a nil value)"
the script is
Is there sth. else that has to be done to be able to use the socket library in Cel 1.5.1?
I use the socket lib 2....
I also tried copying the lua folder into the extras folder. Didn't work either.
I want to provide an add-on but it works only for Cel 1.6 yet.
Thanks for every hint on this
--Stuffer
Does Celestia 1.5.1 work with sockets somehow?
I tried the same approach as I did with Cel 1.6 where I simply copied the folders "lua", "mime" and "socket" into the Celestia root folder.
But with a celx script there's always the error "attempt to call global 'require' (a nil value)"
the script is
Code: Select all
require "socket"
local socket = socket.tcp()
...
Is there sth. else that has to be done to be able to use the socket library in Cel 1.5.1?
I use the socket lib 2....
I also tried copying the lua folder into the extras folder. Didn't work either.
I want to provide an add-on but it works only for Cel 1.6 yet.
Thanks for every hint on this
--Stuffer