Easier way:
1. Open the .j file
2. Go to that function.
3. Highlight EVERYTHING under it until it says "endfunction"
4. Hit the backspace button.
5. Type the following under that function
call DoNothing()
(Understand what this does? Nothing)
6. Hit F9, any errors? If so, post here. We'll fix 'em.
7. Save and exit.
8. Import new .j into the map.
9. Find "(attributes)" file and delete that shit.
10. Play the map.
BTW, you OBVIOUSLY haven't look at any other topic on this site.
Need help Bypassing a smart protection...
Moderator: Cheaters
-
- Forum Staff
- Posts: 1400
- Joined: March 17th, 2008, 12:07 am
Re: Need help Bypassing a smart protection...

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...
Damn, I'm stupid, I had one... that's how I extracted the .j
I can't find what to disable exactly. I tried several thing, but the code is different from what yhe guy show in his tutorial. There is no "exit if..." Whenever I try something, the game just doesn't start, and WIII show me the selection menu again. Could you help me figure out what's wrong ?
function dc takes nothing returns nothing
local timerdialog Dc=CreateTimerDialog(N)
local integer x=0
call TimerDialogSetTitle(Dc,"Income recieved in: ")
call TimerDialogDisplay(Dc,true)
call FogMaskEnable(true)
call FogEnable(true)
loop
exitwhen x==$A
if(GetPlayerSlotState(Player(x))==PLAYER_SLOT_STATE_PLAYING)then
set be=be+1
call SetPlayerState(Player(x),PLAYER_STATE_RESOURCE_HERO_TOKENS,bj_MELEE_STARTING_HERO_TOKENS)
endif
set x=x+1
endloop
endfunction
function Fc takes nothing returns boolean
return bj_isSinglePlayer
endfunction
function gc 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 hc 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
Oh and I don't see at all what you mean by deleting (attributes) in my MPQ editor... Sorry but i'm a total noob ^^
Edit : Trying what you just said...
I can't find what to disable exactly. I tried several thing, but the code is different from what yhe guy show in his tutorial. There is no "exit if..." Whenever I try something, the game just doesn't start, and WIII show me the selection menu again. Could you help me figure out what's wrong ?
function dc takes nothing returns nothing
local timerdialog Dc=CreateTimerDialog(N)
local integer x=0
call TimerDialogSetTitle(Dc,"Income recieved in: ")
call TimerDialogDisplay(Dc,true)
call FogMaskEnable(true)
call FogEnable(true)
loop
exitwhen x==$A
if(GetPlayerSlotState(Player(x))==PLAYER_SLOT_STATE_PLAYING)then
set be=be+1
call SetPlayerState(Player(x),PLAYER_STATE_RESOURCE_HERO_TOKENS,bj_MELEE_STARTING_HERO_TOKENS)
endif
set x=x+1
endloop
endfunction
function Fc takes nothing returns boolean
return bj_isSinglePlayer
endfunction
function gc 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 hc 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
Oh and I don't see at all what you mean by deleting (attributes) in my MPQ editor... Sorry but i'm a total noob ^^
Edit : Trying what you just said...
-
- Forum Staff
- Posts: 1400
- Joined: March 17th, 2008, 12:07 am
Re: Need help Bypassing a smart protection...
Lmao!
That's a beginning trigger, not just one dedicated
to disabling SP. Don't delete all of it. Lawl.
Just replace the "call customdefeat" line
with "call DoNothing()"
ftw
That's a beginning trigger, not just one dedicated
to disabling SP. Don't delete all of it. Lawl.
Just replace the "call customdefeat" line
with "call DoNothing()"
ftw

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...
I know it's not all dedicated to SP, but I couldn't figure out what line belonged to what. so I took a large quote of my .j ^^
Here's what it looks like for now :
loop
exitwhen x==$A
call DoNothing()
set x=x+1
endloop
It's not working... And there is something strange : my map is getting bigger and bigger each time I modify my .j. It was 500 ko, it became 1.6 mo after several try. I tried the same modification with an original version of the map, but same thing : it's not working, the map won't launch.
Attributes has been deleted, F9 says : Error Launching Pjass
Here's what it looks like for now :
loop
exitwhen x==$A
call DoNothing()
set x=x+1
endloop
It's not working... And there is something strange : my map is getting bigger and bigger each time I modify my .j. It was 500 ko, it became 1.6 mo after several try. I tried the same modification with an original version of the map, but same thing : it's not working, the map won't launch.
Attributes has been deleted, F9 says : Error Launching Pjass
-
- Forum Staff
- Posts: 1400
- Joined: March 17th, 2008, 12:07 am
Re: Need help Bypassing a smart protection...
/facepalm.
Give me the map, kthx.
Give me the map, kthx.

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...
You can find it on my first post. Direct link :
http://www.epicwar.com/maps/download/83 ... 04.2.0.w3x
http://www.epicwar.com/maps/download/83 ... 04.2.0.w3x
-
- Forum Staff
- Posts: 1400
- Joined: March 17th, 2008, 12:07 am
Re: Need help Bypassing a smart protection...
fjjsdfsf.
Tell me if anything bad happens when you play this map.
Tell me if anything bad happens when you play this map.
You do not have the required permissions to view the files attached to this post.

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...
Seems like it works perfectly !!! Thx a lot ! ur the best
And sorry for all the newbies questions...
And sorry for all the newbies questions...
-
- Forum Staff
- Posts: 1400
- Joined: March 17th, 2008, 12:07 am
Re: Need help Bypassing a smart protection...
Don't thank me, I just followed the 10-step guide that
someone posted a few posts ago. Oh wait, that was me. /cheer
someone posted a few posts ago. Oh wait, that was me. /cheer

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...
Well I followed those tutorials :
http://forum.wc3edit.net/deprotection-c ... t5725.html
http://www.d3scene.com/forum/editing/19 ... layer.html
But I just totally failed...
http://forum.wc3edit.net/deprotection-c ... t5725.html
http://www.d3scene.com/forum/editing/19 ... layer.html
But I just totally failed...