• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
Eikonium
Reaction score
658

Profile posts Latest activity Postings Experience Resources About

  • Hey,
    thanks again for all your help with Lua!

    Trying to do some OOP again. Got a warning in VS Code after following your tutorial. I think it's because of a small error:
    Lua:
        function AnimalRace.create(name, baseUnittypeId)
            local new = {} ---@type AnimalRace (new objects are basically always empty tables)
            setmetatable(new, mt) --the most important part. Allows objects to fetch default values from the class.
    Here, I think the ---@type is supposed to be a ---@class.
    Eikonium
    Eikonium
    I can't reproduce this with my setup (even with weak union check disabled), but I'm not surprised. Issues like this regularly come and go with extension versions. Maybe the extension was never smart enough to recognize such a type-check and recently changed it's diagnostics behaviour. Or maybe something else.
    I personally don't find the union-check very helpful anyway, so I enabled weak union-check in the VSCode settings. Perhaps that's a solution for you as well?
    JSON:
     "Lua.type.weakUnionCheck": true,
    Antares A
    Antares A
    Ah nice, that fixed it! Thanks! :psmile:
    Antares A
    Antares A
    Hey, is using the % character a problem only in the World Editor or also in the game itself? Could the % character be the problem here?
    (looked through the Lua script, there are several % characters in strings there)
    Hey, just want to make sure you view this old thread:

    Thanks :)
    hi guys ,i want to make a map with local game,when i live,i want to play with fans(they can send message in my live room)in wc3 old version i have already complete this game (use io and 3rd system pull live room message)but now i want 2 change the game to new engine(reforget version)i saw y some thread like how to use preload to save/load data,when i try it,the load function maybe load at once,That's means when i rewrite date in same file,its allways read a old value. cloud you give me some idea to deal with this problem?(wc3 runtime env how 2 read 3rd system data)many thanks!
    Eikonium
    Eikonium
    Hey. I guess you are talking about this resource. I have not written it and can not help you with this problem. You should wait a little longer for the resource author to respond in the original thread. If he doesn't, you can try your luck in World Editor Help Zone

    Please use the yellow Edit button at the bottom of your posts and add text there instead of writing one post after another of yours unless it's an important update.

    Should avoid "reserved" posts as they are not really updates and incentivize multiposting. Those details could have been written in the main post either at the end and/or under spoiler/hidden tags.
    • Like
    Reactions: Eikonium
    Eikonium
    Eikonium
    Please allow me to have a different opinion on this one: I didn't consider a reserved post multiposting that comes after a published guide of roughly 4000 lines length.
    Took me like 5 hours alone yesterday to remove formatting bugs in the main post that came from switching between BB-code-mode and Rich-text-mode of the hive editor and I felt like I want to have a status post below it that I can safely edit (i.e. without looking through the whole guide after each edit, maybe I have a trauma from yesterday).

    But I do get your point and you are right from a site rules point of view.
    (Btw, thanks for making sure the rules are met)
    deepstrasz
    deepstrasz
    Hey, maybe you could do a thread in Site Discussion about this. I think a solution would be if Ralle would make posts be code line separated in more posts or something so when you edit, you can choose which part to edit without getting the whole post clutter.
    Hi,

    When you were converting the Blizzard.j and common,j files to Lua and added Emmy Annotation to each, did you have to do it all manually, or was there a macro or find/replace trick that you had used?
    Bribe
    Bribe
    Wow, I just tested it and the output is exactly the same - Emmy Annotation and all - that's absolutely amazing! I had no idea that this was even a thing, but I guess I'm not surprised since there was a lot of excitement surrounding Lua when it launched. I'll be sure to update my manual to offer that as an alternative for people who want to automate it. I had basically explained everything that that compiler would do, outside of the cJass portions.
    Eikonium
    Eikonium
    Nice! From what I understood, the compiler is not capable of converting vJASS constructs to Lua, which makes it unfeasible for many users. That's where your tutorial jumps in, so it should be a big help regardless of the existence of that compiler.
    Maybe Drake53's compiler offers better support vor vJass, I haven't taken a closer look.
    Bribe
    Bribe
    That one actually converts the war3map.j file from JASS to Lua, but it would bug if there is any non-GUI JASS in the script.

    cJass2Lua first transpiles JASS -and- vJass into cJass, then compiles that cJass into Lua. However, there are some vJass features, like "module", that then break and prevent the whole thing from running. Simple spells should convert without too much trouble. cJass didn't take off as much as it could've due to syntax and how it didn't support a number of vJass principles, but it does cover the basics.
    deepstrasz
    deepstrasz
    Then, I'll stay up all night hallucinating monsters from all that sugar and chocolate, and maybe liquor.
    Eikonium
    Eikonium
    That's a good way to have a creative kick-in.
    I think also the Beatles did this in their famous cookie-phase, didn't they?
    Just take a small overdose of chocolate chip delights and compose some number 1 songs.
    Maybe I'll name my band "Greatest Hits" and the first album "The Beatles", what do you think?
    Should be legally fine this way around.
    deepstrasz
    deepstrasz
    Your last album would be Diabetes - Complications.
    Cookie Monster? Is that you Paulioras?
    Eikonium
    Eikonium
    I'm afraid not, but would be happy to meet that fellow cookie friend, haha
    Heinvers
    Heinvers
    Yeah, literally has a similar avatar and has the cookie monster attitude :]
    Eikonium
    Eikonium
    Must be a nice guy. Count me in on his next birthday party!
    Thanks for the bug report man. Infortunately, I don't have reforged. Could you help me debug it? I could probably point out some suspect parts of the code. I could try some modifications and have you test them with the editor. Are you on discord? I'm AGD#3885.
    Eikonium
    Eikonium
    Sure thing, I've sent you an invite (Wachtelbrei#4889). Which time zone are you located in? I'm in UTC+2.
    If you don't need me to be in the voice chat, feel free to text me you test requests ;)
    Hi-five to a fellow MtGer. : )

    You excited about the return to Theros?
    Kyrbi0
    Kyrbi0
    The thing is, in years past my involvement with MtG was pretty 1) singular & 2) from a distance. Like, I'd have the time to play at a Prerelease... And then basically not play again for months. I don't have *any* time to go to a game store & play paper magic, and nearly no one in my life currently plays either. So I'd enjoy looking at the cards, play my little game, and be done.

    Arena has provided me with something I haven't had in *years*; the ability to play MtG freely, basically whenever I want, in a variety of different ways with all sorts of different cards, *For Free*. I haven't spent a dime on it. It's actually kept me playing all through the release of the last set, Throne of Eldraine, and that's pretty amazing.

    Anyway, if you give it a try, send me a Friend Request (they *finally* got that working) @ "Khyrberos". : )
    Eikonium
    Eikonium
    Thanks for the recommendation! I've seen a lot of advertisement for Magic Arena lately, but never felt encouraged to try it out. Work and girlfriend have higher priority currently and I still have a backlog of Steam games that I own and need to play, not to speak of other hobbies such as mapping and a bit of casual Hearthstone. In the case I join Magic Arena in the future, I'd be glad to send you a friend request!

    Feel also free to add me on Blizzard launcher (Gurkensülze#2681) ;) Maybe we meet each other in Reforged once it gets released!
    Kyrbi0
    Kyrbi0
    Sure thing! Good luck in your endeavors. : )
    Reputation (+1):
    (Post) Thanks for the concern but I already solved my problem. Lets focus on your problem
    Yes, suggesting is right. Will you come as well tomorrow?
    btw, because of your WarCraft 3 Account name, are you german?
    Nah, I was just curious. I host your MTG map a lot and it's pretty fun. Was wondering if you're still working on it or if it died off.
    Ooh, thankyou for the message, only just got it, I will test it when I get some time ;)
  • Loading…
  • Loading…
  • Loading…
  • Loading…
  • Loading…
Top