Creating WoW AddOns - Episode 3 - Tables

Поделиться
HTML-код
  • Опубликовано: 28 дек 2024

Комментарии • 45

  • @NexerdGamer
    @NexerdGamer 9 лет назад +19

    better than most programing guides , explaining all really good so far really enjoy this, I also use some other langueges but still i find these guides really good GJ man

    • @PyronTheMage
      @PyronTheMage  9 лет назад +5

      NexerdGamer Thanks a lot! I always worry about the quality of these guides and whether people can easily follow what I'm saying so this gives me more confidence to hear! :)

  • @PyronTheMage
    @PyronTheMage  9 лет назад +2

    Sorry that I ended this series but it WILL return and I am going to upload a vlog at some point to explain when and what's happening.

  • @MJCMJMT
    @MJCMJMT 9 лет назад +1

    Really nice guides - i've been trying to understand lua from various writen guides, but your guides gives so much more understanding so much quicker, then i would ever be able to read.
    Can't wait for future episodes! Keep up the good work.

  • @kainsewell3086
    @kainsewell3086 7 лет назад

    This is great. Programming can be something very tough to convey clearly, but I think you are doing very well. I have never messed with lua, so I am enjoying going through this series. Thanks!

  • @Celdorsc2
    @Celdorsc2 4 года назад

    Hey. First of all, good job and well done!!!
    I just found your tutorials. Although most of the things I already knew, these are still incredibly useful videos. I really like how you explain the essence in just a few words. As an example, the `#` operator is one of the most confusing elements in lua along with "." and ":". Therefore, well done on pointing out what it actually returns when we have a nil value in a table.
    I believe it was not an easy task to complete it, so I am grateful for your effort. I can say this will be one of the best material to refer even if it's 5 years old to anyone who asked me how to learn addons.

  • @MahanBastami
    @MahanBastami 4 месяца назад

    after 9 year still best tutorial i can find

  • @JafsBox
    @JafsBox 10 лет назад +1

    Another great episode, looking forward to seeing some GUI work here. Keep up the great work and thank you for continuing to make these.

  • @a.pourihosseini
    @a.pourihosseini 4 года назад +1

    In your initial table example, where you have ' options = {class="Warrior"} ', you CAN access the class attribute using the options["class"] syntax. using options.class is NOT the only way.

  • @shadowrealm8937
    @shadowrealm8937 2 года назад

    5:13 why it called "hash" table?

  • @viktorholmgren8978
    @viktorholmgren8978 9 лет назад

    Very nice!
    Please continue this serie!

  • @lucagiacomini9696
    @lucagiacomini9696 9 лет назад +1

    Good job man, waitng for other parts!

  • @DJ-lp6jr
    @DJ-lp6jr 5 лет назад

    Thanks for the great video!
    PS: table.maxn (table)
    Returns the largest numeric index, not afraid of nil values

  • @larstomasroos2940
    @larstomasroos2940 9 лет назад

    I just want to cheer you on. I think your great at making tutorials.
    Im only waiting for the xml tutorial now :P

  • @RadekSchiffnerVisuals
    @RadekSchiffnerVisuals 9 лет назад

    I'm looking forward for next guides!

  • @tomasz-rozanski
    @tomasz-rozanski 6 лет назад

    Great video. Just one note: the address of the table printed by the first pop() call can't contain "G" and "K" characters because hexadecimal numbers can't have a value bigger than "F".

  • @JaneDoe-zg3xo
    @JaneDoe-zg3xo 9 лет назад +1

    I'm so lost and confused... but i will keep watching, reading, and researching... till it all makes sense. From the perspective of one whom only knows htm I think these vids require a higher level of knowledge of coding to really understand. K back to watching :)

  • @edustring59
    @edustring59 10 лет назад +1

    Thank you very much for this :)

  • @Netbase2000
    @Netbase2000 3 года назад

    Inside a Function I get the value for function[1] outside I get the function id. Why is that happening? I need the value outside the function. I returned the exact table name.

  • @STMZY
    @STMZY 10 лет назад +2

    hi i dont know if you have the time but if you do couldnt you start up the series about making ur own ui again? it was awsome

    • @PyronTheMage
      @PyronTheMage  10 лет назад +1

      I have been recently thinking about that and would want to. Time is definitely a problem for me with too much Uni work but I will try harder to make time available in future. I cannot say when the series will be coming back but I won't forget about it.

    • @STMZY
      @STMZY 10 лет назад +1

      Mayron's Hideout okay sounds nice:) btw always prio ur life. take your time and do it then you can:)

  • @Pory02
    @Pory02 Год назад

    That with key and strings was so confusing because different examples were showing... @.@ And the last hting , too. I don't even understand for what that could be needed...

  • @TheColonel_
    @TheColonel_ 9 лет назад +1

    A shame that you stopped the series, I'm really looking for a good way to learn how to actually make a UI with XML or something similar.

    • @SicaGR
      @SicaGR 7 лет назад

      He must have been busy but he did do an episode 4

  • @tatartudor9279
    @tatartudor9279 4 года назад

    Hey, towards the end of the video does the pop function within the print function gets called?

  • @Nitsujcm2600
    @Nitsujcm2600 9 лет назад

    Episode 4? Eta? These are really helpful!

    • @SicaGR
      @SicaGR 7 лет назад

      He must have been busy but he did do an episode 4

  • @Weisswurstesser
    @Weisswurstesser 9 лет назад +2

    Indexes of Arrays in Lua don't start with 0 by convention but with 1?
    That's unusual...

    • @PyronTheMage
      @PyronTheMage  9 лет назад +1

      Weisswurstesser Yes correct. Not sure why they chose to go with that. Makes it confusing for those who come from different programming backgrounds.

  • @neonode2575
    @neonode2575 11 месяцев назад

    Still useful, tank you!

  • @DearestClaudio
    @DearestClaudio 10 лет назад

    Just for clarification, the difference between a variable and a string is that a string must appear between quotation marks and a variable does not, right?

    • @PyronTheMage
      @PyronTheMage  10 лет назад +1

      Yes correct, but inside of a table you can either use variable names or keys where keys are strings inside of square brackets.

  • @sionemanulea2549
    @sionemanulea2549 7 лет назад

    hey I like the way you teach

  • @merrittbruce
    @merrittbruce 9 лет назад +7

    got a little lost

  • @Netbase2000
    @Netbase2000 3 года назад

    Tried to make my funktion working with tables but I ended up using a bad list . :(

  • @realespvp3257
    @realespvp3257 4 года назад

    Hey mate, you still active on this youtube channel for a question?

  • @TheBugB
    @TheBugB 2 года назад +1

    It’s not zero indexed that’s so weird hahaha

    • @PyronTheMage
      @PyronTheMage  2 года назад

      Yep. Even to this day I still get confused when switching between languages.

    • @TheBugB
      @TheBugB 2 года назад

      @@PyronTheMage are you planing to make more addon development videos you are like the only channel that’s made videos on it!

  • @Phoenix-pm2iw
    @Phoenix-pm2iw 5 лет назад

    -- What I found confusing was when I saw " options ["size"] = 10 "
    -- What I think it means. size is just some average name and not the size of this table.
    -- Lets just make an array called helmet and put a description of the helmet.
    -- Tables can just grow dynamically
    -- - I put nothing in the indexed part
    -- just adding some key value pairs to an empty table.
    local helmet ={} -- empty table
    helmet ["color"] = "gray" -- Helmet is just a key and it's value is gray. This is the key value pair.
    helmet ["shape"] = "donkey" -- another key
    helmet ["facemask"] = "black" -- another key
    -- where do these key value pairs go in the table?
    -- at this point who cares. just some bizarre list called a hash table. not a file hash
    -- To print out the helmet shape.
    print (helmet ["shape"])
    -- you can copy and paste my entire comment into a wow LUA addon file and run it.
    -- I really enjoy this series of videos, the best of it's kind.

  • @Roy51794
    @Roy51794 9 лет назад

    WOW!!!!! SO MUCH INFO YOU SHOULD MAKE A VIDEO GAME CALLED UNITEA - a university about TEA

    • @PyronTheMage
      @PyronTheMage  9 лет назад +1

      Hey! I know where you live!

    • @Sccoropio
      @Sccoropio 9 лет назад

      Mayron's Hideout Bro, are you continuing this? Let's make a full-fledged addon :(

  • @Panzerbjrn
    @Panzerbjrn 4 года назад

    I liked this, series so far, but around 10m is when I stopped understanding anything. This is probably more lua's fault than Mayron's.
    Any programming language that doesn't require something to make it clear what is a variable, such as a $ in front ($ThisIsMyVariable) doesn't deserve to be used, and should be moved away from.
    And why would you not start an array from 0 like every other language in the world?