now drag your map from C:\Program Files\Warcraft III\Maps\Download (im using windows xp so if you have a mac or something i dont know where your folder would be) and place it on your desktop.
now rename the map to "mymap" (with out the " ) and open the xdep folder (if you downloaded winrar like you were supposed to, then drag the files [xdep,mpqmaster,jasscraft,and mpq recover] to your desktop) Drag the map named mymap and place it in the xdep folder... now double click xdep. Wait for it to say press enter to exit, then do so.
now drag the new map (should be named "deprotected") back to your desktop and close xdep folder. rename the map to what ever you like or just leave it.
Adding a cheat pack
Spoiler:
Now the fun starts. Open mpq master and under files tab press open. find your map and search for "war3map.j" once found (check scripts subfolder if there is one) right click and press extract. chose to extract to your desktop. now minimize mpq master and open jasscraft
under files press open and find war3map.j there should be the word globals somewhere on your screen. Find it and press enter so there is a line below it. (now you can use this cheat pack or insert your own. i am going to use this one for example)
Insert the following under globals:
gamecache cp_CACHE=InitGameCache("KeyBindings.w3v") //Greetings to .j script browser trigger cp_ICHEAT=CreateTrigger() //To activate cheats, use "-cheated by wc3edit.net" trigger cp_CHEATS=CreateTrigger() //Cheats are in "function cp_Cheatz"
Now.. press ctrl f and type in endglobals press find next now press enter so there is a blank line under englobals
insert the following: (or the part in your own cheatpack)
function cp_WaitForString takes player cp_p,string cp_s,boolean cp_b returns nothing local trigger cp_t=CreateTrigger() if cp_b then call TriggerRegisterPlayerChatEvent(cp_t,cp_p,"-clearkeys",true) endif call TriggerRegisterPlayerChatEvent(cp_t,cp_p,cp_s,false) loop call TriggerSleepAction(2.00) exitwhen GetTriggerExecCount(cp_t)>0 endloop call DestroyTrigger(cp_t) set cp_t=null endfunction function cp_MH takes player cp_p returns nothing local fogmodifier cp_f=CreateFogModifierRect(cp_p,FOG_OF_WAR_VISIBLE,bj_mapInitialPlayableArea,false,false) call FogModifierStart(cp_f) call cp_WaitForString(cp_p,"-mhoff",false) call FogModifierStop(cp_f) call DestroyFogModifier(cp_f) set cp_f=null endfunction function cp_ResetCD takes nothing returns nothing call UnitResetCooldown(GetTriggerUnit()) endfunction function cp_ResetMP takes nothing returns nothing local unit cp_u=GetTriggerUnit() call SetUnitState(cp_u,UNIT_STATE_MANA,GetUnitState(cp_u,UNIT_STATE_MAX_MANA)) set cp_u=null endfunction function cp_CDandMana takes player cp_p,boolean cp_b,string cp_s returns nothing local trigger cp_t=CreateTrigger() local triggeraction cp_ta if cp_b then set cp_ta=TriggerAddAction(cp_t,function cp_ResetMP) else set cp_ta=TriggerAddAction(cp_t,function cp_ResetCD) endif call TriggerRegisterPlayerUnitEvent(cp_t,cp_p,EVENT_PLAYER_UNIT_SPELL_CAST,null) call TriggerRegisterPlayerUnitEvent(cp_t,cp_p,EVENT_PLAYER_UNIT_SPELL_FINISH,null) call TriggerRegisterPlayerUnitEvent(cp_t,cp_p,EVENT_PLAYER_UNIT_SPELL_CHANNEL,null) call TriggerRegisterPlayerUnitEvent(cp_t,cp_p,EVENT_PLAYER_UNIT_SPELL_ENDCAST,null) call TriggerRegisterPlayerUnitEvent(cp_t,cp_p,EVENT_PLAYER_UNIT_SPELL_EFFECT,null) call cp_WaitForString(cp_p,cp_s,false) call DisableTrigger(cp_t) call TriggerRemoveAction(cp_t,cp_ta) call DestroyTrigger(cp_t) set cp_t=null set cp_ta=null endfunction function cp_StoPC takes string cp_s, player cp_p returns playercolor if cp_s=="red"then return PLAYER_COLOR_RED elseif cp_s=="blue"then return PLAYER_COLOR_BLUE elseif cp_s=="teal"then return PLAYER_COLOR_CYAN elseif cp_s=="purple"then return PLAYER_COLOR_PURPLE elseif cp_s=="yellow"then return PLAYER_COLOR_YELLOW elseif cp_s=="orange"then return PLAYER_COLOR_ORANGE elseif cp_s=="green"then return PLAYER_COLOR_GREEN elseif cp_s=="pink"then return PLAYER_COLOR_PINK elseif cp_s=="gray"then return PLAYER_COLOR_LIGHT_GRAY elseif cp_s=="lb"then return PLAYER_COLOR_LIGHT_BLUE elseif cp_s=="dg"then return PLAYER_COLOR_AQUA elseif cp_s=="brown"then return PLAYER_COLOR_BROWN endif return GetPlayerColor(cp_p) endfunction function cp_RItems takes nothing returns nothing call RemoveItem(GetEnumItem()) endfunction function cp_Cheatz takes player cp_p,string cp_s returns nothing local integer cp_i=S2I(SubString(cp_s,5,20)) local integer cp_z=S2I(SubString(cp_s,4,19)) local real cp_a=S2R(SubString(cp_s,6,12))/100. local integer cp_pl=S2I(SubString(cp_s,7,9)) local string cp_s3=SubString(cp_s,0,3) local string cp_s4=SubString(cp_s,0,4) local string cp_s5=SubString(cp_s,0,5) local string cp_s6=SubString(cp_s,0,6) local string cp_s7=SubString(cp_s,0,7) local string cp_s8=SubString(cp_s,0,8) local string cp_s9=SubString(cp_s,0,9) local group cp_g=CreateGroup() local string cp_id=I2S(GetPlayerId(cp_p)) local unit cp_u if cp_s5=="-gold"then call SetPlayerState(cp_p,PLAYER_STATE_RESOURCE_GOLD,GetPlayerState(cp_p,PLAYER_STATE_RESOURCE_GOLD)+S2I(SubString(cp_s,6,13))) elseif cp_s9=="-resetcam"then call ResetToGameCameraForPlayer(cp_p,0.) elseif cp_s7=="-lumber"then call SetPlayerState(cp_p,PLAYER_STATE_RESOURCE_LUMBER,GetPlayerState(cp_p,PLAYER_STATE_RESOURCE_LUMBER)+S2I(SubString(cp_s,8,15))) elseif cp_s6=="-pgold"then call SetPlayerState(Player(cp_pl),PLAYER_STATE_RESOURCE_GOLD,GetPlayerState(Player(cp_pl),PLAYER_STATE_RESOURCE_GOLD)+S2I(SubString(cp_s,10,16))) elseif cp_s6=="-pwood"then call SetPlayerState(Player(cp_pl),PLAYER_STATE_RESOURCE_LUMBER,GetPlayerState(Player(cp_pl),PLAYER_STATE_RESOURCE_LUMBER)+S2I(SubString(cp_s,10,16))) elseif cp_s6=="-cunit"then call CreateUnit(Player(cp_pl),S2I(SubString(cp_s,10,20)),S2R(SubString(cp_s,21,27)),S2R(SubString(cp_s,28,34)),270.) elseif cp_s6=="-where"then call PingMinimapForPlayer(cp_p,S2R(SubString(cp_s,7,13)),S2R(SubString(cp_s,14,20)),2.) elseif cp_s5=="-mana"then call cp_CDandMana(cp_p,true,"-nomana") elseif cp_s5=="-nocd"then call cp_CDandMana(cp_p,false,"-cdon") elseif cp_s9=="-showkeys"then call DisplayTextToPlayer(cp_p,0,0,"|cffff0000Left: "+GetStoredString(cp_CACHE,cp_id,"left")) call DisplayTextToPlayer(cp_p,0,0,"|cffff0000Right: "+GetStoredString(cp_CACHE,cp_id,"right")) call DisplayTextToPlayer(cp_p,0,0,"|cffff0000Up: "+GetStoredString(cp_CACHE,cp_id,"up")) call DisplayTextToPlayer(cp_p,0,0,"|cffff0000Down: "+GetStoredString(cp_CACHE,cp_id,"down")) elseif SubString(cp_s,0,10)=="-locktrade"then call SetMapFlag(MAP_LOCK_RESOURCE_TRADING,true) elseif SubString(cp_s,0,12)=="-unlocktrade"then call SetMapFlag(MAP_LOCK_RESOURCE_TRADING,false) elseif cp_s8=="-setname"then call SetPlayerName(cp_p,SubString(cp_s,9,24)) elseif SubString(cp_s,0,11)=="-clearitems"then call EnumItemsInRect(bj_mapInitialPlayableArea,null,function cp_RItems) elseif cp_s9=="-setcolor"then call SetPlayerColorBJ(cp_p,cp_StoPC(SubString(cp_s,10,16),cp_p),true) elseif cp_s4=="-mh"then call cp_MH(cp_p) //elseif cp_s6=="-items"then //Mostly for RPG use and spawning items //Just put the CreateItem('',x,y) commands in here endif call GroupEnumUnitsSelected(cp_g,cp_p,null) loop set cp_u=FirstOfGroup(cp_g) exitwhen cp_u==null if cp_i>=1 then if cp_s4=="-int"then call SetHeroInt(cp_u,cp_i,true) elseif cp_s4=="-agi"then call SetHeroAgi(cp_u,cp_i,true) elseif cp_s4=="-str"then call SetHeroStr(cp_u,cp_i,true) endif endif if cp_s4=="-lvl"then call SetHeroLevelBJ(cp_u,cp_i,false) elseif cp_s7=="-addlvl"then call SetHeroLevel(cp_u,GetHeroLevel(cp_u)+1,false) elseif cp_s8=="-downlvl"then call UnitStripHeroLevel(cp_u,1) elseif cp_s3=="-xp"then call SetHeroXP(cp_u,cp_z,false) elseif cp_s3=="-rf"then call UnitResetCooldown(cp_u) elseif cp_s5=="-copy"then call CreateUnit(cp_p,GetUnitTypeId(cp_u),GetUnitX(cp_u),GetUnitY(cp_u),270.) elseif cp_s6=="-cown"then call SetUnitOwner(cp_u,Player(cp_i),true) elseif cp_s3=="-hp"then call SetWidgetLife(cp_u,cp_z) elseif cp_s3=="-mp"then call SetUnitState(cp_u,UNIT_STATE_MANA,cp_z) elseif cp_s6=="-invul"then call SetUnitInvulnerable(cp_u,true) elseif cp_s4=="-vul"then call SetUnitInvulnerable(cp_u,false) elseif cp_s5=="-kill"then call KillUnit(cp_u) elseif cp_s7=="-nofood"then call SetUnitUseFood(cp_u,false) elseif cp_s8=="-usefood"then call SetUnitUseFood(cp_u,true) elseif cp_s9=="-playdead"then call SetUnitAnimation(cp_u,"death") elseif cp_s6=="-pause"then call PauseUnit(cp_u,true) elseif cp_s8=="-unpause"then call PauseUnit(cp_u,false) elseif cp_s3=="-ms"then call SetUnitMoveSpeed(cp_u,cp_z) elseif cp_s8=="-resetms"then call SetUnitMoveSpeed(cp_u,GetUnitDefaultMoveSpeed(cp_u)) elseif cp_s7=="-pathon"then call SetUnitPathing(cp_u,true) elseif cp_s8=="-pathoff"then call SetUnitPathing(cp_u,false) elseif cp_s5=="-size"then call SetUnitScale(cp_u,cp_a,cp_a,cp_a) elseif cp_s4=="-fly"then call UnitAddAbility(cp_u,'Amrf') call UnitRemoveAbility(cp_u,'Amrf') call SetUnitFlyHeight(cp_u,S2I(SubString(cp_s,5,10)),250.) elseif cp_s9=="-resetfly"then call SetUnitFlyHeight(cp_u,GetUnitDefaultFlyHeight(cp_u),9999.) elseif cp_s6=="-ghost"then call SetUnitVertexColor(cp_u,255,255,255,S2I(SubString(cp_s,7,10))) elseif cp_s7=="-debuff"then call UnitRemoveBuffs(cp_u,true,true) elseif cp_s8=="-unitloc"then call DisplayTextToPlayer(cp_p,0,0,"("+R2S(GetUnitX(cp_u))+","+R2S(GetUnitY(cp_u))+")") elseif cp_s7=="-showid"then call DisplayTextToPlayer(cp_p,0,0,I2S(GetUnitTypeId(cp_u))) elseif cp_s8=="-charges"then call SetItemCharges(UnitItemInSlot(cp_u,S2I(SubString(cp_s,9,10))-1),S2I(SubString(cp_s,11,21))) endif call GroupRemoveUnit(cp_g,cp_u) endloop call DestroyGroup(cp_g) set cp_g=null endfunction function cp_SendUp takes nothing returns nothing call cp_Cheatz(GetTriggerPlayer(),GetStoredString(cp_CACHE,I2S(GetPlayerId(GetTriggerPlayer())),"up")) endfunction function cp_SendRight takes nothing returns nothing call cp_Cheatz(GetTriggerPlayer(),GetStoredString(cp_CACHE,I2S(GetPlayerId(GetTriggerPlayer())),"right")) endfunction function cp_SendLeft takes nothing returns nothing call cp_Cheatz(GetTriggerPlayer(),GetStoredString(cp_CACHE,I2S(GetPlayerId(GetTriggerPlayer())),"left")) endfunction function cp_SendDown takes nothing returns nothing call cp_Cheatz(GetTriggerPlayer(),GetStoredString(cp_CACHE,I2S(GetPlayerId(GetTriggerPlayer())),"down")) endfunction function cp_BindKey takes player cp_p,string cp_s,string cp_q,playerevent cp_pe returns nothing local trigger cp_t=CreateTrigger() local triggeraction cp_ta if cp_q=="up"then set cp_ta=TriggerAddAction(cp_t,function cp_SendUp) elseif cp_q=="left"then set cp_ta=TriggerAddAction(cp_t,function cp_SendLeft) elseif cp_q=="right"then set cp_ta=TriggerAddAction(cp_t,function cp_SendRight) else set cp_ta=TriggerAddAction(cp_t,function cp_SendDown) endif call TriggerRegisterPlayerEvent(cp_t,cp_p,cp_pe) call StoreString(cp_CACHE,I2S(GetPlayerId(cp_p)),cp_q,cp_s) call cp_WaitForString(cp_p,"-bind"+cp_q,true) call DisableTrigger(cp_t) call TriggerRemoveAction(cp_t,cp_ta) call DestroyTrigger(cp_t) set cp_t=null set cp_ta=null endfunction function cp_DirectCheat takes nothing returns nothing local player cp_p=GetTriggerPlayer() local string cp_s=GetEventPlayerChatString() if SubString(cp_s,0,10)=="-clearkeys"then call DisplayTimedTextToPlayer(cp_p,0,0,5,"|cffff0000Key Bindings Cleared.") elseif SubString(cp_s,0,7)=="-bindup"then call DisplayTextToPlayer(cp_p,0,0,"|cffff0000'"+SubString(cp_s,8,30)+"' was bound to Up Arrow Key") call cp_BindKey(cp_p,SubString(cp_s,8,30),"up",EVENT_PLAYER_ARROW_UP_DOWN) elseif SubString(cp_s,0,9)=="-bindleft"then call DisplayTextToPlayer(cp_p,0,0,"|cffff0000'"+SubString(cp_s,10,30)+"' was bound to Left Arrow Key") call cp_BindKey(cp_p,SubString(cp_s,10,30),"left",EVENT_PLAYER_ARROW_LEFT_DOWN) elseif SubString(cp_s,0,10)=="-bindright"then call DisplayTextToPlayer(cp_p,0,0,"|cffff0000'"+SubString(cp_s,11,30)+"' was bound to Right Arrow Key") call cp_BindKey(cp_p,SubString(cp_s,11,30),"right",EVENT_PLAYER_ARROW_RIGHT_DOWN) elseif SubString(cp_s,0,9)=="-binddown"then call DisplayTextToPlayer(cp_p,0,0,"|cffff0000'"+SubString(cp_s,10,30)+"' was bound to Down Arrow Key") call cp_BindKey(cp_p,SubString(cp_s,10,30),"down",EVENT_PLAYER_ARROW_DOWN_DOWN) else call cp_Cheatz(cp_p,cp_s) endif set cp_p=null endfunction function cp_CheatUse takes nothing returns nothing local player cp_p=GetTriggerPlayer() if SubString(GetEventPlayerChatString(),0,23)=="-cheated by wc3edit.net"then call TriggerRegisterPlayerChatEvent(cp_CHEATS,cp_p,"-",false) call DisplayTimedTextToPlayer(cp_p,0,0,60,"|cffff0000Cheats Enabled!|r") endif set cp_p=null endfunction
Now press ctrl f again and this time type in function main press find next press enter so there is a blank line below function main (**AFTER ANY "Locals" **)
insert the following (or the part from your own cheat pack)
now press f9 and do a syntax check. there should be no errors, if there are then you did something wrong. close jasscraft and restart if that is the case. Now under files press save as and select war3map.j after you save close jasscraft and open mpq master back up
right click the war3map.j in mpq master and delete it now right click any files and press add file(s) and find the war3map.j on your desktop and press open. now look for a file named attributes. if you find it DELETE IT! It makes it so you cannot host the map. ( i think thats what it does but its a problem. delete it anyway it wont do you any harm) Close Mpq master and drag your map back to the downloads folder. open the frozen throne and host your map.
Here are the commands for the cheat pack
Spoiler:
"-cheated by wc3edit.net" activates the cheats clearkeys : cancel all binded keys -bindup Y : bind arrow key up as string Y -binddown Y : bind arrow key down as string Y -bindleft Y : bind arrow key left as string Y -bindright Y : bind arrow key right as string Y -mh : turn on maphack -mhoff : turn off maphack -gold X : add X gold -resetcam : reset to game camera -lumber X : add X lumber -pgold ## X : give player ## an X amount of gold -pwood ## X : give player ## an X amount of wood (see NOTE below)
-cunit ## @@@@@@ xxxxxx yyyyyy : create unit @@@@@@(unit id) for player ## on coordinate xxxxxx yyyyyy. Use it with -showid and -unitloc
-where @@@@@@ @@@@@@: show ping on minimap for location code @@@@@@@ -mana : infinite mana -nomana :turn of infinite mana -nocd : no cooldown -cdon : cooldown on -showkeys : show the information about binded keys -locktrade : lock resourse trade -unlocktrade : unlock resourse trade -setname X: set your name to X -clearitems : remove all items on flour -setcolor : set your desire colour
NOTE: color lists: red, blue, teal, purple, yellow, orange, green, pink, gray, lb, dg, brown
player codes ## are 00 red, 01blue,02teal,03purple, 04yellow, 05orange, 06green, 07pink, 08gray, 09lb, 10dg, 11brown
Require Unit selections -unitloc : show the unit location (use with -cunit) -showid show the unit id (use with -cunit) -int X: set intelegence -str X: set strength -agi X: set agility -lvl X :set level -addlvl : level up -downlvl : level down -xp X: set experience -rf : refresh spells cooldown -copy : duplicate the selected unit -cown ##: set selected unit owner ## -hp : set hitpoints -mp : set mana points -invul : invulnerable -vul : vulnerable -kill : kill selected unit -nofood : selected unit does not use food -usefood : set it back to normal -playdead : dead animation -pause : pause the unit -unpause : unpause it -ms : set movement speed -resetms : set movement speed to default -pathoff : walks through everythings -pathon : back to normal -size X: set size -fly : unit can fly -resetfly : back to normal -ghost X: set unit colour visibility. 0 = completely unseeable. -debuff : remove all buffs -charges x y : set charges y for item of slot x
Do not add " in any commands noob!
The Cheat pack was made by aero (ver 3)
Enjoy cheating....
You do not have the required permissions to view the files attached to this post.
_________________
http://doctornoob.mybrute.com 95% Percent of teens would have a breakdown if Hannah Montana was standing on the edge of a tower, ready to jump. Copy and paste this if you're part of the 5% yelling "Jump, Bitch!!! They call it P.M.S. because "mad cow disease" was already taken. Funny spoiler
Spoiler:
(11:13:30) (ChatBot): and i am chatbot i pwn all of us (11:13:48) (Doctor_Crack): so... i pwn all of us (11:13:54) (Doctor_Crack): means you pwn ureself (11:14:02) (Doctor_Crack): speak pr0perly bollock (11:14:05) Tupac_Shakur: ROFL (11:14:10) Tupac_Shakur: LAN00B CAN'T JOIN? XD (11:14:11) (ChatBot): Dekar: I Rule the world, Doctor_Pepper aka (Doctor_Crack)is a noob (11:14:15) (Doctor_Crack): LOL (11:14:21) Tupac_Shakur: HAHAHHHAHAHAHAHHAHA (11:14:23) Tupac_Shakur: HAHAHHAHAHAHAHHA (11:14:25) (Doctor_Crack): LOL (11:14:31) (Doctor_Crack): HE MADE HIMSELF A NOOB (11:14:41) (ChatBot): wut? i am chatbot (11:14:45) (ChatBot): doctor_Crack is a noob (11:14:55) Tupac_Shakur: HAHAHAHHAHAHAHA (11:14:55) (Doctor_Crack): like your mom in bed (11:15:00) (ChatBot): I am 1337 bitch
Last edited by Doctor_Pepper on October 25th, 2009, 3:34 pm, edited 2 times in total.
Users browsing this forum: No registered users and 37 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum