• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Help WE bugged with a JASS script

Status
Not open for further replies.
Level 8
Joined
Apr 17, 2008
Messages
212
I was working on my map and it was finished, and just when i wanted to rest it for the last time, it told that i was not good or something

Now this is what i noticed

  • Wait 0,80 seconds
But normal it is

  • Wait 0.80 seconds
My dot has chanced to a comma, and i causes the game to crash!

This is the screen that pops up
Code:
//***************************************************************************
//*
//*  Global Variables
//*
//***************************************************************************

globals
    // Generated
    rect                    gg_rct_Rect_000            = null
    rect                    gg_rct_Rect_001            = null
    rect                    gg_rct_Rect_002            = null
    rect                    gg_rct_Rect_003            = null
    rect                    gg_rct_Ninja1first         = null
    rect                    gg_rct_ninja1second        = null
    rect                    gg_rct_Ronin_Stop          = null
    rect                    gg_rct_Ninja2              = null
    rect                    gg_rct_Ninja3first         = null
    rect                    gg_rct_Ninja3second        = null
    rect                    gg_rct_Ninja3last          = null
    rect                    gg_rct_NinjaLeader         = null
    rect                    gg_rct_Region_012          = null
    rect                    gg_rct_RoninMoveKill       = null
    rect                    gg_rct_RoninonHouse        = null
    rect                    gg_rct_NinjaHuh            = null
    rect                    gg_rct_Ronin_Stealth       = null
    rect                    gg_rct_PandaHouse          = null
    rect                    gg_rct_Captain_Tele        = null
    rect                    gg_rct_NinjaLackey1        = null
    rect                    gg_rct_Ninjalackey1_1      = null
    rect                    gg_rct_Ninjalackey2_2      = null
    rect                    gg_rct_KitharaiAttack      = null
    rect                    gg_rct_emperor             = null
    rect                    gg_rct_Empeor_Captured     = null
    rect                    gg_rct_Leave_House         = null
    rect                    gg_rct_Roninonhousefinal   = null
    rect                    gg_rct_MushionHouse        = null
    rect                    gg_rct_mine                = null
    rect                    gg_rct_StandBevoreMine     = null
    rect                    gg_rct_Guard1              = null
    rect                    gg_rct_Guard2              = null
    rect                    gg_rct_Spawn_ronin         = null
    rect                    gg_rct_Mushi               = null
    camerasetup             gg_cam_Camera_001          = null
    camerasetup             gg_cam_Camera_002          = null
    camerasetup             gg_cam_Camera_003          = null
    camerasetup             gg_cam_Camera_004          = null
    camerasetup             gg_cam_Camera_005          = null
    camerasetup             gg_cam_Camera_006          = null
    camerasetup             gg_cam_Camera_007          = null
    camerasetup             gg_cam_Camera_008          = null
    camerasetup             gg_cam_Camera_009          = null
    camerasetup             gg_cam_Camera_010          = null
    camerasetup             gg_cam_Camera_011          = null
    camerasetup             gg_cam_Camera_012          = null
    camerasetup             gg_cam_Camera_013          = null
    camerasetup             gg_cam_Camera_014          = null
    camerasetup             gg_cam_Camera_015          = null
    camerasetup             gg_cam_Camera_016          = null
    camerasetup             gg_cam_Camera_017          = null
    camerasetup             gg_cam_Camera_018          = null
    camerasetup             gg_cam_Camera_019          = null
    camerasetup             gg_cam_Camera_020          = null
    camerasetup             gg_cam_Camera_021          = null
    camerasetup             gg_cam_Camera_022          = null
    sound                   gg_snd_PandarenBrewmasterAttackEffort1 = null
    sound                   gg_snd_PandarenBrewmasterAttackEffort2 = null
    sound                   gg_snd_step                = null
    sound                   gg_snd_MetalLightChopMetal1 = null
    sound                   gg_snd_MetalMediumSliceFlesh2 = null
    sound                   gg_snd_MetalHeavySliceFlesh2 = null
    sound                   gg_snd_MetalMediumSliceWood3 = null
    sound                   gg_snd_ArtilleryCorpseExplodeDeath1 = null
    sound                   gg_snd_BlinkArrival1       = null
    sound                   gg_snd_BlinkBirth1         = null
    sound                   gg_snd_My_Recording_Sat__May_10_2008__11_23_34_AM = null
    sound                   gg_snd_WitchDoctorDeath    = null
    sound                   gg_snd_HeroShadowHunterDeath = null
    sound                   gg_snd_Lever               = null
    sound                   gg_snd_My_Recording_Sun__May_11_2008__05_51_22_PM = null
    sound                   gg_snd_DraeneiDeath1       = null
    sound                   gg_snd_MassTeleportTarget  = null
    trigger                 gg_trg_Begin               = null
    trigger                 gg_trg_disable             = null
    trigger                 gg_trg_Music_and_Time      = null
    trigger                 gg_trg_Battle1             = null
    trigger                 gg_trg_Battle2             = null
    trigger                 gg_trg_Run_n_Blood         = null
    unit                    gg_unit_H000_0011          = null
    unit                    gg_unit_h001_0013          = null
    unit                    gg_unit_h001_0014          = null
    unit                    gg_unit_h001_0015          = null
    unit                    gg_unit_h001_0016          = null
    unit                    gg_unit_h001_0017          = null
    unit                    gg_unit_Npbm_0018          = null
    unit                    gg_unit_N000_0019          = null
    unit                    gg_unit_h001_0020          = null
    unit                    gg_unit_h001_0021          = null
    unit                    gg_unit_H000_0022          = null
    unit                    gg_unit_Npbm_0023          = null
    unit                    gg_unit_npn5_0024          = null
    unit                    gg_unit_npn1_0025          = null
    unit                    gg_unit_npn1_0026          = null
    unit                    gg_unit_npn1_0027          = null
    unit                    gg_unit_npn1_0029          = null
    unit                    gg_unit_npn3_0031          = null
    unit                    gg_unit_npn3_0032          = null
    unit                    gg_unit_npn3_0035          = null
    unit                    gg_unit_npn3_0036          = null
    unit                    gg_unit_npn3_0037          = null
    unit                    gg_unit_npn3_0038          = null
    unit                    gg_unit_npn3_0040          = null
    unit                    gg_unit_npn3_0041          = null
    unit                    gg_unit_h001_0043          = null
    unit                    gg_unit_h001_0044          = null
    unit                    gg_unit_h001_0045          = null
    unit                    gg_unit_h001_0046          = null
    unit                    gg_unit_h001_0047          = null
    unit                    gg_unit_h001_0048          = null
    unit                    gg_unit_h001_0049          = null
    unit                    gg_unit_h001_0050          = null
    unit                    gg_unit_h001_0051          = null
    unit                    gg_unit_h001_0052          = null
    unit                    gg_unit_h001_0053          = null
    unit                    gg_unit_h001_0054          = null
    unit                    gg_unit_h001_0055          = null
    unit                    gg_unit_Npbm_0042          = null
    sound                   gg_snd_OrcBuildingDeathSmall1 = null
    rect                    gg_rct_Stealthy            = null
    camerasetup             gg_cam_Camera_023          = null
    rect                    gg_rct_StealthKill2        = null
    rect                    gg_rct_Muahaahaha          = null
    camerasetup             gg_cam_Camera_024          = null
    unit                    gg_unit_h001_0065          = null
    unit                    gg_unit_h001_0064          = null
    unit                    gg_unit_h001_0061          = null
    unit                    gg_unit_h001_0062          = null
    unit                    gg_unit_h001_0063          = null
    unit                    gg_unit_h001_0059          = null
    unit                    gg_unit_h001_0060          = null
    unit                    gg_unit_h001_0056          = null
    unit                    gg_unit_h001_0058          = null
    unit                    gg_unit_h001_0057          = null
    camerasetup             gg_cam_Camera_025          = null
    camerasetup             gg_cam_Camera_026          = null
    trigger                 gg_trg_Endbattle           = null
    trigger                 gg_trg_End                 = null
    trigger                 gg_trg_Untitled_Trigger_001 = null
endglobals

function InitGlobals takes nothing returns nothing
endfunction

function Trig_End_Actions takes nothing returns nothing
    call TriggerSleepAction( 1,00 )
    call SetUnitAnimation( gg_unit_Npbm_0042, "stand ready" )
    call SetUnitFacingToFaceUnitTimed( gg_unit_Npbm_0042, gg_unit_h001_0053, 0 )
    call SetUnitFacingToFaceUnitTimed( gg_unit_h001_0053, gg_unit_Npbm_0042, 0 )
    call TriggerSleepAction( 1,00 )
    call TransmissionFromUnitWithNameBJ( GetPlayersAll(), gg_unit_h001_0053, "TRIGSTR_1947", null, "TRIGSTR_1948", bj_TIMETYPE_ADD, 5,00, true )
    call IssuePointOrderLocBJ( gg_unit_Npbm_0042, "move", GetUnitLoc(gg_unit_h001_0053) )
    call TriggerSleepAction( 1,00 )
    call SetUnitAnimation( gg_unit_Npbm_0042, "attack" )
    call SetUnitAnimation( gg_unit_h001_0053, "attack range" )
    call PlaySoundBJ( gg_snd_MetalHeavySliceFlesh2 )
    call PlaySoundBJ( gg_snd_MetalMediumSliceFlesh2 )
    call SetUnitAnimation( gg_unit_Npbm_0042, "attack 2" )
    call KillUnit( gg_unit_h001_0053 )
    call SetUnitAnimation( gg_unit_Npbm_0042, "stand" )
    call IssuePointOrderLocBJ( gg_unit_H000_0011, "move", GetRectCenter(gg_rct_mine) )
    call TriggerSleepAction( 1,00 )
    call CameraSetupApplyForPlayer( true, gg_cam_Camera_021, Player(0), 0 )
    call SetUnitFacingToFaceUnitTimed( gg_unit_H000_0011, gg_unit_Npbm_0042, 0 )
    call SetUnitFacingToFaceUnitTimed( gg_unit_Npbm_0042, gg_unit_H000_0011, 0 )
    call TransmissionFromUnitWithNameBJ( GetPlayersAll(), gg_unit_H000_0011, "TRIGSTR_1949", null, "TRIGSTR_1950", bj_TIMETYPE_ADD, 8,00, true )
    call TransmissionFromUnitWithNameBJ( GetPlayersAll(), gg_unit_Npbm_0042, "TRIGSTR_1951", null, "TRIGSTR_1952", bj_TIMETYPE_ADD, 2,00, true )
    call TransmissionFromUnitWithNameBJ( GetPlayersAll(), gg_unit_H000_0011, "TRIGSTR_1953", null, "TRIGSTR_1954", bj_TIMETYPE_ADD, 3,00, true )
    call TriggerSleepAction( 1,00 )
    call IssuePointOrderLocBJ( gg_unit_Npbm_0042, "move", GetRectCenter(gg_rct_Mushi) )
    call TriggerSleepAction( 1,00 )
    call PlaySoundBJ( gg_snd_Lever )
    call SetUnitFacingToFaceUnitTimed( gg_unit_H000_0011, gg_unit_h001_0065, 0 )
    call TriggerSleepAction( 1,00 )
    call CameraSetupApplyForPlayer( true, gg_cam_Camera_024, Player(0), 0 )
    call IssuePointOrderLocBJ( gg_unit_h001_0065, "move", GetUnitLoc(gg_unit_H000_0011) )
    call IssuePointOrderLocBJ( gg_unit_h001_0064, "move", GetUnitLoc(gg_unit_H000_0011) )
    call IssuePointOrderLocBJ( gg_unit_h001_0063, "move", GetUnitLoc(gg_unit_H000_0011) )
    call IssuePointOrderLocBJ( gg_unit_h001_0062, "move", GetUnitLoc(gg_unit_H000_0011) )
    call IssuePointOrderLocBJ( gg_unit_h001_0061, "move", GetUnitLoc(gg_unit_H000_0011) )
    call IssuePointOrderLocBJ( gg_unit_h001_0060, "move", GetUnitLoc(gg_unit_H000_0011) )
    call IssuePointOrderLocBJ( gg_unit_h001_0059, "move", GetUnitLoc(gg_unit_H000_0011) )
    call IssuePointOrderLocBJ( gg_unit_h001_0058, "move", GetUnitLoc(gg_unit_H000_0011) )
    call IssuePointOrderLocBJ( gg_unit_h001_0057, "move", GetUnitLoc(gg_unit_H000_0011) )
    call IssuePointOrderLocBJ( gg_unit_h001_0056, "move", GetUnitLoc(gg_unit_H000_0011) )
    call TransmissionFromUnitWithNameBJ( GetPlayersAll(), gg_unit_h001_0065, "TRIGSTR_1955", null, "TRIGSTR_1956", bj_TIMETYPE_ADD, 7,00, true )
endfunction

//===========================================================================
function InitTrig_End takes nothing returns nothing
    set gg_trg_End = CreateTrigger(  )
    call TriggerAddAction( gg_trg_End, function Trig_End_Actions )
endfunction

How to solve this! Cuz my map is totaly ruined!
 
Last edited:
Status
Not open for further replies.
Top