1. Head to the 33rd Modeling Contest Poll and drink to your heart's desire.
    Dismiss Notice
  2. Choose your means of doom in the 17th Mini Mapping Contest Poll.
    Dismiss Notice
  3. A slave to two rhythms, the 22nd Terraining Contest is here.
    Dismiss Notice
  4. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    Dismiss Notice
  5. The die is cast - the 6th Melee Mapping Contest results have been announced. Onward to the Hive Cup!
    Dismiss Notice
  6. The glory of the 20th Icon Contest is yours for the taking!
    Dismiss Notice
  7. 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.

Little help with kicks

Discussion in 'World Editor Help Zone' started by Narg666, Mar 16, 2011.

  1. Narg666

    Narg666

    Joined:
    Aug 30, 2009
    Messages:
    112
    Resources:
    0
    Resources:
    0
    What can be the problem of my map because it suddenly kicks players without any reason and without countdown.

    It is just from nowhere, you are there playing and then KICK, just from nowhere. Can somebody help me? Why it happens only ONLINE? I made a test in a lan, and we finished the match without any problem...

    I'm really lost, I don't know what can be the problem, here is my map:

    http://www.hiveworkshop.com/forums/maps-564/forest-hero-defense-v-1-77-a-182272/
     
  2. SLYF94

    SLYF94

    Joined:
    Feb 24, 2011
    Messages:
    2
    Resources:
    0
    Resources:
    0
    Check your triggers for any relating to kicking players. Try letting different people host the game and see if the problem continues. Since lan works, could be a problem relating to b.net.
     
  3. Dr. House

    Dr. House

    Joined:
    Feb 2, 2008
    Messages:
    2,044
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Strangly enough i do not have this isue when i host it.
     
  4. Narg666

    Narg666

    Joined:
    Aug 30, 2009
    Messages:
    112
    Resources:
    0
    Resources:
    0
    Well, my friends and I, we have this issue when hosting, it keeps giving me headache. Also some people told me that it's happening with them too.

    And, let me ask, when you hosted, did you notice any lag or stucking problem?
     
  5. Maker

    Maker

    Joined:
    Mar 6, 2006
    Messages:
    9,174
    Resources:
    17
    Maps:
    2
    Spells:
    14
    Tutorials:
    1
    Resources:
    17
    Is the map protected? I can't open it to check the triggers.
     
  6. Narg666

    Narg666

    Joined:
    Aug 30, 2009
    Messages:
    112
    Resources:
    0
    Resources:
    0
    Yes, the map is protected, first I need a base Idea of what in hell can cause these stuffs.
     
  7. Hellking

    Hellking

    Joined:
    Feb 15, 2008
    Messages:
    22
    Resources:
    0
    Resources:
    0
    May be your internet connection, but I don't know since the map is protected. Do you have any kick commands in the map?

    If so, remove it, save as a test and host the test map. See if people get kicked, if not; do a new kick trigger.
     
  8. Boar

    Boar

    Joined:
    Oct 10, 2009
    Messages:
    405
    Resources:
    0
    Resources:
    0
    Heres a list:
    • How to be kicked
    • Events
      • Desyncs
      • Kicking system error
      • Lag spikes
      • Errors regarding networks
      • Unvailable connection to host


    Heres a list on lag:
    • How to lag
    • Events
      • Leaks
      • Too many triggers
      • Too many units
      • Crappy computers
      • Large amounts of periodic triggers
      • a 0.01 periodic trigger





    However, seeing as we cant actually look at your map and tell you what it is....
     
  9. Narg666

    Narg666

    Joined:
    Aug 30, 2009
    Messages:
    112
    Resources:
    0
    Resources:
    0
    Slash, let me ask, if I use local triggers with periodic event 0.02 seconds but I destroy them after using it, does it still lag?
     
  10. Boar

    Boar

    Joined:
    Oct 10, 2009
    Messages:
    405
    Resources:
    0
    Resources:
    0
    By using local triggers, are you reffering to "Get Local Player" or do you mean the actual triggers itself?

    And what are you destroying, are you turning the trigger off? And do you have leaks during this 0.02 second trigger.

    Also, I had an experience with a trigger similar to that below, where even though it didnt leak, and was turned off after a certain time. It still caused major delay and made the map unplayable.
    • Example
    • Events
      • Time - Every 0.03 seconds
    • Conditions
    • Actions
      • Set TempAngle = TempAngle + 1
      • Unit - Cause unit to rotate facing (TempAngle)
     
  11. Narg666

    Narg666

    Joined:
    Aug 30, 2009
    Messages:
    112
    Resources:
    0
    Resources:
    0
    I use Jass, vJass, so, the Local Trigger i mean:

    Code (vJASS):

    local trigger T = CreateTrigger()
    call TriggerSleepAction(4.00)
    call DestroyTrigger(T)
     


    T actions every 0.02 seconds

    Code (vJASS):

    local unit U = udg_Spell_Example_Dummy
    local location L = GetUnitLoc(U)
    local location L2 = PolarProjectionBJ(200.00, L, GetUnitFacing(U))
    set U = null
    call RemoveLocation(L)
    call RemoveLocation(L2)
     


    These triggers are examples only.

    Got It?