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
Need help Bypassing a smart protection...
Moderator: Cheaters
-
- Newcomer
- Posts: 10
- Joined: February 7th, 2010, 3:44 pm
-
- Spice Pirate
- Posts: 862
- Joined: January 29th, 2009, 5:35 pm
- Title: LHC
- Location: Canada
Re: Need help Bypassing a smart protection...
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!")
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:
-
- Newcomer
- Posts: 10
- Joined: February 7th, 2010, 3:44 pm
Re: Need help Bypassing a smart protection...
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 ?
-
- Forum Staff
- Posts: 1400
- Joined: March 17th, 2008, 12:07 am
Re: Need help Bypassing a smart protection...
k.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 ?
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?
Made by the late ILikeHacking
My quote from SKillER
Spoiler:
-
- Newcomer
- Posts: 10
- Joined: February 7th, 2010, 3:44 pm
Re: Need help Bypassing a smart protection...
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.
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.
-
- Spice Pirate
- Posts: 862
- Joined: January 29th, 2009, 5:35 pm
- Title: LHC
- Location: Canada
Re: Need help Bypassing a smart protection...
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
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:
-
- Newcomer
- Posts: 10
- Joined: February 7th, 2010, 3:44 pm
Re: Need help Bypassing a smart protection...
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 ?
- 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 ?
-
- Spice Pirate
- Posts: 862
- Joined: January 29th, 2009, 5:35 pm
- Title: LHC
- Location: Canada
Re: Need help Bypassing a smart protection...
Did you delete (attributes) in your MPQ editor?
Spoiler:
-
- Newcomer
- Posts: 10
- Joined: February 7th, 2010, 3:44 pm
Re: Need help Bypassing a smart protection...
No... I don't have any MPQ editor I think... could you tell me what should I do If I have one exactly ?
-
- Spice Pirate
- Posts: 862
- Joined: January 29th, 2009, 5:35 pm
- Title: LHC
- Location: Canada
Re: Need help Bypassing a smart protection...
Just follow the guide I linked earlier. It should help with this stuff.
Spoiler: