EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   I biffed Lua Quests (not working) (https://www.eqemulator.org/forums/showthread.php?t=39993)

Yummy 09-06-2015 12:31 AM

I biffed Lua Quests (not working)
 
Put simply, PERL quests work but LUA quests do not.

Any suggestions on where to start looking?

I will keep digging, but here are my observations:

Newbie tattered note hand-in and newbie armor quests:
Neriak and Netktulos are using Perl scripts and working, however, Qeynos and Freeport are using LUA scripts are not working.

LUA Packages installed:
Code:

[root@eq ~]# rpm -qa | grep -i lua
lua-5.3.0-2.fc22.x86_64
luabind-0.9.1-15.fc22.x86_64
luabind-devel-0.9.1-15.fc22.x86_64
compat-lua-5.1.5-2.fc22.x86_64
compat-lua-libs-5.1.5-2.fc22.x86_64
compat-lua-devel-5.1.5-2.fc22.x86_64
lua-devel-5.3.0-2.fc22.x86_64

cmake:
Code:

-- Found Lua51: /usr/lib64/liblua-5.1.so;/usr/lib64/libm.so
CMakeCache.txt:

Initially, cmake failed on LUA and I updated the CMakeCache.txt with LUA_INCLUDE_DIR:PATH=/usr/include/lua-5.1. Is this the problem?

Code:

//Build Lua parser.
EQEMU_BUILD_LUA:BOOL=ON

//Path to a file.
LUA_INCLUDE_DIR:PATH=/usr/include/lua-5.1
 
//Lua Libraries
LUA_LIBRARIES:STRING=/usr/lib64/liblua-5.1.so;/usr/lib64/libm.so

Code:

[root@eq luabind]# ls /usr/include/lua-5.1
lauxlib.h  luaconf.h  lua.h  lua.hpp  lualib.h

Any pointers would be very much appreciated.

Thank you,

Yummy

===============
Complete build document can be found here:
http://blog-harmonson.rhcloud.com/20...erver-minimal/
===============

Yummy 09-06-2015 12:52 AM

Fixed!

I did not move lua_modules from the /quests folder to the server root. I don't recall seeing that requirement in the installation document, but I may have just breezed by it. Updating my own documentation .. now.


All times are GMT -4. The time now is 01:54 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.