Vjass

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
i have saw someone has been saying something like vjass...

Whats that...and where to get it?
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
whats that for..?
Handle var?
Whats that?
 

SFilip

Gone but not forgotten
Reaction score
634
vJass is a new syntax for Jass developed by Vexorian and achieved with the use of JassHelper, a preprocessor for Jass.
It has plenty of features, better read the manual for more info.
To use it you need to get NewGen.
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
arh ~
Dun torture me with that...I am a jass idiot...
So vjass is a New Syntex..?
 

SFilip

Gone but not forgotten
Reaction score
634
If you don't know Jass then vJass is impossible to explain.
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
vJass is a new syntax for Jass developed by Vexorian and achieved with the use of JassHelper, a preprocessor for Jass.
It has plenty of features, better read the manual for more info.
To use it you need to get NewGen.

Well, actually, I believe Vexorian along with PitzerMike assembled all of the stuff, but mainly Pipedream did the work stuff. I think Vexorian said that or something for the description on wc3c. :D
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
okie...time to revive this thread...i knew some basics of jass in these days after reading ton ton and tons of tut of jass...

How to use Vjass?
 

SFilip

Gone but not forgotten
Reaction score
634
Get NewGen, read the manual, links to both in post #4.
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
aw...time to revive this thread...now i have got basic or....rookie knowledge about jass...

The problem i facing now is i cant be able to transfer variable between triggers...or functions...i have heard that vjass could help to achieve that...

And...wc3campaign is down...anyone has the manual for me?
 

SFilip

Gone but not forgotten
Reaction score
634

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
i have read all the words...in it...but i dont even know 1 of it.. damn..i am so noob..Anyway..i will start off with library..
JASS:
library one needs three
function one takes nothing returns integer
return 1
endfunction
endlibrary

library three 
function three takes nothing returns integer
return 3
endfunction
endlibrary


so that in the mapheader..it will be like this?
JASS:
function three takes nothing returns integer
return 3
endfunction

function one takes nothing returns integer
return 1
endfunction


then it will be initializer
i dont understand what is ways about initializer in the tut....what is initializer?


Next it will be private....
I am confuse from here till the end of the tut....what is a private?
Private is a variable?
And what's the diff btw normal things?

Please...and please if you wanted to explain...please include some examples....it is confusing me
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
1. Yes, it will be like that.

Initializer is the same as needs, and requires or w/e. It is just a different name to what you prefer.

2. Well, a private function has many uses. Privates can only be used within its scope/library. The private function names stay private and can't be used outside of the scope. Say you do this:
JASS:
function JASS takes nothing returns nothing
    call KillUnit(GetTriggerUnit())
endfunction

function JASS takes nothing returns nothing
    call KillUnit(GetTriggerUnit())
endfunction


This, will definitely syntax. You'll have to change the name of one of the functions. If you do this:
JASS:
scope
    private function JASS takes nothing returns nothing
        call KillUnit(GetTriggerUnit())
    endfunction
endscope
function JASS takes nothing returns nothing
    call KillUnit(GetTriggerUnit())
endfunction


It won't syntax.

----------------

This is also useful for some common functions like "H2I". You can make it a private and use it only in that function. :D

Private just makes the function inaccessable outside of the scope and it reserves names. :)
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
aw...u copied the tut....-.- for the 2nd question...

>>Say you do this:
Isnt the 2 function same? it is just the name of the function causes an error says function redeclared...

>>Privates can only be used within its scope/library
sry to reverse the topic...but i know library as i mentioned above..it is just to bring a function up to the map header...but what do scope do?

The tut explain scope with a mess....due to my poor english...i feel more mess...-.-

>>The private function names stay private and can't be used outside of the scope
cant understand...stay private and cant be used outside of the scopE?
 

Vexorian

Why no custom sig?
Reaction score
187
Well, actually, I believe Vexorian along with PitzerMike assembled all of the stuff, but mainly Pipedream did the work stuff. I think Vexorian said that or something for the description on wc3c. :D

Pipedream: hacked world editor and warcraft III to allow .lua plugins
Vexorian: programmed jasshelper.
Pitzermike: some programs that do a lot of things.
Vexorian: bundled all tools together and called it newgen
bunch of people (including the above mentioned): thought how the vjass should be like, and failed absurdly

also: it is not a tutorial, it is a manual.

These are tutorials:
http://www.wc3campaigns.net/showthread.php?t=94242
http://www.wc3campaigns.net/showthread.php?t=92378
http://www.wc3campaigns.net/showthread.php?t=91491

Initializer is the same as needs, and requires or w/e.
No, it is not.
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
wow...thank you very very very much...vexo...I'd like it...
+repo :O
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
No, it is not.

Yea, I accidently mistaked Initializer with uses...

It is also difficult to control what code is executed first, that's the reason libraries also have an initializer keyword, you can add initializer FUNCTION_NAME after the name of a library and it will make it be executed with priority using ExecuteFunc , ExecuteFunc is forced so it uses another thread, most libraries require heavy operations on init so we better prevent the init thread from crashing. After the initializer keyword the 'needs' statement might be used as well.

That is what initializer is used for.

Oh yea, and thanks for the job listing stuff. :p
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
where is the struct?
i still cant know anything about struct
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
bump....i seems cant find any tutorial of struct except the 1 introduce to struct....that tutorial is so confuse that it didnt even explain what .create is...zzz

Is there any tutorial about struct?
___________________________________
Thus i wonder why nowadays ppl didnt make classroom already...:(
And it is also time for me to join wc3campaign's forum... xD
 
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
    +1
  • 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