I dont understand it.

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

chanan12
Newcomer
Posts: 2
Joined: May 26th, 2010, 9:25 pm

I dont understand it.

Post by chanan12 »

I dont understand how to read the Jass files, i open them in text edit becuz i have a mac, and its really confusing, i dont get what the numbers mean and i especially dont understand how to apply it to a map. I have the Sotdrp Mountains Triggers. :mad: :mad: :mad: :mad:
User avatar
Lanaya
Banned-To-Be
Posts: 1378
Joined: July 28th, 2008, 6:28 pm
Title: Administrator

Re: I dont understand it.

Post by Lanaya »

Go learn then?..
Do you atleast know gui? try converting to jass and analyze it
it's really not That hard..
Image
League of legends North America - Nietono
chanan12
Newcomer
Posts: 2
Joined: May 26th, 2010, 9:25 pm

Re: I dont understand it.

Post by chanan12 »

well that was helpfull.... anyone else have expert advise on how to get the triggers into a game?
stealer
Member
Posts: 70
Joined: April 14th, 2008, 1:01 am

Re: I dont understand it.

Post by stealer »

A: you do need to learn jass to use jass for triggers.

B: use jass pro, jasscraft, new gen or some other program that opens *.j files

C: Advoid reading optimized jass in the begining (its confusing as hell)
owner123
Forum Staff
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm
Been thanked: 2 times

Re: I dont understand it.

Post by owner123 »

De-Optimize JASS.
RMPQEx ftw.
There are some simple jass tutorials out there, also.

"i dont get what the numbers mean and i"
Some are integers.
Some are reals.
Some are points.

"especially dont understand how to apply it to a map"
Learn JASS before applying to a map. It won't make sense at first.
Pretty much, the InitTrigger adds the event.
The TriggerConditions add a condition and return a boolean <typicly>
The TriggerActions execute the real 'code' of the map.
The "takes" thing in "takes nothing returns nothing" is a parameter you must do while calling.
For instance,

Code: Select all

Function Add100 takes Integer Numb returns Integer Answer
You would call this

Code: Select all

call Add100(500)
and if you trigger it correctly it will return 600.
Im guessing on that last part from my knowlege in programming.
stealer
Member
Posts: 70
Joined: April 14th, 2008, 1:01 am

Re: I dont understand it.

Post by stealer »

Code: Select all

call Add100(500)
I'm fairly certain you're supposed to use

Code: Select all

ExecuteFunc ("Add100, 500")
I might be off on the ()s, but i know for functions that don't consume vars
ExecuteFunc ("function")
works.
User avatar
haxorico
Super Moderator
Posts: 3198
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Been thanked: 1 time

Re: I dont understand it.

Post by haxorico »

guys its getting offtopic... but just for you yo know...

1)ExecuteFunc isnt the same as calling a function./

2)jassnewgen isnt a jasscraft like program.. It isnt a jass editor its a World Editor that is better then the normal WE...

back on topic..

Learning jass just like any other programing language isn't done in a day and isn't that easy. If you deprotected a map and you now see 1 big trigger then you can try restoring it though I doubt it will do much good...

If you do want to learn jass... Now isn't exacly a great time (for what I am told alot :)) as jass is only used in wc3 and it is kinda dying....

If you still want to learn jass it takes time and it will be done when you will play and tweak with it. No self-guide for jass... Same as you wont find a guide for "how to speak spanish" and it will give you some easy steps..
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac: 

Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: I dont understand it.

Post by Senethior459 »

Here are a bunch of various tutorials explaining JASS, from the basics on up to some advanced features:
http://www.wc3c.net/tutorials.php?f=650
And here is the unofficial JASS Manual, which hasn't been updated for years and is really only useful for looking up specific things you need to know if, say, you know one language and just need to know the differences between it and JASS to be able to use it: http://jass.sourceforge.net/doc/
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle