EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Re: quests (LUA or Perl???) (https://www.eqemulator.org/forums/showthread.php?t=41582)

Movement 11-05-2017 08:03 PM

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!

Thalix 11-06-2017 07:45 AM

With quest::saylink you can get clickable links in perl aswell.

Movement 11-06-2017 04:31 PM

Quote:

Originally Posted by Thalix (Post 256270)
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 :(

Uleat 11-06-2017 07:23 PM

Technically, PERL is about 5 years older than Lua :P

Movement 11-06-2017 09:53 PM

Quote:

Originally Posted by Uleat (Post 256282)
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?

Uleat 11-06-2017 11:20 PM

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


EDIT: Just personal

Akkadius 11-07-2017 12:15 AM

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

Movement 11-08-2017 02:10 AM

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.

Nerdgasm 11-08-2017 03:29 AM

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.


All times are GMT -4. The time now is 05:33 AM.

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