#(calaritooo) Aggressive "rabid wolves" naturally spawning aggressive and in a pack

1 messages · Page 1 of 1 (latest)

warm remnant
#

Hey there, I recently created a custom mob for my server called the rabid wolf and I want it to spawn at a 3% chance, hijacking the wolf's natural spawning. The problem is it doesn't spawn when I designate a target on the "spawn" command, so I removed it and now it just crashes my server when the rabid wolf exists. I'm unsure as to why as my console is overloaded with crash and error messages.

Thanks!

https://paste.denizenscript.com/View/127628
https://paste.denizenscript.com/View/127629

vital nebulaBOT
#

(calaritooo) Aggressive "rabbid wolves" naturally spawning aggressive and in a pack

vital nebulaBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

pine prawn
prisma gardenBOT
warm remnant
#

sorry about that, thought i had copied it all

sick cave
prisma gardenBOT
# sick cave !logcheck https://paste.denizenscript.com/View/127630
Server Version

Paper version 1.21.1-56-master@227c94a (2024-08-31T19:12:03Z)

Plugin Version(s)

Citizens v2.0.35-SNAPSHOT (build 3597) -- (Outdated build, behind by 14)
Denizen v1.3.1-SNAPSHOT (build 7079-DEV) -- (Outdated build, behind by 2)
Depenizen v2.1.1 (build 864) -- (Current build :white_check_mark:)

Checked For

@sick cave

UUID Version

4 (:white_check_mark: Online)

Java Version

21.0.4 :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard v7.0.11-beta1+a801a9d, ProtocolLib v5.3.0

Possibly Relevant Plugin(s)

CMI v9.7.6.11 - CMI tends to mess with a large variety of server features and often gets in the way of issue debugging.
Multiverse-Core v4.3.12 - Multi-world configuration plugins may affect NPCs in unexpected ways.
FastAsyncWorldEdit v2.11.3-SNAPSHOT-921;5ac60f0 - This plugin has been known to break the plugin load order on many servers, due to usage of the 'loadbefore' directive in its 'plugin.yml'.

Potentially Bad Line(s)

Caused by: java.net.UnknownHostException: 721b27af-0ee3-49e0-8c6e-294d2cb2b36d: Name or service not known :warning: Log contains error messages.

sick cave
#

!mcve

prisma gardenBOT
# sick cave !mcve
Info: mcve

Please create a Minimal, Complete, and Verifiable Example of the problem you're reporting.
Minimal: contains nothing other than the part that's broken (and bare minimum structure).
Complete: contains everything needed to demonstrate the issue.
Verifiable: Anybody should be able to throw it on their own server and see the problem happen for themselves, without any needed tinkering.

sick cave
#

What if you just /ex spawn wolf[angry=true], for example? try finding the minimal requirements to reproduce these errors

warm remnant
#

i could write a world script killing all entities around me upon logging in maybe? i any case ill let u know

warm remnant
#

alright so the problem is swirling around an angry wolf that is neverendingly-spawning. immediately after the server restart in the log, i join, the script runs killing all entities within 20 blocks and it seems to repeatedly kill the wolf until eventually succumbing to the overload of a broken infinitely-existing mob and the script killing it

#

oh wait... maybe my script didn't find them at all..

earnest imp
#

!c spawn

prisma gardenBOT
# earnest imp !c spawn
Group

entity

Syntax

spawn [<entity>|...] (<location>) (target:<entity>) (persistent) (reason:<reason>)

Short Description

Spawns a list of entities at a certain location.

Description

Spawn an entity or list of entities at the specified location.

Accepts the 'target:<entity>' argument which will cause all spawned entities to follow and attack the targeted entity.

If the persistent argument is present, the entity will not despawn when no players are within range, causing the entity to remain until killed.

Optionally specify 'reason:<reason>' (Paper only) to specify the reason an entity is spawning for the 'entity spawns' event,
using any reason from <@link url https://hub.s...

earnest imp
#

I wonder if it's because - spawn is defaulting to natural for the reason.

warm remnant
#

I have that same command going for other custom mobs as well though.. strange

warm remnant
#

alright, i've since resolved the issue by having to delete my entire entities folder from the world file so now i can log in again. I'm not sure how to resolve the spawning issue though, i modeled the custom mob after 7 others i have already created and done the spawn-hijacking with as well so im not sure why it was infinitely spawning and killing the wolves when other custom mobs do just fine.. 😦

warm remnant
#

(calaritooo) Aggressive "rabid wolves" naturally spawning aggressive and in a pack

autumn plinth
#

!m last damaged by

prisma gardenBOT
# autumn plinth !m last damaged by
Cannot Specify Searched Mechanism

Multiple possible mechanisms: EntityTag.last_hurt_by, PlayerTag.last_death_location, LocationTag.last_interacted_slot.

#
Possible Confusion

Did you mean to search for command cast?

prisma gardenBOT
# autumn plinth !m last damaged by
Group

entity

Syntax

cast [<effect>] (remove) (duration:<value>) (amplifier:<#>) (<entity>|...) (no_ambient) (hide_particles) (no_icon) (no_clear)

Short Description

Casts a potion effect to a list of entities.

Description

Casts or removes a potion effect to or from a list of entities.

The effect type must be from https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffectType.html.

If you don't specify a duration, it defaults to 60 seconds.
An infinite duration will apply an infinite duration potion effect, refer to !objecttype DurationTag for more details.

The amplifier is how many levels to *add* over the normal level 1.
If you don't specify an amplifier level, it defaults to 1...

autumn plinth
#

!m last hurt by

prisma gardenBOT
# autumn plinth !m last hurt by
Cannot Specify Searched Mechanism

Multiple possible mechanisms: EntityTag.last_hurt_by, PlayerTag.last_death_location, LocationTag.last_interacted_slot.

#
Possible Confusion

Did you mean to search for command cast?

autumn plinth
#

does last hurt by do the trick?

earnest imp
autumn plinth
#

yea i didnt

main lodgeBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@warm remnant

warm remnant
#

Well guys I’m ngl I have no idea what caused the infinitely spawning wolves but I don’t want to find out anytime soon cuz it was a mess so I’m gonna close this and never touch them again😭😭😭