I host my map -> People get disconnected when in-game starts

SwedishChef

New Member
Reaction score
32
Ok, so i host my map with a friend and just after the map (in-game) starts he is disconnected. He has also tried hosting with 5 friends and all got disconnected. Anyone have a clue?? We are using WEU and optimize with vextorians optimizer.
 

UndeadDragon

Super Moderator
Reaction score
447
1. Don't use WEU, it is outdated and buggy.

2. Post any triggers that run on map init.
 

SwedishChef

New Member
Reaction score
32
Maybe you are using GetLocalPlayer or something?

im not using jass, will post triggers.

Trigger:
  • Init
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units owned by Player 12 (Brown)) and do (Actions)
        • Loop - Actions
          • Hero - Disable experience gain for (Picked unit)
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • Game - Preload (String((Unit-type of (Picked unit))))
      • Advanced - Initialize advanced triggers
      • Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across (Playable map area)
      • Quest - Create a Required quest titled Customize Your Hero with the description 1. Firstly choose y..., using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
      • Unit - Hide Damned lord of almighty darkness 0185 <gen>
      • Unit - Hide Lord of darkness 0067 <gen>
      • Cinematic - Fade out over 0.00 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • For each (Integer A) from 1 to 10, do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Player((Integer A))) controller) Equal to User
              • ((Player((Integer A))) slot status) Equal to Is playing
            • Then - Actions
              • Set MyLocation = (Center of 1Orc <gen>)
              • Unit - Create 1 Shop-dummy for (Player((Integer A))) at MyLocation facing Default building facing (270.0) degrees
              • Custom script: call RemoveLocation (udg_MyLocation)
              • Set MyLocation = (Center of 1Undead <gen>)
              • Unit - Create 1 Shop-dummy for (Player((Integer A))) at MyLocation facing Default building facing (270.0) degrees
              • Custom script: call RemoveLocation (udg_MyLocation)
              • Set MyLocation = (Center of 1Human <gen>)
              • Unit - Create 1 Shop-dummy for (Player((Integer A))) at MyLocation facing Default building facing (270.0) degrees
              • Custom script: call RemoveLocation (udg_MyLocation)
              • Set MyLocation = (Center of 1Elf <gen>)
              • Unit - Create 1 Shop-dummy for (Player((Integer A))) at MyLocation facing Default building facing (270.0) degrees
              • Custom script: call RemoveLocation (udg_MyLocation)
              • Set MyLocation = (Center of 1Dwarf <gen>)
              • Unit - Create 1 Shop-dummy for (Player((Integer A))) at MyLocation facing Default building facing (270.0) degrees
              • Custom script: call RemoveLocation (udg_MyLocation)
              • Player - Set (Player((Integer A))) Current gold to 1
              • Player Group - Add (Player((Integer A))) to All_Players
              • If (((Player((Integer A))) is an ally of Player 1 (Red)) Equal to True) then do (Player Group - Add (Player((Integer A))) to Team[1]) else do (Player Group - Add (Player((Integer A))) to Team[2])
            • Else - Actions
      • Wait 5.00 seconds
      • Floating Text - Create floating text that reads Stand in circle and... at (Center of Rect 086 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Set FloatingText[1] = (Last created floating text)
      • Floating Text - Create floating text that reads Stand in circle and... at (Center of Rect 085 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Set FloatingText[2] = (Last created floating text)
      • Floating Text - Create floating text that reads Stand in circle and... at (Center of Rect 084 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Set FloatingText[3] = (Last created floating text)
      • Floating Text - Create floating text that reads Stand in circle and... at (Center of Rect 082 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Set FloatingText[4] = (Last created floating text)
      • Floating Text - Create floating text that reads Stand in circle and... at (Center of Rect 083 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Set FloatingText[5] = (Last created floating text)
      • Floating Text - Create floating text that reads Stand in circle and... at (Center of Rect 083 Copy <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Set FloatingText[6] = (Last created floating text)
      • Cinematic - Fade in over 5.00 seconds using texture White Mask and color (5.00%, 10.00%, 5.00%) with 50.00% transparency
      • Quest - Flash the quest dialog button
      • Game - Display to (All players) for 30.00 seconds the text: If you need help th...

Trigger:
  • INIT Store Creeps
    • Events
      • Map initialization
      • Time - Elapsed game time is 2.00 seconds
    • Conditions
    • Actions
      • Set Loop = 0
      • Set MyUnitGroup = (Units owned by Neutral Hostile)
      • Unit Group - Pick every unit in MyUnitGroup and do (Actions)
        • Loop - Actions
          • Set Creep_Type[Loop] = (Unit-type of (Picked unit))
          • Set Creep_Position[Loop] = (Position of (Picked unit))
          • Unit - Set the custom value of (Picked unit) to Loop
          • Set Loop = (Loop + 1)
      • Custom script: call DestroyGroup (udg_MyUnitGroup)
      • Set MyUnitGroup = (Units owned by Player 12 (Brown))
      • Unit Group - Pick every unit in (Units owned by Player 12 (Brown)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) is A Hero) Equal to False
            • Then - Actions
              • Set Creep_Type[Loop] = (Unit-type of (Picked unit))
              • Set Creep_Position[Loop] = (Position of (Picked unit))
              • Unit - Set the custom value of (Picked unit) to Loop
              • Set Loop = (Loop + 1)
            • Else - Actions
      • Custom script: call DestroyGroup (udg_MyUnitGroup)

Trigger:
  • Define Colors
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Player_Colors[1] = |c00ff0000
      • Set Player_Colors[2] = |c000000ff
      • Set Player_Colors[3] = |c0000ffff
      • Set Player_Colors[4] = |c00800080
      • Set Player_Colors[5] = |c00ffff00
      • Set Player_Colors[6] = |c00ff8000
      • Set Player_Colors[7] = |c0000ff00
      • Set Player_Colors[8] = |c00ff00ff
      • Set Player_Colors[8] = |cffFF80FF
      • Set Player_Colors[9] = |cff808080
      • Set Player_Colors[10] = |cff66CDFF
      • Set Player_Colors[11] = |cff004000
      • Set Player_Colors[12] = |cff804000

Trigger:
  • gate
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Destructible - Make Demonic Gate (Horizontal) 1045 <gen> Invulnerable
      • Unit - Hide Soul keeper 0431 <gen>
 

Exide

I am amazingly focused right now!
Reaction score
448
Your triggers leak.

What is this supposed to do:
Trigger:
  • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
    • Loop - Actions
    • Game - Preload (String((Unit-type of (Picked unit))))
    • Advanced - Initialize advanced triggers
 

SwedishChef

New Member
Reaction score
32
Your triggers leak.

What is this supposed to do:
Trigger:
  • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
    • Loop - Actions
    • Game - Preload (String((Unit-type of (Picked unit))))
    • Advanced - Initialize advanced triggers

oops dont mind that, that was just for testing, i wanted to see if preload made any difference. the bug was there before i added this
 

UndeadDragon

Super Moderator
Reaction score
447
Try removing that part of the trigger. I think that is the problem.
 

Exide

I am amazingly focused right now!
Reaction score
448
Well delete it anyway.
Try to disable one of these triggers, save and host the map, and see if it still crashes.
Start with the trigger called 'Init'.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top