bkacjios / Lumble

A mostly pure Lua based mumble implementation for creating a bot
11 stars 2 forks source link

Get get it to start #1

Open Andols0 opened 5 years ago

Andols0 commented 5 years ago

Hi there!

I'm having troubles with getting this to run and i wonder what the dependencies are and if there are any special steps that needs to be done to start the server and client :)

bkacjios commented 5 years ago

Well, it 100% requires LuaJit because it uses its FFI library heavily.

You will also need https://github.com/keplerproject/luafilesystem and https://github.com/brimworks/lua-ev

Then you would have to compile this file into a module too for protobufs https://github.com/urbanairship/protobuf-lua/blob/master/protobuf/pb.c

I think me using the lua-ev nodule also limits it to running on Linux.

And lastly, if you're not going to be running this on a x86_64 or a armv6 computer, you're going to have to compile https://github.com/bkacjios/Lumble/blob/master/stb_vorbis.c as well.

I've been meaning to remove most of those dependencies by using FFI but since it's mostly just an old personal project, and it works for what I need it to do, I haven't really worked on it recently.

Once you have all the dependencies, it should just be as easy as running

luajit client.lua

The server in which it connects to is configured in modules/scripts/init.lua