What is this?

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
Vegas
Shopping Maul USA Creator
Posts: 1798
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 88 times
Been thanked: 9 times

What is this?

Post by Vegas »

My map as most may know was handed down from the original creator. In Custom scripts, there is a shitload of coded stuff that I have no Idea what its for. It seems most, if not all has nothing to do with this map. Although when I delete it, jasscraft comes up with MANY compile errors.

I dont see the connection between the gui triggers and this nonsence.

Any idea what this is?
You do not have the required permissions to view the files attached to this post.
User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Re: What is this?

Post by Ozzapoo »

Some of your GUI triggers probably use those one-line custom scripts which access these functions, so it would be best not to delete them >.>
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1798
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 88 times
Been thanked: 9 times

Re: What is this?

Post by Vegas »

The ONLY one that I see being use when it says "call custom script" is host dectection. Thats a whole 6-7 lines. the other 7-8000 lines really seem to be useless.

I think I may have corrupted the map with WEU.
User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Re: What is this?

Post by Ozzapoo »

Have you tried removing all BUT the detect host code?
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1798
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 88 times
Been thanked: 9 times

Re: What is this?

Post by Vegas »

well of course. I'm not a TOTAL noob. :roll:
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1798
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 88 times
Been thanked: 9 times

Re: What is this?

Post by Vegas »

I will reply instead of editing so you notice its new info. I found out this crap is from WEU, its the "commander".

"The Commander is an addition to AMAI that will allow players to
command their allied computer players. To install the commander in
your map you will have to select the two checkboxes for AMAI and
advanced triggers"

It also has an extra protection to it so nobody can edit advanced triggers in WEU. Too bad by deleting the last several lines of it removes it.

So, this problem is solved.
User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Re: What is this?

Post by Ozzapoo »

What have we learnt today? WEU Sucks. Never use it. :D
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1798
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 88 times
Been thanked: 9 times

Re: What is this?

Post by Vegas »

I am beginning to think there is a much bigger problem somehow. I thought at first I corrupted the map I was working on. I then realized that I couldnt play all the maps that were edited with WEU. I am now seeing, that NONE of my maps work. When I try to play a game, it sends me back to the menu before.


Now whats the game plan??
User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Re: What is this?

Post by Ozzapoo »

That means there's a syntax error in the code....Uh oh?
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1798
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 88 times
Been thanked: 9 times

Re: What is this?

Post by Vegas »

Well I know that already, but how did ALL my maps get fucked?


I am talking about maps that were in a backup folder on another drive. I have uninstalled everything with uninstall pro, so there should not have been any leftover residue.

jas error:expected a name

Code: Select all

call AdjustPlayerStateBJ( GetItemGoldCostById(GetItemTypeId(GetManipulatedItem())), GetOwningPlayer(GetTriggerUnit()), PLAYER_STATE_RESOURCE_GOLD )
here is the corresponding GUI:

Code: Select all

Player - Add (Gold cost of (Item-type of (Item being manipulated))) to (Owner of (Triggering unit)) Current gold
Also, the text is scrambles somehow:

Code: Select all

Player Group - Pick every player in player_eng and do (Actions)
    Loop - Actions
        Game - Display to (Player group((Picked player))) for 10.00 seconds the text: |cff5fb62fUpgrade |...
That SHOULD read:

Code: Select all

Player Group - Pick every player in player_eng and do (Actions)
    Loop - Actions
        Game - Display to (Player group((Picked player))) for 10.00 seconds the text: Boss