1. Are you planning to upload your awesome spell or system to Hive? Please review the rules here.
    Dismiss Notice
  2. The poll for our 11th Music Contest is up! Help us choose the most awesome cinematic tracks by casting a vote!
    Dismiss Notice
  3. Melee Mapping contest #3 - Poll is up! Vote for the best 4v4 melee maps!
    Dismiss Notice
  4. The 30th edition of the Modeling Contest is finally up! The Portable Buildings need your attention, so come along and have a blast!
    Dismiss Notice
  5. The Aftermath has been revealed for the 19th Terraining Contest! Be sure to check out the Results and see what came out of it.
    Dismiss Notice

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,717
    Resources:
    3
    Tools:
    1
    Spells:
    2
    Resources:
    3
    Can you post triggers?
     
  2. Aniki

    Aniki

    Joined:
    Nov 7, 2014
    Messages:
    498
    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,717
    Resources:
    3
    Tools:
    1
    Spells:
    2
    Resources:
    3
  4. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    10,430
    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:
    498
    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:
      22
    • libmutstr.j
      File size:
      12.8 KB
      Views:
      31
    • jass.j
      File size:
      44 KB
      Views:
      27
    • calc.j
      File size:
      26 KB
      Views:
      36
    Last edited: Apr 26, 2018
  7. Wrda

    Wrda

    Joined:
    Nov 18, 2012
    Messages:
    708
    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,137
    Resources:
    3
    Models:
    1
    Icons:
    1
    JASS:
    1
    Resources:
    3

    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