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! |
With quest::saylink you can get clickable links in perl aswell.
|
Quote:
Hmmm! This changes a lot then (I actually like perl a LOT better than LUA) Lua feels older :( |
Technically, PERL is about 5 years older than Lua :P
|
Quote:
|
I prefer to use c/c++ .. but, my preference of 'scripting' languages is python :)
EDIT: Just personal |
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 |
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.
|
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.