Help w/ cheating this map

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
colmo
V.I.P.
Posts: 329
Joined: June 13th, 2007, 4:42 pm
Title: Wc3 is for Nerds!!!!

Help w/ cheating this map

Post by colmo »

Ok so i deprotected this map then i extracted the .j to jass craft and i couldnt find the "function main" even using the search tool.

any help will be appreciated
You do not have the required permissions to view the files attached to this post.
...................................................................................................................
Image

[blinking]How Do You Like Me Now? Also Im Going To Capitolize Every Word That I Type From Now On Just To Be Annoying.[/blinking]
User avatar
weirdone2
Forum Staff
Posts: 926
Joined: June 3rd, 2007, 8:03 pm

Re: Help w/ cheating this map

Post by weirdone2 »

Warcraft Evolution - Edition v.July
Line 17484-17524. :?

Code: Select all

function main takes nothing returns nothing
local weathereffect we
call SetCameraBounds(-7424.0+GetCameraMargin(CAMERA_MARGIN_LEFT),-7680.0+GetCameraMargin(CAMERA_MARGIN_BOTTOM),7424.0-GetCameraMargin(CAMERA_MARGIN_RIGHT),7168.0-GetCameraMargin(CAMERA_MARGIN_TOP),-7424.0+GetCameraMargin(CAMERA_MARGIN_LEFT),7168.0-GetCameraMargin(CAMERA_MARGIN_TOP),7424.0-GetCameraMargin(CAMERA_MARGIN_RIGHT),-7680.0+GetCameraMargin(CAMERA_MARGIN_BOTTOM))
call SetDayNightModels("Environment\\DNC\\DNCLordaeron\\DNCLordaeronTerrain\\DNCLordaeronTerrain.mdl","Environment\\DNC\\DNCLordaeron\\DNCLordaeronUnit\\DNCLordaeronUnit.mdl")
set we=AddWeatherEffect(Rect(-8192.0,-8192.0,8192.0,8192.0),'RAlr')
call EnableWeatherEffect(we,true)
call NewSoundEnvironment("Default")
call SetAmbientDaySound("SunkenRuinsDay")
call SetAmbientNightSound("SunkenRuinsNight")
call SetMapMusic("Music",true,0)
call InitSounds()
call CreateRegions()
call CreateCameras()
call CreateAllUnits()
call InitBlizzard()
call InitGlobals()
call InitCustomTriggers()
call RunInitializationTriggers()
endfunction
function config takes nothing returns nothing
call SetMapName("TRIGSTR_9791")
call SetMapDescription("TRIGSTR_005")
call SetPlayers(12)
call SetTeams(12)
call SetGamePlacement(MAP_PLACEMENT_TEAMS_TOGETHER)
call DefineStartLocation(0,4992.0,-4992.0)
call DefineStartLocation(1,6592.0,-7168.0)
call DefineStartLocation(2,6592.0,-7168.0)
call DefineStartLocation(3,6592.0,-7168.0)
call DefineStartLocation(4,6592.0,-7168.0)
call DefineStartLocation(5,6592.0,-7168.0)
call DefineStartLocation(6,-5120.0,4800.0)
call DefineStartLocation(7,-6912.0,6400.0)
call DefineStartLocation(8,-6912.0,6400.0)
call DefineStartLocation(9,-6912.0,6400.0)
call DefineStartLocation(10,-6912.0,6400.0)
call DefineStartLocation(11,-6912.0,6400.0)
call InitCustomPlayerSlots()
call InitCustomTeams()
call InitAllyPriorities()
endfunction
User avatar
colmo
V.I.P.
Posts: 329
Joined: June 13th, 2007, 4:42 pm
Title: Wc3 is for Nerds!!!!

Re: Help w/ cheating this map

Post by colmo »

what....lol i couldnt even find that with the search function.....
...................................................................................................................
Image

[blinking]How Do You Like Me Now? Also Im Going To Capitolize Every Word That I Type From Now On Just To Be Annoying.[/blinking]
ccgenius
Newcomer
Posts: 17
Joined: July 1st, 2007, 7:36 am

Re: Help w/ cheating this map

Post by ccgenius »

???
cntrol+F
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1792
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 78 times
Been thanked: 8 times

Re: Help w/ cheating this map

Post by Vegas »

next time open it up in ms word. I find the search and replace function to be a little iffy, and do those types of tasks in word instead.