Community Related > Community/Forum News

Server down (again)

(1/1)

kjdavitt:
Recently the server is crashing again probably because there is another chicken farm owned by Geowhiz. I heard this one is similar to Daniel's from Geowhiz.

Noivern:

--- Quote from: kjdavitt on August 23, 2015, 06:22:37 pm ---Recently the server is crashing again probably because there is another chicken farm owned by Geowhiz. I heard this one is similar to Daniel's from Geowhiz.

--- End quote ---
It may be mine
>.>

1cec0ld:
on Spawn
    set.$maxChickens: 20
    set.$radius: 10
    if entity.is.chicken
        nearby.entity.chicken.$radius
            set.world_tag_murderchickens: world_tag_murderchickens+1
            if world_tag_murderchickens > $maxChickens
                it.despawn
    untag.world.murderchickens


Miiiight work. Not 100% sure, haven't used 'nearby' in a while.
Every time a chicken spawns, loop through every chicken near it in a $radius of 10. Increase a counter per chicken. If the counter goes over 20, kill every chicken after 20 is reached. Now that the chicken has been processed, delete the counter so the next one is ready when it spawns.

GeoWhiz:

--- Quote from: 1cec0ld on August 23, 2015, 10:39:07 pm ---on Spawn
    set.$maxChickens: 20
    set.$radius: 10
    if entity.is.chicken
        nearby.entity.chicken.$radius
            set.world_tag_murderchickens: world_tag_murderchickens+1
            if world_tag_murderchickens > $maxChickens
                it.despawn
    untag.world.murderchickens


Miiiight work. Not 100% sure, haven't used 'nearby' in a while.
Every time a chicken spawns, loop through every chicken near it in a $radius of 10. Increase a counter per chicken. If the counter goes over 20, kill every chicken after 20 is reached. Now that the chicken has been processed, delete the counter so the next one is ready when it spawns.

--- End quote ---


Server is crashing again. Might not be the chickens causing it. 

Navigation

[0] Message Index

Go to full version