Jump to content

riderj

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by riderj

  1. @Dealman Thanks for trying to show up and act like I'm new to this, but I've been in the game for over eight years. I have particularly worked with Lua for six out of those eight years. I have done programming for WoW, Roblox, and stand alone applications/games that I had written myself. I also have my bachelors in computer science to make the point even more clear. If you believe this wiki is well documented, than this must be the only wiki you've ever looked at. I agree the functions are slightly better looking, but it's still leaves a ton of information out of them for people starting out with the API like myself. None of the event handling pages talk about the discrepancies with switching information between client and server. Another example would be the terribly written introduction to scripting article. This article may go over how to find your resources and immediately create a script, but it leaves you asking questions such as: "What can I do with this API that Lua doesn't do by default?". The prime example would be my question above, I noticed that you could access functions across similar scripts without requiring the file in the script you want to access that function from. Main point is: The introductory articles should be more detailed and talk about every part of the API that categorizes as Basic/Intermediate. When I'm trying to learn a new API I like it to be well documented, especially if I lack the access to figure out how it works. Regarding the forum board for tutorials: There are 106 tutorials total, of these tutorials 12 are about basic lua, 3 are about IDE's and 91 are about MTA in some way shape or form, but go over specific topics such as PHP integration, creating simple foums, MTA:SQL, etc. There were roughly 3 beginner tutorial video series, and one of which is poorly recorded and hard to follow. So official tutorials on the wiki are better than the tutorials we currently have here on the forum.
  2. @Noki See I thought that this was the only way of sharing functions through the resource and is the reason I am confused. The current resource that I'm messing with, I can create a function inside a separate file that is not declared neither server nor client by the meta.xml, and call the same function from a different file within the resource. I do not see any lines that would enable this unless it's embedded within another resources export.
  3. Thanks for the sarcastic reply, but too bad those 106 topics go over one topic many times. That topic would be basic lua, and adding support for notepad++. I've read the topics I was interested int, and am looking for a more external source such as a github or website dedicated to learning. I also am looking for a good resource to study and learn from, currently I am studying an RP resource, but the coding in it is sloppy. Since this topic is going nowhere so far I will recycle this thread for another question: What in the MTA API allows lua to call functions in a different file without requiring the file? Is there a specific setting that needs to be enabled in the meta.xml to achieve this or is it default?
  4. The wiki is great if you want to lookup things about each topic, but learning from scratch with no prior experience with the API makes the wiki a lame place to learn the API. I like the way it's setup, but the writing doesn't go into much detail on certain topics like events, the fact that you can call a function in a different lua file in the resource. I encountered the last point earlier today when I was messing with a resource, but I don't know if it's a default feature or if something enables you to call functions across the resource.
  5. Since the wiki is horribly written I am coming here to ask if anyone has found any tutorials that are above average. Unlike the wiki I would like to have tutorials that explain what the syntax is achieving, and going into depth with each and every step. Some topics that I would like to know about include: Basic/Advanced Meta.xml Lecture on exports Lecture on updated programming practices for the api (such as mysql using dbConnect instead of the module) Expansion on advanced/intermediate/basic techniques for event triggers, and what to be careful of. In-depth guide of how ACL works
  6. For some reason everytime I create a script using the SE, and it edits the meta.xml, the server does not load the meta.xml of the resource.
×
×
  • Create New...