JJ's CP Command problem

General discussion of Warcraft 3. Threads may may be posted here if they don't fit into the other sections.

Moderator: Cheaters

User avatar
daylend
Newcomer
Posts: 7
Joined: February 8th, 2009, 4:38 pm
Title: JJCP Inserter Noob

JJ's CP Command problem

Post by daylend »

i need to know what "-add" does because when ever i try to use it, it doesnt work. also, i dont know how to get the data for the ability u want, unlike -unitid and -itemid there is no -abilityid :P Please Help
User avatar
JJ2197
Legendary Genius
Posts: 1311
Joined: August 8th, 2007, 8:10 am
Title: Legendary Genius²
Location: St. George Utah

Re: JJ's CP Command problem

Post by JJ2197 »

You use it for adding abilites to a unit by saying:
-add AInv (Adds an inventory to unit)
Unfortunately as far as I know there is no function to get
the ability info from a unit...
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
daylend
Newcomer
Posts: 7
Joined: February 8th, 2009, 4:38 pm
Title: JJCP Inserter Noob

Re: JJ's CP Command problem

Post by daylend »

that sucks >.< is there any possible way to get the ability at all, either than trying random junk?
User avatar
JJ2197
Legendary Genius
Posts: 1311
Joined: August 8th, 2007, 8:10 am
Title: Legendary Genius²
Location: St. George Utah

Re: JJ's CP Command problem

Post by JJ2197 »

Well you could extract the war3map.w3a from the map then load World Editor.
Hit F6 click on the abilities tab then click File Import Ability settings.
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
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: JJ's CP Command problem

Post by Senethior459 »

You can also use RMPQEx to dump a text file of the abilities to your desktop, and you can just search for the ability and find out its rawcode.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle
initialD
Some Honorary Title
Posts: 1713
Joined: June 8th, 2007, 5:08 am
Title: Angry Bird

Re: JJ's CP Command problem

Post by initialD »

I remembered once I wrote a trigger to trace down all ability or spell's id.
It can be done. I deleted the trigger after I get my id.(stupid me, I should have share it on the JASS trigger section :(
sorry.