1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. Rubbed the right way, the genie is out of its lamp! The 12th Concept Art Contest Results have been announced.
    Dismiss Notice
  4. The Lich King has a new champion. The results for the 19th Icon Contest are here!
    Dismiss Notice
  5. Race against the odds and Reforge, Don't Refund. The 14th Techtree Contest has begun!
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Disconnect problem

Discussion in 'World Editor Help Zone' started by Night_lon3r, Oct 28, 2016.

  1. Night_lon3r

    Night_lon3r

    Joined:
    Oct 9, 2016
    Messages:
    42
    Resources:
    0
    Resources:
    0
    Hey guys,what could actually causing a game to disconnect players?I have added a triggers into my map,and it disconnect some players it the the trigger is turned on
    heres the triggers


    • Zombie dog Launch
      • Events
        • Time - Every 20.00 seconds of game time
      • Conditions
      • Actions
        • Unit - Create 1 Zomb dog for Player 12 (Brown) at (Center of Lumber spawn <gen>) facing Default building facing degrees
        • Unit - Order (Last created unit) to Attack (Random unit from (Units in Lumber attack <gen> owned by (Random player from (All allies of Player 1 (Red)))))
        • Unit - Create 1 Zomb dog for Player 11 (Dark Green) at (Center of Lumber spawn <gen>) facing Default building facing degrees
        • Unit - Order (Last created unit) to Attack (Random unit from (Units in Lumber attack <gen> owned by (Random player from (All allies of Player 1 (Red)))))
        • Unit - Create 1 Zomb dog for Player 11 (Dark Green) at (Center of Lumber spawn <gen>) facing Default building facing degrees
        • Unit - Order (Last created unit) to Attack (Random unit from (Units in Lumber attack <gen> owned by (Random player from (All allies of Player 1 (Red)))))
        • Unit - Create 1 Zomb dog for Player 11 (Dark Green) at (Center of Lumber spawn <gen>) facing Default building facing degrees
        • Unit - Order (Last created unit) to Attack (Random unit from (Units in Lumber attack <gen> owned by (Random player from (All allies of Player 1 (Red)))))
        • Unit - Create 1 Zomb dog for Player 12 (Brown) at (Center of Lumber spawn <gen>) facing Default building facing degrees
        • Unit - Order (Last created unit) to Attack (Random unit from (Units in Lumber attack <gen> owned by (Random player from (All allies of Player 1 (Red)))))
        • Unit - Create 1 Zomb dog for Player 11 (Dark Green) at (Center of Lumber spawn <gen>) facing Default building facing degrees
        • Unit - Order (Last created unit) to Attack (Random unit from (Units in Lumber attack <gen> owned by (Random player from (All allies of Player 1 (Red)))))
        • Unit - Create 1 Zomb dog for Player 12 (Brown) at (Center of Lumber spawn <gen>) facing Default building facing degrees
        • Unit - Order (Last created unit) to Attack (Random unit from (Units in Lumber attack <gen> owned by (Random player from (All allies of Player 1 (Red)))))
        • Unit - Create 1 Zomb dog for Player 10 (Light Blue) at (Center of Lumber spawn <gen>) facing Default building facing degrees
        • Unit - Order (Last created unit) to Attack (Random unit from (Units in Lumber attack <gen> owned by (Random player from (All allies of Player 1 (Red)))))
        • Unit - Create 1 Zomb dog for Player 12 (Brown) at (Center of Lumber spawn <gen>) facing Default building facing degrees
        • Unit - Order (Last created unit) to Attack (Random unit from (Units in Lumber attack <gen> owned by (Random player from (All allies of Player 1 (Red)))))


    i notice people dc once these monster spawned,but it may causing by other coressponding triggers im not sure,i uploaded the map see if you guys can help me to find out the exact problem
    im using custom model for the mob tho,will it be the cause?

    another thing is,how to make critters attacks´╝či mean they don't even have damage display on them even i do all the changes on object editor
     

    Attached Files:

  2. streetpunk

    streetpunk

    Joined:
    Oct 9, 2015
    Messages:
    721
    Resources:
    2
    Spells:
    2
    Resources:
    2
    Maybe this trigger is causing some leaks, try storing the region "Lumber spawn" into a point variable, and create the units on the "TempPoint" variable instead of an region. Then you clear it after you use.
    • Set TempPoint = Lumber spwan

    Then after you finished using it, you can clear it by:
    • Custom script: call RemoveLocation(udg_TempPoint)
     
  3. pOke

    pOke

    Joined:
    Mar 24, 2013
    Messages:
    1,104
    Resources:
    1
    Maps:
    1
    Resources:
    1
    It's next to impossible that the posted trigger is causing any type of disconnect unless the game has been going on for a very long time.
    Although there is no question it could be optimized and cleared of excess leaks.

    Is the disconnect as in the disconnected player crashes or they are just kicked out of the game (desync)?

    As for the unit's having no UI for damage, that's entirely in the OE unless you're removing the attack ability via trigger.
    Double Check "Show UI" is true, or that "Attack Enabled" has at least one specified, or that the unit has enough damage to be considered having damage.
     
  4. Night_lon3r

    Night_lon3r

    Joined:
    Oct 9, 2016
    Messages:
    42
    Resources:
    0
    Resources:
    0
    I missed that enable attack part,it works now thx alot
     
  5. Night_lon3r

    Night_lon3r

    Joined:
    Oct 9, 2016
    Messages:
    42
    Resources:
    0
    Resources:
    0
    I have no idea how to use variables,what i do is change the player owned to neutral hostile and it works now,still thanks
     
  6. Night_lon3r

    Night_lon3r

    Joined:
    Oct 9, 2016
    Messages:
    42
    Resources:
    0
    Resources:
    0
    t
    they are kicked out of the game
     
  7. ic3_water

    ic3_water

    Joined:
    Sep 7, 2008
    Messages:
    313
    Resources:
    2
    Maps:
    2
    Resources:
    2
    about dc: you cant fix it

    Only some players got this. If players dc, the next time he join map, he will dc, else if not, he wont in next game.
    Ex:

    1st hosting:
    Player A dc
    Player B not dc

    2nd hosting:
    Player A dc
    Player B not dc

    3rd hosting:
    Player A dc
    Player B not dc

    You see, player A never dc, but player B always dc. If it was desync, both players must dc instead.
     
    Last edited by a moderator: Nov 5, 2016
  8. Night_lon3r

    Night_lon3r

    Joined:
    Oct 9, 2016
    Messages:
    42
    Resources:
    0
    Resources:
    0
    Ok guys asoon as i update the map problem are getting worse,everytime i change sometimes it seems fine again but if i do any change it will happen again,the kicks are totally random.The first time people join will dc for sure,and second time it was random,i couldn't find out which are causing the trouble,the trigger or the object editor,the dc happens 0-4 minutes into the game,the map is unplayable now,pls help....(yes it was confirmed its a desync not crash)
     

    Attached Files:

  9. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    25,926
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    Ask the people joining to restart their game clients. Maybe they played a widigitized map before yours without restarting their client.

    Widigitizer poisons the game data cache with map specific data. This is fine for replaying the same map. However if the client then tries to load another map, it uses the map specific poison data from the cache instead of the base game data. As the data set does not match between clients for some objects it will result in an immediate desync once those objects are involved in the game. Hence why creating those units could be causing a desync.
     
  10. Night_lon3r

    Night_lon3r

    Joined:
    Oct 9, 2016
    Messages:
    42
    Resources:
    0
    Resources:
    0
    They are actually my friend and they never played any game before mine,its our first game it the morning,and when i play the first round nothing happens,second round,my friends,lets call them A and B,A has dc,then we remake,third time,B dc. since we are replaying the same map,i think this is not a widigitizer problem. i think the problem is on the trigger,im still on the process on deleting some trigger and trying,will update as soon as i found any possible cause
     
  11. Night_lon3r

    Night_lon3r

    Joined:
    Oct 9, 2016
    Messages:
    42
    Resources:
    0
    Resources:
    0
    So after some investigation,i removed these trigger upload_2016-11-5_19-26-36.png upload_2016-11-5_19-26-41.png upload_2016-11-5_19-26-47.png upload_2016-11-5_19-27-0.png upload_2016-11-5_19-27-4.png upload_2016-11-5_19-26-54.png is the cause of desync,the problem no longer exist after i removed this trigger,it seems like i cannot spawn anything inside the region or it will cause desync,i tried replace neutral hostile with computer,same.make unit spawn in center of region instead of random point,same.Anyone can teach me how to solve this? If enemy are not allowed to spawn that area it reduce alot of fun...
     

    Attached Files:

  12. Dr Super Good

    Dr Super Good

    Spell Reviewer

    Joined:
    Jan 18, 2005
    Messages:
    25,926
    Resources:
    3
    Maps:
    1
    Spells:
    2
    Resources:
    3
    I can only suggest the following.
    • The triggers in the map leak a ton. Try fixing all the leaks and seeing if that makes a difference.
    • Also try testing with different players and different hosts. An out of sync can also occur if client installations have become corrupted.
    • Make sure all clients playing are on the same visual settings. That can also be a cause for desyncs sometimes.
    • Make sure it is not a corrupted model or texture injecting undefined behaviour into the game engine. Delete all imports and see if the out of sync error still occurs.