Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Current vJass coding meta?

Discussion in 'Warcraft Editing Tools' started by Zwiebelchen, Feb 25, 2020.

  1. Zwiebelchen

    Zwiebelchen

    Joined:
    Sep 17, 2009
    Messages:
    7,014
    Resources:
    12
    Models:
    5
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    JASS:
    4
    Resources:
    12
    Hey folks, whats the current meta for coding in vJass in Reforged?
    I'm still using the regular editor, but looking at unformatted, unhighlighted code without a function browser is giving me headaches.

    Is there a good solution to blizzards insistance on not giving us a syntax highlighter?
    I would even work with a lightweight offline code Editor at this point and copy and paste everything over.

    Can someone give me a recommendation? I heard HiveWE doesnt work with Reforged.
     
  2. Drake53

    Drake53

    Joined:
    Jan 1, 2018
    Messages:
    447
    Resources:
    0
    Resources:
    0
    For syntax highlighting you can use notepad++ or visual studio code.
    You might want to consider switching to lua though, or one of the languages that transpiles to it: C#, typescript, and since recently also python.

    HiveWE is currently being updated for reforged, if you know how to build it you can check the reforged branch, though I don't know how much functionality is still missing to make it work properly with reforged.
     
  3. Strikest

    Strikest

    Joined:
    Aug 27, 2012
    Messages:
    338
    Resources:
    1
    Maps:
    1
    Resources:
    1
    I just use jasscraft, problem is it doesn't have the new natives but the most important thing to me is a natives list.
     
  4. Chaosy

    Chaosy

    Tutorial Reviewer

    Joined:
    Jun 9, 2011
    Messages:
    11,063
    Resources:
    18
    Icons:
    1
    Maps:
    1
    Spells:
    10
    Tutorials:
    6
    Resources:
    18
    Visual Studio Code is awesome but it is annoying to copy the code out of the wc3 editor all the time.
     
  5. Zwiebelchen

    Zwiebelchen

    Joined:
    Sep 17, 2009
    Messages:
    7,014
    Resources:
    12
    Models:
    5
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    JASS:
    4
    Resources:
    12
    Sounds like the easiest solution to me. Thanks for the recommendation. Ill check it out.
    i dont like mixing languages. Even if I have some experience with Lua Id rather stick to vJass because thats what most resources use.

    Using non-warcraft tools seems very bothersome to me as these usually dont know the language quirks and cant edit the war3map.j directly.

    Whats the newest Version of jasscraft? I cant find it anywhere here.
     
    Last edited: Feb 26, 2020
  6. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,793
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    I would have to agree with @Drake53. You're not going to find any tooling with the level of support Lua, TypeScript, or C# has for vJass. Not to mention those languages are much more powerful and flexible than vJass and in the long run will save you from the many headaches that come along with JASS, even if you have to rewrite libraries in them.

    In case you want to try one, I can suggest TypeScript: cipherxof/wc3-ts-template

    Otherwise you will have to use an older editor or copy and paste your vJass code from a text editor into the trigger editor. You can also edit the war3map.j directly or with a build script using the maps as a folder feature.
     
  7. Chaosy

    Chaosy

    Tutorial Reviewer

    Joined:
    Jun 9, 2011
    Messages:
    11,063
    Resources:
    18
    Icons:
    1
    Maps:
    1
    Spells:
    10
    Tutorials:
    6
    Resources:
    18
    It's kind a pick your poison thing. There is no good solution compared to just having it built in the default editor.
     
  8. LittleFuryBugs

    LittleFuryBugs

    Joined:
    Jul 31, 2014
    Messages:
    5
    Resources:
    0
    Resources:
    0
    Where can you download Jasscraft? When I google it, I'm finding a gamebanana.com link that was updated in 2010, a sourceforge link that was updated in 2013 (i can't find any file to download here), and a github link that has 1 commit in 2017...
     
  9. GhostHunter123

    GhostHunter123

    Joined:
    Oct 17, 2012
    Messages:
    479
    Resources:
    1
    Spells:
    1
    Resources:
    1
    You are outta of luck unless some kind fellow uploads the program here. It was originally hosted at wc3c.net, which is now dead. Now, there are some plans in the making to merge the website with this one, but nothing has been finalized yet. In the meantime, the HiveWE is a good alternative for JASScraft. JNGP Lua Edition is another option.
     
  10. Zwiebelchen

    Zwiebelchen

    Joined:
    Sep 17, 2009
    Messages:
    7,014
    Resources:
    12
    Models:
    5
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    JASS:
    4
    Resources:
    12
    I really hope HiveWE will be updated soon because it doesnt work with Reforged yet.
     
  11. emperor_d3st

    emperor_d3st

    Joined:
    Apr 13, 2008
    Messages:
    1,427
    Resources:
    0
    Resources:
    0
    Sigh.
    The main disappointment of Reforged for me was definitely the crappy world editor.
    I wanted it to resemble the awesome 1.26 JNGP style with syntax highlight, native list, backuping, great plugins, text generator and colorizer, expanded functionality, 1 machine multiplayer simulation for testing, and such.

    1.26 JNGP wasn't perfect, but it was NASA tech compared to the shitty, featureless 1.31 editor.

    So. Damn. Pissed.
     
  12. nvhazard

    nvhazard

    Joined:
    Mar 8, 2020
    Messages:
    8
    Resources:
    0
    Resources:
    0
    I'm new to this and I also want a good development enviroment. Current standart jass editor is absolutely disgusting, the font is worse than in default windows notepad.

    So what are the options for today? I see those:

    1. Intall 1.26 JNGP
    2. jasscraft
    3. wait for HiveWE
    4. typescript
    5. wurst script
    I did not use any of them so what are the best? I really like the wurst enviroment but I'm not sure it's worth to learn another language.
     
  13. iown_azz

    iown_azz

    Joined:
    Jun 16, 2008
    Messages:
    334
    Resources:
    0
    Resources:
    0
    LUA is a language worth switching to if you know jass already... you cannot use jass any where else but with LUA you can make ROBLOX games man!

    However, if you want don't to wait, go with anything...

    I use VS Code with the warcraft library or you can even check out a VS Tool that can compile and run a test but I didn't figure how to work it.
    warcraft-vscode - Visual Studio Marketplace
     
  14. Blarto

    Blarto

    Joined:
    Jan 17, 2010
    Messages:
    150
    Resources:
    1
    Spells:
    1
    Resources:
    1
    for vjass you can use WEditor with an //! import statement to an outside script of your map

    I use jasshelper.exe outside of WE to compile my code to check syntax, and use Weditor to actually save/build map

    //! import will look the jass file(s) you point to outside (to the file system) and save the map with the scripts you point to.

    You can even use Eclipse/Vscode with to edit these files now.
     
  15. Antkibo

    Antkibo

    Joined:
    Mar 30, 2020
    Messages:
    1
    Resources:
    0
    Resources:
    0
    Wurst is an incredible, elegant, and well-designed language which beats many mainstream ones in expressiveness - this coming from a Linux aficionado with experience in C, C++, Go, Lisp, Perl, Bash, etc.

    Give it a try :thumbs_up:
     
  16. looking_for_help

    looking_for_help

    Joined:
    Dec 12, 2012
    Messages:
    974
    Resources:
    5
    Spells:
    2
    JASS:
    3
    Resources:
    5
    It seems the new WE is 64 bit, not 32 bit anymore like it used to be. I guess thats one of the main reason why many tools don't work anymore (at least it is for tesh).
     
  17. Zwiebelchen

    Zwiebelchen

    Joined:
    Sep 17, 2009
    Messages:
    7,014
    Resources:
    12
    Models:
    5
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    JASS:
    4
    Resources:
    12
    Can't you invent some kind of hack to inject TESH into the new editor?
    Then again, it is probably easier to simply use HiveWE and wait for 0.7 at this point.
     
  18. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,793
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    It's possible but chances are Blizzard would patch it out eventually. The game executable is now obfuscated and has some anti tamper protections. Not impossible to bypass but clearly they don't want anyone hacking their executables. Though, I haven't actually checked if the Editor has these protections but I assume it does.
     
  19. Zwiebelchen

    Zwiebelchen

    Joined:
    Sep 17, 2009
    Messages:
    7,014
    Resources:
    12
    Models:
    5
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    JASS:
    4
    Resources:
    12
    That's assuming Blizzard actually cares about WC3 anymore at this point...
     
  20. iown_azz

    iown_azz

    Joined:
    Jun 16, 2008
    Messages:
    334
    Resources:
    0
    Resources:
    0
    my heart just broke, but that is reality :goblin_cry: i hope its not true tho...