Inactive [FIX/ADMN] NoLagg v1.88.1 - Prevent common lag causes on your server [2338]

Discussion in 'Inactive/Unsupported Plugins' started by bergerkiller, Sep 17, 2011.

  1. Offline

    bergerkiller

    I had already made this plugin before after having a major lag issue. (lots of torches being filled, turned into items, lag for 20 minutes) It also works for 1060.

    Some feature ideas are taken over from PerformanceTweaks by @LexManos so some credit goes to him. Code, however, written from scratch by me. :)

    Important:

    If you get a warning message [NoLagg TLN] followed up with a stack trace in the log, this has to do with the main thread not having responded within 10 seconds. When a plugin takes more than this time to enable, it will show that. The warning is NOT an error and is no bug, and not a bug related to NoLagg. To disable this feature, disable 'threadlocknotifier' in the config.yml. This feature is mainly intended to notify you what plugin is causing the server to freeze, may it ever happen. It is used to debug plugins in general, as they may get stuck for whatever reason.

    NoLagg's features in a nutshell

    Description

    Prevent lag caused by many items

    Every time an item gets spawned, it is buffered per chunk. For example, you spawn 30 items using Q and the maximum allowed items per chunk is 20, then the 10 remaining items are not spawned. They are spawned as soon the item count in this chunk is < 20 again.

    Read more...

    Form item stacks - fully automatically

    Whenever two or more (configurable) items or experience orbs get near each other, they form a single stack of that item type. If someone drops 64 dirt blocks on the ground using Q, it will show a single item of 64 dirt instead.

    Read more...

    Prevent lag caused by TNT

    This plugin takes over tnt ignition caused by explosions. When exploding stacks of tnt, it does not rush all tnts into a single tick, but detonate them nicely in sync. This results in pretty awesome fireworks. :)

    Read more...

    Prevent lag caused by lighting glitches

    Whenever a new chunk is generated, it's lighting information is generated and all nearby players receive the updated chunk data. If the auto-method fails, you can use /nolagg fix to do it manually. This fixing fixes, for example, dark spots in and around caves lagging the client.

    Read more...

    Set entity spawn limits

    You can set a spawn limit on virtually every entity in the game. From mobs to items to TNT. Only thing being excluded is Players, since I can't simply kick someone 'like that'. :)
    Note: It removes already spawned entities too. So, if you want to keep your animals alive, don't set mob or animal limits, or it will possibly clear your farm animals. (or you can disable the spawn limiter all together)

    I recommend finding an alternative plugin for this instead. Removing entities after they are spawned causes more lag than it prevents!

    Global auto-saver

    Since asynchronous chunk saving is now implemented internally, it is no longer a problem to save entire worlds frequently. You can set auto-save intervals in the configuration. If used with an interval higher than 400 ticks (20 seconds) it will use a scheduled task instead of the internal saver to prevent chunks never getting saved. Another benefit is that player information is also auto-saved, preventing your players losing their inventory state.

    New chunk sending mechanics

    Instead of loading chunks all around the player, the player direction is used to load the visible chunks first. This means that players can expect chunks in front of them to load quickly, while chunks on the sides take a bit longer to appear. When the player looks into another direction, the direction changes and thus the new visible chunks get loaded first. Only if all chunks ahead of the player are loaded, chunks around the player are sent. This all can be configured using a simple minimum and maximum sending rate.

    Read more...

    Examining the server tick rate

    If you encounter very low tick rates and you want to find out what plugin is causing it, you can use the examine component to find it out. It comes with a graphic viewer, which makes bug tracking the easiest thing ever.

    Read more...

    Prevent cross-thread access for events

    As it seems, some plugins don't follow the rules and use Bukkit methods in another thread. This plugin will notify you and cancel if possible whenever this happens so other plugins understand their mistake. If you encounter a lot of spam in the console, first check the stack trace for the plugin that caused the error. Report this error to the author or remove the plugin, if you have questions you are free to ask.



    Configuration (on BukkitDev)

    Commands and Permissions (on BukkitDev)

    Synchronized code accessed by another thread? (BukkitDev)



    Media



    Video by brandcool86


    FAQ

    - Help I experience missing chunks
    If you are using Spout, don't use Reloads. This is also the reason why Spout added a warning when a player tries to reload the server. Not using Spout, then it's a bug which you can report.

    - Can this plugin be used with PTweaks
    (this message was really old...) Yes, they are compatible, but if certain features overlap, make sure you disable these features in either plugin.

    - I get a warning about the async auto save and interval. Wat do?
    Change the autoSaveInterval value in the configuration to a value higher than 400, like 600. The warning is to prevent endless autosaves to occur, clogging up CPU.

    - I have experienced CPU usage
    CPU usage is not the same as lag. NoLagg uses multiple (2-3) extra threads to prevent tick and network lag. If a lot has to be done, it does this quicker, but this takes more CPU obviously.

    - I have lag when using NoLagg
    See also the FAQ above. Explain what type of lag you have: tick lag, client lag, network lag and/or 'block placement' lag. You can use /nolagg monitor to check the tick rate. If this is normal (>15), then you have network lag. Client lag is when the FPS drops. Block placement lag is lag when the tick rate is normal and other network messages, like chat, are instant.

    - WorldEdit causes lag...
    YES because it is unsafe to take over the main thread while another plugin is having hold over it. I can try fixing this, but it could ultimately lead to some serious concurrency exceptions. Don't expect this to be implemented very soon...

    - Do spawn limits interfere with mob-spawning plugins like MobArena?
    No, it does not. It only limits mobs spawned by 'nature': all custom creature spawns are ignored throughout the run of the plugin. Only after you reload will it lose track of these entities and will it remove custom-spawned mobs. If you use MobArena, be sure nothing is going on when you reload the server.

    - Does item stacking interfere with Showcase or BleedingMobs?
    It supports Showcase and ShowcaseStandalone entirely. (showcased items are completely ignored at all times) The same applies to the 'particles' created by the BleedingMobs plugin. Know of a plugin where it stacks items which should not be stacked? Post the plugin name so I can add support. You are an owner and want to add support? Only having a function in your plugin to check if an item is 'ignored' is enough.

    - Can this plugin be used with Chunk Manager
    If you want to use the Chunk Manager with Nolagg, disable the chunk sending of Nolagg first. If you don't do that, this plugin will do that by itself and send a warning in the log. Of course, compare the results first. :)

    - What are the best settings if I have a lot of RAM memory?
    This plugin does not deal with reduced RAM memory. If I could, I would, but you simply can't reduce the amount of memory Java uses. This data is locked and secured, so I can't simply throw away bits of data or write and read data from/to disk. Any plugin claiming to reduce RAM usage on a server, is probably 'garbage collecting'. This fakes having less RAM usage by removing unused data, but Java does this by itself as well once it hits a certain limit. All these plugins will do is make the Garbage Collector run in overdrive, which will only kill your tick rate and/or CPU speeds. A bad thing.

    - I get a lot of 'Synchronized code accessed from another thread' errors
    Find out what plugin is acting up by inspecting the stack trace. If the plugin that causes this is inactive, all you can do is wait for a refurnished version or someone to fix it for you, or use an alternative plugin. If it's still under development, notify the author of this, it IS an error caused by that plugin. If you can't find out the cause, PM me or post in this thread.


    Before you begin writing a lag issue

    This is very important, just posting a 'it causuz lagz und shitz' won't do, won't help and I won't be able to help you any further either. Question is if I even want to help you, if you post such a message without anything worth looking at. Things to include in your message:
    - Errors in the log if possible
    - What CB version you use and what NoLagg version you use
    - When this lag occurs. Tick rate drop in general?
    - The configuration you used when running this plugin
    - What type of lag if applicable. Options are: tick lag, client lag, network lag (see above)

    Important links

    NoLagg Download page and others at Dev Bukkit
    View the source code of NoLagg at GitHub

    Use an archive extracting program (WinRar, WinZip) to open the archive.

    TODO-list:
    - Add option to disable physics when the tick delay becomes too high

    Changelog

    Show your appreciation for my plugins by donating
    [​IMG]
     
  2. Offline

    shanko

    Sorry my mistake, it DOES do damage. What I ment to say is it doesnt play the explosion sound :p
     
  3. Offline

    xBlueXFoxx

  4. Offline

    bergerkiller

    shanko ah ok, I developed the sounds for Vanilla (Spout) already so I know what is happening here ;)

    xBlueXFoxx conversions should make no difference after being converted...it's the (live) map chunk data that matters. I'll check what happens with that RB tomorrow.
     
  5. Offline

    Exote

    Also having this problem when using the test version of this with the test version of orebfuscator (https://dl.dropbox.com/u/18947504/Orebfuscator.jar), however according to the errors that is a orebfuscator fault. But then again, you may not be using orebfuscator at all :p
     
  6. Offline

    bergerkiller

    Exote the author of oreb. told me that the shift to the bulk packet system was pretty hard to adapt to, so could be there are some issues here and there. If xBlueXFoxx used Orebfuscator too (?) then that could actually explain the holes. The support for Oreb. hasn't been updated.
     
  7. Offline

    Exote

    Yeah there is definitely something happening when the two plugins interact, they both work fine (within reason) by themselves but adding nolagg on top of oreb causes oreb to break, but xrayers see all ores as xray. As well as the world holes.

    I messed with oreb myself to try get a quick fix and made some headway, but I will leave it to the pros.

    But anyway not the end of the world if it takes a while to sort, just hope to get these two plugins working happily with each other again.
     
  8. Offline

    xBlueXFoxx

    I don't use orebfuscator, unfortunately.
     
  9. Offline

    Vikestart

    I found a bug when using the 1.87 test version //

    There are black holes (unloaded chunks) in the ground what won't load. When I step at those holes, I simply lagg up and down a bit. Those chunks won't ever load.

    I do not have Orebfuscator or any direct Anti-XRay plugin installed. The Craftbukkit.jar has also not been modified in any way.
     
  10. Offline

    Poxucis

    Same as post above.
     
  11. Offline

    bergerkiller

    Ok uploaded a new version (TEST2) which makes tnt explosions play sound again. I also fixed the buffered loader so you can actually disable it. Also fixed a field name causing the 90% buffer usage. After the change I couldn't reproduce the holes anymore, but just in case you still have them, you can disable the 'buffered loader'. (chunks component)
     
  12. Offline

    xBlueXFoxx

    The link for NoLagg v1.87 TEST2.zip (github) is dead.
     
    chopstick121 likes this.
  13. Offline

    chopstick121

  14. Offline

    bergerkiller

    GitHub sure has it's issues lately...re-uploaded it.
     
  15. Offline

    xBlueXFoxx

    Just checked out the new version, seems good so far, the holes are (almost) gone, greatly reduced, it's usable now.
     
  16. Offline

    rtcabooservb

    bergerkiller

    Recently, I've noticed that over time, my 1.3.1 server's tick rate eventually diminishes and requires a server restart to go back up. The tick rate is stable at 20 for the first few minutes, but then slowly starts to fade down until it is below 5 TPS. I have not had this problem with 1.2.5 Craftbukkit builds. I'm currently using Craftbukkit #2309 and NoLagg v1.87 test #2 with everything disabled but the monitor and examiner. I've been trying to find out why the tick rate continues to drop, so I ran an examination for 60 seconds when the tick rate was stuck around 4 TPS. When I try to open the examination file, I get a lovely message stating the following;

    "Failed to load file:

    lava.lang.IllegalArgumentException: Comparison method violates its general contract!"

    Because I am receiving this message, I am unable to find out what is causing the lag so I can't report it. :( If you could enlighten me a bit on the situation, I would appreciate it. If you need the file, let me know and I'll PM it to you.
     
  17. Offline

    Harry4of4

    Craftbukkit 1.3.1 recommended build is out, please update to a stable version and one that is usable with orebfuscator because it says detected orebfuscator and then 20 seconds later theres an error and orebfuscator disables.
     
  18. Offline

    bergerkiller

    rtcabooservb That looks more like an error related to the sorter, strange. I don't think the file is corrupted though. See if running NoLagg on Java jre 1.6 helps. (make a batch file with <pathtojr1.6> -jar NoLagg.jar)

    EDIT

    Got it. I wasn't overriding the equals function, the sorter requires me to do that. You probably had two segments with the exact same duration. (it happens...)

    Harry4of4 I sure hope this is an actual recommended build, because the previous build lacked so many features...

    EDIT2

    I will also try to fix all the annoying chunk holes. It only happens at very low sending rates and has to do with the chunk compression thread. (when buffered loading is off, it doesn't happen)
     
  19. Offline

    ryanjh5521

    Hey BergenKiller. I just wanted to post my NoLagg 1.3 test 2 error log. The chunks dont fail as much as Test 1 but there is still alot.
    [SEVERE] Could not pass event PlayerJoinEvent to NoLagg
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    at net.minecraft.server.ServerConfigurationManagerAbstract.c(ServerConfigurationManagerAbstract.java:161)
    at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfigurationManagerAbstract.java:92)
    at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:121)
    at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:41)
    at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44)
    at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29)
    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583)
    at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
    at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.util.ConcurrentModificationException
    at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:782)
    at java.util.ArrayList$Itr.next(ArrayList.java:754)
    at com.bergerkiller.bukkit.nolagg.chunks.ChunkSendQueue.enforceBufferFullSize(ChunkSendQueue.java:108)
    at com.bergerkiller.bukkit.nolagg.chunks.ChunkSendQueue.<init>(ChunkSendQueue.java:148)
    at com.bergerkiller.bukkit.nolagg.chunks.ChunkSendQueue.bind(ChunkSendQueue.java:135)
    at com.bergerkiller.bukkit.nolagg.chunks.ChunkSendQueue.bind(ChunkSendQueue.java:131)
    at com.bergerkiller.bukkit.nolagg.chunks.NLCListener.onPlayerJoin(NLCListener.java:20)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
    ... 14 more
    Plugins:LagMeter, GroupManager, WorldEdit, NoCheatPlus, Buycraft, Backup, War, LogBlockQuestioner, Vault, Multiverse-Core, LogBlock, WorldGuard, iConomy, Register, Permissions, CraftBukkitUpToDate, TreasureChest, BKCommonLib, MonsterBox, mcMMO, FoundDiamonds, Essentials, Citizens, EssentialsXMPP, EssentialsProtect, EntitySuppressor, EssentialsSpawn, Multiverse-Portals, Multiverse-Inventories, EssentialsGeoIP, Multiverse-SignPortals, Multiverse-NetherPortals, LWC, SimpleRestart, NoLagg, CompatNoCheatPlus, ChestShop, EssentialsChat, Factions
    If you need anymore info on my server or know what the bad plugin is (If it is a plugin incompatability) PM me.
     
  20. Offline

    bergerkiller

    ryanjh5521 Thanks, I already fixed the missing chunks issue right now though. I am also adding a server freeze (thread lock) notifier. I already had that project laying around as a separate plugin, and it's very useful to fix plugins that freeze up servers. I'll look at the error and see if I can fix it like that. Looks like cross-thread access to me, so I'll see what I can do.

    EDIT

    Fixed, was another field that I didn't update. (the 'g' field changed to 'h', it was used to lock the network manager. Now it didn't lock, it resulted in that error)
     
  21. Offline

    chopstick121

    bergerkiller how come some the arena is black when i walk into it it get me stuck is there anyway to fix it Please help
     
  22. Offline

    bergerkiller

    chopstick121 I just uploaded v1.87 OFFICIAL version. I had to fix several issues, including the black holes you described. It is on GitHub already, dev bukkit takes a bit more time.

    chopstick121 Do you use a plugin that 'saves' a global or world-shared player info file? Like, keep inventory between certain worlds and split them between others, or save/split hunger and health states. It could be related to such a plugin.

    Also, re-uploaded it once for Admiral AnimE to fix that /lag fix error, as well the class cast exception. Decided to just make the field an Object so no one can ever annoy me with it again :p

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
    chopstick121 likes this.
  23. Offline

    chopstick121

    ok :) when i install it it give me sooo much error nonstop
    2012-08-07 12:58:08 [SEVERE] Could not pass event WorldInitEvent to NoLagg
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:213)
    at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.NoSuchFieldError: MAIN_THREAD
    at com.bergerkiller.bukkit.nolagg.threadcheck.ThreadCheck.check(ThreadCheck.java:64)
    at com.bergerkiller.bukkit.nolagg.threadcheck.Listener.onWorldInit(Listener.java:108)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
    ... 7 more
    2012-08-07 12:58:08 [SEVERE] Could not pass event WorldInitEvent to NoLagg
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:213)
    at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.NoSuchFieldError: MAIN_THREAD
    at com.bergerkiller.bukkit.nolagg.threadcheck.ThreadCheck.check(ThreadCheck.java:64)
    at com.bergerkiller.bukkit.nolagg.threadcheck.Listener.onWorldInit(Listener.java:108)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
    ... 7 more
     
  24. Offline

    Admiral AnimE

    Yea i downloaded the latest version, and on server start this is what happens:
    Code:
    22:17:22 [SEVERE] Could not pass event WorldLoadEvent to NoLagg
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:332)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62)
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:477)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:462)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
            at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.ClassCastException: java.util.concurrent.ConcurrentLinkedQu
    eue cannot be cast to java.util.List
            at com.bergerkiller.bukkit.nolagg.chunks.antiloader.DummyPlayerManager.<
    init>(DummyPlayerManager.java:58)
            at com.bergerkiller.bukkit.nolagg.chunks.antiloader.DummyPlayerManager.<
    init>(DummyPlayerManager.java:52)
            at com.bergerkiller.bukkit.nolagg.chunks.antiloader.DummyPlayerManager.c
    onvert(DummyPlayerManager.java:26)
            at com.bergerkiller.bukkit.nolagg.chunks.antiloader.DummyPlayerManager.c
    onvert(DummyPlayerManager.java:31)
            at com.bergerkiller.bukkit.nolagg.chunks.NLCListener.onWorldLoad(NLCList
    ener.java:44)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:330)
            ... 8 more
    22:17:22 [SEVERE] Could not pass event WorldLoadEvent to NoLagg
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:332)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62)
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:477)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:462)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
            at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.ClassCastException: java.util.concurrent.ConcurrentLinkedQu
    eue cannot be cast to java.util.List
            at com.bergerkiller.bukkit.nolagg.chunks.antiloader.DummyPlayerManager.<
    init>(DummyPlayerManager.java:58)
            at com.bergerkiller.bukkit.nolagg.chunks.antiloader.DummyPlayerManager.<
    init>(DummyPlayerManager.java:52)
            at com.bergerkiller.bukkit.nolagg.chunks.antiloader.DummyPlayerManager.c
    onvert(DummyPlayerManager.java:26)
            at com.bergerkiller.bukkit.nolagg.chunks.antiloader.DummyPlayerManager.c
    onvert(DummyPlayerManager.java:31)
            at com.bergerkiller.bukkit.nolagg.chunks.NLCListener.onWorldLoad(NLCList
    ener.java:44)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:330)
            ... 8 more
    22:17:22 [SEVERE] Could not pass event WorldLoadEvent to NoLagg
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:332)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62)
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:477)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:462)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
            at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:380)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.ClassCastException: java.util.concurrent.ConcurrentLinkedQu
    eue cannot be cast to java.util.List
            at com.bergerkiller.bukkit.nolagg.chunks.antiloader.DummyPlayerManager.<
    init>(DummyPlayerManager.java:58)
            at com.bergerkiller.bukkit.nolagg.chunks.antiloader.DummyPlayerManager.<
    init>(DummyPlayerManager.java:52)
            at com.bergerkiller.bukkit.nolagg.chunks.antiloader.DummyPlayerManager.c
    onvert(DummyPlayerManager.java:26)
            at com.bergerkiller.bukkit.nolagg.chunks.antiloader.DummyPlayerManager.c
    onvert(DummyPlayerManager.java:31)
            at com.bergerkiller.bukkit.nolagg.chunks.NLCListener.onWorldLoad(NLCList
    ener.java:44)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:330)
            ... 8 more

    Also /lag fix command gives this:

    Code:
    22:24:48 [SEVERE] java.lang.ArrayIndexOutOfBoundsException: 12160
    22:24:48 [SEVERE]       at net.minecraft.server.NibbleArray.a(SourceFile:39)
    22:24:48 [SEVERE]       at net.minecraft.server.ChunkSection.d(ChunkSection.java
    :106)
    22:24:48 [SEVERE]       at com.bergerkiller.bukkit.nolagg.lighting.LightingFixTh
    read$FixOperation.prepare(LightingFixThread.java:229)
    22:24:48 [SEVERE]       at com.bergerkiller.bukkit.nolagg.lighting.LightingFixTh
    read.executeAll(LightingFixThread.java:87)
    22:24:48 [SEVERE]       at com.bergerkiller.bukkit.nolagg.lighting.LightingFixTh
    read.run(LightingFixThread.java:70)
    22:24:48 [SEVERE]       at com.bergerkiller.bukkit.common.AsyncTask$1.run(AsyncT
    ask.java:20)
     
  25. Offline

    chopstick121

    bergerkiller this is topic but when people log off and log back in there items is gone why does it happen?
     
  26. Offline

    bergerkiller

    chopstick121 use the BKCommonLib included in the download, you have to update it.

    Admiral AnimE Well back to the drawing board...lol. The first error can be prevented by disabling the dynamic view distance, though not sure why it even happens. The second is probably a translation error to 1.3.1...

    EDIT

    Oh they changed the field all of a sudden...right. I changed 'd' to be an Object, no way they can bug me then...lol

    chopstick121 That problem seems to be unrelated to NoLagg tho...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 14, 2016
  27. Offline

    chopstick121

    i know but i couldn't find a way to fix it :(.who should i ask to help me fix this?

    i have a plugin thats backup the world and save the world

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 10, 2018
  28. Offline

    bergerkiller

    chopstick121 I can't really tell what is causing it, then. Could even be a CraftBukkit related bug, though. Or it is the world saving plugin that is doing something wrong, or is invalidating the player save files. If removing that world saving plugin fixed it, I recommend contacting the author of that plugin. If you don't know anymore, you can open up the plugin using 'WinRar' (archive extraction program, is free) and open up the 'plugin.yml' inside. It contains the plugin name and the author(s) of that plugin.

    General statement: Updated to 1.87.1 to fix the lacking block updates. To the guy reporting that WorldEdit failed: My bad, you were right, NoLagg was not setting chunks to be viewable by players, and it resulted in block changes not getting reported.
     
  29. Offline

    Admiral AnimE

    Thanks for the fast fix, everything is fine now.
    Btw my 1.3 server is a copy of the 1.2.5 one, till its stable. So i tried to /lag fix that huge lighting problem i had, its a lot better now. But there are some new bugs. Maybe you can try to fix them when u have time for it :)

    [​IMG]

    Also notice how the torches at the entrance are so dark. I tried to replace them, this is what happens: (If i use /lag fix again, it goes back to how its on the first screenshot)

    [​IMG]

    everywhere i use /lag fix the torches are like this
    [​IMG]
     
  30. Offline

    swagmuff

    PLZ HELP:
    is there anyway to stop the spam it creates in chat like lag 0 entitites deleted how do u stop that PLZ HELP
    !!!!!
     
  31. Offline

    bergerkiller

    swagmuff You mean the warnings in the log of missing entities or entities in the wrong chunk? You will have to use a world fixing plugin to rid yourself of it. Chunkster is one of them, I believe it can actually fix entities. You can also tell it to completely destroy all entities from the world.

    Admiral AnimE Looks like the smoothing bit has a bug. (where it smooths out light to the neighbouring blocks)
    I'll check the code to see if there is an obvious flaw somewhere. Sky light seems all-right, although the Top-left area looks a bit weird.

    EDIT

    Ok I fixed the block light problems, it didn't set the initial light levels for block light properly. I'll upload it as an 1.87.2, it's on GitHub right now.
     

Share This Page