|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Support::Windows Servers Support forum for Windows EQEMu users. |

12-08-2013, 11:31 PM
|
Sarnak
|
|
Join Date: Sep 2007
Posts: 33
|
|
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
|

12-08-2013, 11:34 PM
|
Demi-God
|
|
Join Date: Apr 2008
Location: MA
Posts: 1,164
|
|
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
|

12-09-2013, 12:41 AM
|
 |
Developer
|
|
Join Date: Dec 2012
Posts: 515
|
|
I am also a dummie when it comes to Lua.. where do you get Boost ? 
|

12-09-2013, 01:10 AM
|
 |
Developer
|
|
Join Date: Mar 2003
Posts: 1,498
|
|
Boost libraries are linked in the threads below or you can get newest dependencies at www.boost.org (1.55)
|

12-09-2013, 03:35 AM
|
Administrator
|
|
Join Date: Sep 2006
Posts: 1,348
|
|
http://eqemu.github.io/
Get: WindowsDependencies_x86.zip
Put the contents into your dependencies folder and CMake will look there first.
|

12-09-2013, 07:12 AM
|
 |
Developer
|
|
Join Date: Dec 2012
Posts: 515
|
|
Thank you for the links KLS and Joligario
Got lua up and working.. time to learn how to use it 
|

12-09-2013, 11:38 AM
|
Sarnak
|
|
Join Date: Sep 2007
Posts: 33
|
|
Ok , got it all working so fine !!! Great !!
Thanks !!
|

12-09-2013, 02:43 PM
|
Discordant
|
|
Join Date: Dec 2005
Posts: 435
|
|
Quote:
Originally Posted by NatedogEZ
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() {};
__________________
|

12-28-2013, 04:22 AM
|
Dragon
|
|
Join Date: Dec 2007
Posts: 658
|
|
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?
|

12-28-2013, 01:23 PM
|
 |
Developer
|
|
Join Date: Dec 2012
Posts: 515
|
|
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
|

12-28-2013, 01:50 PM
|
Demi-God
|
|
Join Date: Apr 2008
Location: MA
Posts: 1,164
|
|
lua_modules
|

12-28-2013, 02:10 PM
|
Dragon
|
|
Join Date: Dec 2007
Posts: 658
|
|
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!
|

12-28-2013, 10:06 PM
|
Dragon
|
|
Join Date: May 2010
Posts: 965
|
|
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.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 12:30 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |