Need help Bypassing a smart protection...

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Marchombre
Newcomer
Posts: 10
Joined: February 7th, 2010, 3:44 pm

Need help Bypassing a smart protection...

Post by Marchombre »

Hi guys !

I need your help to be able to play to one of my favorite map. The map is named Custom Castle Defense 4.2. There are several version, but you can get one here.
I don't want to put cheat in it, nor do I want to really modify it.

It's just that this map doesn't allow single player, and it's a bit tricky to get people playing with me on this map (it's not an easy map).
So I tried to open the map and remove that limitation. But it's protected. I removed several protections, but one is still resisting me. There seems to be a problem with the number of destructible/trees. whenever I try to save the map, I get an error that says more or less this :
Too many objects on the map. the limit of destructible/trees is 6144 but you have 8538 of them.

How is that possible, when i didn't changed anything, didn't add anything ? Did the author found a way to add more objects than normally possible ? Or did he faked the number ?

please, I need your help ^^

Oh and one last thing, here is a part of the trigger list. Could anyone tell me what to do to remove the limitation ? I picked the passage that I think is important, but i'm not sure. Do I have to just change x=x+1 to x=x+2 ?

ac=CreateTimerDialog(N)
local integer x=0
call TimerDialogSetTitle(ac,"Income recieved in: ")
call TimerDialogDisplay(ac,true)
call FogMaskEnable(true)
call FogEnable(true)
loop
exitwhen x==$A
if(GetPlayerSlotState(Player(x))==PLAYER_SLOT_STATE_PLAYING)then
set Ne=Ne+1
call SetPlayerState(Player(x),PLAYER_STATE_RESOURCE_HERO_TOKENS,bj_MELEE_STARTING_HERO_TOKENS)
endif
set x=x+1
endloop
endfunction
function Vc takes nothing returns boolean
return bj_isSinglePlayer
endfunction
function Ec takes nothing returns nothing
local integer x=0
loop
exitwhen x==$A
call CustomDefeatBJ(Player(x),"Can Not Play Single Player!")
set x=x+1
endloop
endfunction
function Oc takes nothing returns boolean
local integer u=GetUnitTypeId(GetTriggerUnit())
return(u=='h005')or(u=='h007')or(u=='h006')or(u=='h00A')or(u=='htow')or(u=='hkee')or(u=='hcas')or(u=='h00Q')or(u=='h00R')or(u=='h00S')
endfunction
function
User avatar
Ken
Spice Pirate
Posts: 862
Joined: January 29th, 2009, 5:35 pm
Title: LHC
Location: Canada

Re: Need help Bypassing a smart protection...

Post by Ken »

For the destructibles thing, just use Jass NewGen WE, since it removes limitations like that.

And to remove the anti-SP thing, just comment out the line you've got coloured. You do that by putting two slashes (//) in front of the line. So it'll become:

//call CustomDefeatBJ(Player(x),"Can Not Play Single Player!")
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that
Marchombre
Newcomer
Posts: 10
Joined: February 7th, 2010, 3:44 pm

Re: Need help Bypassing a smart protection...

Post by Marchombre »

Thx for your help. The problem is that the limitation isn't removed for me so i can't test your solution yet... are you sure NewGen WE removes limitations ?
User avatar
Kryptonyte
Forum Staff
Posts: 1400
Joined: March 17th, 2008, 12:07 am

Re: Need help Bypassing a smart protection...

Post by Kryptonyte »

Marchombre wrote:Thx for your help. The problem is that the limitation isn't removed for me so i can't test your solution yet... are you sure NewGen WE removes limitations ?
k.

1. Yes, he is sure. Don't fucking doubt the person helping you, especially if it's a Mod.

2. This isn't a smart protection. There is like a million things you can do to bypass it.

3. OFC the map is protected. Have you ever looked at another topic on this site?
You should never try to open maps in WE, it's completely a waste of time. >.>

4. You can't test his solution? RUNEWB? OFC you can test his solution. His solution
has NOTHING to do with ANY world editor. WTF?
Image
Made by the late ILikeHacking

My quote from SKillER
Spoiler:
Chat wrote:(19:12:41) SKillER: newfags cant triforce
(19:20:30) SKillER: ▲
▲ ▲
(19:20:35) SKillER: aww
(19:20:37) FatherSpace: FAIL
(19:20:43) Kryptonyte: Wow stop failing.
(19:20:47) SKillER: ▲
▲ ▲
(19:21:41) Kryptonyte: .

. ▲
▲ ▲
(19:22:20) Kryptonyte: I guess you were right, newfags can't triforce.
(19:22:29) SKillER: . . ▲
▲ ▲
(19:23:04) SKillER: OMFG
(19:23:06) SKillER: ... THIS CHAT
(19:23:06) SKillER: !
(19:23:36) SKillER: ▲
▲ ▲
(19:23:46) SKillER: ▲
.▲ ▲
Apparently, SKillER is a newfag.
Marchombre
Newcomer
Posts: 10
Joined: February 7th, 2010, 3:44 pm

Re: Need help Bypassing a smart protection...

Post by Marchombre »

My my did you had a hard time today ? You seems pretty agressive

Did I said it was strange for a map to be protected ? Doesn't seems to me... I'm just trying to understand how it works. I didn't found any informations about that kind of protection on the net, so I guessed (wrongly) that the guy did something uncommon, thus getting rid of any newb modifications.
I'm asking him if NewGen WE really removes limitation because I downloaded it. I launched it, and the problem of limitations is still here. I downloaded it on another website (maybe it could be a problem of version ?) but the older version isn't even working. Any idea of what I failed to do ?

for your last point, maybe you just simply didn't understood what I said, did you ? I was just fucking talking about the single player part... and I can't try THAT PART, because I can't bypass the limitations, so I can't save the map (thus I can't try my modifications). To try his solution, I need a Map editor to know if it works. You want me to create a map just to try if it works ?

Hoping I was even clearer this time.
User avatar
Ken
Spice Pirate
Posts: 862
Joined: January 29th, 2009, 5:35 pm
Title: LHC
Location: Canada

Re: Need help Bypassing a smart protection...

Post by Ken »

It might actually be World Editor Unlimited (WEU), though I was (and still am) pretty sure JNG has that feature too. Is the map properly deprotected?

And you can edit the .j file without any deprotection whatsoever, aside from de-corrupting, by following vRisen's handy-dandy guide here: http://forum.wc3edit.net/map-deprotecti ... 10059.html
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that
Marchombre
Newcomer
Posts: 10
Joined: February 7th, 2010, 3:44 pm

Re: Need help Bypassing a smart protection...

Post by Marchombre »

Is the map properly deprotected?
- Can't answer that... I'm a newb so it's hard to tell. I removed 2 or 3 basics protections I think.

About editing the .j
I didn't even had the idea you could do that outside of the map and put it in afterward. that was pretty obvious..;

But It doesn't work ^^
Here's what I did :
I used Jasscraft to change the .j, but when I clicked on the map in WIII, the game crashed with a fatal error and a memory could not be written.

Here's what I changed in Jasscraft :
//call CustomDefeatBJ(Player(x),"Can Not Play Single Player!")
set x=x+1
endloop
endfunction

Should I erase the entire line ? Should I put // at each line ?
User avatar
Ken
Spice Pirate
Posts: 862
Joined: January 29th, 2009, 5:35 pm
Title: LHC
Location: Canada

Re: Need help Bypassing a smart protection...

Post by Ken »

Did you delete (attributes) in your MPQ editor?
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that
Marchombre
Newcomer
Posts: 10
Joined: February 7th, 2010, 3:44 pm

Re: Need help Bypassing a smart protection...

Post by Marchombre »

No... I don't have any MPQ editor I think... could you tell me what should I do If I have one exactly ?
User avatar
Ken
Spice Pirate
Posts: 862
Joined: January 29th, 2009, 5:35 pm
Title: LHC
Location: Canada

Re: Need help Bypassing a smart protection...

Post by Ken »

Just follow the guide I linked earlier. It should help with this stuff.
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that