Lua Team? menu

User Tag List

Thread: Lua Team?

Results 1 to 15 of 15
  1. #1
    BrantX's Avatar Contributor
    Reputation
    205
    Join Date
    Jul 2007
    Posts
    899
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lua Team?

    Hello everyone!
    I have a couple of questions that will help me, because i have been thinking about bringing one of my old projects back to life when i returned to emulation(couple days ago), but there's only one thing that is stopping me to start reviving it.

    Questions :

    1. Does Ascent-Based Emulators even need it?
    2. Would it be worth the shot?
    3. Is Lua even used alot anymore?
    4. Would you guys find it helpful?
    5. Would you guys use it?



    Lua Team?
  2. #2
    Dr. Livingstone's Avatar Member
    Reputation
    113
    Join Date
    Mar 2008
    Posts
    290
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ascent-based emulators definitely still see lua as advantages. If you are willing to put the time and effort in then it is definitely worth the shot, but you have to work hard for it. Lua is still very common and is my favorite language to do emulation stuff in, and it is definitely the best when it comes to releases. A much wider crowd will utilize lua than a C++ script that achieves the same goals. The last two questions really depend on what you are going to do.

  3. #3
    BrantX's Avatar Contributor
    Reputation
    205
    Join Date
    Jul 2007
    Posts
    899
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright, thanks!



  4. #4
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    1) Depends on the server.
    2) Personally, I think it is.
    3) Lua is just becoming better and better, since LuaHypArc real scripting is starting to be introduced, rather than the make-shift crappy ways before.
    4) No I wouldn't, but if your scripting blizzlike, ArcScripts and the rest of the blizzlike crowd would like it.
    5) See above.

  5. #5
    Link_S's Avatar Member
    Reputation
    125
    Join Date
    Dec 2008
    Posts
    293
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lua is pretty much the language that dominates the emulation world nowadays.

    It's easier to learn than C/C++.
    Its syntax is easier to understand than C/C++.
    Compiling is easier than C/C++ compilation.

    Although I hate the Lua syntax and love the ways C++ is messed up with variables.
    Why do I need a signature?

  6. #6
    Aellya's Avatar Sergeant
    Reputation
    21
    Join Date
    Mar 2010
    Posts
    56
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1. Does Ascent-Based Emulators even need it? Yes and no, I would prefer C++ but LUA is slightly easier to edit, so Im happy to use it.
    2. Would it be worth the shot? IMO yes.
    3. Is Lua even used alot anymore? Didnt I already answer this? But yes: C++, nice as it is, needs to be compiled with the server. LUA our dev team can change as they see fit, hence we use it rather extensively.
    4. Would you guys find it helpful? Yes, save me some time and heartache please
    5. Would you guys use it? Assuming it was blizzlike and high quality, yes.

  7. #7
    AzolexX's Avatar Contributor
    Reputation
    179
    Join Date
    May 2007
    Posts
    587
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Link_S View Post
    Lua is pretty much the language that dominates the emulation world nowadays.

    It's easier to learn than C/C++.
    Its syntax is easier to understand than C/C++.
    Compiling is easier than C/C++ compilation.

    Although I hate the Lua syntax and love the ways C++ is messed up with variables.
    No.

    You have no idea what are you talking about.
    You have no idea what are you talking about.
    You have no idea what are you talking about.

    Although messed up with variables wut? Wrong again.

    Find about scripting, programming and music! My blog: https://worldofsmth.wordpress.com!

  8. #8
    Link_S's Avatar Member
    Reputation
    125
    Join Date
    Dec 2008
    Posts
    293
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    AzolexX, it's very easy to understand that You have no idea what you're talkin' about.

    Lets take this for an example;

    The if statement of C++ looks like this (as you appearantly already knew..)
    Code:
    if(condition)
    {
        //I'm within the bracers!
    }
    Here's a list of the most common one appearing using the language.

    And an if statement using Lua looks like this (as you appearantly already knew also..)
    Code:
    if condition then
    end
    If you compare the codes with each other. For someone with no knowledge of any syntax of any programming language, the Lua syntax seems most like common sense and the C++ syntax looks like some kind of wierd chineese.

    Lua
    if -> Common sense
    condition -> Might not be common sense cause the statements include boolean operators
    end -> Common sense

    C++
    if -> common sense
    condition -> Exact the same as Lua
    bracer -> Are often confusing for some people without programming knowledge at all
    end bracer -> Often confusing for some people without programming knowledge at all

    Do you get what I mean?

    If you're learning Lua you don't have to go through 100 tutorials or reading a book. You just have to use your common sense and read ~2/4 tutorials, you don't even have to read a book.

    While learning C++ you have to study a lot harder than with Lua. You have to read a lot more to understand the language.



    And, the C++ language is messed up with variables of all kinds!

    When you usually program for WoW, writing modules for the server, you don't have to mess around with the variables that are messed. That's probably why you think I'm wrong.

    When you include the 'windows.h' header, you get a bounch of variables. Look it up and see it yourself.
    There are for an example eight variables I can come up with that reprecent a single string in C++.
    Code:
    //The standard C one
    char * str;
    
    //STL string
    std::string str;
    
    //Binary string
    BSTR str;
    
    //Some other strings xD
    LPCSTR str;
    LPCWSTR str;
    LPTSTR str;
    LPSTR str;
    LPWSTR str;
    http://msdn.microsoft.com/en-us/library/aa505945.aspx

    Do you still think I'm wrong?


    Last edited by Link_S; 03-12-2010 at 12:16 PM. Reason: Added list URL!
    Why do I need a signature?

  9. #9
    AzolexX's Avatar Contributor
    Reputation
    179
    Join Date
    May 2007
    Posts
    587
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You miss the point, i won't argue. And you are wrong.

    Find about scripting, programming and music! My blog: https://worldofsmth.wordpress.com!

  10. #10
    Link_S's Avatar Member
    Reputation
    125
    Join Date
    Dec 2008
    Posts
    293
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    wut? Why do you come here complaining at me, then you simply say "You're wrong".
    So, why do you think I'm wrong at the first place?

    It's obvous I broke down your arguments, that's why you won't argue with me as I see it.
    Why do I need a signature?

  11. #11
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Azolexx, you can't state something as a matter of fact without a justification. Shows you as ignorant.

  12. #12
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    On the other hand, if people aren't willing to put in the effort to learn C++ they shouldn't be running a server.

    I'm not saying Lua is bad because it has easier syntax, but i'm saying that basic C++ syntax being confusing to someone brand new shouldn't be a problem, since someone brand new shouldn't be running a server, or they should be able to put some effort into learning about it.
    The most beautiful thing we can experience is the mysterious. It is the source of all true art and all science. He to whom this emotion is a stranger, who can no longer pause to wonder and stand rapt in awe, is as good as dead: his eyes are closed.
    Albert Einstein

  13. #13
    Link_S's Avatar Member
    Reputation
    125
    Join Date
    Dec 2008
    Posts
    293
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The-Eradicator, you're probably right. But the Lua syntax is easier to understand than the C++ one.

    When you start of a new server, or being a brand new member getting into the Emulation world. You will probably pick the one that's easiest for You to understand.

    I have a gut-feeling this is going far out of topic :S
    Why do I need a signature?

  14. #14
    Le Froid's Avatar Contributor
    Reputation
    172
    Join Date
    Mar 2007
    Posts
    1,327
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think this should be locked or deleted since it looks like BrantX decided to use LUA..

    BTW (since everyone else is OT)
    Code:
    Its syntax is easier to understand than C/C++.
    Compiling is easier than C/C++ compilation.
    1 - I find C++ syntax easier, its a lot more organized IMO
    2 - hahahahaha

  15. #15
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Le Froid View Post
    I think this should be locked or deleted since it looks like BrantX decided to use LUA..

    Doesn't really matter - Emulator Server Discussions - Discussions about Emulation. No need to make a new topic to continue discussing this since this it's unneeded and this is still slightly related to on topic (talking about programming).


    I still stand by Lua being the same good as C++ when it comes to doing in-game content. Lua is:
    - Almost exactly the same fast as C++ (500v500 memory usage)
    - Lightweight structure (makes scripting stuff a lot faster)
    - The ability to hotfix (you can have developers change a Lua file much easier and in seconds, using a system such as dropbox, whereas using C++ you must replace the dll which is not that easy and would break using a system such as dropbox).
    - Easy, it does what it says on the tin.

    Although it would be nice if you could stop with the idiotic replies such as "Not arguing" "hahahaha" "wtf" instead of justifying yourself. I don't know about other people but I think this just shows you to be the typical young audience who is new to coding and thinks they know everything, when in fact they only know little C++ which is nothing. By all means prove me wrong. I bet you didn't even know it's possible to compile Lua.
    Last edited by stoneharry; 03-12-2010 at 05:17 PM.

Similar Threads

  1. [Lua Team] Blua : The Return
    By BrantX in forum World of Warcraft Emulator Servers
    Replies: 16
    Last Post: 03-19-2010, 11:51 AM
  2. Lua npc that creats guilds and arena teams
    By Summer in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 03-04-2010, 03:08 PM
  3. [Frost Team LUA]Brutez The Demonic Devil**UPDATED**
    By bsod-staff14 in forum WoW EMU General Releases
    Replies: 6
    Last Post: 12-22-2008, 01:30 PM
  4. Cross-Team Hearthstone
    By Matt in forum World of Warcraft Exploits
    Replies: 12
    Last Post: 09-03-2006, 05:26 PM
  5. 3 marks on loosing team..
    By boblikes in forum World of Warcraft Exploits
    Replies: 2
    Last Post: 06-20-2006, 01:40 PM
All times are GMT -5. The time now is 04:14 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search