1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. The 15th Mini-Mapping Contest came to an end. The Secrets of Warcraft 3 are soon to be revealed! Come and vote in the public poll for your favorite maps.
    Dismiss Notice
  4. The 12th incarnation of the Music Contest is LIVE! The theme is Synthwave. Knight Rider needs a song to listen to on his journey. You should definitely have some fun with this theme!
    Dismiss Notice
  5. Join other hivers in a friendly concept-art contest. The contestants have to create a genie coming out of its container. We wish you the best of luck!
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

calc.w3x

Submitted by Aniki
This bundle is marked as substandard. It may contain bugs, not perform optimally or otherwise be in violation of the submission rules.
calc.w3x

With patch 1.29 Blizzard has added new mouse natives which make it relatively easy (compared to trackables in prior patches) to do GUIs. And of course the "hello world" of GUIs is the trusty calculator. This one has an atan2 function... oh yeah!
Contents

calc.w3x (Map)

Reviews
MyPad
Systems and Libraries: Notes: The test map shipped with the libraries does not have libassert, an unknown, though required, library. This causes the failure of compilation of the map in succeeding attempts. Numerous libraries do not follow the...
  1. BlueSaint

    BlueSaint

    Joined:
    Jun 18, 2012
    Messages:
    2,753
    Resources:
    3
    Tools:
    1
    Spells:
    2
    Resources:
    3
    Can you post triggers?
     
  2. Aniki

    Aniki

    Joined:
    Nov 7, 2014
    Messages:
    517
    Resources:
    4
    Spells:
    1
    JASS:
    3
    Resources:
    4
    You can click on 'Preview Triggers' if you don't want to download and open the map in WE.
     
  3. BlueSaint

    BlueSaint

    Joined:
    Jun 18, 2012
    Messages:
    2,753
    Resources:
    3
    Tools:
    1
    Spells:
    2
    Resources:
    3
  4. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    10,573
    Resources:
    17
    Maps:
    1
    Spells:
    10
    Tutorials:
    6
    Resources:
    17
    Seems like you need your computer x)
     
  5. nedio95

    nedio95

    Joined:
    Mar 24, 2011
    Messages:
    1,055
    Resources:
    1
    Spells:
    1
    Resources:
    1
    No, you can't.

    That one is bugged. (at least for me) I can't scroll through the triggers with the previewer.
    If you look at the screenshot that bluesaint has posted. That is it. That is your whole trigger in the trigger previewer.
    Note: It is different for me as I am on a desktop, but still I cannot see the whole code, only whatever is in the top-left (size depending on resolution I guess)
     
  6. Aniki

    Aniki

    Joined:
    Nov 7, 2014
    Messages:
    517
    Resources:
    4
    Spells:
    1
    JASS:
    3
    Resources:
    4
    Okay. These are the files that should be in the TE of the map.

    PS: jass.j is LeP's Jass parser (I didn't want to write an expression parser) =).
     

    Attached Files:

    • libH.j
      File size:
      66.2 KB
      Views:
      30
    • libmutstr.j
      File size:
      12.8 KB
      Views:
      43
    • jass.j
      File size:
      44 KB
      Views:
      36
    • calc.j
      File size:
      26 KB
      Views:
      45
    Last edited: Apr 26, 2018
  7. Wrda

    Wrda

    Joined:
    Nov 18, 2012
    Messages:
    961
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    May I ask why do people need a wc3 calculator? Because last time I checked they can just:
    1. use the calculator of your computer.
    2. google a calculator.
    3. use your calculator at home.
    This doesn't look like a system at all, and doesn't seem to fit in this section.
    Honestly doesn't seem full at all.
     
  8. MyPad

    MyPad

    Spell Reviewer

    Joined:
    May 9, 2014
    Messages:
    1,255
    Resources:
    6
    Models:
    1
    Icons:
    1
    Spells:
    3
    JASS:
    1
    Resources:
    6

    Systems and Libraries:



    Notes:


    • The test map shipped with the libraries does not have
      libassert
      , an unknown, though required, library. This causes the failure of compilation of the map in succeeding attempts.

    • Numerous libraries do not follow the FunctionName format, as well as most functions found within those libraries.

    • This does not seem to belong in the Spells Section, since there is almost no reasonably importable system found within the test map. This belongs either to the Lab or the Maps Section.

    • The map works, but only when it isn't altered in any way.

    Status:


    • Substandard



    Previous Message

    Odd... this doesn't seem to compile, even with WEX. From my copy of WEX, there is a missing library in the map, which caused it not to compile correctly.

    Looking at the modus operandi in creating the libraries, it does not seem to adhere to the JPAG - JASS Proper Application Guide.
    Previous Message


    The resource has this complication of not being importable due to the issue above, as when you save the map again, you lose the saved instructions in the map.

    Yet, when testing this as-is, there are a few things left to be desired, such as a logarithm function, as this works quite handily. (Note that I'm referring to the fresh copy of the downloaded map, and not the map when you save it)
     
    Last edited: Feb 10, 2019