#(Zushee) Trouble Setting npc skin

95 messages · Page 1 of 1 (latest)

grave gullBOT
#

(Zushee) Trouble Setting npc skin

#

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>

azure hemlock
#

i added the dev api tag to your thread for when someone is familiar with how to answer best, until there, here's this for reference if you havent had it already for using skintrait via the api:

#

!skins

steep horizonBOT
azure hemlock
winged gust
#

Can you try removing one of the spawn calls?

winged gust
#

maybe try enabling citizens debug and sending a log

azure hemlock
#

in your /plugins/Citizens/config.yml, enable the line that has debug on it

#

after doing that, restarting the server, and replicating the issue, you can afterwards paste your log with these instructions:

#

!logs

steep horizonBOT
# azure hemlock !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.

azure hemlock
steep horizonBOT
# azure hemlock !logcheck https://paste.denizenscript.com/View/108390
Server Version

Paper version git-Paper-794 (MC: 1.16.5)-- (Current build :white_check_mark:)

Plugin Version(s)

Citizens v2.0.31-SNAPSHOT (build 2981) -- (:warning:Outdated build, behind by 34)

Checked For

@azure hemlock

UUID Version

4 (:white_check_mark: Online)

Java Version

17 or newer (based on stack trace content) :white_check_mark:

Possibly Relevant Plugin(s)

ViaVersion v4.6.2 - Mixed client vs server versions can sometimes cause packet-related issues.

azure hemlock
#

did you execute the command this startup sequence?

azure hemlock
#

your logs show you logged in but you never ran any commands

#

can you share the log with the debug enabled as you have done, but replicate the problem?

azure hemlock
#

you may have failed to read my message though

#

can you share the log with the debug enabled as you have done, but replicate the problem

#

as in, now that you have enabled the debug

#

you've enabled more text for us to read to determine the problem

#

can you now run the commands that cause the problem

#

and then share that

#

!Logs

steep horizonBOT
# azure hemlock !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.

azure hemlock
#

you logged in and did nothing, correct?

#

do something, not nothing

#

make the error again

#

you dont want to ping me

#

!rule 3

steep horizonBOT
# azure hemlock !rule 3
Rule 3

Don't ping for help. https://denizenscript.com/discord_rules#rule3
"Pinging" refers to using an @ to alert somebody to your post.
Generally only ping somebody if your message is very specifically directed at them (meaning, only that person has anything to do with the information in your message, and it would be confusing who it was for without the ping).

If you're asking a question, please just make a forum post and ask.
If you have a bug report or a feature request, please just make a forum post about it.

If this is pulled up for you by a helper, your ping was unneeded.
If you're arguing about it, you're wrong.

azure hemlock
#

🤦‍♂️🤦‍♂️🤦‍♂️⁉️

steep horizonBOT
# azure hemlock !logcheck https://paste.denizenscript.com/View/108416
Server Version

Paper version git-Paper-794 (MC: 1.16.5)-- (Current build :white_check_mark:)

Plugin Version(s)

Citizens v2.0.31-SNAPSHOT (build 2981) -- (:warning:Outdated build, behind by 34)

Checked For

@azure hemlock

UUID Version

4 (:white_check_mark: Online)

Java Version

17 or newer (based on stack trace content) :white_check_mark:

Possibly Relevant Plugin(s)

ViaVersion v4.6.2 - Mixed client vs server versions can sometimes cause packet-related issues.

azure hemlock
#

you logged in and did nothing

#

what did you do when you logged in

#

correct

#

what can we see from nothing?

#

if you do nothing, what do we see?

#

how did you run this

#

the code is fine, but how did you run the code

#

how does this run

#

do you do nothing and it runs?

#

or what do you do that runs this

#

how do you execute

#

can you elaborate

#

how do you execute this code

#

it appears you do nothing and do not run the code

#

what executes onEnable() method

#

you place a skin on an NPC when players do not simulate the NPC?

#

your logs indicate you don't

#

you're being vague and you need to provide evidence of your code running and failing to execute

#

if your code is causing errors and you're unsure but confident it's right, i'd erase it completely and start over; your original consensus isn't working and it's not clear why

#

try reviewing the skin information:

#

!skins

steep horizonBOT
azure hemlock
#

an MCVE would help us explicitly understand how to both replicate the issue and fix the problem if there is one

#

!mcve

steep horizonBOT
# azure hemlock !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.

azure hemlock
#

with what youve provided, you log in and nothing happens because you arent doing anything but logging in to execute code

#

the code also doesnt run on login

#

take your time

winged gust
#

@

#

@mild edge there's destroyAll I think for this reason

#

deregisterAll()

#

but yeah, I'm confused what issue you're having now

#

need to clarify

winged gust
#

Why not just use a temporary npc registry?

#

It doesn’t save at all

#

Try using CitizensAPI.createAnonymousNPCRegistry(new MemoryNPCDataStore());

#

yes

winged gust
#

yes, although maybe keep the anonymous registry somewhere else

#

well, somewhere in local (world?) state

#

also, please stop tagging me

#

!rule 3

steep horizonBOT
# winged gust !rule 3
Rule 3

Don't ping for help. https://denizenscript.com/discord_rules#rule3
"Pinging" refers to using an @ to alert somebody to your post.
Generally only ping somebody if your message is very specifically directed at them (meaning, only that person has anything to do with the information in your message, and it would be confusing who it was for without the ping).

If you're asking a question, please just make a forum post and ask.
If you have a bug report or a feature request, please just make a forum post about it.

If this is pulled up for you by a helper, your ping was unneeded.
If you're arguing about it, you're wrong.

winged gust
#

ah, don't worry about it

#

yes

winged gust
#

/npc remove all or /npc remove --world

pulsar sableBOT
#
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.)

#

@mild edge

naive shell
#

You need to enable it, there's a method on the LookClose trait - iirc it's called lookClose

pulsar sableBOT
#
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.)

#

@mild edge

steep horizonBOT
#
Rule 3

Don't ping for help. https://denizenscript.com/discord_rules#rule3
"Pinging" refers to using an @ to alert somebody to your post.
Generally only ping somebody if your message is very specifically directed at them (meaning, only that person has anything to do with the information in your message, and it would be confusing who it was for without the ping).

If you're asking a question, please just make a forum post and ask.
If you have a bug report or a feature request, please just make a forum post about it.

If this is pulled up for you by a helper, your ping was unneeded.
If you're arguing about it, you're wrong.

pulsar sableBOT
#

@mild edge

Thread Close Blocked

Thread was closed either automatically by timeout or by the Discord manual close button. If closing was intentional, please use </resolved:1028673926114594866> or </invalid:1028673926898909185>.

#
Resolved

Thread closed as resolved.

pulsar sableBOT
#
Thread Reopened

Thread was manually reopened by @glad night.