Question about JASS and GUI

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Philo223
Newcomer
Posts: 4
Joined: August 10th, 2007, 7:43 am

Question about JASS and GUI

Post by Philo223 »

Is there any kind of 3rd party program that can convert JASS script into GUI triggers? That would be very helpful.

If there isn't I need some kind of program that checks for errors in JASS, or a person who can do the same thing. :P
User avatar
JJ2197
Legendary Genius
Posts: 1311
Joined: August 8th, 2007, 8:10 am
Title: Legendary Genius²
Location: St. George Utah

Re: Question about JASS and GUI

Post by JJ2197 »

As far as I know that's not logically possibe since Jass has so many more things you can do then GUI...
Computer Specs:
Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate
User avatar
Totti_8
S.M.B. Creator
Posts: 84
Joined: January 20th, 2007, 11:32 am
Location: Germany

Re: Question about JASS and GUI

Post by Totti_8 »

Philo223 wrote:Is there any kind of 3rd party program that can convert JASS script into GUI triggers? That would be very helpful.
No.
Philo223 wrote:If there isn't I need some kind of program that checks for errors in JASS, or a person who can do the same thing. :P
The World Editor has a syntax check... a better syntax-check doesn't exist...
Image
Philo223
Newcomer
Posts: 4
Joined: August 10th, 2007, 7:43 am

Re: Question about JASS and GUI

Post by Philo223 »

Alright thanks...Hey another question came to me regarding JASS Script. You know how unprotectors like Xdep and Deprotector put the JASS script into one trigger? So that there's like a huge long list of functions/endfunctions within one trigger? Will a map work like that, or does each function/endfunction pairing need to be in its own trigger?

And could you point out specifically where that syntax checker in World Editor is? I couldn't find it. Thanks.

Edit: Actually what would probably be easier...I don't know if anyone feels up to it, but I have a JASS script that doesn't seem to work. For some reason WE won't tell me what the errors are when I save it...But could someone maybe take it and do something to it so that it works? heh...

I just don't understand JASS hardly at all, so I can't do anything with it myself. Someone could try to explain to me what to do, if that's easier. The script is fairly long (I think)...so...

Here are two versions...The second is the .wct file (in Notepad) exported from the unprotected map using File>Export Triggers, and the first I believe is the war3map.j file in Microsoft Word...
You do not have the required permissions to view the files attached to this post.
Last edited by Philo223 on August 11th, 2007, 3:44 pm, edited 1 time in total.
HINDYhat
Senior Member
Posts: 101
Joined: June 1st, 2007, 9:05 pm

Re: Question about JASS and GUI

Post by HINDYhat »

Philo223 wrote:If there isn't I need some kind of program that checks for errors in JASS, or a person who can do the same thing. :P
The World Editor has a syntax check... a better syntax-check doesn't exist...[/quote]

That's 150% untrue. There's PJass, which has an awesome syntax checker compared to the noob WE. PJass is implemented in JassCraft, and JassNewGenPack. I'd suggest you get either one of those...

And about the Xdep stuff, yeah it's all put in one single trigger which runs on Map Init and then creates the triggers. The map should work fine. You should read GhettoChild's tutorial on how to restore a map's triggers (not with the GUI)

The syntax checker is... there... It runs each time you save/test a map.

About your Jass script... you probably didn't initialize the global variables. Xdep fucks like that sometimes. I think you need to manually add them, but I'm really not sure.