Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-08-2013, 11:31 PM
MisifuWiki
Sarnak
 
Join Date: Sep 2007
Posts: 33
Default 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
Reply With Quote
  #2  
Old 12-08-2013, 11:34 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,165
Default

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
Reply With Quote
  #3  
Old 12-09-2013, 12:22 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

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.
Reply With Quote
  #4  
Old 12-09-2013, 12:41 AM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

I am also a dummie when it comes to Lua.. where do you get Boost ?
Reply With Quote
  #5  
Old 12-09-2013, 01:10 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

Boost libraries are linked in the threads below or you can get newest dependencies at www.boost.org (1.55)
Reply With Quote
  #6  
Old 12-09-2013, 03:35 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

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

Put the contents into your dependencies folder and CMake will look there first.
Reply With Quote
  #7  
Old 12-09-2013, 07:12 AM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Thank you for the links KLS and Joligario

Got lua up and working.. time to learn how to use it
Reply With Quote
  #8  
Old 12-09-2013, 11:38 AM
MisifuWiki
Sarnak
 
Join Date: Sep 2007
Posts: 33
Default

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

Thanks !!
Reply With Quote
  #9  
Old 12-09-2013, 02:43 PM
wolfwalkereci
Discordant
 
Join Date: Dec 2005
Posts: 435
Default

Quote:
Originally Posted by NatedogEZ View Post
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() {};
__________________

Reply With Quote
  #10  
Old 12-28-2013, 04:22 AM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

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?
Reply With Quote
  #11  
Old 12-28-2013, 01:23 PM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

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
Reply With Quote
  #12  
Old 12-28-2013, 01:50 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,165
Default

lua_modules
Reply With Quote
  #13  
Old 12-28-2013, 02:10 PM
Randymarsh9
Dragon
 
Join Date: Dec 2007
Posts: 658
Default

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!
Reply With Quote
  #14  
Old 12-28-2013, 10:06 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 966
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:42 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3