wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Resources > - Submit a resource -
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 12-18-2011, 03:32 AM   #16
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

Quote:
Originally Posted by Ignitedstar
I'm afraid of updating to this JassHelper simply because I don't want to see my map malfunction... but as you say, it should be completely backwards compatible.
Don't trust me, trust the tests, I do automatic BINARY comparison of .j files generated by me and old jasshelper.
source\consolejasser\output\CompileAllTests.bat
source\consolejasser\output\RunAllTests.bat

Quote:
Originally Posted by Ignitedstar
If this version of JassHelper goes crazy on me, it should be easy to copy the old JassHelper and use that if I want to, right? So long as the file executables are the same, I think?
Yes.

Btw you do realize the for loop is not yet implemented?
(I don't want to rush with code changes, better safe than sorry.)

Quote:
Originally Posted by Here-b-Trollz
and what appears to be a longer compile time
It is a psychological effect because you now actually see text instead of just flashing progress bar.
Compile time is exactly the same.
As far as the colors go I like green on black, but I guess I could experiment a bit more with that.
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 12-18-2011, 04:17 AM   #17
Here-b-Trollz
Corkscrew Chainsaw!!!
 
Join Date: Jun 2006
Posts: 711

Here-b-Trollz has a spectacular aura about (149)

Hero Contest #2 - 2nd Place

Default

A nice blue on grey or something similar is preferable.
__________________
By reading this signature, you agree that I cannot be held accountable for anything that I might say or do.
Here-b-Trollz is offline   Reply With Quote
Old 12-19-2011, 05:22 AM   #18
Nuclear Arbitor
Reputation Leech
 
Nuclear Arbitor's Avatar
 
Join Date: May 2007
Posts: 1,235

Submissions (1)

Nuclear Arbitor has a spectacular aura about (83)Nuclear Arbitor has a spectacular aura about (83)Nuclear Arbitor has a spectacular aura about (83)

Default

lol, something that doesn't destroy the eyes over the course of four hours
Nuclear Arbitor is offline   Reply With Quote
Old 12-19-2011, 06:35 PM   #19
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

Added the for and while loops.
Now I need to get moyack to update tesh with new keywords.

We(as in wc3c community) should probably release NewGen pack v6
It is long overdue.
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote
Old 12-19-2011, 07:11 PM   #20
BBQ
User
 
Join Date: May 2011
Posts: 85

Submissions (2)

BBQ will become famous soon enough (30)BBQ will become famous soon enough (30)

Default

Quote:
Originally Posted by cohadar
Now I need to get moyack to update tesh with new keywords.
I don't think that moyack has anything to do with TESH.

But regardless, TESH blows (bad folding, very slow) -- use a decent text editor with a custom-built vJass editing mode instead. By decent, I mean something like jEdit or GNU Emacs (note: Notepad++ does not fall under the "decent" category).

EDIT: Congratulations on the first "official" update, by the way. It looks nice.

Last edited by BBQ : 12-19-2011 at 07:14 PM.
BBQ is offline   Reply With Quote
Old 12-19-2011, 07:31 PM   #21
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

moyack has done some unofficial TESH updates to synchronize it with latest jasshelpers, now I need him to do it again.

If TESH is slow for you, you can always turn off folding.
jEdit sucks, emacs is fine, but I do use notepad++

A bit of trivia:
I started editing jasshelper on 2011-12-10,
I finished cleaning Vexorians crazy hacker wtf code on 2011-12-18,
This morning I made those loops in less than 2 hours.
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote
Old 12-19-2011, 07:33 PM   #22
PurgeandFire111
User
 
PurgeandFire111's Avatar
 
Join Date: Dec 2006
Posts: 253

PurgeandFire111 will become famous soon enough (58)PurgeandFire111 will become famous soon enough (58)

Default

It was SFilip. (or you can probably ask Adolf since I think he made some changes to it for horus [cjass] so he probably knows how it works)

Anyway, the syntax looks promising so far.

Quote:
Collapse JASS:
for enumUnit in someGroup
    call KillUnit(enumUnit)
endfor
// WARNING: groups are empty after for loop

So... this uses a first of group loop, correct? Sorry, I would check but I don't have wc3 installed on my mac.
PurgeandFire111 is offline   Reply With Quote
Old 12-19-2011, 07:44 PM   #23
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

Collapse JASS:
    //====== for enumUnit in g  ======//
    set enumUnit = null
    loop
        call GroupRemoveUnit(g, enumUnit)
        set enumUnit = FirstOfGroup(g)
        exitwhen enumUnit == null
        call KillUnit(enumUnit)
    endloop // endfor

Notice how much simpler is the for loop syntax.
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.

Last edited by cohadar : 12-19-2011 at 07:46 PM.
cohadar is offline   Reply With Quote
Old 12-19-2011, 08:13 PM   #24
Troll-Brain
User
 
Join Date: Oct 2006
Posts: 1,490

Submissions (1)

Troll-Brain has a spectacular aura about (134)

Default

Nice and all, but actually it should be :

Collapse JASS:
    //====== for enumUnit in g  ======//
    set enumUnit = null
    loop
        set enumUnit = FirstOfGroup(g)
        exitwhen enumUnit == null
        call GroupRemoveUnit(g, enumUnit)
        call KillUnit(enumUnit)
    endloop // endfor
__________________
Cool != Useful
Troll-Brain is offline   Reply With Quote
Old 12-19-2011, 08:41 PM   #25
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

Ah, details details.
Good optimization, will be done in next release.

I don't feel the strong urge to rush it thou. (because it works anyways)
Interface is more important, implementation can always be optimized later.
Lets wait and see if something else pops up.

Btw does anyone have any good ideas for new jass features?
By good feature I assume something that:
1. will make coding shorter/easier
2. will actually be used by more than 50% of people
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote
Old 12-19-2011, 08:45 PM   #26
Troll-Brain
User
 
Join Date: Oct 2006
Posts: 1,490

Submissions (1)

Troll-Brain has a spectacular aura about (134)

Default

You also don't have to set enumUnit to null before the loop.

A full implicit typecast code -> boolexpr ( no need to type Condition/Filter, it will be done by the preprocessor).
As said earlier i know it doesn't always work in vJass but can't remember when.

Also removing some vJass verbosity would be good.

For example a variable outside a function is a global, else it's a local (no need of globals/endglobals blocks anymore)

"call" and "set" are also incredibly useless keywords, but meh that wouldn't be vJass then i guess.
__________________
Cool != Useful

Last edited by Troll-Brain : 12-19-2011 at 08:49 PM.
Troll-Brain is offline   Reply With Quote
Old 12-19-2011, 08:57 PM   #27
BBQ
User
 
Join Date: May 2011
Posts: 85

Submissions (2)

BBQ will become famous soon enough (30)BBQ will become famous soon enough (30)

Default

  1. Fix the way things are initialized.
  2. The freedom to declare globals without having to write globals ... endglobals.
  3. Improve the structs' (de)allocation. See here for details.
  4. C-like defines, perhaps? I know that you'd be against this, but they can end up being very, very useful.
BBQ is offline   Reply With Quote
Old 12-19-2011, 09:00 PM   #28
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

@Troll-Brain
I will look into that typecast thing, but it sounds complicated, might take some time.

globals endglobals is actually good syntax for language like vjass.
Verbosity is boring when you type, but it makes code more readable,
verbosity is not a bad thing in itself.
(proved by most popular programming language - java)

call and set cannot be removed because jass is line oriented language,
it has no end of statement character.
Most other languages have.
; - semicolon is the most common end of statement char.
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.

Last edited by cohadar : 12-19-2011 at 09:07 PM.
cohadar is offline   Reply With Quote
Old 12-19-2011, 09:07 PM   #29
cohadar
master of fugue
 
cohadar's Avatar
 
Join Date: Jun 2007
Posts: 2,453

Submissions (5)

cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)cohadar is just really nice (250)

Default

Quote:
Originally Posted by BBQ
  1. Fix the way things are initialized.
  2. The freedom to declare globals without having to write globals ... endglobals.
  3. Improve the structs' (de)allocation. See here for details.
  4. C-like defines, perhaps? I know that you'd be against this, but they can end up being very, very useful.
I will look into that initialization thing as well, but that is also very complicated so don;t expect anything soon, next year maybe

improvements/optimizations get lower priority atm.

I don't understand why Vex created textmacros and static ifs when he could simply use C preprocessor without coding anything.
As it is right now you need to give me example of something that C preprocessor can do that is not already implemented.
__________________
Omg database crash deleted my signature, as a side effect this immensely improved wc3c.
cohadar is offline   Reply With Quote
Old 12-19-2011, 09:20 PM   #30
BBQ
User
 
Join Date: May 2011
Posts: 85

Submissions (2)

BBQ will become famous soon enough (30)BBQ will become famous soon enough (30)

Default

Well, I actually want them in order to get proper overloading of the native functions. Hooks are done in a very bad way, and there are many cases in which a native gets "replaced" by a user-defined function. In such case, instead of forcing the user to replace all of his native calls with that custom function, the native would simply be overloaded.
BBQ is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 09:36 PM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2018, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services