1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. Find your way through the deepest dungeon in the 18th Mini Mapping Contest Poll.
    Dismiss Notice
  3. A brave new world lies beyond the seven seas. Join the 34th Modeling Contest today!
    Dismiss Notice
  4. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
Hive 3 Remoosed BETA - NOW LIVE. Go check it out at BETA Hive Workshop! Post your feedback in this new forum BETA Feedback.
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. Can you post triggers?
     
  2. Aniki

    Aniki

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

    Chaosy

    Tutorial Reviewer

    Joined:
    Jun 9, 2011
    Messages:
    11,102
    Resources:
    18
    Icons:
    1
    Maps:
    1
    Spells:
    10
    Tutorials:
    6
    Resources:
    18
    Seems like you need your computer x)
     
  4. nedio95

    nedio95

    Joined:
    Mar 24, 2011
    Messages:
    1,060
    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)
     
  5. Aniki

    Aniki

    Joined:
    Nov 7, 2014
    Messages:
    565
    Resources:
    6
    Tools:
    1
    Maps:
    1
    Spells:
    1
    JASS:
    3
    Resources:
    6
    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:
      52
    • libmutstr.j
      File size:
      12.8 KB
      Views:
      69
    • jass.j
      File size:
      44 KB
      Views:
      60
    • calc.j
      File size:
      26 KB
      Views:
      66
    Last edited: Apr 26, 2018
  6. Wrda

    Wrda

    Joined:
    Nov 18, 2012
    Messages:
    1,318
    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.
     
  7. MyPad

    MyPad

    Spell Reviewer

    Joined:
    May 9, 2014
    Messages:
    1,563
    Resources:
    9
    Models:
    1
    Icons:
    2
    Maps:
    2
    Spells:
    3
    JASS:
    1
    Resources:
    9

    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