• 🏆 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] Freeze / Crash issue on loading

Status
Not open for further replies.
So I'm looking for help / opinions on what map be causing a crash.

Description of the crash:
Game client freezes when the map finishes loading and never unfreezes. Occurs randomly ONLY in multiplayer games. This does not affect all players.

Map Link

The main suspect is, however, removing the creation of the sound still causes a crash:
Code:
//! inject config   
local sound s=CreateSound( "LobbyMusic3.mp3", true, false, false, 10, 10, "DefaultEAXON" )
    call SetMapName("TRIGSTR_003")
    call SetMapDescription("TRIGSTR_005")
    call SetPlayers(24)
    call SetTeams(24)
    call SetGamePlacement(MAP_PLACEMENT_TEAMS_TOGETHER)
    call DefineStartLocation(0, 6592.0, 7232.0)
    call DefineStartLocation(1, 6592.0, 7232.0)
    call DefineStartLocation(2, 6592.0, 7232.0)
    call DefineStartLocation(3, 6592.0, 7232.0)
    call DefineStartLocation(4, 6592.0, 7232.0)
    call DefineStartLocation(5, 6592.0, 7232.0)
    call DefineStartLocation(6, 6592.0, 7232.0)
    call DefineStartLocation(7, 6592.0, 7232.0)
    call DefineStartLocation(8, 6592.0, 7232.0)
    call DefineStartLocation(9, 6592.0, 7232.0)
    call DefineStartLocation(10, 6592.0, 7232.0)
    call DefineStartLocation(11, 6592.0, 7232.0)
    call DefineStartLocation(12, 6592.0, 7232.0)
    call DefineStartLocation(13, 6592.0, 7232.0)
    call DefineStartLocation(14, 6592.0, 7232.0)
    call DefineStartLocation(15, 6592.0, 7232.0)
    call DefineStartLocation(16, 6592.0, 7232.0)
    call DefineStartLocation(17, 6592.0, 7232.0)
    call DefineStartLocation(18, 6592.0, 7232.0)
    call DefineStartLocation(19, 6592.0, 7232.0)
    call DefineStartLocation(20, 6592.0, 7232.0)
    call DefineStartLocation(21, 6592.0, 7232.0)
    call DefineStartLocation(22, 6592.0, 7232.0)
    call DefineStartLocation(23, 6592.0, 7232.0)

    // Player setup
    call InitCustomPlayerSlots()
    call InitCustomTeams()
    call InitAllyPriorities()

call ClearMapMusicBJ(  )
call StopMusicBJ( false )
call VolumeGroupSetVolumeBJ( SOUND_VOLUMEGROUP_AMBIENTSOUNDS, 0.00 )
call VolumeGroupSetVolumeBJ( SOUND_VOLUMEGROUP_MUSIC, 0.00 )
call SetSoundDuration(s, 154357) 
call SetSoundChannel(s, 14 )
call SetSoundVolume(s, 100 )
call SetSoundPitch(s, .5 )
call StartSound(s)
set s=null

//! endinject

Any assistance resolving this issue would be greatly appreciated.
 
Status
Not open for further replies.
Top