Opticraft Community

Discussion forum => Legacy => Archives => Suggestions => Topic started by: Lema on August 08, 2012, 05:06:56 pm

Title: Removing the new plugin.
Post by: Lema on August 08, 2012, 05:06:56 pm
Hi guys it is Radlam here.
Many people on chat have complained about the new plugin wiping out their sheeps,cows,pigs,chickens and mostly npc's. I myself lost 6 npc's due to the new plugin when my 6 npc's were in a 22x11 area. I think (and many other people too) thought that it would be fair if this new plugin only affected hostile mobs and that instead of having 4 mobs in a 2x2 area we could have 10 (or a bit less) in a 2x2 area. This I know has affected many players and many of my friends have suffered major losses of losing npc's (which they have payed for) and many other kind of animals. People can not repopulate their npc's usually as they are left with usually one or none and can not get anymore as many people have stopped selling their npc's due to the plugin. I do understand why you added this new plugin as many people were hoarding mobs but people have just lost too much due to this plugin and it has affected them majorly. Many people agreed with me (and some people made me) to write this post so it is not posted without support. I hope you will think about this before rejecting this straight away or giving it bad comments. Just think about it. Imagine how much you have made people lose. Please consider this suggestion.
Radlam (and many other people to).
Title: Re: Removing the new plugin.
Post by: Larkosaurus on August 08, 2012, 05:16:01 pm
I agree, all my NPC's were killed except for one and I had them in a pretty spacious area and were killing some off every so often in case of the plugin. I can't control them when I'm offline though so when I logged on later the plugin had struck...
Title: Re: Removing the new plugin.
Post by: manlikezebraman on August 08, 2012, 05:19:23 pm
This is the best idea ever I hope many people feel the way I do to this because this would help me^ because I had a sheep farm and the all disappeared...
Title: Re: Removing the new plugin.
Post by: YangusTheGreat on August 08, 2012, 05:34:04 pm
The same thing has happened with my NPC's...

But what I did find interesting is that there was a huge horde of zombies swarming someone's building full of NPC's, and there were so many of them packed together, yet the plugin did not kill them. I think that the plugin should only affect hostile mobs.

Here is a screen shot of all the zombies:

(click to show/hide)


-It works now. :P
Title: Re: Removing the new plugin.
Post by: 123456989432 on August 08, 2012, 05:35:05 pm
Really for this idea, Alot of people has lost their villagers, or have only one left, Farms have become empty etc because of this plugin. :/
Title: Re: Removing the new plugin.
Post by: zan4 on August 08, 2012, 05:46:27 pm
i think so as well for people who are (or, were) self dependant with big farms, would just go poof! like my chicken population cut in half. :-\
Title: Re: Removing the new plugin.
Post by: Sir_Toby_7 on August 08, 2012, 05:49:59 pm
I was wondering why my chickens kept disappearing...
Title: Re: Removing the new plugin.
Post by: Nick3306 on August 08, 2012, 05:51:05 pm
We will look into this because the plugin is written to only kill all but 4 mobs in a 2x2 area, so people who have lost all of their npcs technically could not have lost them to this plugin. The reason we do not only do hostle mobs is because these npc farms are very taxing on the server. Before this plugin was put into place me and opti went around and were amazed at the ridiculous amounts of villagers people had, not to mention the gigantic chicken farms people have. We needed to put a stop to it. It is possible something else is effecting this, so like I said, we will look into it.
Title: Re: Removing the new plugin.
Post by: Lema on August 08, 2012, 05:53:25 pm
Thank you nick for looking into it.
Title: Re: Removing the new plugin.
Post by: cschurz on August 08, 2012, 06:57:04 pm
i'll give you guys a quick rundown on the types of throttling the plugin does so you can report if it's not working correctly.

this is the configured parameter:
- there shall be no more than 6 mobs of a specific type in a 4x4x2 radius of any other mob of that same type.

type 1: denies mobs from spawning entirely.
- if a villager or cow or anything (including spawn eggs) attempts to spawn a new mob, it will be denied if there are more than 6 mobs of the same type in a 4x4x2 radius

type 2: throttle mobs on chunk load
- when a chunk is loaded (for example, when a player first enters the chunk) every mob type will be checked. if there are more than 6 mobs of any type in a 4x4x2 radius, all of the mobs of that type in that radius will be killed. - notice the bold. i believe this to be an unintended bug, and have just now corrected it.

type 3: throttle mobs from mob spawners.
- when a mob is spawned from a mob spawner, it is kept track of. if a mob spawned by a mob spawner has been alive for more than 180 seconds, it is killed.

hopefully most of the problems you guys are seeing is from the unintended bug.

please report it here if you see any behavior that does not match the process that i've outlined here.
Title: Re: Removing the new plugin.
Post by: arsenic_shark on August 08, 2012, 07:30:44 pm
I believe the problem my lie with the night time.

At night all villagers try to get into a house, but as they don't have the best AI's a large portion try to get into the same room. This causes say 20 villagers in a 5x5x3 area. So when the player teleports to their village the villagers get throttled.

This could cause the deaths of lots of villagers but Im not sure.
Title: Re: Removing the new plugin.
Post by: cschurz on August 08, 2012, 07:33:20 pm
some screenshot visualization:

severely overcrowded cow pen:
(click to show/hide)

after bug fixed mob throttling (throttle type 2):
(click to show/hide)

no point in posting the "before bug fixed" mob throttling - there are no cows left, lol.

as you can see, the bug-fixed throttling is pretty reasonable.

@ arsenic shark- yeah, if the villagers crowd themselves into one room, then they'll all die currently. i've hopefully fixed that, so it will be less apparent, but good to know.
Title: Re: Removing the new plugin.
Post by: tiggy26668 on August 08, 2012, 07:57:20 pm
some screenshot visualization:

severely overcrowded cow pen:
(click to show/hide)

after bug fixed mob throttling (throttle type 2):
(click to show/hide)

no point in posting the "before bug fixed" mob throttling - there are no cows left, lol.

as you can see, the bug-fixed throttling is pretty reasonable.

@ arsenic shark- yeah, if the villagers crowd themselves into one room, then they'll all die currently. i've hopefully fixed that, so it will be less apparent, but good to know.

was that chunk only loaded once?

i'm just curious if multiple loads is gonna dwindle away my herds of sheep.

for example all of my farms reside below my castle, which is my /home and main way of getting around, so every time i do /home are more and more of my sheep gonna vanish until they just happen to not be huddled in a corner/there's only 4 left?

the sheep aren't particularly smart and it took me quite a while to get enough of every color for it to be efficient, the pens are a decent size, yet all the sheep still prefer to be huddled in the corner, unfortunately it would take quite a while to farm enough wool for lets say a dragon in the sky off of 4 sheep

so what would be the affects of this "multiple loading" situation?
Title: Re: Removing the new plugin.
Post by: cschurz on August 08, 2012, 08:04:07 pm
some screenshot visualization:

severely overcrowded cow pen:
(click to show/hide)

after bug fixed mob throttling (throttle type 2):
(click to show/hide)

no point in posting the "before bug fixed" mob throttling - there are no cows left, lol.

as you can see, the bug-fixed throttling is pretty reasonable.

@ arsenic shark- yeah, if the villagers crowd themselves into one room, then they'll all die currently. i've hopefully fixed that, so it will be less apparent, but good to know.

was that chunk only loaded once?

i'm just curious if multiple loads is gonna dwindle away my herds of sheep.

for example all of my farms reside below my castle, which is my /home and main way of getting around, so every time i do /home are more and more of my sheep gonna vanish until they just happen to not be huddled in a corner/there's only 4 left?

the sheep aren't particularly smart and it took me quite a while to get enough of every color for it to be efficient, the pens are a decent size, yet all the sheep still prefer to be huddled in the corner, unfortunately it would take quite a while to farm enough wool for lets say a dragon in the sky off of 4 sheep

so what would be the affects of this "multiple loading" situation?

it just repeats the exact same process i described as throttle type 2:

Quote
type 2: throttle mobs on chunk load
- when a chunk is loaded (for example, when a player first enters the chunk) every mob type will be checked. if there are more than 6 mobs of any type in a 4x4x2 radius of any other mob, [the excess mobs will be killed]

if a chunk is loaded once and you lose a bunch of sheep, if the process were to repeat itself immediately afterward for some reason, you would lose no additional sheep.

if you want more sheep to survive the slaughter, you must give them a larger area to graze so they group up less. giving mobs more space is pretty much the whole point of the plugin.
Title: Re: Removing the new plugin.
Post by: ☣2crzy4uall☣ on August 08, 2012, 08:04:55 pm
I personally like the plugin, my villagers roam freely so I haven't seen a drop in numbers, and yesterday I seen 4 slimes. Thats more than I've seen in 2 months lol
Title: Re: Removing the new plugin.
Post by: tiggy26668 on August 08, 2012, 08:20:59 pm
(click to show/hide)

Ok well given what i was talking about the mobs would have a good 5 mins or more to move around between /homes and regroup so according to what you said my sheep would pretty much get owned.

so if i'm correct in my thinking from what you've said 4 sheep can survive in a 4x4 enclosure without problems, and assuming lets say a 1 block path between enclosures (2 for each enclosure outer fence 1 for a path) i can keep them in a grid of 4x4 pens with a 1 block path between each without complications?

ie: g = grass f = fence p = path
(click to show/hide)

please, correct me if i'm wrong
also how are different colored sheep considered for throttling? given that different colors have the extra :# on their codes, do they get considered individually for the "kill all but 4 of mob type"? or do the red sheep go down with the blue?
Title: Re: Removing the new plugin.
Post by: cschurz on August 08, 2012, 08:56:01 pm
differently colored sheep are all considered "sheep" and will be throttled accordingly.

Quote
so if i'm correct in my thinking from what you've said 4 sheep can survive in a 4x4 enclosure without problems,

while true, the logic does not quite work like that. all you have to know:

a single sheep cannot have more than 5 other sheep within 2 blocks of it. 6 sheep is the magic number here.

i believe this is the maximum possible efficiency for keeping mobs in a tight area:

(click to show/hide)

where each compartment has 6 cows in it. this guarantees that each cow only has 5 other cows within 2 blocks of it (a diameter of 4 blocks) at any given time. if i were to place an additional cow in one compartment, one cow from that compartment would be deleted upon the slaughter. if i were to place one cow in each compartment, one cow from each compartment would be slaughtered.

obviously this is NOT how you should store your animals, as preventing animals from stacking like this is the whole goal of the plugin.

i will not provide input on your proposed design; i'll leave you to figure out how you want to store your sheep now that i've hopefully cleared up how it works.
Title: Re: Removing the new plugin.
Post by: YangusTheGreat on August 08, 2012, 08:57:24 pm
So do we get refunded of animals/NPC's that we lost if we didn't know how to avoid them getting killed?
Because now I only have 1 NPC left, and he can't really start again on his own...

I personally like the plugin, my villagers roam freely so I haven't seen a drop in numbers, and yesterday I seen 4 slimes. Thats more than I've seen in 2 months lol

I agree about the slimes :)

But most people don't have the money for extensive amounts of PS to make a protected building around them for them to roam freely (well at least I don't) so they don't get killed by other players.
Title: Re: Removing the new plugin.
Post by: tiggy26668 on August 08, 2012, 09:01:51 pm
differently colored sheep are all considered "sheep" and will be throttled accordingly.

Quote
so if i'm correct in my thinking from what you've said 4 sheep can survive in a 4x4 enclosure without problems,

while true, the logic does not quite work like that. all you have to know:

a single sheep cannot have more than 5 other sheep within 2 blocks of it. 6 sheep is the magic number here.

i believe this is the maximum possible efficiency for keeping mobs in a tight area:

(click to show/hide)

where each compartment has 6 cows in it. this guarantees that each cow only has 5 other cows within 2 blocks of it (a diameter of 4 blocks) at any given time. if i were to place an additional cow in one compartment, one cow from that compartment would be deleted upon the slaughter. if i were to place one cow in each compartment, one cow from each compartment would be slaughtered.

obviously this is NOT how you should store your animals, as preventing animals from stacking like this is the whole goal of the plugin.

i will not provide input on your proposed design; i'll leave you to figure out how you want to store your sheep now that i've hopefully cleared up how it works.

ok well thanks for all the info it definitely helped, i'll have to toy with some designs when i get back on smp and find one that works for me
Title: Re: Removing the new plugin.
Post by: YangusTheGreat on August 08, 2012, 09:27:34 pm
Quote
ie: g = grass f = fence p = path
Spoiler (click to show/hide)

This would work on paper, but the reality is, sheep don't all spread out evenly on the blocks they have;
What if all 4 sheep gather in one corner, and a couple of sheep from the other pen walks towards them? It sounds like the chances are slim but it does happen.

I mean what you are asking us to do is a bit mad, sort 20 chickens (well probably only 1 or 2 now) all into separate rooms where there can only be 4 other chickens. That would be mayhem!

Doing the same thing with NPC's would also be very difficult, having to make minecart tracks everywhere without the others escaping or glitching out.
Title: Re: Removing the new plugin.
Post by: ViperZeroOne on August 08, 2012, 09:39:14 pm
I'd also like to make mention on the topic of NPC's that people should know when you have villagers you have a chance to have a zombie attack, and the chance is pretty high.  I've gone through 3 of them so far on my island.  The gangs will spawn outside, and if there is enough room, even inside buildings.  They do a lot of damage and will kill ALL of the NPC's if you don't have any iron golems wandering around.

Unless you're absolutely sure your NPC's are being killed by the plugin I wouldn't be too quick to blame it.
Title: Re: Removing the new plugin.
Post by: Chief149 on August 08, 2012, 10:44:20 pm
I am sure the plugin is what kills them. You see there is a glitch in the game that makes every villager want to group together into the same house at night. So I could have 10 villagers in my village spread out (10 being not many for an island like mine), but at night they could all end up going into the same house (which they do). That is when the plugin decides to kill them off.

If you're gonna keep the plugin at least keep it from removing villagers. The plugin as I recall was designed to keep players from AFKing at a spawner causing a huge buildup of mobs. Plus the villager thing isn't a big issue. Not many people have villages, and the population of those villages aren't overdone. IDK how to get my (few) villagers to be more spread out.
Title: Re: Removing the new plugin.
Post by: NatanylJames (N8MATTHEWS) on August 09, 2012, 06:18:37 pm
I am sure the plugin is what kills them. You see there is a glitch in the game that makes every villager want to group together into the same house at night. So I could have 10 villagers in my village spread out (10 being not many for an island like mine), but at night they could all end up going into the same house (which they do). That is when the plugin decides to kill them off.

If you're gonna keep the plugin at least keep it from removing villagers. The plugin as I recall was designed to keep players from AFKing at a spawner causing a huge buildup of mobs. Plus the villager thing isn't a big issue. Not many people have villages, and the population of those villages aren't overdone. IDK how to get my (few) villagers to be more spread out.

Agreed
Title: Re: Removing the new plugin.
Post by: Nick3306 on August 09, 2012, 06:37:37 pm
I am sure the plugin is what kills them. You see there is a glitch in the game that makes every villager want to group together into the same house at night. So I could have 10 villagers in my village spread out (10 being not many for an island like mine), but at night they could all end up going into the same house (which they do). That is when the plugin decides to kill them off.

If you're gonna keep the plugin at least keep it from removing villagers. The plugin as I recall was designed to keep players from AFKing at a spawner causing a huge buildup of mobs. Plus the villager thing isn't a big issue. Not many people have villages, and the population of those villages aren't overdone. IDK how to get my (few) villagers to be more spread out.
This plugin was made by opti with 2 things in mind, stop those ridiculous chicken farms, and to stop those ridiculous villager farms. Throttling mob spawners was just a bonus.
Title: Re: Removing the new plugin.
Post by: Victor1261 on August 09, 2012, 07:41:56 pm
I believe that this plugin should be kept on the facts of

1) Ridiculous amounts of NPC's and chickens
2) Less iron golem farming (less NPC's = less iron golems)

You don't need hundreds of villagers to trade with, 10 would be fine with me. Just keep the villagers separated from each other and in secure locations. Also, you don't need hundreds of chickens either. Just keep 64 of them so you can get almost a stack of chicken every harvest, you're not going to run out of food that fast, trust me.
Title: Re: Removing the new plugin.
Post by: Sir_Toby_7 on August 09, 2012, 10:46:06 pm
so... what would be the best way to keep about 20 chickens alive?
Title: Re: Removing the new plugin.
Post by: cschurz on August 10, 2012, 12:04:08 am
so... what would be the best way to keep about 20 chickens alive?

keep them spread out as best you can.
Title: Re: Removing the new plugin.
Post by: Chief149 on August 10, 2012, 12:22:37 am
I believe that this plugin should be kept on the facts of

1) Ridiculous amounts of NPC's and chickens
2) Less iron golem farming (less NPC's = less iron golems)

You don't need hundreds of villagers to trade with, 10 would be fine with me. Just keep the villagers separated from each other and in secure locations. Also, you don't need hundreds of chickens either. Just keep 64 of them so you can get almost a stack of chicken every harvest, you're not going to run out of food that fast, trust me.

I totally agree. Actually I think 64 chickens would be a little bit of an overkill. 20-32 would be fine.

The thing about villagers is I would like to have a medium number for decoration. I want a city or town with villagers roaming. Now my island is large enough to support around 75 total villagers spread throughout, but I plan on keeping the cap (number of total doors) to sustain 30 villagers over the entire island. The issue however is that villagers don't seem to like being spread out. I had 20 or so in a chunk about 1/3 the total island size which is still a decent amount of space. The problem is the villagers naturally wanting to group together into the same house. Now I have in the range of 8-10 villagers in that same area and I am already seeing 4 or so villagers taking refuge in a single house in many cases. Also this morning I had a medium number of villagers, and a couple hours later I revisit my village to find all my villagers besides the emergency villagers I had stowed away to be dead. That may have been a player, but I also am paranoid about the plugin doing that as well.

Really I am against people making crazy villages, and hording 100 villagers. I'm more for 20 or 30, but in a much more spread out area such as my island (while attempting to keep them spread out, and hopefully not crowd). I also like the suicide pit idea to help keep villagers fresh with trading so long as not too many villagers at a time fall in. Hopefully I can find a way to make them no cluster so much. One thing I am going to do is remove my "villager hotels" which are 5 by 5 by 4 units with 22 doors in them. This will reduce population, and I think they tend to cluster together more inside areas with large numbers of doors, but if not then I will hope for Jeb to fix that glitch. Meanwhile I would appreciate it if the plugin didn't despawn friendly mobs, or even more specifically, villagers. Perhaps there could be some sort of manual enforcement with villages to have village owners reduce their population and number of doors. I think that would be a better approach. As for mob spawners, enemy mobs, and perhaps even friendly mobs that aren't villagers, I think the plugin works great for capping these and letting more of the other mobs such as slimes spawn (although my slime area has yet to spawn another slime, yet).
Title: Re: Removing the new plugin.
Post by: arsenic_shark on August 10, 2012, 06:48:40 am
At night all villagers try to get into a house, but as they don't have the best AI's a large portion try to get into the same room. This causes say 20 villagers in a 5x5x3 area. So when the player teleports to their village the villagers get throttled.

I am sure the plugin is what kills them. You see there is a glitch in the game that makes every villager want to group together into the same house at night. So I could have 10 villagers in my village spread out (10 being not many for an island like mine), but at night they could all end up going into the same house (which they do). That is when the plugin decides to kill them off.

Already said that, :P