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 11-05-2017, 08:03 PM
Movement
Sarnak
 
Join Date: Sep 2011
Posts: 77
Default Re: quests (LUA or Perl???)

I'm putzing around with quests and adding custom quests.

I have noticed the differences between LUA and Perl.

In Perl, the scripting and commands are cleaner and easier, but the quest output in the game is "old school". Whereas you had to manually "type" the [keyword] or [link] in brackets.

With LUA instead, the commands and syntax are more more complicated but you get the snazzy green [links] you can click on to progress quests.

Is this correct? And what are the positives and negatives with using LUA over Perl or vice versa?

Thanks in advance!
Reply With Quote
  #2  
Old 11-06-2017, 07:45 AM
Thalix's Avatar
Thalix
Sarnak
 
Join Date: Sep 2016
Posts: 91
Default

With quest::saylink you can get clickable links in perl aswell.
Reply With Quote
  #3  
Old 11-06-2017, 04:31 PM
Movement
Sarnak
 
Join Date: Sep 2011
Posts: 77
Default

Quote:
Originally Posted by Thalix View Post
With quest::saylink you can get clickable links in perl aswell.
ORRRLLLYYY??

Hmmm! This changes a lot then

(I actually like perl a LOT better than LUA) Lua feels older :(
Reply With Quote
  #4  
Old 11-06-2017, 07:23 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Technically, PERL is about 5 years older than Lua :P
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #5  
Old 11-06-2017, 09:53 PM
Movement
Sarnak
 
Join Date: Sep 2011
Posts: 77
Default

Quote:
Originally Posted by Uleat View Post
Technically, PERL is about 5 years older than Lua :P
Why does Perl feel newer? Or is it just me? Which do you prefer to use and why?
Reply With Quote
  #6  
Old 11-06-2017, 11:20 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

I prefer to use c/c++ .. but, my preference of 'scripting' languages is python


EDIT: Just personal
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #7  
Old 11-07-2017, 12:15 AM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

It's a matter of preference these days.

We support two scripting languages - Perl was the first of the two. We had a pseudo scripting language before that

LUA and Perl both have their respective pros/cons, Perl has a lot more aged plugin and customization support in Emulator because many custom servers have developed on it and created plugins for it.

LUA on the otherhand can do all of the things Perl can do (From a EQEmu API standpoint) and more LUA specific features such as encounters, but as far as EQEmu specific examples and plugin support, that will need to be added to match.

PEQ has standardized only creating scripts with LUA, so if you plan to contribute towards Live-like scripts and encounters, I would make friends with LUA.

PEQ Quests Github: https://github.com/ProjectEQ/projecteqquests

Perl's extensive plugins are here: http://wiki.eqemulator.org/p?Perl_Pl...rence&frm=Main

We will be getting a massive overhaul in documentation in the near future. Which will include tons of examples of how to use each scripting language's API. These examples will prove invaluable for people trying to implement different things.

So to answer the question of LUA or Perl, the choice is yours depending on your needs
Reply With Quote
  #8  
Old 11-08-2017, 02:10 AM
Movement
Sarnak
 
Join Date: Sep 2011
Posts: 77
Default

Thanks Akka, I will check those links out. I am having another issue on another post that no one has responded to so the links might help me with that. Thanks again chief.
Reply With Quote
  #9  
Old 11-08-2017, 03:29 AM
Nerdgasm
Discordant
 
Join Date: Apr 2013
Posts: 426
Default

Honestly it's personal preference, when I started EQEMU DEVin' I used Perl, and I won't stop using Perl. I tried LUA, and while you can do more with it, I personally dislike it.
__________________
I am the All Mighty Mittens!
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:38 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