How to decode this to get recipe?

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Post Reply
User avatar
Pio
Senior Member
Posts: 103
Joined: January 22nd, 2012, 4:41 am
Location: Việt Nam
Contact:

How to decode this to get recipe?

Post by Pio »

Hello,

I play a map that had hidden recipe. When I open a war3map.j file. I see something like this:


Code: Select all

function THv takes nothing returns boolean
if(not(UnitHasItemOfTypeBJ(GetManipulatingUnit(),0x4930334F)==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetManipulatingUnit(),0x49303932)==true))then
return false
endif
if(not(UnitHasItemOfTypeBJ(GetManipulatingUnit(),0x49303047)==true))then
return false
endif
return true
endfunction     


So, can I decode "0x493xxxx" to get the recipe?

Thank you.

Edit: Add war3map.j
You do not have the required permissions to view the files attached to this post.
Last edited by Pio on January 8th, 2019, 9:38 am, edited 1 time in total.
User avatar
Xirizo
Senior Member
Posts: 198
Joined: May 24th, 2013, 11:53 am

Re: How to decode this to get recipe?

Post by Xirizo »

give entire script?
User avatar
Pio
Senior Member
Posts: 103
Joined: January 22nd, 2012, 4:41 am
Location: Việt Nam
Contact:

Re: How to decode this to get recipe?

Post by Pio »

Xirizo wrote:give entire script?


Add it in the first post.
User avatar
clanhinata
Old Wrinkly Member
Posts: 229
Joined: December 17th, 2011, 9:25 am
Title: Genius

Re: How to decode this to get recipe?

Post by clanhinata »

http://forum.wc3edit.net/useful-tools-f ... 26236.html
0x49303047 = $49303047 = 1227894855 = "Some Random Stupid Item Id"
User avatar
Pio
Senior Member
Posts: 103
Joined: January 22nd, 2012, 4:41 am
Location: Việt Nam
Contact:

Re: How to decode this to get recipe?

Post by Pio »

clanhinata wrote:http://forum.wc3edit.net/useful-tools-f69/hex-fixer-v28-t26236.html
0x49303047 = $49303047 = 1227894855 = "Some Random Stupid Item Id"



Thank you for help. Actually when I convert all of it to $493xxx and use fukki hex fixer it don't work.

So I try use the hexadecimal to text and it work. You're best.

Spoiler:
Image
CrossWing
Newcomer
Posts: 15
Joined: November 26th, 2012, 1:01 am

Re: How to decode this to get recipe?

Post by CrossWing »

no need to convert
[FukKi]Hex Fixer is auto do it
You do not have the required permissions to view the files attached to this post.
User avatar
Pio
Senior Member
Posts: 103
Joined: January 22nd, 2012, 4:41 am
Location: Việt Nam
Contact:

Re: How to decode this to get recipe?

Post by Pio »

Ehh, I guess Hex fixer of fukki dont work for me.. Don't know what is wrong with my computer. Shhh

Edit: Oh nvm. It's because I was use Hex Fixer V27.

Redownload and it work..
Post Reply