Innectis Community Forum

Author Topic: Reduce lag during Events  (Read 3766 times)

Eggnaug

  • Solaire of Astora
  • Administrator
  • Legendary Member
  • *****
  • Posts: 2306
  • Gender: Male
  • Warrior of Sunlight
    • View Profile
Reduce lag during Events
« on: April 27, 2012, 02:21:44 AM »
Every time there is a large event involving spawning items and mobs I lag A LOT. It is challenging when in the event, but not being in the event and trying to build/mine is a pain. It is not fair to those not in the event to have lag caused by events. It is disrupting the server experience and isn't good when new people log on for the first time and lag out. EVENTS WITH MOBS = LAG THAT RUINS THE INNECITS EXPERIENCE
  • Eggnaug
    Eggnaug
    Eggnaug
Praise the Sun!

ArronM

  • Goldy VIP
  • Sr. Member
  • ****
  • Posts: 266
  • Gender: Male
  • IDTP Lead Developer
    • View Profile
    • ArronM
Re: Reduce lag during Events
« Reply #1 on: April 27, 2012, 01:18:06 PM »
Yeh I noticed as soon as the floor changes when playing spleef you start to lagg really bad.
  • ArronM
    ArronM
    ArronM
Kind Regards,
ArronM,
Lead IDTP Developer

Nosliw

  • Retired Staff
  • Rainbow Member
  • *****
  • Posts: 1722
  • Gender: Male
  • You can't hurt me, I'm a Jelly Fish..
    • View Profile
    • Uber Island
Re: Reduce lag during Events
« Reply #2 on: April 27, 2012, 03:43:09 PM »
You mean client or server lag? If its client then there isn't a huge amount to be done, perhaps install Optifine or some kind of performance enhancer? if its server side then perhaps some code optimisation or server upgrade could help?

Personally I haven't noticed anything, are you sure it isn't just you? You also claimed to experience lag when staff came online earlier..
  • Nosliw
    Nosliw
    Nosliw
I'm here to help.. With the following exception:



@EventHandler(priority = EventPriority.LOW)
public void onPlayerJoin(PlayerJoinEvent event) {
    Player player = event.getPlayer();
    if (player.getName().equals("SGT_ADZ") {
        player.kickPlayer("Yeah... Nah!");
        return;
    }
}

TheJudged

  • Retired Staff
  • Hero Member
  • *****
  • Posts: 587
  • *
    • View Profile
Re: Reduce lag during Events
« Reply #3 on: April 28, 2012, 04:23:56 AM »
Personally lag is a problem for me even with OptiFine
  • TheJudged
    TheJudged
    TheJudged

Eggnaug

  • Solaire of Astora
  • Administrator
  • Legendary Member
  • *****
  • Posts: 2306
  • Gender: Male
  • Warrior of Sunlight
    • View Profile
Re: Reduce lag during Events
« Reply #4 on: May 04, 2012, 11:43:24 PM »
Any event that involves spawning ghast (Ghast Survival) causes lag.

If I am not mistaken, doing an action that causes lag for an extended time (like say 10mins or more) is technically illegal since it disrupts the server.

It would be different if everyone on the server was in the event, but that rarely happens. The lag caused by events is unfair to those not in the event.

Think of it this way. Lets say I am a new player joining the server for the first time and the server is lagging because of an event. Why would I, the new player who is now lagging, want to stay on the server?
  • Eggnaug
    Eggnaug
    Eggnaug
Praise the Sun!

Vector

  • Owner
  • Administrator
  • Legendary Member
  • *****
  • Posts: 2153
  • Gender: Male
  • I am the exception, not the rule
    • View Profile
    • Code Speak
Re: Reduce lag during Events
« Reply #5 on: May 05, 2012, 04:49:33 AM »
The latest update is using a version of craftbukkit which fixes CPU issues caused by earlier Recommended Builds of craftbukkit (in the mc 1.2.5 version). So hopefully that might fix the lag you get from the game.
  • AlphaBlend
    AlphaBlend
    AlphaBlend
I like to make things. That pretty much describes the kind of person I am.