#(devwckd) Random Walking

23 messages · Page 1 of 1 (latest)

prime snow
#

Hi!, I am trying to work with the API to create a boss, I tried adding the WanderGoal via code but it doesn't work, the npc doesn't move it just looks around.

here is my code (This is on a trait class)

@Override
public void onPreSpawn() {
  System.out.println("onPreSpawn " + npc.getFullName());
  final WanderGoal wanderGoal = WanderGoal.createWithNPC(npc);
  npc.getDefaultGoalController().clear();
  npc.getDefaultGoalController().addGoal(wanderGoal, 1);
}

I tried creating it via commands ingame and running /wp provider wander and it didn't work as well.

My citizens version is v2.0.29-SNAPSHOT (build 2420)
My spigot version is 1.12.2

Anyone had that problem too?

neon quailBOT
#

(devwckd) Random Walking

neon quailBOT
#

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.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

jade escarp
#

1.12.2 is really old

#

can you share a startup log replicating the issue?

#

!logs

placid zealotBOT
# jade escarp !logs
Info: logs

Please post your full latest log file.

Background Info: One of the most helpful tools to identifying the source of a problem is your server logs file! Logs contain all sorts of important information like server and plugin versions, any error messages, and a lot more important information (More Info).

How To: Your log can be found in the logs folder within your server folder. The most recent log is a text file labeled latest.log. To get help using these logs, please open that file in a text editor and copy all of the text, then open https://paste.denizenscript.com/New/Log and paste the text into the box on the page. Then click "Submit" and copy the URL and paste that back into this channel.

Please do not upload the file to Discord or to other pastebin services, use the log pastebin linked above.

prime snow
prime snow
#

I changed the goal to npc.getDefaultGoalController().addGoal(new TargetNearbyEntityGoal.Builder(npc).targets(Collections.singleton(EntityType.PLAYER)).aggressive(true).radius(50).build() , 1); when I get close to it it attacks me but he doesn't follow me 😦

weary torrent
placid zealotBOT
# weary torrent !checklog https://paste.denizenscript.com/View/103487
Server Version

Paper version git-Paper-1620 (MC: 1.12.2)-- (:warning: Outdated MC version)

Plugin Version(s)

Citizens v2.0.29-SNAPSHOT (build 2420) -- (:warning:Outdated build, behind by 350)

Checked For

@weary torrent

Online/Offline

Offline (proxy status unknown).

Other Noteworthy Plugin(s)

WorldGuard v6.2.2-SNAPSHOT;8eeab68, ProtocolLib v4.8.0

Potentially Bad Line(s)

Starting Minecraft server on *:25565 - server is offline but has no address bind. This might mean you're using a system level firewall, but if not, it means your proxy is bypassable by hackers. Either enable a system level firewall, or bind your server to localhost in server.properties via server-ip=127.0.0.1.
[13:55:32] [Server thread/ERROR]: [Citizens] The trait santatrait failed to load for NPC ID: 13. :warning: Log contains error messages.

glass nova
#

!update

placid zealotBOT
#
Update Paper

Paper is a higher-performance alternative to Spigot that is 100% compatible with the equivalent Spigot version. It's much easier to update than Spigot itself, and carries a lot of performance and quality-of-life benefits.

Latest Paper builds are at https://papermc.io/downloads.

(If you would prefer to use a Spigot build, refer to !update spigot).

fallen sandalBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please type </resolved:1028673926114594866> 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.)

#

Error: Missing thread owner. Did they leave the Discord? If so, just use </resolved:1028673926114594866> yourself.