JAST 1.1.3
Moderator: Cheaters
Forum rules
While crediting should be allowed, please keep down the advertising. If you know who it's from, and they have a website, please link to it as a basic courtesy.
While crediting should be allowed, please keep down the advertising. If you know who it's from, and they have a website, please link to it as a basic courtesy.
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: JAST 1.1.1
If it gives you MergeFailure, it probably means it failed to parse the war3map.j you loaded, or that there were variable/function collisions in the map (anti-cheat; use the deduplicate option). Is it a working war3map.j? If so, please post here and I'll look into it. I have fixed one bug with parsing that is currently unreleased, so it might be that. Next version I'm going to make both run.sh and run.bat for everyone, and I'll add a README.txt as well. I wasn't aware that some people's computers didn't interpret .sh files but I did get that report from other people as well. I need to make error message reporting more user-friendly as well. It's planned.
-
- Shopping Maul USA Creator
- Posts: 1761
- Joined: January 18th, 2007, 11:07 am
- Title: No Comment
- Location: Calgary Canada
- Has thanked: 48 times
- Been thanked: 9 times
Re: JAST 1.1.1
I tried it on a map that someone was requesting, then I tried it on a protected version of my own map, then I tried an unprotected version of my map. I was thinking I could use your tool to fulfill a few requests around here, but I guess I'm just not meant to cheat a map.
My computer looked at me funny when I clicked the .sh file. I had to change it to a bat.
My computer looked at me funny when I clicked the .sh file. I had to change it to a bat.
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: JAST 1.1.1
Can you post the .j file? I'll take a look. Could be that it's not running correctly on your computer for some reason as well.
-
- Shopping Maul USA Creator
- Posts: 1761
- Joined: January 18th, 2007, 11:07 am
- Title: No Comment
- Location: Calgary Canada
- Has thanked: 48 times
- Been thanked: 9 times
Re: JAST 1.1.1
Try this one, It was a map from here.
You do not have the required permissions to view the files attached to this post.
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: JAST 1.1.1
I tried it in the public build (1.1.1) and my development build (1.1.2) and it worked with both JJCP and NZCP, with and without the duplicate option in both versions. When you use the above .j, it fails for you? That's really concerning...
Are you possibly getting an error saying your computer ran out of memory for running it? It's a bit of a memory hog right now tbh. I'm improving that very soon.
Are you possibly getting an error saying your computer ran out of memory for running it? It's a bit of a memory hog right now tbh. I'm improving that very soon.
-
- Shopping Maul USA Creator
- Posts: 1761
- Joined: January 18th, 2007, 11:07 am
- Title: No Comment
- Location: Calgary Canada
- Has thanked: 48 times
- Been thanked: 9 times
Re: JAST 1.1.1
I didnt see any errors, I have a relatively good computer I think, but could be wrong.
https://www.passmark.com/baselines/V9/d ... 7529309219
EDIT: Ok so I tried just the above *.j File and it loaded, and the dos box shows "loading external cheatpack: NZCP". What I tried before was load the map, but it successfully extracted a few files, .j, .w3a, w3t, etc. but it gave me the error.
https://www.passmark.com/baselines/V9/d ... 7529309219
EDIT: Ok so I tried just the above *.j File and it loaded, and the dos box shows "loading external cheatpack: NZCP". What I tried before was load the map, but it successfully extracted a few files, .j, .w3a, w3t, etc. but it gave me the error.
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: JAST 1.1.1
I was opening the map.Just to make sure - you are opening the .j file, right? Not just opening the map?
Opening the .j and inserting the cheatpack worked. Maybe in the next version when you click>open and in the toolbox it says "Any Files(*.*)" you should only allow it to open the .j or whatever file it accepts. this may help other noobs like myself.
Also, every time I open up Jast it likes to hide under my taskbar and I have to move my taskbar to adjust the Jast window.
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: JAST 1.1.2
Hmm, looks like my last post disappeared and I somehow took control of Vegas's post. Yeah it's not your fault, the tool should be more user friendly. I will improve it going forward. It should automatically open the .j file when you open an mpq.
Anyways here was my post:
Curious. It works for me... I wonder if it's the @ signs in the file path. I can't see why it would affect anything but it's the only idea I have for why it wouldn't work for you. Either way I can't really debug it since the code has changed so significantly since 1.1.1. I'm going to release a version right now. Can you try this one? If it doesn't work, I should be able to find out why right away.
Just to make sure - you are opening the .j file, right? Not just opening the map? (Opening just extracts the files; the tool can't import them, which kind of sucks right now. I do plan on adding better support to re-import war3map.j eventually but writing an mpq editor is hard and the existing Java ones can't do it)
In this ver, you can find cheatpacks by going to Modify -> Merge Scripts -> select cheatpack from dropdown box.
Here's the changelog:
Performance:
- Code operations have had their memory usage decreased by ~2x for most operations
- Code operations have had their performance improved by up to 2x for most operations
- There will be more improvements in the future
Internal improvements:
- Code has been significantly refactored in order to enable more scalable feature creation
- Syntax tree has been split into a separate project, which is made available through Maven Central
- String hash calculator has been split into a separate project, which is made available through Maven Central
- This enables me (and other developers) to use these resources in other projects besides JAST. I have plans for things like this in the future.
User improvements:
- "De-format" button renamed to "Minify" button
- "Syntax check code" button renamed to "Compile code"
- The Rename Function/Variable options have been condensed into one button, which opens a user-friendly window to handle replacements.
- Deduplicate is now referred to as "Scramble names" and is selected
- Code-merge related commands are now available through one button, which ones a user-friendly window. I plan to add more code merge stuff, like templates, in the future.
- These changes should make operations more user friendly in general
Features:
- A new "Analysis" button has been added to the menu. This has some more complex commands with possibly fewer use cases.
- The first command is called "Isolate".
- Isolate allows you to find usages of a variable or function.
- You can specify a depth to isolate to. A depth of 1 means that only immediate usages of the variable/function would be selected. A depth of 2 would mean that all immediate uses plus all usages of those immediate usages would be selected
- A depth of -1 means infinite depth.
- The expansion style for functions can be one-sided/passive (select only usages of that function), two sided/aggressive (select usages of that function + functions that use this function) or one sided/inverted (aggressive expansion - passive expansion)
- The second command is called "Scope report"
- This will categorize each global variable in the map as either unused, single-use, or globally used
- The time taken to generate this report will increase with number of variables and size of code
Plans for next release
- Improve memory usage of syntax tree so that it doesn't run out of heap space (right now it's quite inefficient)
- Fix how the tool destroys comments when parsing the code. Especially important because it affects VJass text macros.
- Add tools to find potential memory leaks and find code repetition that could be simplified
- Improve error reporting upon crashes
- When application becomes more stable, I will add an easier way to update than downloading and replacing package
Anyways here was my post:
Curious. It works for me... I wonder if it's the @ signs in the file path. I can't see why it would affect anything but it's the only idea I have for why it wouldn't work for you. Either way I can't really debug it since the code has changed so significantly since 1.1.1. I'm going to release a version right now. Can you try this one? If it doesn't work, I should be able to find out why right away.
Just to make sure - you are opening the .j file, right? Not just opening the map? (Opening just extracts the files; the tool can't import them, which kind of sucks right now. I do plan on adding better support to re-import war3map.j eventually but writing an mpq editor is hard and the existing Java ones can't do it)
In this ver, you can find cheatpacks by going to Modify -> Merge Scripts -> select cheatpack from dropdown box.
Here's the changelog:
Performance:
- Code operations have had their memory usage decreased by ~2x for most operations
- Code operations have had their performance improved by up to 2x for most operations
- There will be more improvements in the future
Internal improvements:
- Code has been significantly refactored in order to enable more scalable feature creation
- Syntax tree has been split into a separate project, which is made available through Maven Central
- String hash calculator has been split into a separate project, which is made available through Maven Central
- This enables me (and other developers) to use these resources in other projects besides JAST. I have plans for things like this in the future.
User improvements:
- "De-format" button renamed to "Minify" button
- "Syntax check code" button renamed to "Compile code"
- The Rename Function/Variable options have been condensed into one button, which opens a user-friendly window to handle replacements.
- Deduplicate is now referred to as "Scramble names" and is selected
- Code-merge related commands are now available through one button, which ones a user-friendly window. I plan to add more code merge stuff, like templates, in the future.
- These changes should make operations more user friendly in general
Features:
- A new "Analysis" button has been added to the menu. This has some more complex commands with possibly fewer use cases.
- The first command is called "Isolate".
- Isolate allows you to find usages of a variable or function.
- You can specify a depth to isolate to. A depth of 1 means that only immediate usages of the variable/function would be selected. A depth of 2 would mean that all immediate uses plus all usages of those immediate usages would be selected
- A depth of -1 means infinite depth.
- The expansion style for functions can be one-sided/passive (select only usages of that function), two sided/aggressive (select usages of that function + functions that use this function) or one sided/inverted (aggressive expansion - passive expansion)
- The second command is called "Scope report"
- This will categorize each global variable in the map as either unused, single-use, or globally used
- The time taken to generate this report will increase with number of variables and size of code
Plans for next release
- Improve memory usage of syntax tree so that it doesn't run out of heap space (right now it's quite inefficient)
- Fix how the tool destroys comments when parsing the code. Especially important because it affects VJass text macros.
- Add tools to find potential memory leaks and find code repetition that could be simplified
- Improve error reporting upon crashes
- When application becomes more stable, I will add an easier way to update than downloading and replacing package
-
- Also Not an Admin, but closer than devoltz
- Posts: 1655
- Joined: February 14th, 2018, 5:35 am
- Title: Just Another S.Mod
- Been thanked: 6 times
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: JAST 1.1.3
Thanks
Update 1.1.3
Features:
- Now supports full MPQ extract and import features for critical map files
- A solution explorer has been added to left-hand side of page
- This will track your currently opened maps
- Save As MPQ option added to re-save your map (importing changes in .j)
- Project explorer will remember old opened projects, unless they are closed
- Doesn't support saving as mpq unless you've opened the map in the same session as saving
- This might not work on x32 based systems
Now it supports the idea that Vegas had in mind
Update 1.1.3
Features:
- Now supports full MPQ extract and import features for critical map files
- A solution explorer has been added to left-hand side of page
- This will track your currently opened maps
- Save As MPQ option added to re-save your map (importing changes in .j)
- Project explorer will remember old opened projects, unless they are closed
- Doesn't support saving as mpq unless you've opened the map in the same session as saving
- This might not work on x32 based systems
Now it supports the idea that Vegas had in mind