#(pogzy_) Hello, I need help with a script

41 messages · Page 1 of 1 (latest)

elfin gyroBOT
#

(pogzy_) Hello, I need help with a script

#

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.

slow oracle
#

!info paste debug

coarse kernelBOT
#
Info: debug

If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!

vagrant drift
slow oracle
#

could you upload your scripts too please

slow oracle
vagrant drift
#

I don't know how to solve this problem, can you help me?

slow oracle
#
# The name of the command. This will be the default method for running the command, and will show in '/help'.
    # | All command scripts MUST have this key!
    name: mycmd
#

Set the name of the command lol

#

can you upload the uh

#

script here

#

!pastescript

coarse kernelBOT
vagrant drift
#

I can't understand the problem, for me, everything should work fine ...

slow oracle
#

CUSTOM_ENDERCHESTS_COMMANDS

#

This is a different script

#

Did you rename it after recording the debug?

#

Or have multiple similar scripts?

vagrant drift
#

I tried to do it in 1 file and separate that's why. Wait, I'll send you back the debug

#

you have the code and the debugging

#

there are 2 problems that I can't solve, the 1st is that it doesn't synchronize, if I open, drop an item and exit then reopen there is no longer the item.

Secondly, I've set the role to tavern keeper (the highest rank) and it's showing me the default role, because the default luckperms role is assigned to all players, so no matter what the role, it's showing the default one.

#

I tried to modify the code but there was an error.

slow oracle
#

You need to set the required keys in your script containers

#

Do you use ChatGPT or something?

vagrant drift
vagrant drift
#

Copilot IA for generate and to correct the code

#
slow oracle
coarse kernelBOT
# slow oracle !chatgpt
Info: chatgpt

No, ChatGPT cannot write working scripts.

ChatGPT is known to often be "confidently wrong", meaning- It will try, it will output something that looks like a script, it will assure it it works, and it will not work.

ChatGPT is a cool tool, and it can do a lot of cool things, but it is not sufficiently intelligent enough to write working code as of yet, especially not in smaller languages like Denizen script (as opposed to huge languages like C or Python).

(GitHub Copilot, which supplies single lines at a time based on the surrounding code you've already written, can sometimes be accurate and helpful).

slow oracle
#

!guide

coarse kernelBOT
slow oracle
#

Please dont use AI to fix errors

vagrant drift
#

I give up, have a nice day, sorry for the inconvenience.