• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Crash] This Freaking world editer

Status
Not open for further replies.
Level 3
Joined
Jun 22, 2012
Messages
28
My Warcraft 3 Word Editer Worked ytd with all the triggers and the next day (No body touched my warcraft 3 editer or modified the file it self ) It says Script Errors

//===========================================================================
//
// War of Heroes vBeta 0.1
//
// Warcraft III map script
// Generated by the Warcraft III World Editor
// Date: Sat Mar 09 14:44:03 2013
// Map Author: MonsterNinja
//
//===========================================================================

//***************************************************************************
//*
//* Global Variables
//*
//***************************************************************************

globals
// Generated
rect gg_rct_Region_000 = null
rect gg_rct_Region_001 = null
rect gg_rct_Region_002 = null
rect gg_rct_Region_003 = null
rect gg_rct_Region_004 = null
rect gg_rct_Region_005 = null
rect gg_rct_Region_006 = null
rect gg_rct_Region_007 = null
rect gg_rct_Region_008 = null
rect gg_rct_Region_009 = null
trigger gg_trg_Creepss_spawn = null
trigger gg_trg_Creeps_Spawn = null
trigger gg_trg_Netural_creeps = null
endglobals

function InitGlobals takes nothing returns nothing
endfunction

//***************************************************************************
//*
//* Unit Creation
//*
//***************************************************************************

//===========================================================================
function CreateBuildingsForPlayer0 takes nothing returns nothing
local player p = Player(0)
local unit u
local integer unitID
local trigger t
local real life

set u = CreateUnit( p, 'h000', -8000.0, 8704.0, 270.000 )
set u = CreateUnit( p, 'e000', -5984.0, -8352.0, 270.000 )
set u = CreateUnit( p, 'e000', -6112.0, -7008.0, 270.000 )
set u = CreateUnit( p, 'e000', -8608.0, -6624.0, 270.000 )
endfunction

//===========================================================================
function CreateBuildingsForPlayer1 takes nothing returns nothing
local player p = Player(1)
local unit u
local integer unitID
local trigger t
local real life

set u = CreateUnit( p, 'h000', -7808.0, 8704.0, 270.000 )
endfunction

//===========================================================================
function CreateBuildingsForPlayer2 takes nothing returns nothing
local player p = Player(2)
local unit u
local integer unitID
local trigger t
local real life

set u = CreateUnit( p, 'h000', -8192.0, 8512.0, 270.000 )
endfunction

//===========================================================================
function CreateBuildingsForPlayer3 takes nothing returns nothing
local player p = Player(3)
local unit u
local integer unitID
local trigger t
local real life

set u = CreateUnit( p, 'h000', -8192.0, 8320.0, 270.000 )
endfunction

//===========================================================================
function CreateBuildingsForPlayer4 takes nothing returns nothing
local player p = Player(4)
local unit u
local integer unitID
local trigger t
local real life

set u = CreateUnit( p, 'h000', -7616.0, 8576.0, 270.000 )
endfunction

//===========================================================================
function CreateBuildingsForPlayer5 takes nothing returns nothing
local player p = Player(5)
local unit u
local integer unitID
local trigger t
local real life

set u = CreateUnit( p, 'h000', -7616.0, 8384.0, 270.000 )
endfunction

//===========================================================================
function CreateBuildingsForPlayer6 takes nothing returns nothing
local player p = Player(6)
local unit u
local integer unitID
local trigger t
local real life

set u = CreateUnit( p, 'h000', -7616.0, 8192.0, 270.000 )
endfunction

//===========================================================================
function CreateBuildingsForPlayer7 takes nothing returns nothing
local player p = Player(7)
local unit u
local integer unitID
local trigger t
local real life

set u = CreateUnit( p, 'h000', -7808.0, 8192.0, 270.000 )
endfunction

//===========================================================================
function CreateBuildingsForPlayer8 takes nothing returns nothing
local player p = Player(8)
local unit u
local integer unitID
local trigger t
local real life

set u = CreateUnit( p, 'h000', -8000.0, 8192.0, 270.000 )
endfunction

//===========================================================================
function CreateBuildingsForPlayer9 takes nothing returns nothing
local player p = Player(9)
local unit u
local integer unitID
local trigger t
local real life

set u = CreateUnit( p, 'h000', -8192.0, 8192.0, 270.000 )
endfunction

//===========================================================================
function CreateBuildingsForPlayer10 takes nothing returns nothing
local player p = Player(10)
local unit u
local integer unitID
local trigger t
local real life

set u = CreateUnit( p, 'e000', 6624.0, 8224.0, 270.000 )
set u = CreateUnit( p, 'e000', 6752.0, 6752.0, 270.000 )
set u = CreateUnit( p, 'e000', 8160.0, 6240.0, 270.000 )
endfunction

//===========================================================================
function CreateBuildingsForPlayer11 takes nothing returns nothing
local player p = Player(11)
local unit u
local integer unitID
local trigger t
local real life

set u = CreateUnit( p, 'h000', -8192.0, 8704.0, 270.000 )
endfunction

//===========================================================================
function CreateNeutralPassiveBuildings takes nothing returns nothing
local player p = Player(PLAYER_NEUTRAL_PASSIVE)
local unit u
local integer unitID
local trigger t
local real life

set u = CreateUnit( p, 'n000', -8576.0, 8704.0, 270.000 )
call SetUnitColor( u, ConvertPlayerColor(1) )
set u = CreateUnit( p, 'n00A', -8704.0, -9024.0, 270.000 )
set u = CreateUnit( p, 'n00A', 8832.0, 8640.0, 270.000 )
endfunction

//===========================================================================
function CreatePlayerBuildings takes nothing returns nothing
call CreateBuildingsForPlayer0( )
call CreateBuildingsForPlayer1( )
call CreateBuildingsForPlayer2( )
call CreateBuildingsForPlayer3( )
call CreateBuildingsForPlayer4( )
call CreateBuildingsForPlayer5( )
call CreateBuildingsForPlayer6( )
call CreateBuildingsForPlayer7( )
call CreateBuildingsForPlayer8( )
call CreateBuildingsForPlayer9( )
call CreateBuildingsForPlayer10( )
call CreateBuildingsForPlayer11( )
endfunction

//===========================================================================
function CreatePlayerUnits takes nothing returns nothing
endfunction

//===========================================================================
function CreateAllUnits takes nothing returns nothing
call CreateNeutralPassiveBuildings( )
call CreatePlayerBuildings( )
call CreatePlayerUnits( )
endfunction

//***************************************************************************
//*
//* Regions
//*
//***************************************************************************

function CreateRegions takes nothing returns nothing
local weathereffect we

set gg_rct_Region_000 = Rect( -928.0, -6176.0, -160.0, -5312.0 )
set gg_rct_Region_001 = Rect( -2336.0, -6592.0, -1568.0, -5792.0 )
set gg_rct_Region_002 = Rect( 5920.0, -7104.0, 7520.0, -6272.0 )
set gg_rct_Region_003 = Rect( 6592.0, 2464.0, 7328.0, 3136.0 )
set gg_rct_Region_004 = Rect( -6208.0, -7040.0, -5600.0, -6496.0 )
set gg_rct_Region_005 = Rect( -5856.0, -8608.0, -5376.0, -7904.0 )
set gg_rct_Region_006 = Rect( -8992.0, -6816.0, -8192.0, -6336.0 )
set gg_rct_Region_007 = Rect( 5760.0, 7904.0, 6432.0, 8512.0 )
set gg_rct_Region_008 = Rect( 6304.0, 6432.0, 6816.0, 6880.0 )
set gg_rct_Region_009 = Rect( 7840.0, 5920.0, 8512.0, 6304.0 )
endfunction

//***************************************************************************
//*
//* Players
//*
//***************************************************************************

function InitCustomPlayerSlots takes nothing returns nothing

// Player 0
call SetPlayerStartLocation( Player(0), 0 )
call ForcePlayerStartLocation( Player(0), 0 )
call SetPlayerColor( Player(0), ConvertPlayerColor(0) )
call SetPlayerRacePreference( Player(0), RACE_PREF_RANDOM )
call SetPlayerRaceSelectable( Player(0), true )
call SetPlayerController( Player(0), MAP_CONTROL_COMPUTER )

// Player 1
call SetPlayerStartLocation( Player(1), 1 )
call ForcePlayerStartLocation( Player(1), 1 )
call SetPlayerColor( Player(1), ConvertPlayerColor(1) )
call SetPlayerRacePreference( Player(1), RACE_PREF_RANDOM )
call SetPlayerRaceSelectable( Player(1), true )
call SetPlayerController( Player(1), MAP_CONTROL_USER )

endfunction

function InitCustomTeams takes nothing returns nothing
// Force: TRIGSTR_006
call SetPlayerTeam( Player(0), 0 )
call SetPlayerTeam( Player(1), 0 )

endfunction

//***************************************************************************
//*
//* Main Initialization
//*
//***************************************************************************

//===========================================================================
function main takes nothing returns nothing
call SetCameraBounds( -9472.0 + GetCameraMargin(CAMERA_MARGIN_LEFT), -9728.0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM), 9472.0 - GetCameraMargin(CAMERA_MARGIN_RIGHT), 9216.0 - GetCameraMargin(CAMERA_MARGIN_TOP), -9472.0 + GetCameraMargin(CAMERA_MARGIN_LEFT), 9216.0 - GetCameraMargin(CAMERA_MARGIN_TOP), 9472.0 - GetCameraMargin(CAMERA_MARGIN_RIGHT), -9728.0 + GetCameraMargin(CAMERA_MARGIN_BOTTOM) )
call SetDayNightModels( "Environment\\DNC\\DNCLordaeron\\DNCLordaeronTerrain\\DNCLordaeronTerrain.mdl", "Environment\\DNC\\DNCLordaeron\\DNCLordaeronUnit\\DNCLordaeronUnit.mdl" )
call NewSoundEnvironment( "Default" )
call SetAmbientDaySound( "CityScapeDay" )
call SetAmbientNightSound( "CityScapeNight" )
call SetMapMusic( "Music", true, 0 )
call CreateRegions( )
call CreateAllUnits( )
call InitBlizzard( )
call InitGlobals( )

endfunction

//***************************************************************************
//*
//* Map Configuration
//*
//***************************************************************************

function config takes nothing returns nothing
call SetMapName( "TRIGSTR_001" )
call SetMapDescription( "TRIGSTR_003" )
call SetPlayers( 2 )
call SetTeams( 2 )
call SetGamePlacement( MAP_PLACEMENT_USE_MAP_SETTINGS )

call DefineStartLocation( 0, -8576.0, 8640.0 )
call DefineStartLocation( 1, -7936.0, 8576.0 )

// Player setup
call InitCustomPlayerSlots( )
call SetPlayerSlotAvailable( Player(0), MAP_CONTROL_COMPUTER )
call SetPlayerSlotAvailable( Player(1), MAP_CONTROL_USER )
call InitGenericPlayerSlots( )
endfunction

What bull shit is this i use a crack Warcraft 3 but it still works for warcraft 3 wordl editer i been making maps for years and now it goes crappy on me could any body tell me how to fix this bull shit i am so piseed right now i cant even make my new map!!! :goblin_jawdrop:
 
Level 29
Joined
Oct 24, 2012
Messages
6,543
Then we cannot help you. You have modified WarCraft III in unsupported ways.

Seeing how WarCraft III does not even need a crack since the NOCD patch... I am at a total loss as to why you are using one.

im guessing he uses the crack to install so he could go on battle.net

u still need the install code to be able to play online.
 
Then we cannot help you. You have modified WarCraft III in unsupported way

Seeing how WarCraft III does not even need a crack since the NOCD patch... I am at a total loss as to why you are using one.

Remember, it cost $10 to buy each version of warcraft 3, thus thats the only reason, what is NOCD?
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,180
im guessing he uses the crack to install so he could go on battle.net
Which makes no sense as BattleNet still needs a valid CDKey to authenticate login (so any crack in the world could not allow him to go on to BattleNet unless he had a valid CDKey already in which case he would not need a crack in the first place).

what is NOCD
When WarCraft III was released the game required you to keep the installation CDs in your disk drive in order for it to start. Since the launch of a digital download version of WarCraft III on BattleNet 2.0 they patched the game that it no longer needs the installation CD to start. Cracks for WarCraft III used to be used to bypass this CD check but since the introduction of the NOCD patch to allow digital versions to play they are redundant. The only time you need a CDKey is when installing the game and that is not even checked for authenticity (only that it is of a valid form).

10 dollars just for a game you could easily play using crack
Except you do not need a crack to play WarCraft III. After installing the game and patching it to the latest version it will run (as it has no DRM except for when trying to use BattleNet). Thus any crack for WarCraft III is almost guaranteed to be malware (and thus why it does not work, it probably has infected your computer as well).

I strongly advise you buy the game. The money encourages Blizzard to keep producing games and it is only fair that if you used something heavilly, you buy it.
 
When WarCraft III was released the game required you to keep the installation CDs in your disk drive in order for it to start. Since the launch of a digital download version of WarCraft III on BattleNet 2.0 they patched the game that it no longer needs the installation CD to start. Cracks for WarCraft III used to be used to bypass this CD check but since the introduction of the NOCD patch to allow digital versions to play they are redundant. The only time you need a CDKey is when installing the game and that is not even checked for authenticity (only that it is of a valid form).

You mean the old days where we must have the CD to Install and play on B.Net right, so they are no longer needed, so that is what you mean NOCD, you merge the word where it makes me confused:grin:

And that means there is no longer in need for us to keep the CD in our Hard Disk? Since once verification completed they are verification Keys, Am I right?
 
Status
Not open for further replies.
Top