Recently, I was helping a friend with implemening Lua into his server, and then it hit me, why isn't Lua so popular by this community? Most (actually all I've seen so far from here) are using intern NPC scripts, when Lua is very efficiant.
World of Warcraft,
Buzz,
Fable,
Garry's Mod,
ROSE,
Rangnarok
Starwars
Those all have something in common - they all use Lua .
Lua is not a programming language, it's a scripting language which I recommend you to use with NPC dialogs. Not only is it easier to organize, it allows you to edit the dialogs while the server is on. Very, very good for BETA servers aswell as for up & running servers.
So, now to my question, would you guys want me to write a guide how to configurate your server to work with Lua?
i have been saying get off the stupid internal npc dialogs piled up with 10k if statements in your client class and move onto this sort of stuff, nobody listens.
Recently, I was helping a friend with implemening Lua into his server, and then it hit me, why isn't Lua so popular by this community? Most (actually all I've seen so far from here) are using intern NPC scripts, when Lua is very efficiant.
World of Warcraft,
Buzz,
Fable,
Garry's Mod,
ROSE,
Rangnarok
Starwars
Those all have something in common - they all use Lua .
Lua is not a programming language, it's a scripting language which I recommend you to use with NPC dialogs. Not only is it easier to organize, it allows you to edit the dialogs while the server is on. Very, very good for BETA servers aswell as for up & running servers.
So, now to my question, would you guys want me to write a guide how to configurate your server to work with Lua?
Have fun!
Efficiency and RAM Usage is very important.
EDIT:
As I'm bored at the moment, I'll consider writing a library file for epvpers and a little guide on how-to implement it. I don't recommend using external scripts though.
that's not even an issue in this scenario. scripts are event driven (when a player talks to an NPC), i could understand if your saying thousands of scripts a second will be executed, but that's not the case.
Not just that, the amount of memory/cpu time we are talking about with using external scripts, is so small that like i said, is not going to be an issue (unless you've seriously done something wrong)
@Ching
As stated on the first post, WoW is using LUA (although I'm not sure for what), so it can handle huge amount of requests at the same time (as WoW has 10 million players).
@Ching
As stated on the first post, WoW is using LUA (although I'm not sure for what), so it can handle huge amount of requests at the same time (as WoW has 10 million players).
Anyhow, back to the point, is lua intresting?
Writing your own script language is way more interesting.