EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Lua scripts not working (https://www.eqemulator.org/forums/showthread.php?t=37438)

rixcraven 10-27-2013 04:47 PM

Lua scripts not working
 
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:
Code:

-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

Solved!
 
Quote:

Originally Posted by HnathBST (Post 225350)
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:
Code:

-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


All times are GMT -4. The time now is 09:37 AM.

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