#(BarryAllen) my citizen won't react for the step 2 command

72 messages · Page 1 of 1 (latest)

sly ginkgo
#

hello there! I'm trying to do something with the interact things, so I learnt there's step 1 step 2. But the thing is, if the command is only chat "xx", then it'll get to step 2 and will get back to step 1, but if there's a sleep or stand command, the script won't get to step 2 or get back to step 1

tribal jacinthBOT
#

(BarryAllen) my citizen won't react for the step 2 command

#

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>

static vale
#

!haste

elder fieldBOT
sly ginkgo
#

here is my code:

    type: assignment
    actions:
        on assignment:
        - trigger name:click state:true
    interact scripts:
    - 1 Fuck_interact

Fuck_interact:
    type: interact
    steps:
        1:
            click trigger:
                script:
                - chat "Fuck"
                - sleep
                - title "title:<gold>你是猪!<red>哈哈哈" "subtitle:<&3><player.name>确实是猪"
                - zap 2
        2:
            click trigger:
                script:
                - chat "Fuck Again"
                - stand
                - zap 1```
static vale
#

please use the website

sly ginkgo
#

ok~

dense niche
#

!guide

elder fieldBOT
dense niche
#

Did you setup your script editor?

#

It seems you following old tutorials of Denizen.

sly ginkgo
#

yeah... from 8 years ago, on youtube. sorry XD

static vale
#

oof

dense niche
#

Yeah I noticed lol, you did stuff that was removed years ago.

sly ginkgo
#

I'm using Atom as editor currently

dense niche
#

And also posted your script as YAML file, which makes me assume that you still use.. oh

#

You should switch to VSCode and use the .dsc extension.

sly ginkgo
#

youtube don't really have new video tutorials XD, I guess I'll have to follow the tutorials from denizen website then

#

ok~

dense niche
#

There's an plugin for it, which lets you have fancy syntax highlighting, error checking and more.

sly ginkgo
#

downloading vscode now

dense niche
#

Start with the basics.

sly ginkgo
#

ok~

#

actually my problems are quite simple: my code won't run to the next "trigger"... I tried to do it like this:

#

but it didn't work

dense niche
#

Switch to VSCode :(

sly ginkgo
#

it always stop at the first click

dense niche
#

I'll help if you setup your script editor properly

sly ginkgo
#

ok~I'm using VSCode right now

static vale
#

remember to get the denizen extension

dense niche
#

Did you install the extension?

#

And switched to .dsc file extension instead of .yml?

sly ginkgo
#

the extension is installed

dense niche
#

Nice!

sly ginkgo
#

I'm still trying to install the NET6.0

#

the auto download failed

#

should it look like this?

#

if the extension is installed

dense niche
#

Ye

sly ginkgo
#

ok it's working, the NET6.0 is installed too

dense niche
sly ginkgo
#

yes

#

well I'm checking this one out but the document didn't explain what is the * for🥹

dense niche
#

!c zap

elder fieldBOT
# dense niche !c zap
Group

core

Syntax

zap (<script>) [<step>] (<duration>)

Short Description

Changes the current interact script step.

Description

Changes the current interact script step for the linked player.

The step name input should match the name of a step in the interact script.
The step name can be '*' to automatically zap to the default step.

If used inside an interact script, will default to the current interact script.
If used elsewhere, but there is a linked NPC with an assignment and interact, that NPC's interact script will be used.
For anywhere else, you must specify the script by name.

Optionally specify a duration. When...

sly ginkgo
#

ohhh ok~

#

I see now

#

well, sadly, my npc still won't stand up..

dense niche
#

!debug

elder fieldBOT
# dense niche !debug
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!

dense niche
#

Can you record a debug report for us?

sly ginkgo
#

yes, how do I record a debug tho?

dense niche
#

No a debug report please.

dense niche
sly ginkgo
#

ohhh soryy, missed that😂

dense niche
#

What the fuck

sly ginkgo
#

here~
I think it's probably a problem of the "stand" command?

dense niche
elder fieldBOT
# dense niche !checklog https://paste.denizenscript.com/View/105309
Server Version

Paper version git-Paper-388 (MC: 1.18.2)-- (Current build :white_check_mark:)

Plugin Version(s)

Citizens: 2.0.30-SNAPSHOT (build 2890) -- (Current build :white_check_mark:)
Denizen: 1.2.4-SNAPSHOT (build 1765-REL) -- (:warning:Outdated build, behind by 18)
Sentinel: 2.7.2-SNAPSHOT (build 502) -- (Current build :white_check_mark:)

Checked For

@dense niche

Online/Offline

:triangular_flag_on_post: Offline.

Java Version

17.0.5 :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard: 7.0.7+216b061, ProtocolLib: 4.8.0

Suspicious Plugin(s)

AuthMe: 5.6.0-beta2-b2453 :triangular_flag_on_post: (Offline login authenticator plugin)
SkinsRestorer: 14.2.4 :triangular_flag_on_post: (Offline skins fixer plugin)

Problematic Plugin(s)

Geyser-Spigot: 2.1.0-SNAPSHOT - Bedrock clients are unsupportable. Please do all testing with a Java Edition client.
floodgate: 2.2.0-SNAPSHOT (b74-4f36112)

Possibly Relevant Plugin(s)

ViaVersion: 4.5.1 - Mixed client vs server versions can sometimes cause packet-related issues.