16
Utilities and 3rd Party Applications / Re: DFHack 0.43.03-r1
« on: October 11, 2016, 05:43:17 am »
I have issue with using third party LUA library. Basically, I want to be able to send data to serial port from withing DFhack scripts.
Console says this:
Only setup I have made is copying luars232.dll file to C:\dfhack directory (it comes from project here: https://github.com/ynezz/librs232/downloads )
Script is so far just renamed example for library from here: https://github.com/ynezz/librs232/blob/master/doc/example.lua
I am sure I am doing something wrong, but i have too litle experience with lua to know what :-)
Console says this:
Code: [Select]
[DFHack]# ambidwarf
error loading module 'luars232' from file 'C:\dfhack\luars232.dll':
Uvedenř modul nebyl nalezen.
stack traceback:
[C]: in ?
[C]: in function 'require'
C:\dfhack/hack/scripts/ambidwarf.lua:1: in function 'f'
C:\dfhack\hack\lua\dfhack.lua:562: in function <C:\dfhack\hack\lua\dfhack.lua:503>
(...tail calls...)Only setup I have made is copying luars232.dll file to C:\dfhack directory (it comes from project here: https://github.com/ynezz/librs232/downloads )
Script is so far just renamed example for library from here: https://github.com/ynezz/librs232/blob/master/doc/example.lua
I am sure I am doing something wrong, but i have too litle experience with lua to know what :-)
