Giter Site home page Giter Site logo

Comments (16)

DOKDOR avatar DOKDOR commented on September 3, 2024

bump* still on irc.gamesurge.net #llama if anyone is around..

from moblimiter.

stevommmm avatar stevommmm commented on September 3, 2024

pasting your config will help troubleshoot the problem

from moblimiter.

DOKDOR avatar DOKDOR commented on September 3, 2024

https://gist.github.com/DOKDOR/183e79098459c1064bc4

from moblimiter.

DOKDOR avatar DOKDOR commented on September 3, 2024

using this build http://jenkins.thezomg.com/job/MobLimiter/13/

from moblimiter.

stevommmm avatar stevommmm commented on September 3, 2024

To help with finding errors it is important to turn debugging on. The folllowing items should go in your config file in the appropriate place, from there starting up the server and copying relevant message logs will help.

settings.debug.limit_spawn = true
settings.debug.limits = true
settings.debug.chunk_unload = true

Your config looks correct otherwise, and after a quick read through the MobLimiter code I can't see any obvious reasons it shouldn't function as intended.

The output from grep "Chunk unload removes" bukkit.log and grep "limit:" bukkit.log are what we are most interested in. If the output gets too long consider removing duplicate items from the list or using https://gist.github.com/

from moblimiter.

DOKDOR avatar DOKDOR commented on September 3, 2024

this is from "limit:" https://gist.github.com/DOKDOR/a82fff284a6b05ccf84b
nothing came up for "chunk unload removes"

from moblimiter.

stevommmm avatar stevommmm commented on September 3, 2024

Ok, so we can see the config is being loaded correctly, however the on chunk unload operation is never getting called it seems.

What other plugins are you making use of on your server? Does this problem exist when running on a server with no other plugins on an up to date server version?

from moblimiter.

DOKDOR avatar DOKDOR commented on September 3, 2024

I just tested with a clean install of craftbukkit git-Bukkit-1.7.2-R0.3-b3020jnks (MC: 1.7.2), still no "chunk unload removes".

other plugins are:
Command helper
Kitchen sink
LWC
Logblock
Modmode
Modreq
Nerdspawn
NoCheatPlus
SafeBuckets
Shopkeepers
TagAPI
VanishNoPacket
WorldBorder
WorldEdit
WorldGuard
bPermissions

from moblimiter.

totemo avatar totemo commented on September 3, 2024

@DOKDOR I've just spent the last 40 minutes or so adding extra debugging to MobLimiter to work out what is really going on and I expect I'll be able to give the Reddit Public techs a pull request in an hour or two once I've chased all the rabbits down their respective holes. I'll probably have an interesting story to tell too.

Fun fact, for now: animals spawn in the wild with 1xAIR in their equipment slots - which nobody told me. :)

from moblimiter.

DOKDOR avatar DOKDOR commented on September 3, 2024

awesome. post a link to the .jar when its all done?

from moblimiter.

totemo avatar totemo commented on September 3, 2024

I can do. I will see if I can get it pulled ASAP as well, which means you'd be able to just get off the NerdNu Jenkins as soon as that goes through.

from moblimiter.

totemo avatar totemo commented on September 3, 2024

Okay, @DOKDOR, the pull request (#9) is in the queue. You can download a build from https://github.com/totemo/MobLimiter/releases/tag/1.0-fixed and I will keep that up until the NerdNu Jenkins updates.

I've tested with some named and or armoured hostiles and a dozen sheep named "Bob". Looks good to me.

from moblimiter.

DOKDOR avatar DOKDOR commented on September 3, 2024

thank you @totemo <3 Ill test now and let you know how it goes

from moblimiter.

DOKDOR avatar DOKDOR commented on September 3, 2024

@totemo It Works now :)
only thing im having trouble with understanding is the following line from the logs:
"[18:52:54 INFO]: [MobLimiter] Special mob exempted from removal: skeleton at (world,184,65,-45)"
I'm assuming they are the mobs with armor on?

also still having trouble with the sheep not despawning...
ping me on irc and ill give you the server details so you can come and check it out

EDIT: seems to be working now...i think it bugs out when baby sheep are around, and for a little bit of time after they grow up.

from moblimiter.

totemo avatar totemo commented on September 3, 2024

When you set up your tests for this, you have to be careful that the enclosure is all in a single chunk. The caps are enforced per-chunk.

Before:
http://i.imgur.com/NZ5BEO1.png

After: 4 white, 2 blue:
http://i.imgur.com/NTNWfmQ.png

There's no special exemption for babies and you'll notice that a couple of lambs survived the cull.
That's exactly what I expect to see. Server log looks like:

[20:06:00] : [MobLimiter] Chunk unload removes sheepwhite at (world,-115,64,91)
[20:06:00] : [MobLimiter] Chunk unload removes sheepwhite at (world,-118,64,90)
[20:06:00] : [MobLimiter] Chunk unload removes sheepwhite at (world,-119,64,91)
[20:06:00] : [MobLimiter] Chunk unload removes sheepwhite at (world,-118,64,89)
[20:06:00] : [MobLimiter] Chunk unload removes sheepwhite at (world,-116,64,91)
[20:06:00] : [MobLimiter] Chunk unload removes sheepwhite at (world,-118,64,91)
[20:06:00] : [MobLimiter] Chunk unload removes sheepwhite at (world,-120,64,89)
[20:06:00] : [MobLimiter] Chunk unload removes sheepwhite at (world,-118,64,89)
[20:06:00] : [MobLimiter] Chunk unload removes sheepwhite at (world,-117,64,91)
[20:06:00] : [MobLimiter] Chunk unload removes sheepblue at (world,-120,64,85)
[20:06:00] : [MobLimiter] Chunk unload removes sheepblue at (world,-118,64,86)
[20:06:00] : [MobLimiter] Chunk unload removes sheepblue at (world,-116,64,87)
[20:06:00] : [MobLimiter] Chunk unload removes sheepblue at (world,-120,64,88)
[20:06:00] : [MobLimiter] Chunk unload removes sheepblue at (world,-118,64,88)
[20:06:00] : [MobLimiter] Chunk unload removes sheepblue at (world,-117,64,87)
[20:06:00] : [MobLimiter] Chunk unload removes sheepblue at (world,-116,64,86)
[20:06:00] : [MobLimiter] Chunk unload removes sheepblue at (world,-117,64,87)
[20:06:00] : [MobLimiter] Chunk unload removes sheepblue at (world,-117,64,86)
[20:06:00] : [MobLimiter] Chunk unload removes sheepblue at (world,-117,64,85)
[20:06:00] : [MobLimiter] Chunk unload removes sheepblue at (world,-118,64,85)
[20:06:00] : [MobLimiter] Chunk unload removes sheepblue at (world,-115,64,85)
[20:06:00] : [MobLimiter] Chunk unload removes sheepblue at (world,-119,64,88)
[20:06:00] : [MobLimiter] Chunk unload removes sheepblue at (world,-119,64,85)
[20:06:00] : [MobLimiter] Chunk unload removes sheepblue at (world,-118,64,88)
[20:06:04] : [MobLimiter] Special mob exempted from removal: sheepwhite at (world,-70,66,58)
[20:06:04] : [MobLimiter] Special mob exempted from removal: sheepwhite at (world,-68,66,54)
[20:06:04] : [MobLimiter] Special mob exempted from removal: sheepwhite at (world,-68,66,58)
[20:06:04] : [MobLimiter] Special mob exempted from removal: sheepwhite at (world,-67,66,58)
[20:06:04] : [MobLimiter] Special mob exempted from removal: sheepwhite at (world,-67,66,56)
[20:06:04] : [MobLimiter] Special mob exempted from removal: sheepwhite at (world,-69,66,54)
[20:06:04] : [MobLimiter] Special mob exempted from removal: sheepwhite at (world,-70,66,55)
[20:06:04] : [MobLimiter] Special mob exempted from removal: sheepwhite at (world,-70,66,59)
[20:06:04] : [MobLimiter] Special mob exempted from removal: sheepwhite at (world,-70,66,56)
[20:06:04] : [MobLimiter] Special mob exempted from removal: sheepwhite at (world,-70,66,57)
[20:06:06] : [MobLimiter] Special mob exempted from removal: pig_zombie at (world,-56,71,63)
[20:06:06] : [MobLimiter] Special mob exempted from removal: pig_zombie at (world,-54,65,56)
[20:06:06] : [MobLimiter] Special mob exempted from removal: pig_zombie at (world,-60,68,47)

"Special" mobs don't get removed on chunk unload. The PvE players have named, armoured pet hostile mobs that they don't want to lose. Your skeleton falls into that category because of the armor.

from moblimiter.

DOKDOR avatar DOKDOR commented on September 3, 2024

Ah ok, I re-tested with an enclosure over 1 chunk only and it works perfectly :)

And i thought as much with the special mobs. Didn't want to lose my horse named High ho' Silver :P
Again thank you so much @totemo and @stevommmm for helping with the plugin 👍

Everything fixed, so time to close this bad boy down

from moblimiter.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.