EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Lua for dummie (https://www.eqemulator.org/forums/showthread.php?t=37603)

MisifuWiki 12-08-2013 11:31 PM

Lua for dummie
 
Hi all folks !! Please , can someone make me a little guide for this myself dummie about lua , will mean :

1- Wich Lua version i need download and install and how to install ?

2- What i need to do for Cmake find the proper things about lua ?

My system is win 7 32x

Many thanks

demonstar55 12-08-2013 11:34 PM

For version, currently lua 5.1 is supported, 5.2 has some API breakage and it hasn't been updated since most distros haven't updated their package versions yet. The other stuff, I'm not 100% sure on Windows :P

joligario 12-09-2013 12:22 AM

Lua for Windows: 5.1.4-46
http://code.google.com/p/luaforwindows/downloads/list

Install it and CMake will find it. Then just copy the 5.1 dll into your eqemu folder.

NatedogEZ 12-09-2013 12:41 AM

I am also a dummie when it comes to Lua.. where do you get Boost ? :)

joligario 12-09-2013 01:10 AM

Boost libraries are linked in the threads below or you can get newest dependencies at www.boost.org (1.55)

KLS 12-09-2013 03:35 AM

http://eqemu.github.io/
Get: WindowsDependencies_x86.zip

Put the contents into your dependencies folder and CMake will look there first.

NatedogEZ 12-09-2013 07:12 AM

Thank you for the links KLS and Joligario

Got lua up and working.. time to learn how to use it :)

MisifuWiki 12-09-2013 11:38 AM

Ok , got it all working so fine !!! Great !!

Thanks !!

wolfwalkereci 12-09-2013 02:43 PM

Quote:

Originally Posted by NatedogEZ (Post 226702)
Thank you for the links KLS and Joligario

Got lua up and working.. time to learn how to use it :)

Don't go over to the dark side my friend!

onbeforeunload = function() {};

Randymarsh9 12-28-2013 04:22 AM

I have a question about getting Lua to work. I am sure that I am missing something simple, but I downloaded and installed Lua, copied lua.5.1.dll into my builds directory, copied the dependency folders into my dependencies folder, marked build Lua in cmake and generated the build files, recompiled, and copied the new binaries into my build folder. When I log into the game though, and NPCs with Lua scripts are still unresponsive, but will at least face you when hailed. Anyone know what I am missing?

NatedogEZ 12-28-2013 01:23 PM

Did you make sure to put all the lua folders into the correct directories? Can't think of the names right now because I'm not on my computer. I got the files from the newest quest repository

demonstar55 12-28-2013 01:50 PM

lua_modules

Randymarsh9 12-28-2013 02:10 PM

I have a folder in my quests called lua modules, and it has a few scripts in it. Is there more I am supposed to do with it? Additionally, although I have boost downloaded and in the dependencies, CMake says Boost_DIR-NOTFOUND when I generate, if that could be an issue.

Simple fix. I looked at http://www.eqemulator.org/forums/showthread.php?t=37438 and saw that you just need to copy the lua_modules into your server directory. Thanks, everyone!

sorvani 12-28-2013 10:06 PM

lua_modules goes in the root of your server folder just like quests and globals.

Additionally, there was zero reason to install Lua. If you use the dependencies as specified in the guide you will have everything you need.


All times are GMT -4. The time now is 10:34 PM.

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