1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixing Lag Ideas and kicking AFK'ers

Discussion in 'Suggestions' started by Hexagon, Nov 22, 2015.

  1. Hexagon

    Hexagon Member

    Joined:
    Nov 22, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Male
    Occupation:
    Friesland/Friesland
    Location:
    Holland/Nederland
    (Spoiler alert: This is my first thread)

    Lag
    Most of you know what this is. And it's annoying! Especally in games where players have 1 or more unlocked arrow trails. These generally cause lag. Of course there are more things that cause lag and I will list them down below. I have a few ideas to lower the lag for everyone:

    Entity's: If there are a lot of entity's in a game, then it's the best way to remove those after a period of time. Examples:

    Arrows: Arrows can't be picked up in some games. For example in Super Craft Bros, Arrows just stay on the ground, more and more arrows stack up on the ground and just stay there, wich cause lag in this case. Some arrows even have particles that causes even more lag! My idea is to delete any arrow that is stuck on a block for 15 seconds. (Also counting the 2 extra arrows in skywars) This does not count on minigames where you can pick them up! (Survival Games, Assasins, etc)
    Pros:
    As the example SCB. It Reduces lag a LOT.
    Arrow spammers don't stand a chance

    Cons:
    On skywars players can still spam arrows and still cause lag




    AFK kicks: Some players attemp to AFK (Away From Keyboard, Or just keep running the game) To fill up 1 server slot, I saw this a lot in Assasins where I was not able to join because of some players being AFK. A easy way to remove players that are AFK is kicking them out of the game if they don't move for 10 minutes, or a uniqe way to do this is: Every 20 minutes, all players cords will be saved. After the next check. If a player has the same cords or didn't walk 125 blocks (X,Z,-X and -Z counted). The player also gets kicked and send to the lobby of the minigame.

    Pros: Slighty reduces lag (Yes, a lot of players also can cause small lag)
    Gives other players a chance to play.

    Cons: Players may abuse the second way of kicking by walking the amount of blocks required.


    All comments are welcome. Suggest more ideas. And don't try to reply on everyone's comments.








     
  2. xMegaCoolx

    xMegaCoolx Member

    Joined:
    Mar 4, 2015
    Messages:
    6,393
    Likes Received:
    2,051
    Trophy Points:
    113
    Gender:
    Male
    Occupation:
    CubeCrafter
    Location:
    ƮǿʍǿřřǿώŁąɲȡ
    Home Page:
    They are working on more servers for Assansination. And about the arrows you can get from me +0.5. :)

    EDIT: Also welcome to the forums. :D
     
  3. YounB

    YounB Helper Staff Member Helper

    Joined:
    May 13, 2014
    Messages:
    5,935
    Likes Received:
    6,528
    Trophy Points:
    113
    Gender:
    Male
    Occupation:
    ¯\_(ツ)_/¯
    Location:
    London, England
    I both agree and disagree with this. Yes, arrows count as entities, and yes, they are used quite frequently, however I do not see any lag with using them a lot. I would say per game in Skywars, there will be around 100 (give or take twenty) arrows will stay uncollected, which doesn't really translate to alot of lag. However, with Super Craft Bros, I agree. The skeleton kit's ability will almost guarantee 15~ arrows on the floor.
    Flaw: if the check only checks for the co-ordinates, how would it know how long you've walked for? Like, if you die and you're at spawn, and it hits ten minutes, and you get kicked for "being afk", that'll ring a lot of bells..