Map returns to main screen when trying to play....

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
Vegas
Shopping Maul USA Creator
Posts: 1732
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada

Map returns to main screen when trying to play....

Post by Vegas »

Hey all. I dont know what I might have fucked up while editing a few things in my jass file, but now when i goto play my map, it wont start. It just returns me to the main screen in warcraft.
Hopefully someone has an idea what goes wrong here.
In the meantime, I will try to backtrack what I did, and hopefully fix it, that, or just use the older one that worked and edit it slowly.



EDIT- wait, I fixed it. I had missed an underscore "_" in one of my triggers.
User avatar
Aero
Forum Staff
Posts: 829
Joined: January 28th, 2007, 8:10 pm
Title: JASS Programmer
Location: Canada

Post by Aero »

Yes, that's why I use JassCraft...because of the syntax checker

If your map won't start and your trigger is legit, it's a syntax error...

Could be missing a line or a comma doesn't matter ^.^
Mr. Zero
Newcomer
Posts: 10
Joined: March 24th, 2007, 9:35 am
Location: Denmark (GMT+1)

Post by Mr. Zero »

You gotta give more info. It could like anything. Endless loop, bad coding, syntax error, bad model, etc.

Or you could do the slow way; simply disable all triggers and enable them one by one.

Hope that helps :)

Edit: Saw your edit. Sorry :oops:
~Mr. Zero
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1732
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada

Post by Vegas »

Hmmm. in Jasscraft, or notepad for that matter, how do you disable a trigger???
Mr. Zero
Newcomer
Posts: 10
Joined: March 24th, 2007, 9:35 am
Location: Denmark (GMT+1)

Post by Mr. Zero »

Here;
Image
~Mr. Zero
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1732
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada

Post by Vegas »

Ya i know that in the GUI, but I mean how can the jass be edited to make the trigger inactive?
Mr. Zero
Newcomer
Posts: 10
Joined: March 24th, 2007, 9:35 am
Location: Denmark (GMT+1)

Post by Mr. Zero »

Vegas wrote:Ya i know that in the GUI, but I mean how can the jass be edited to make the trigger inactive?


Remove the CreateTrigger Action?

Code: Select all

trigger gg_trg_MyTigger=null
~Mr. Zero
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1732
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada

Post by Vegas »

Ahhhh....dummy me. that makes perfect sence. thanks!