Raw code problem

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

bigthecat
Junior Member
Posts: 35
Joined: April 10th, 2009, 7:06 am

Raw code problem

Post by bigthecat »

well, I don't know how to say, I am trying to add cheat pack into this map
http://epicwar.com/maps/112980/

In an older version of it, I was able to extract the war3map.w3a out and put it in a blank map, then use object editor from world editor to see the raw data.

the problem is, in the older version of that map, I could not see the raw data for custom skill/item

In the newer version, the map above, when I put the war3map.w3a into a new blank map then try open it with world editor, it said that the files is corrupted.

Any idea how do I extract the Raw data out of it?

Thank you

P/S: oh, I am using patch 1.23a, the old JJ's CP and the code -addhp doesn't work ( let say, -addhp 1000, divisible by 50) while all of different map so far I've add cheat pack inside work well. I'd appreciate anyone that could get a solution out of this.
User avatar
Bushido
Not an Admin, and Not Unique
Posts: 1880
Joined: March 1st, 2009, 12:30 pm
Title: Der Boss :D
Location: Germany

Re: Raw code problem

Post by Bushido »

http://forum.wc3edit.net/tools-f32/rmpq ... t6363.html
This little tool is pretty much you need.
Download Senethior's tool package here!
Spoiler for Funny shit:
Kryptonyte wrote:Pew-pew, together, 2pac and I can take over the world. Muhahahahahaha.
Kryptonyte wrote:@2Pac, You're a G. Keep your pimp hand strong.
Kryptonyte wrote:anyways i gtg, PEACE, MR. ZOMG O SO PRO U RAWKZ0RZ SUM BoXZ()RZ

Code: Select all

(23:22:14) FatherSpace: BWAHAHA
(23:22:21) FatherSpace: I am 1337, you must fear my coolness.
(23:22:51) FatherSpace: I got bored, so I made a Python script so now whenever I open Terminal, I get a random haiku from here: http://www.smalltime.com/Haiku
(23:24:12) FatherSpace: afk... Killing myself. :(

Code: Select all

(03:52:56) ChatBot: (673237) logs into the Chat.
 (03:53:08) (673237): plzplzplz, im sorry about before.
 (03:53:26) FatherSpace: I'm sorry you were born.
(03:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(21:39:14) GeorgeMots: Jen are you there?
(21:39:44) 2Pac: ...lol?
(21:39:49) 2Pac: (21:22:22) ChatBot: UndeadxAssassin has been logged out (Timeout).
(21:39:52) GeorgeMots: w00t
(21:39:54) GeorgeMots: rofl
(21:39:58) GeorgeMots: *facepalm*
(21:39:59) 2Pac: you definetly fail
Get to know Bushido alias 2Pac alias King-Bushido!
[=ryCgg=]
Senior Member
Posts: 152
Joined: October 5th, 2009, 7:31 am
Title: Taiwan, Singapore
Location: Here!? XD

Re: Raw code problem

Post by [=ryCgg=] »

Tupac Shakur wrote:http://forum.wc3edit.net/tools-f32/rmpq ... t6363.html
This little tool is pretty much you need.
Keep it mind.

Let me teach the author how to use this tool.
1. Open up RMPQEx, click on the [Browse] button and looks for your map than open it.

2. After you opened your map, click on the [Open] button and now you will see many of the files.

3. Click few times [Auto Search] button. Now, look bottom there you'll see [Extract to : _______________ [Browse]] right? This is the output of the files and the rawcodes, set it to anywhere you like ;-) .

4. Now, look for the [Dump Object data] button, click it. And you'll see a line writing [WC3 Path : ___________ [Browse]], that is where your WC3 stored at. Change it if it does not match!

5. After that, tick on the [unit/items/abilities/W/E data] And click [OK].

6. Check the rawcodes at your output folder that you set it at step 3.

This is a little tutorial teach you how to see rawcodes that you get from RMPQEx.
Credits to UndeadxAssassin for this ! :D
Spoiler for How to read:RAWRCODES:
A lil tutorial for the people who don't know how to read a raw code list.

Code: Select all

[I07N:rde4]
comment=Ring of Protection +5
scriptname=RingofProtection5
version=0
class=Permanent
Level=0
oldLevel=0
abilList=A0VF,A0VG
cooldownID=AIde
ignoreCD=0
uses=-
prio=0
usable=0
perishable=0
droppable=1
pawnable=1
sellable=1
pickRandom=0
powerup=0
drop=0
stockMax=1
stockRegen=1
stockStart=0
goldcost=5
lumbercost=0
HP=500000
morph=0
armor=Wood
file=Objects\InventoryItems\TreasureChest\treasurechest.mdl
scale=1
selSize=0
colorR=255
colorG=255
colorB=255
InBeta=1
Art=ReplaceableTextures\CommandButtons\BTNINV_Weapon_Halberd_03.blp
Name=|c0000FF00Old Halberd|r |nMainhand Weapon
Hotkey=
Tip=|c0000FF00Old Halberd|r |nMainhand Weapon
Ubertip=Useable by |cffff0000NS|r.|nGives:  |n+|c0000FF005|r Damage. |n+|c0000FF003|r Agility.
Description=Useable by |cffff0000NS|r.|nGives:  |n+|c0000FF005|r Damage. |n+|c0000FF003|r Agility.
As you can see from the "Name" it's an Old Halberd (Mainhand Weapon). The item code for it is ALL THE WAY UP to the letters in the brackets above the "Comments"
Ignore the comments, I dunno why it says ring of protection, but eh. So the raw code for Old Halberd is

Code: Select all

I07N
To use:
1. Highlight the spot where you want it to drop.
2. Type -spawn I07N
3. Pick it up.
4. Laugh.
5. Repeat.

Please note that if you do not do step 4, it will EVENTUALLY hate you and NEVER WORK ANYMORE!
Ask me if you confused.
User avatar
Bushido
Not an Admin, and Not Unique
Posts: 1880
Joined: March 1st, 2009, 12:30 pm
Title: Der Boss :D
Location: Germany

Re: Raw code problem

Post by Bushido »

I didn't really had time to explain, w/e.
Thanks I guess.
Download Senethior's tool package here!
Spoiler for Funny shit:
Kryptonyte wrote:Pew-pew, together, 2pac and I can take over the world. Muhahahahahaha.
Kryptonyte wrote:@2Pac, You're a G. Keep your pimp hand strong.
Kryptonyte wrote:anyways i gtg, PEACE, MR. ZOMG O SO PRO U RAWKZ0RZ SUM BoXZ()RZ

Code: Select all

(23:22:14) FatherSpace: BWAHAHA
(23:22:21) FatherSpace: I am 1337, you must fear my coolness.
(23:22:51) FatherSpace: I got bored, so I made a Python script so now whenever I open Terminal, I get a random haiku from here: http://www.smalltime.com/Haiku
(23:24:12) FatherSpace: afk... Killing myself. :(

Code: Select all

(03:52:56) ChatBot: (673237) logs into the Chat.
 (03:53:08) (673237): plzplzplz, im sorry about before.
 (03:53:26) FatherSpace: I'm sorry you were born.
(03:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(21:39:14) GeorgeMots: Jen are you there?
(21:39:44) 2Pac: ...lol?
(21:39:49) 2Pac: (21:22:22) ChatBot: UndeadxAssassin has been logged out (Timeout).
(21:39:52) GeorgeMots: w00t
(21:39:54) GeorgeMots: rofl
(21:39:58) GeorgeMots: *facepalm*
(21:39:59) 2Pac: you definetly fail
Get to know Bushido alias 2Pac alias King-Bushido!
bigthecat
Junior Member
Posts: 35
Joined: April 10th, 2009, 7:06 am

Re: Raw code problem

Post by bigthecat »

can't I use MQP Master or MQP Editor to extract the files?
User avatar
Bushido
Not an Admin, and Not Unique
Posts: 1880
Joined: March 1st, 2009, 12:30 pm
Title: Der Boss :D
Location: Germany

Re: Raw code problem

Post by Bushido »

Yes, but with the tool you'll have them in a text and you don't have to open WE.
Download Senethior's tool package here!
Spoiler for Funny shit:
Kryptonyte wrote:Pew-pew, together, 2pac and I can take over the world. Muhahahahahaha.
Kryptonyte wrote:@2Pac, You're a G. Keep your pimp hand strong.
Kryptonyte wrote:anyways i gtg, PEACE, MR. ZOMG O SO PRO U RAWKZ0RZ SUM BoXZ()RZ

Code: Select all

(23:22:14) FatherSpace: BWAHAHA
(23:22:21) FatherSpace: I am 1337, you must fear my coolness.
(23:22:51) FatherSpace: I got bored, so I made a Python script so now whenever I open Terminal, I get a random haiku from here: http://www.smalltime.com/Haiku
(23:24:12) FatherSpace: afk... Killing myself. :(

Code: Select all

(03:52:56) ChatBot: (673237) logs into the Chat.
 (03:53:08) (673237): plzplzplz, im sorry about before.
 (03:53:26) FatherSpace: I'm sorry you were born.
(03:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(21:39:14) GeorgeMots: Jen are you there?
(21:39:44) 2Pac: ...lol?
(21:39:49) 2Pac: (21:22:22) ChatBot: UndeadxAssassin has been logged out (Timeout).
(21:39:52) GeorgeMots: w00t
(21:39:54) GeorgeMots: rofl
(21:39:58) GeorgeMots: *facepalm*
(21:39:59) 2Pac: you definetly fail
Get to know Bushido alias 2Pac alias King-Bushido!
bigthecat
Junior Member
Posts: 35
Joined: April 10th, 2009, 7:06 am

Re: Raw code problem

Post by bigthecat »

well, world editor offer easier search in ability/unit/item, I can just use ctrl+F then type item/unit/ability I need then Ctrl+D to display Raw code and use them in-game. these text thing would take forever to search for the correct one
[=ryCgg=]
Senior Member
Posts: 152
Joined: October 5th, 2009, 7:31 am
Title: Taiwan, Singapore
Location: Here!? XD

Re: Raw code problem

Post by [=ryCgg=] »

bigthecat wrote:well, world editor offer easier search in ability/unit/item, I can just use ctrl+F then type item/unit/ability I need then Ctrl+D to display Raw code and use them in-game. these text thing would take forever to search for the correct one
Why would you think like that? It's easiest!
Ctrl + F and search for the name = pwnt?
GeorgeMots
Crusader
Posts: 4236
Joined: January 27th, 2007, 4:46 pm
Location: Greece, Veria

Re: Raw code problem

Post by GeorgeMots »

Or just, recover the objects with SOC.
http://slowbro.org/
`·.,¸,.·*¯`·.,¸,.·*¯[;::;(。◕‿‿­­​­­­­­◕。)
Image
Image
Image
Spoiler:
(03:36:55) xkiska: im too much of a dumbass to understand this