vJASS & Zinc Documentation
For the latest documentation about how it works vJASS and Zinc language layers for Warcraft III, please follow these links:
Jasshelper documentation - Zinc documentation - WC3 Optimizer documentation

Jass NewGen Pack Update

Purgeandfire · 13933

0 Members and 1 Guest are viewing this topic.

Jass NewGen Pack Update
on: July 26, 2012, 08:53:06 PM

Well, I know it is a little late, but I think Jass NewGen Pack could use an update. Er, not so much an update but more of a bug fix.

There are a few important things I have in mind, that serve as my reasoning for such a venture:

(1) JassHelper 0.A.2.B is not included in the wc3c.net download.
(2) TESH does not highlight hashtable natives or delimited comments.
(3) RtC still bugs out for everyone.
(4) People always ask where to download JNGP.
(5) Due to some ninja-stealth updates to JNGP from 2010-2011, Anachron's tutorial might not make much sense. (particularly, no RtC button in the toolbar)
(6) No GetHandleId() in GUI. They let you select the "Key" option but they don't have preset values for it, which makes a lot of GUI users not use it.
(7) Some other minor problems.

What do I propose we do? Making an update clearly won't be enough, since people will still download the wc3c.net version. It needs to become the "regular" download spot. The only "updated" version is hosted by moyack ( :) ) but not enough people know to go there. That's why I would post it on the hive (and wc3jass <3) and get it stickied. People will be willing to dl it if it fixes what was addressed above. Of course, I would give proper credits and I would not take credit or anything weird like that.

To address (1) I would just update the jasshelper, simple as that.

To address (2) I would probably just implement Horus. However, I've never used it myself so does anyone have any words to say about it? The other option is to compile TESH but I never coded in pascal/delphi and it is only version 0.4 so it is missing a few keywords. It would take a bit more time but I'm sure it could be updated.

To address (3), I would just make sure that RtC is disabled and that the lua files don't throw errors trying to access it.

To address (4), putting it on the hive would make things a bit easier. A lot of people don't even know about JNGP since it isn't posted on the hive, so it could help a lot of users.

To address (5) I would write a new tutorial on implementation. People post 24/7 in Anachron's thread complaining about RtC not being in the toolbar and other stuff like that--it is a bit outdated.

To address (6), we.lua accesses worldedit121.exe which has hashtable natives but doesn't have the preset values for "Key (handle)". (for whatever reason) By changing some things it can access worldedit.exe and work just fine. afaik. It worked for me anyway, but I didn't fully test it.

As for (7), it would be smaller things like updating JNGP to use the latest version of grimex so that the ObjectMerger/lua works properly on channel abilities. I would probably also move "NewGen Warcraft 3" into the japi folder so that people don't get confused as easily. Some people have also noted some problems with pjass, and I wanna know if that would be something to update in the update. Aside from that, it would mostly be just figuring out if there is anything new to include to the pack.

In terms of discussion, I'd like to hear a bit of feedback on whether this is a good idea. I know it is a bit late, but better late than never. Also, I might need some ideas if there is anything else to change. There are probably a few other bugs, I just can't remember them all or whether they can easily be fixed. Let me know what you guys think or what I could add.

Thanks.  :)



Re: Jass NewGen Pack Update
Reply #1 on: July 27, 2012, 09:05:02 AM

Hi Purge :)

I'll post a complete answer as soon as I get time (I'm at work). I like your idea, but first I want to check the current pack to contrast the actual features with the issues mentioned.

Just to mention, I don't use vex version of jasshelper, I use cohadar version which is faster and features new syntax.


Re: Jass NewGen Pack Update
Reply #2 on: July 27, 2012, 05:59:42 PM

Thanks.  ;)

As for cohadar's jasshelper, some jassers just don't like it. And due to the change with initializers, some maps might not be parsed correctly with it. (sadly) I might include cohadar's jasshelper, and maybe allow for something to easily switch between them. I don't know yet.

I like it because the speed difference is noticeably better, but some people have different opinions on it.  :(

EDIT: Just to clarify, it isn't intended to be an "epic" update or anything like that. It is really minor, but it is meant to have users experience fewer problems with it.
« Last Edit: July 28, 2012, 07:37:50 PM by Purgeandfire »



Re: Jass NewGen Pack Update
Reply #3 on: July 29, 2012, 01:29:04 PM

Ok, after testing the installers of JNGP I'll give my full answer :)

  • Definitely, I have latest version of jasshelper in both Vexorian and Cohadar packages
  • The unnoficial version of TESH does handle hashtable natives and multiline comments. See screenshots.

  • RtC is a pain in the ass and still it exits in the menu.I've done some modifications to the wehack.lua file and now I've removed it in my pc. I'll pass this update to the package this night hopefully.
  • Link HERE
  • That's fair enough :)
  • About enabling GetHandleId() in GUI, well, it works but with global variables only, making it very limited to normal user. Personally that will be a reason to promote thr jass conversion showing the advantage of jass over GUI.  ;D

About pjass.... well, I've checked if it was the latest version and no, so I've updated my installation to version 1.0m (unnoficial). It works fine. This update will come with the update that I plan to do this night.

Thanks.  ;)

As for cohadar's jasshelper, some jassers just don't like it. And due to the change with initializers, some maps might not be parsed correctly with it. (sadly) I might include cohadar's jasshelper, and maybe allow for something to easily switch between them. I don't know yet.

I like it because the speed difference is noticeably better, but some people have different opinions on it.  :(

EDIT: Just to clarify, it isn't intended to be an "epic" update or anything like that. It is really minor, but it is meant to have users experience fewer problems with it.
I was thinking about that, probably with a modification in the wehacklua which allow to select what jasshelper version to use would be the best solution. I'll do my testings :)




Re: Jass NewGen Pack Update
Reply #4 on: July 29, 2012, 03:28:05 PM

Great!

2. Really? Hmm I guess ninja updates were made that I didn't download. Seems to have everything we need. :)

EDIT: Nvm, apparently that update isn't part of the wc3c dl. Can you link the post where you got the updated TESH from?

EDIT2: Er I need to test the method a bit more... Apparently I didn't look closely enough, it just starts up the regular WE. I'll see if I can find another method.
« Last Edit: July 31, 2012, 05:34:18 PM by Purgeandfire »



 

Chaos Realm - The world of Game modders and wc3 addicts     WC3JASS.com - The JASS Vault   Jetcraft - A Starcraft II mod