#(turphz) Loading Scripts won't execute

35 messages · Page 1 of 1 (latest)

random egret
#

Whenever I load a script the serve recognises it is there, however when I try to execute it I keep getting this error:
29.10 21:48:01 [Server] INFO =====[ Scripts 1/1 ]=====
29.10 21:48:01 [Server] INFO Key: Type Name
29.10 21:48:01 [Server] INFO TAS npc_a
29.10 21:48:01 [Server] INFO TAS my_first_task
29.10 21:48:09 [Server] INFO ERROR while executing command 'NPC_A'!
29.10 21:48:09 [Server] INFO Error Message: Unknown command 'NPC_A'.
29.10 21:48:09 [Server] INFO Starting InstantQueue 'EXCOMMAND_0_AnthonyAMCCheese'...
29.10 21:48:09 [Server] INFO +- Queue 'EXCOMMAND_0_AnthonyAMCCheese' Executing: (line 1) npc_a ---------+
29.10 21:48:09 [Server] INFO +- Executing command: NPC_A ---------+
29.10 21:48:09 [Server] INFO ERROR in queue 'EXCOMMAND_0_AnthonyAMCCheese' while executing command 'NPC_A'!
29.10 21:48:09 [Server] INFO Error Message: NPC_A is an invalid command! Are you sure it loaded?
29.10 21:48:09 [Server] INFO +---------------------+
29.10 21:48:09 [Server] INFO Completing queue 'EXCOMMAND_0_AnthonyAMCCheese' in 3ms.

Probably something stupid I'm doing but I'm completely lost and it's been 3 days of trial and error 😅

rugged pantherBOT
#

(turphz) Loading Scripts won't execute

rugged pantherBOT
#

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.

turbid merlinBOT
#
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!

random egret
winged swift
#

what command are you running

vapid comet
#

err could you post that script

winged swift
#

oop i didnt see there were messages sent already

#

discord is bugging

winged swift
#

or /ex my_first_task

random egret
winged swift
#

the exact command you're running

random egret
#

Originally I was trying to make a script with npc a but it wasn't working so I'm trying the first task command

#

my_first_task:
type: task
script:
- narrate "This is a valid task script!"
- narrate "Congratulations on writing your first script!"

winged swift
#

!c run

turbid merlinBOT
# winged swift !c run
Group

queue

Syntax

run [<script>] (path:<name>) (def:<element>|.../defmap:<map>/def.<name>:<value>) (id:<name>) (speed:<value>/instantly) (delay:<value>)

Short Description

Runs a script in a new queue.

Description

Runs a script in a new queue.

You must specify a script object to run.

Optionally, use the "path:" argument to choose a specific sub-path within a script.

Optionally, use the "def:" argument to specify definition values to pass to the script,
the definitions will be named via the "definitions:" script key on the script being ran,
or numerically in order if that isn't specified (starting with <[1]>).

Alternately, use "defmap:<map>" to specify definitions to pass as a MapTag, where the keys wi...

winged swift
#

you run tasks with that ^

#

- run my_first_task

#

Have you read the guide?

#

!guide

turbid merlinBOT
random egret
#

Yeah that's how I tried to setup this first one by reading the guide but I'm definitely out of my depth here, thanks for the help though appreciate it

winged swift
#

No worries you can ask anything you need help with in here (:

fringe gazelle
#

currently it isn't very clear why what you tried hasn't worked

#

following the guide is the most useful option and you'll want to follow that first to understand how to debug further

#

if you're having issues with that, explaining what you have, what you tried exactly, what you expected to happen, and what actually happened would help identify the issue directly

random egret
fringe gazelle
#

no prob bob, any question is more than happy to be answered here heart_h

chrome impBOT
#
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.)

#

@random egret