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 > Tools
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 04-03-2009, 02:51 PM   #46
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

an odd one:
Attached Images
File Type: png Pantallazo.png (11.5 KB, 30 views)
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 04-03-2009, 04:01 PM   #47
Flame_Phoenix
retired coder | real ilfe
 
Flame_Phoenix's Avatar
 
Join Date: Mar 2007
Posts: 2,208

Submissions (10)

Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)

Send a message via MSN to Flame_Phoenix
Default

Fixed.

Truth is that I am reaching the limit of what is possible to do with Kate. I studied many other important highlights such as C, C++ and Java, and to be honest this highlight is harder to do then the highlights of the other languages because the other languages have a format that prevents problems with function names.
I hope you don't find any more bugs, because if you do, there is a chance I won't be able to fix them because I already reached a limit =S

Anyway, hope you ejnoy the fix.
__________________
Check out my tutorials at:
1-Creating a Hero Tavern
2-Complete Icon Tutorial - ALL about Icons
3-Making a spell in vJass - Practice Session 1
Check out all my current spells at here
Finally, check my project:
Castle vs Castle Flame Edition

Last edited by Flame_Phoenix : 04-03-2009 at 04:06 PM.
Flame_Phoenix is offline   Reply With Quote
Old 04-04-2009, 02:34 PM   #48
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

Quote:
Truth is that I am reaching the limit of what is possible to do with Kate. I studied many other important highlights such as C, C++ and Java, and to be honest this highlight is harder to do then the highlights of the other languages because the other languages have a format that prevents problems with function names.
Let me be very skeptical about this.

You should have based your work on highlight different to C++ or Java, something closer to jass like pascal or basic.

Collapse bugs:
//these integer literals are not highlighted as such:
    set x = 0x3422
    set x = 0x123
    set x = $FF00FF

    //these are highlighted as integers but they aren't valid Jass:
    set x = 'aa'
    set y = 'abc'
    set z = 'abcde'
    set z = 'abcdef...'

    //The following is a single string literal but kate considers it closed after the first " and with the second " it thinks it is opening a whole string...
    set s = "megula\nk\\k\"aaaa"

globals
//These blizzard.j constants are not highlighted as such:
    // Filter function vars
    boolexpr           filterIssueHauntOrderAtLocBJ      = null
    boolexpr           filterEnumDestructablesInCircleBJ = null
    boolexpr           filterGetUnitsInRectOfPlayer      = null
    boolexpr           filterGetUnitsOfTypeIdAll         = null
    boolexpr           filterGetUnitsOfPlayerAndTypeId   = null
    boolexpr           filterMeleeTrainedUnitIsHeroBJ    = null
    boolexpr           filterLivingPlayerUnitsOfTypeId   = null

    //triggeraction is a type ya know?
    triggeraction    meh = null
endglobals
    //the keyword 'struct' still gets highlighted when inside other names:
     local integer structureCount = 2
     local boolean desstruction = false


__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 04-05-2009, 02:17 PM   #49
Flame_Phoenix
retired coder | real ilfe
 
Flame_Phoenix's Avatar
 
Join Date: Mar 2007
Posts: 2,208

Submissions (10)

Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)

Send a message via MSN to Flame_Phoenix
Default

Quote:
You should have based your work on highlight different to C++ or Java, something closer to jass like pascal or basic.
I didn't studied pascal so I made no idea about using it. Don't worry Vex, I will study those highlights (if they exist in Kate) and I will soon post news.

About the bugs I don't see any =S
Must be my view definitions, for some reason it only works on Linux ...
__________________
Check out my tutorials at:
1-Creating a Hero Tavern
2-Complete Icon Tutorial - ALL about Icons
3-Making a spell in vJass - Practice Session 1
Check out all my current spells at here
Finally, check my project:
Castle vs Castle Flame Edition
Flame_Phoenix is offline   Reply With Quote
Old 04-06-2009, 01:12 AM   #50
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

No, your plugin is bugged and I have specified all the bugs, so please fix it and I am testing on Linux.

The bugs I posted are too many, so unapproved until you fix them.
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 04-06-2009, 02:07 PM   #51
Flame_Phoenix
retired coder | real ilfe
 
Flame_Phoenix's Avatar
 
Join Date: Mar 2007
Posts: 2,208

Submissions (10)

Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)

Send a message via MSN to Flame_Phoenix
Default

Quote:
No, your plugin is bugged and I have specified all the bugs, so please fix it and I am testing on Linux.
It is my "screen" Windows settings, for some reason I only see them on Linux.

Quote:
The bugs I posted are too many, so unapproved until you fix them.
Seems fair, I will see what I can do.
__________________
Check out my tutorials at:
1-Creating a Hero Tavern
2-Complete Icon Tutorial - ALL about Icons
3-Making a spell in vJass - Practice Session 1
Check out all my current spells at here
Finally, check my project:
Castle vs Castle Flame Edition
Flame_Phoenix is offline   Reply With Quote
Old 04-10-2009, 08:04 PM   #52
Flame_Phoenix
retired coder | real ilfe
 
Flame_Phoenix's Avatar
 
Join Date: Mar 2007
Posts: 2,208

Submissions (10)

Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)

Send a message via MSN to Flame_Phoenix
Default

Ok, I finally got some time to see the bugs in detail. I also saw TESH ... and I must say I am disappointed, many of the bugs you point on my highlight are also in TESH, and yet TESH is approved ... Anyway, I guess I will just have to try creating the ultimate highlight for Linux. But I need your help on some details:

Collapse JASS:
//these integer literals are not highlighted as such:
    set x = 0x3422
    set x = 0x123
    set x = $FF00FF
I need to know, these are hexadecimals and octals right ? Anyway, the extension now highlights hexadecimals and octals as well ...

Collapse JASS:
    //these are highlighted as integers but they aren't valid Jass:
    set x = 'aa'
    set y = 'abc'
    set z = 'abcde'
    set z = 'abcdef...'
Isn't this supposed to be work for a syntax checker?
What are the exact rules of rawcodes? They can only use A -Z, a-z, and 0 -9 in combinations of 4??
I don't even know if it is possible for Kate to make this check ...

Collapse JASS:
//The following is a single string literal but kate considers it closed after the first " and with the second " it thinks it is opening a whole string...
    set s = "megula\nk\\k\"aaaa"
I see the problem... for some reason TESH also has this bug .. I think the java extension highlight has a special case for this ... I will see if I can apply it to vJass.
Anyway, fixed.


Collapse JASS:
//These blizzard.j constants are not highlighted as such:
    // Filter function vars
    boolexpr           filterIssueHauntOrderAtLocBJ      = null
    boolexpr           filterEnumDestructablesInCircleBJ = null
    boolexpr           filterGetUnitsInRectOfPlayer      = null
    boolexpr           filterGetUnitsOfTypeIdAll         = null
    boolexpr           filterGetUnitsOfPlayerAndTypeId   = null
    boolexpr           filterMeleeTrainedUnitIsHeroBJ    = null
    boolexpr           filterLivingPlayerUnitsOfTypeId   = null
Fixed.

Collapse JASS:
    //triggeraction is a type ya know?
    triggeraction    meh = null
I know that ... and in the current version it is a datatype. I don't get it, everything is Ok, that bug simply doesn't exist since version 1.22.

Collapse JASS:
    //the keyword 'struct' still gets highlighted when inside other names:
     local integer structureCount = 2
     local boolean desstruction = false
Fixed.

EDIT EDIT EDIT

Version 1.23 released with many fixes (within the possible). Please enjoy.
__________________
Check out my tutorials at:
1-Creating a Hero Tavern
2-Complete Icon Tutorial - ALL about Icons
3-Making a spell in vJass - Practice Session 1
Check out all my current spells at here
Finally, check my project:
Castle vs Castle Flame Edition

Last edited by Flame_Phoenix : 04-10-2009 at 08:06 PM.
Flame_Phoenix is offline   Reply With Quote
Old 04-11-2009, 12:26 PM   #53
akolyt0r
In Flames
 
akolyt0r's Avatar
 
Join Date: Jan 2006
Posts: 1,154

Submissions (3)

akolyt0r has a spectacular aura about (120)

Default

Quote:
Originally Posted by Flame_Phoenix
Collapse JASS:
    //these are highlighted as integers but they aren't valid Jass:
    set x = 'aa'
    set y = 'abc'
    set z = 'abcde'
    set z = 'abcdef...'
Isn't this supposed to be work for a syntax checker?
What are the exact rules of rawcodes? They can only use A -Z, a-z, and 0 -9 in combinations of 4??
I don't even know if it is possible for Kate to make this check ...
rawcodes may only have a length of 1 or 4 chars...
__________________
akolyt0r is offline   Reply With Quote
Old 04-11-2009, 12:30 PM   #54
Flame_Phoenix
retired coder | real ilfe
 
Flame_Phoenix's Avatar
 
Join Date: Mar 2007
Posts: 2,208

Submissions (10)

Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)

Send a message via MSN to Flame_Phoenix
Default

Quote:
rawcodes may only have a length of 1 or 4 chars...
What!? you mean this rawcode 'A' exists !? Are you sure? I never saw such a thing =S
__________________
Check out my tutorials at:
1-Creating a Hero Tavern
2-Complete Icon Tutorial - ALL about Icons
3-Making a spell in vJass - Practice Session 1
Check out all my current spells at here
Finally, check my project:
Castle vs Castle Flame Edition
Flame_Phoenix is offline   Reply With Quote
Old 04-11-2009, 01:25 PM   #55
akolyt0r
In Flames
 
akolyt0r's Avatar
 
Join Date: Jan 2006
Posts: 1,154

Submissions (3)

akolyt0r has a spectacular aura about (120)

Default

... try it in world-editor ...'a' works, 'aa' doesnt.
__________________
akolyt0r is offline   Reply With Quote
Old 04-11-2009, 07:51 PM   #56
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

There's a missing < at the top of the file.
It still won't highlight hex values of the kind $f0f00
Could you make multiline strings get highlighted as such, it is easier to notice when you don't close "
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 04-11-2009, 08:57 PM   #57
Flame_Phoenix
retired coder | real ilfe
 
Flame_Phoenix's Avatar
 
Join Date: Mar 2007
Posts: 2,208

Submissions (10)

Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)Flame_Phoenix has a spectacular aura about (90)

Send a message via MSN to Flame_Phoenix
Default

Quote:
There's a missing < at the top of the file.
I don't understand =S Please elaborate.

Quote:
It still won't highlight hex values of the kind $f0f00
That is because this values don't obey to the "normal" hexadecimal values the standard languages (according to Kate's standard) obey ... damn I have to find another way of telling Kate to highlight that thing as an hexadecimal value as well ...

Quote:
Could you make multiline strings get highlighted as such, it is easier to notice when you don't close "
I will see what I can do about this, I don't think it will be hard.

EDIT EDIT EDIT

Quote:
There's a missing < at the top of the file.
Ops, my bad, sry about that. Fixed.

Quote:
Could you make multiline strings get highlighted as such, it is easier to notice when you don't close "
Fixed.

I didn't released new version yet, I am (still) trying to fix that hexadecimal problem ... your last suggestion was very handy Vexorian, maybe you have another one?
I am trying to find a "similar" expression in other coding languages, but so far I can't remember any =S
Anyway rep++.

Collapse JASS:
set x = 0x3422
set x = 0x123
set x = $FF00FF

EDIT EDIT EDIT

An amazing coincidence or not, TESH also does not highlight hexadecimal number that start with a "$"... Anyways, back to work.

EDIT EDIT EDIT

Quote:
It still won't highlight hex values of the kind $f0f00
I gladly announce the following word: Fixed.

I am not releasing version 1.24 yet ... I think some people (cough*Vexorian*cough) may have some suggestions or reports yet, so I am going to wait for his post. If there is nothing else to fix, then I released version 1.24.
__________________
Check out my tutorials at:
1-Creating a Hero Tavern
2-Complete Icon Tutorial - ALL about Icons
3-Making a spell in vJass - Practice Session 1
Check out all my current spells at here
Finally, check my project:
Castle vs Castle Flame Edition

Last edited by Flame_Phoenix : 04-11-2009 at 08:58 PM.
Flame_Phoenix is offline   Reply With Quote
Old 04-12-2009, 05:21 AM   #58
Vexorian
Free Software Terrorist
 
Vexorian's Avatar


Technical Director
 
Join Date: Apr 2003
Posts: 14,898

Submissions (37)

Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)Vexorian has a reputation beyond repute (1062)

Hero Contest #3 - 2nd Place

Default

Add new keywords: module, implement, optional and thistype

Would be better if thistype was added as if it was a type name.
__________________
Zoom (requires log in)Wc3 map optimizer 5.0
Someone should fix .wav sound in this thing.
Zoom (requires log in)JassHelper 0.A.2.A
Turns your simple code into something that is complicated enough to work.
Faster != more useful
Vexorian is offline   Reply With Quote
Old 04-12-2009, 05:22 AM   #59
darkwulfv
Alpha Male of Wc3c
 
darkwulfv's Avatar


Official Map Reviewer
 
Join Date: Mar 2006
Posts: 3,646

Submissions (6)

darkwulfv is just really nice (270)darkwulfv is just really nice (270)

Send a message via AIM to darkwulfv
Default

Quote:
An amazing coincidence or not, TESH
You keep poking at TESH for what it doesn't have/do, but it was already approved YEARS ago, and the maker doesn't work on it or Wc3 anymore. Besides, it was made long before the age of vJASS, so of course it won't highlight a couple of the utmost recent keywords.
__________________
The Spell Request Thread
Quote:
Originally Posted by Joe-Black-5
a dota like map but with unique stuff
(There was no map attached, and that was all the thread said.)
Spells I've Made

Darkwulfv's Lightning Grapple || Tritanis' Lazy Bolt


Last edited by darkwulfv : 04-12-2009 at 05:23 AM.
darkwulfv is offline   Reply With Quote
Old 04-12-2009, 09:10 AM   #60
akolyt0r
In Flames
 
akolyt0r's Avatar
 
Join Date: Jan 2006
Posts: 1,154

Submissions (3)

akolyt0r has a spectacular aura about (120)

Default

but those hex values were valid ...since wc3 was released ;P
__________________
akolyt0r 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 06:30 PM.


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

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