Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Npc center and teleport command not working #94

Closed
SladeHazard opened this issue Oct 11, 2023 · 8 comments
Closed

Npc center and teleport command not working #94

SladeHazard opened this issue Oct 11, 2023 · 8 comments
Labels
bug Something isn't working needs testing This issue has been potentially fixed and needs to be re-tested

Comments

@SladeHazard
Copy link

SladeHazard commented Oct 11, 2023

Whenever I use npc center on an npc or Teleport it facing the other direction. It ends up looking at the same wrong direction everytime the servers lightning updates or if i run the command //fixlighting from FastAsyncWorldEdit

Server Version 1.12.2 Paper
Plugin version 2.0.0-SNAPSHOT

All of them looking at the wrong direction: (the center command does make them face the right location but once the lightning updates they go back to looking in the wrong place)
image

@SladeHazard
Copy link
Author

SladeHazard commented Oct 14, 2023

more update, the issue only happens to villagers

image

Config for reference:

Villager:

id: villagertest
is-processed: true
allow-commands: true
enabled: true
uuid: bdd11cf2-d379-4ad5-ab24-0104a0a306c2
world: Event
location:
  x: 656.5405804089429
  y: 44.0
  z: 267.59511098685306
  yaw: -269.61804
  pitch: 1.22927
type: villager
hologram:
  lines: []
actions: []

Player:

id: playertest
is-processed: true
allow-commands: true
enabled: true
uuid: 7a933352-0c40-4764-bc22-3c365d42d4a4
world: Event
location:
  x: 656.5379496515394
  y: 44.0
  z: 268.45226120066076
  yaw: -269.61804
  pitch: 1.22927
type: player
properties:
  skin_right_sleeve: 'true'
  skin_cape: 'true'
  skin_left_sleeve: 'true'
  skin_right_leg: 'true'
  skin_jacket: 'true'
  skin_left_leg: 'true'
  skin_hat: 'true'
hologram:
  lines: []
actions: []

@SladeHazard
Copy link
Author

happens with all types of mobs excluding player

@Pyrbu Pyrbu added bug Something isn't working needs testing This issue has been potentially fixed and needs to be re-tested labels Oct 20, 2023
@D3v1s0m
Copy link
Collaborator

D3v1s0m commented Oct 21, 2023

@SladeHazard can you try it again with the latest build. if it happens again, can you send your data files here.

@SladeHazard
Copy link
Author

SladeHazard commented Oct 22, 2023

@SladeHazard can you try it again with the latest build. if it happens again, can you send your data files here.

still happens, even tried with the rotation command, /znpc setrotation eventkoth 91.2 -0.6

here is the data:
https://workupload.com/file/rjPJnVqGFby

btw quick question that I had, what is the use of mysql / storages in an NPC plugin? or is that planned for a future update. or is the mysql storing the NPC files

@Pyrbu
Copy link
Owner

Pyrbu commented Oct 22, 2023

btw quick question that I had, what is the use of mysql / storages in an NPC plugin? or is that planned for a future update. or is the mysql storing the NPC files

The use is for large networks that for example run multiple lobbies, they can simply change it on one of the servers and it will update everywhere.

@D3v1s0m
Copy link
Collaborator

D3v1s0m commented Nov 12, 2023

@SladeHazard can you try again in the latest build. it should be fixed now.

@SladeHazard
Copy link
Author

@SladeHazard can you try again in the latest build. it should be fixed now.

still same

@SladeHazard
Copy link
Author

nvm its fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs testing This issue has been potentially fixed and needs to be re-tested
Projects
None yet
Development

No branches or pull requests

3 participants