Migrating from zMud to Mudlet

MaraxMarax The Scriptorium
I'm not a coder, but I've spent years with zMud and so I can make little systems here and there that work well. I just picked up Mudlet and really need to migrate some of the code to Lua...but I have no idea how to. I've searched for tutorials without much success, maybe I'm looking for the wrong thing. I can usually look at zScript and "read" it...Lua is so different.

Essentially, I'm looking for a basic tutorial 'cause I'm dumb and can't find one.
(<clan>): Kuy says, "Gurl, I could talk myself outta Alkatraz."

Comments

  • MaraxMarax The Scriptorium
    Also...if I were to make an alt...how could I differentiate between the two characters? Mudlet seems to open Achaea triggers.xml...though I have Marax's saved as Marax triggers.xml
    (<clan>): Kuy says, "Gurl, I could talk myself outta Alkatraz."
  • MaraxMarax The Scriptorium
    And disregard the OP...I've since found things that can help
    (<clan>): Kuy says, "Gurl, I could talk myself outta Alkatraz."
  • Marax said:

    Also...if I were to make an alt...how could I differentiate between the two characters? Mudlet seems to open Achaea triggers.xml...though I have Marax's saved as Marax triggers.xml

    When you hit "connect" on Mudlet, you should see a little button near the bottom that says "new." Click that, and you'll be able to make a new profile. Call it whatever you want. The server address will be "achaea.com" and the port is "23." Put your triggers for Marax on one, then make another and use it for your alt.

  • MaraxMarax The Scriptorium
    @antidas thanks!
    (<clan>): Kuy says, "Gurl, I could talk myself outta Alkatraz."
  • NizarisNizaris The Holy City of Mhaldor
    edited January 2014
    Hey @Marax.

    First off, hit me up in game, and we'll get you into the Mudlet clan for questions and answers. Since we're in the same house, I'll give you my standard offer of ask questions any time, and I'll try and help you at when I can.

    As for resources, there are a couple:

    (1) Lua tutorial [ http://lua-users.org/wiki/TutorialDirectory ] Read this like a novel, start to finish. But, don't read everything! Read from LuaTypesTutorial to FunctionsTutorial; the rest is (largely) irrelevant. Under "Lua Standard Libraries", I recommend the following: CoreFunctionsTutorial, MathLibraryTutorial, StringLibraryTutorial, and TableLibraryTutorial.

    (2) Mudlet manual [ http://wiki.mudlet.org/w/Manual:Lua_Functions ] Read this like a cook book, a little here, a little there, and only as you need it. It's all useful, but it's something that you go back to over and over again as you need it.

    (3) Mudlet gui functions (geyser) [ http://wiki.mudlet.org/w/Manual:Geyser ] Useful if you want to make your Mudlet look pretty, and/or useful. I personally use geyser to track opponent afflictions delivered/cured. (Really handy for an apostate, or any other affliction class).

    (4) Mudlet migration guide [ http://wiki.mudlet.org/w/Manual:Migrating ] Probably a very good place for you to start. The front matter of it is written for people migrating from Nexus, but there is a sizable section devoted to CMud/zMud migration.

    (5) Youtube, for just about anything that you want to do, is excellent for tutorials. Take Vadimuses' user page (one of the authors of Mudlet) for example [ https://www.youtube.com/user/Vadi5 ]. He has a few tutorials there. Also, just try a search for "mudlet tutorial" on Youtube.

    Don't get too flustered teaching yourself Lua. You taught yourself zCode, you can teach yourself Lua. Period.

    To summarise, though. You got this. It really isn't that hard, and you can teach yourself Lua well-enough to get yourself into trouble in about three hours, if you put your mind to it. Also, it is far and away MUCH more powerful than zCode, so you can look forward to doing really awesome things, with a much faster language, than you ever could before. Good luck, brother.

    EDIT: ¡Los links son malos!
    image
Sign In or Register to comment.