brenoepics / morningstar

An open-source Arcturus Community Fork.
GNU General Public License v3.0
3 stars 2 forks source link

Wired scoreboard causing lag on the emulator #358

Closed brenoepics closed 1 year ago

brenoepics commented 4 years ago

In GitLab by @Wake on Jan 29, 2020, 16:55

Some players from my hotel built automatic games, and used the scoreboard wired which gave a lot of lag.

java.util.ConcurrentModificationException
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
        at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
        at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
        at java.util.stream.ReferencePipeline.collect(Unknown Source)
        at com.eu.habbo.habbohotel.wired.highscores.WiredHighscoreManager.getHighscoreRowsForItem(WiredHighscoreManager.java:124)
        at com.eu.habbo.habbohotel.items.interactions.InteractionWiredHighscore.reloadData(InteractionWiredHighscore.java:130)
        at com.eu.habbo.habbohotel.games.Game.onEnd(Game.java:190)
        at com.eu.habbo.habbohotel.items.interactions.games.InteractionGameTimer.endGame(InteractionGameTimer.java:102)
        at com.eu.habbo.habbohotel.items.interactions.games.InteractionGameTimer.onClick(InteractionGameTimer.java:221)
        at com.eu.habbo.habbohotel.items.interactions.wired.effects.WiredEffectToggleFurni.execute(WiredEffectToggleFurni.java:136)
        at com.eu.habbo.habbohotel.wired.WiredHandler$1.run(WiredHandler.java:202)
        at com.eu.habbo.threading.ThreadPooling$1.run(ThreadPooling.java:45)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.lang.Thread.run(Unknown Source)
brenoepics commented 4 years ago

In GitLab by @skeletor on Jan 30, 2020, 23:43

I have not been able to replicate this bug. Can you provide steps to reproduce this?

brenoepics commented 4 years ago

In GitLab by @Wake on Jan 31, 2020, 14:28

wiiired

brenoepics commented 4 years ago

In GitLab by @ghost on Feb 5, 2020, 09:18

closed