Pokemon Server Archive

Community Related => Community/Forum News => Topic started by: kjdavitt on August 23, 2015, 06:22:37 pm

Title: Server down (again)
Post by: 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.
Title: Re: Server down (again)
Post by: Noivern on August 23, 2015, 06:24:25 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.
It may be mine
>.>

Title: Re: Server down (again)
Post by: 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.
Title: Re: Server down (again)
Post by: GeoWhiz on August 24, 2015, 11:56:06 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.


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