Log in

View Full Version : Lua scripts not working


rixcraven
10-27-2013, 04:47 PM
Hello again,

I've recompiled the server code using LUA.
everything appears fine, except that when I hail anyone (in Qeynos), I get no response.. the only exception is Drun_Vorwig who DOES respond?????
I'm totally baffled by this, I can't see why this should be.
Can anyone more knowledgeable in EQEmu, and LUA help me here?

(I have LUA51.dll in the main eqserver dir), and because Drun works makes me think that LUA itself is ok.

Furniture
10-27-2013, 07:42 PM
Are you sure the dependancies were located properly in cmake?

lerxst2112
10-27-2013, 07:59 PM
Did you open that script and make sure it is actually lua?

rixcraven
10-28-2013, 09:33 AM
Yeah, its definetely LUA script, as to the dependencies, how should the layout appear in CMake?
as I said, there weeree no compile errors.

HnathBST
10-28-2013, 01:35 PM
I know the issue I had was due to the lua 'modules'. The peq quests dump has them in the quest folder. They need to be in the root folder (with zone and world).

should look like this:

-Server (or whatever your server folder is called)
--logs
--lua_modules
--Maps
--plugins
--quests
---cshome
----npc.lua
---poknowledge
----npc.lua
--shared
--templates
--worldui

rixcraven
10-28-2013, 04:49 PM
I know the issue I had was due to the lua 'modules'. The peq quests dump has them in the quest folder. They need to be in the root folder (with zone and world).

should look like this:

-Server (or whatever your server folder is called)
--logs
--lua_modules
--Maps
--plugins
--quests
---cshome
----npc.lua
---poknowledge
----npc.lua
--shared
--templates
--worldui


Cool work HnathBST, that sorted it!!! NICE ONE, and Thanks :)

HnathBST
10-29-2013, 01:20 AM
You're welcome :) I had the same issue when I started using the lua quests. I didn't realize (and there was absolutely no documentation) that there was a modules folder or where it was supposed to go... I think I moved it to 3 different locations and #rq'd until I got a response... lol