Hiding a portion of the .j file

black.sheep

Active Member
Reaction score
24
I have heard somewhere (Can't remember where) that its possible to hide the .j file of a wc3 map. However this is reversible, and is easily detected.
However, would it be possible to only hide a small portion of the file, meaning I could hide triggers that would uncover a secret item, while leaving the rest opened.
 

saw792

Is known to say things. That is all.
Reaction score
280
'Hiding' means moving it to Scripts\war3map.j instead of war3map.j in the map MPQ. Except that now does virtually nothing, since everyone expects it to be done. No, you cannot split up your .j file.

Off Topic: You don't 'get' a sig, you post a lot, help a lot of people, and you earn it.
 

Azlier

Old World Ghost
Reaction score
461
I think it would be fun to see if hiding everything except the main and config functions inside blizzard.j would actually work :).
 

Jesus4Lyf

Good Idea™
Reaction score
397
I think it would be fun to see if hiding everything except the main and config functions inside blizzard.j would actually work :).
Hell yea! I reckon you could decrease your map load time for free by moving everything from war3map.j to blizzard.j except init and main. :D

As long as you ban BJs.
Completely.
:p
 

black.sheep

Active Member
Reaction score
24
'Hiding' means moving it to Scripts\war3map.j instead of war3map.j in the map MPQ. Except that now does virtually nothing, since everyone expects it to be done. No, you cannot split up your .j file.

Off Topic: You don't 'get' a sig, you post a lot, help a lot of people, and you earn it.
Damn, that ruins my plan to sneakily hide a sneaky secret item in my game.
Okay... Is it possible to make a item ID harder to find?
 

saw792

Is known to say things. That is all.
Reaction score
280
Change it from 'I000' or whatever to it's actual base 10 equivalent?

JASS:
call BJDebugMsg(I2S('I000'))
to get the actual integer. Otherwise you could sum some random numbers together to make the id...
 

Viikuna

No Marlo no game.
Reaction score
265
Make some shit as long novel length text with thousands of characters and use several Substrings to get right characters out of it and use those to contruct the string you need.

Lol, protection like this seems kinda useless to me, because if someone really wants to breake it he eventually does. I just dont know why someone would like to do it in the first place.
 

lovexylitol

New Member
Reaction score
2
Change it from 'I000' or whatever to it's actual base 10 equivalent?

JASS:
call BJDebugMsg(I2S('I000'))
to get the actual integer. Otherwise you could sum some random numbers together to make the id...

Just in case, Vextorian's Map Optimizer can do this for you. Moreover, there are several tweeks availible to make your code quite un-readable.
 

Tru_Power22

You can change this now in User CP.
Reaction score
144
You could also obfuscate you jass, making it a pain in the ass to read.
 

WilliamPa

Active Member
Reaction score
51
Get hex editor and fuck up the map header :p most haxers will be pissed off then x)

I am not included in those people, since i can open it anyways :p
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top