New Jass Tags!

Sgqvur

FullOfUltimateTruthsAndEt ernalPrinciples, i.e shi
Reaction score
62
[lJASS]if GetPlayerState(Player(sgqvur), PLAYER_STATE_MENTAL) != SANE[/lJASS]
[lJASS]call MovePlayer(sgqvur, Location(asylum))[/lJASS]

^^
 

Azlier

Old World Ghost
Reaction score
461
>[ljass]Player(sgqvur[/ljass]
sgqvur must be an integer. And yet, in the line below, he's supposedly a player. Learn 2 Jasslol.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
>[ljass]Player(sgqvur[/ljass]
sgqvur must be an integer. And yet, in the line below, he's supposedly a player. Learn 2 Jasslol.

[ljass] call ConvertUser( users.Azlier, USER_STATE_TROLL)[/ljass]
 

Sevion

The DIY Ninja
Reaction score
413
>[ljass]Player(sgqvur[/ljass]
sgqvur must be an integer. And yet, in the line below, he's supposedly a player. Learn 2 Jasslol.

Haha. Owned.

[ljass]call RemovePlayer(users.Renendaru)[/ljass]

:(

Azlier != Troll >=O

[ljass]call ConvertUser( users.Azlier, USER_STATE_BETTER_THAN_RENENDARU )[/ljass]

:eek:
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
New jass tags rock while jass jokes fail the very instant they're made up...
 

Larcenist

REP: Respect, Envy, Prosperity?
Reaction score
211
Oh ain't that a clever counter :(

I can't really say that scripting/coding language jokes fail since there ought to be at least a few funny ones out there, so I guess you won this round :(.

I have just a slight feeling that this is going more than a little off-topic now though :p

Edit: I can't seem to locate the declaration of that Larcenist variable though.
 

Sevion

The DIY Ninja
Reaction score
413
SevCode automatically creates variables and sets their values according to the coder's thoughts.

Yeah. SevCode owns that hard.

:D
 

phyrex1an

Staff Member and irregular helper
Reaction score
447
JASS:


Max // Shouldn't be red at all?

array // Should be blue like in the world editor, shouldn't it?
The array keyword is as you can see fixed, the reason why Max is red is because it's a common.ai function... Highlighting them the same way as blizzard.j function was perhaps not the best thing to do. It is being changed :)

In the meantime, some WIP:
The wiki has the latest version of the jass tag. Adding for example keyword documentation popups when you hover a keyword for some time (hover DoNothing).
This will eventually (when the documentation is more complete...) be the behaviour on the forums too, but in the meantime you can get it through a browser plugin. The plugin enables, with varying support, the hover documentation on thehelper, wc3c, thw and the jass vault.

To install:
1. Install the greasemonkey firefox plugin.. You should restart the browser after this step.
2. Browse to the userscript page and click install.
3. There is no 3.

You might have some success running the script on Opera too.

The only known bug, so far and except incomplete support on the different sites, is that the popup documentation doesn't break out of the jass tag box but instead causes it to scroll. Anything else should be reported :p
 

Nekit1234007

New Member
Reaction score
0

Romek

Super Moderator
Reaction score
964
> where to download source of this parser?
The code isn't open-source, as far as I know.
Regardless, PM phyrex1an about it; they're his tags, so it's his choice.
 

SanKakU

Member
Reaction score
21
As you may have noticed, the JASS tags have gone had quite a few improvements.

Phyrex1an completed the new JASS tags recently, though it took a long time to reach this stage, so be sure to thank him.
The new JASS tags highlight natives, BJs, preprocessor comments, etc correctly.

Keywords separated by comments also highlight correctly:
JASS:
glob/*Hello /* World */ */als


As well as this, we now have Inline-JASS tags. Simply use [NOPARSE][ljass]<code>[/ljass][/noparse] to use them.
Here: [ljass]if Is(a, random) then // line from[/ljass] some code.

I'll leave this thread open and sticked for a while, so feel free to discuss! :thup:
i have a question! is it possible to use tesh coloring WITHOUT it being inline, and without those jass boxes?

because i tried for an entire post, putting [ljass]entire post[/ljass] but what happened was that the entire post was in a single line. there were no line breaks. here is the example: http://www.thehelper.net/forums/showpost.php?p=1220329&postcount=57

the inline feature seems bad for viewing jass properly on the forums, and i don't like the jass boxes. they're very bad.
the inline feature seems like it's ok for a line or two...but not examples of code because you have to put in those tags for every line and that's crazy talk.
 

Chaos_Knight

New Member
Reaction score
39
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top