• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

calc.w3x

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
  • Like
Reactions: TriggerHappy
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...
You can click on 'Preview Triggers' if you don't want to download and open the map in WE.
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)
 
No, you can't.
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) =).
 

Attachments

Last edited:
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.
 

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.

  • @MyPad said:
    Looking at the modus operandi in creating the libraries, it does not seem to adhere to the JPAG - JASS Proper Application Guide.

    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


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.


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:
Back
Top