1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Group up and create a Warcraft hero based on a member of the Hive and win up to 100 rep and a rank icon. Enter the team contest now!
    Dismiss Notice
  3. The results for Mini-Mapping Contest #14 is up! Congratulate the winners here!
    Dismiss Notice
  4. The Concept Art Competition #10 has come to an end. Check out the results!
    Dismiss Notice
  5. Paired Modeling/Texturing Contest#3 has finished. Check out the results!
    Dismiss Notice
  6. The Music Contest #9 - Steampunk has begun! Tell the nearest aristocrat, aviator or adventurer.
    Dismiss Notice
  7. The rewards for the 27th texturing contest have been upped and deadline extended. Enter now to win the new cash price.
    Dismiss Notice
  8. The [$100 Prize Pool] Special Melee Mapping Contest - Results are out! Congratulate the winners!
    Dismiss Notice
  9. We need your help nominating resources for or next YouTube video. Post here now.
    Dismiss Notice
Frotty
Joined:
Jan 1, 2009
Messages:
1,097
Location:
No
Occupation:
Programmer

Frotty — Wurst Reviewer

Hivefags pls, from No

    1. General Frank
      General Frank
      Sure, they will never stop, because I will continue asking them.
      Why should people work their butts off if the work is done for nothing and nothing again?
      Believe me, I fulfilled some requests where the project never took off.
      1. Frotty
        Frotty
        ? I ment the OP. Shameless giant requests with little to no specification from unknown members without payoff.
        Dec 11, 2017 at 8:51 PM
      2. General Frank
        General Frank
        Dude, we are thinking the same thing and I agree with you.
        Dec 11, 2017 at 9:07 PM
    2. Chaosy
      Chaosy
      Maybe I should check before writing this.. but nah.

      I was thinking if something like group.action() exists in wurst.

      So basically group.kill() would loop through "this" and kill each unit.
      Feels like a very nice convenience to have if it does not exist already.

      So all functions that exist in Unit could be extended to group.
      1. Frotty
        Frotty
        Seems redundant. A much more useful thing would be to add a .forEach ext-function so it would allow oneliners like:
        someGroup.forEach((unit u) -> u.kill())

        This already exists for enums via ClosuresForGorups. It is generally not recommended to use groups for stuff other than enums anyway.
        Dec 3, 2017
      2. Chaosy
        Chaosy
        Really? I think it is an amazing idea ;P

        I use collection.ForEach() in both c# and javascript, it is very comfortable, but I cannot say that I like the syntax as much.

        group.function() seems way cleaner to me, as long as you only want to do one thing.

        And why would groups not be recommended? I know that Lists exist, but for adding units you have to use a unit group most of the time.

        All units in range of location, for example. Or is that a enum as you called it?
        Dec 3, 2017
      3. Frotty
        Frotty
        The ext functions for units exist for a reason. In groups you would only wrap boilerplate code inside those, which really doesn't seem good.

        Groups lack order and any access other than FoG - as I said, for GroupEnum** functions there are closures provided in ClosureForGroups, which allows things like:

        forUnitsInRange(target, radius, (unit u) -> u.kill())
        and
        forNearestUnit(...)

        Of course, you can still implement those extension functions yourselves, if you so desire them. But I don't think it would be a good fit for the stdlib.
        Cheers
        Dec 3, 2017
    3. MyPad
      MyPad
      Hey Frotty. I tried to run a map from vscode, but I keep getting this error:

      Wurst: Warcraft path not set (change wurst.wc3path in your settings).

      I have already mapped it to the folder of the game. I wonder what must be done.
      1. View previous comments...
      2. Frotty
        Frotty
        By providing information about what exactly doesn't work? Could you be any more vague?
        Dec 4, 2017
      3. MyPad
        MyPad
        Dec 5, 2017
      4. Frotty
        Frotty
        Dec 5, 2017
    4. BlueSaint
      1. View previous comments...
      2. BlueSaint
        BlueSaint
        Yeah. Next Friday I'm home again.
        Nov 28, 2017
      3. Frotty
      4. BlueSaint
        BlueSaint
        Wow, what an incredibly horrific song!
        Nov 28, 2017
    5. deepstrasz
      deepstrasz
      Actually, the option to disable/hide it has been removed since Hive 2.0.
      1. View previous comments...
      2. deepstrasz
        deepstrasz
        I like giving some but not necessarily want or need any.
        Nov 21, 2017
      3. Frotty
        Frotty
        you are a rephoe and everyone knows it!
        Nov 21, 2017
      4. deepstrasz
        deepstrasz
        Everyone? That should mean I am famous which I am not.
        Nov 23, 2017
    6. MyPad
      MyPad
      Good day, Frotty. I hear that Wurst is actively maintained and I project it to be en route to becoming the viable alternative to vJASS, and Zinc. I used it a little bit and I misunderstand the nature of how the Wurst project affects the maps currently being worked upon. I would like to ask how maps are imported to the project.

      Cheers and more power to readability!
      1. Frotty
        Frotty
        Hi and thanks. However I don't really understand - what do you misunderstand?
        Wurst doesn't affect "maps being worked on". Of course you can decide to continue an existing map with wurst (https://wurstscript.github.io/tutorials/legacymaps.html) however Wurst does not support vJass if that's what you thought.

        Cheers
        Nov 18, 2017
      2. MyPad
        MyPad
        Thanks for the quick reply. What I meant was something like this:

        There is a map, someMap.w3x,
        I want to know if including someMap.w3x on the Wurst Folder will make it a part of the project and if not the case, how to do so (make sure that the map will have the compiled wurst code).

        Once again, thanks for Wurst.
        Nov 18, 2017
      3. Frotty
        Frotty
        did you check the link? It is only "imported" if you use it as base for runmap/buildmap commands.
        Also thanks for the kind words!
        Nov 18, 2017
    7. Trokkin
      Trokkin
      Well, since the tutorial/manual seems not to cover every feature in wurstscript (or maybe I'm just blind), I'd like to ask you a question: what is stacktraces option for compiler and how can I debug a legacy map that crashes during loading time?
      (there's no triggers/variables in the map file and no my scripts added? I checked compiled.txt and seen that Wurst adds DummyRecycler, UnitIndexer, and some other non-default packages and nothing else... Yet same project runs with other maps just nice. Btw, I'm running from VSCode)
      1. View previous comments...
      2. Trokkin
        Trokkin
        Well I was testing it for almost an hour and found out that it was a strange symbol in description of one of my spells - '�'. The description was actually shortened by editor, and this was at it's end. And this little thing broke the whole game. Unbelievable.
        Nov 8, 2017
      3. Frotty
        Frotty
        Nov 8, 2017
      4. Frotty
        Frotty
        Hey, I came online 3 minutes after you left the channel ;)
        Nov 9, 2017
    8. Chaosy
      Chaosy
      Played around a bit with wurstscript

      Two concerns, 1. no optional brackets, I really like using it personally. Not a big deal, but would be nice as an option
      2. no force iteration. group.hasNext works but force.hasNext does not, am I missing something
      1. View previous comments...
      2. Frotty
        Frotty
        Feel free to ask questions, I will respond once in a while when I visit hive.
        And yes, if you run from vscode only the map in _build/ will be changed. With Wurstpack the original still gets modified and the import folder was created when we still had the old workflow.
        I will add some explanation about it in the docs.
        Oct 31, 2017
      3. Chaosy
        Chaosy
        So I take the one in the build folder and replace the original?
        I think I tried that and got compile error.
        Oct 31, 2017
      4. Frotty
        Frotty
        Because it has the compiled war3map.j . To clean it you could save the map once in vanilla editor and then vscode runmap should work.
        Alternativly provide a war3map.j inside the wurst root and pass the
        -noExtractMapScript flag to the compiler.
        Nov 1, 2017
    9. pyf
      pyf
      ... for fun or for profit?
      :|
      1. Frotty
        Frotty
        Depends I guess. However I'm not gonna do your work for you for free ;)
        Sep 18, 2017
    10. HappyTauren
      HappyTauren
      I must say Wurst seems to be designed very well and it looks like a hybrid of python and java.
      1. Frotty
        Frotty
        But it doesn't allow "extends array" so hivers will die of aids when using it or something I heard.
        Jul 12, 2017
      2. HappyTauren
        HappyTauren
        So the problem is that it is not exactly like vJass?

        Jesus...

        Anyways, how do I enable object data injecting if I run wurstscript from VSCode -> JVM?
        Jul 12, 2017
    11. Lord Aiden
      Lord Aiden
      Thx for the rep!
    12. WhiteFang
      WhiteFang
      Excuse me,do you have a moment to talk about our lord and savior Kek?
      1. View previous comments...
      2. Frotty
        Frotty
        Why can't you give me another chance
        Jun 8, 2017
      3. BlueSaint
        BlueSaint
        Sure, coming to get kicked for third time
        Jun 8, 2017
      4. Frotty
        Frotty
        well it's always for a reason!
        Jun 8, 2017
    13. BlueSaint
      BlueSaint
      You are despicable human being.
      1. View previous comments...
      2. Frotty
        Frotty
        But then why am I despicable? ;(
        Jun 7, 2017
      3. BlueSaint
        BlueSaint
        was jk dw bby
        Jun 7, 2017
      4. Frotty
        Frotty
        awww c:
        Jun 7, 2017
    14. hekko4
      hekko4
      Will you marry me?
      1. Frotty
        Frotty
        send some pictures
        Jun 2, 2017
      2. hekko4
        hekko4
        U first :з
        Jun 2, 2017
      3. Frotty
        Frotty
        ヽ༼ຈل͜ຈ༽ノ
        Jun 6, 2017
    15. IAEInferno
      IAEInferno
      Hey bby, are you working on a new map?
      1. View previous comments...
      2. Frotty
        Frotty
        No, but I have skype/discord or hivechat works as well.
        Apr 25, 2017
      3. IAEInferno
        IAEInferno
        aight hive chat it is.
        Apr 25, 2017
      4. Cokemonkey11
        Cokemonkey11
        This is obviously Frotty on two accounts
        May 2, 2017
    16. WselfWulf
      WselfWulf
      Come back bby, patch 1.28 needs you
      1. Frotty
        Frotty
        What do you mean?
        Apr 7, 2017
    17. Garfield1337
      Garfield1337
      thanks
      1. Frotty
        Frotty
        I got you bro!
        Jan 29, 2017
    18. deepstrasz
    19. Garfield1337
    20. WselfWulf
      WselfWulf
      Delet this
  • Loading...
  • Loading...
  • About

    Location:
    No
    Occupation:
    Programmer
    Current Project:
    oxRox
    WarCraft 3 Account:
    Frotty
    WarCraft 3 Realm:
    Northrend (Europe)
    Staff Position:
    Wurst Reviewer
    probably

    Interact

    Signature

    [​IMG]
    EBR Discord - Pure Java Mpq Editor - PM for professional help and work
  • Loading...