#(mura5072) how do I get something from the json list?

35 messages · Page 1 of 1 (latest)

weary cloud
#

how do I get something from the json list? the tag is only shown to me in the chat, not its value, that is, he does not see it, to put it simply.

olive wagonBOT
#

(mura5072) how do I get something from the json list?

olive wagonBOT
#

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.

rare karma
#

Could you run a debug please

#

!debug

ocean umbraBOT
# rare karma !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!

rare karma
#

Also provide the json file

weary cloud
#

I'm using an engine to create weapon reloading animations that converts this to json.

weary cloud
rare karma
#

Much thank, can you provide the debug with reading the file and narrating just <[datafile]>

weary cloud
rare karma
#

You tried to read that json and you said it does not return anything

#

So please provide a debug so I can check what's happening

#

Because reading the data should work

weary cloud
#

this one?:
- define datafile <util.parse_yaml[<entry[filedata].data>]>
- narrate <[datafile].get[guns].get[guntest].get[name]>

rare karma
weary cloud
rare karma
#

!disablereplies

ocean umbraBOT
rare karma
#

!debug @weary cloud

ocean umbraBOT
# rare karma !debug <@695200282573013052>
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!

weary cloud
#
    type: command
    name: mount_entity
    description: Загружает сущность из JSON из файла и ставит её пассажиром на голову игрока.
    usage: /mount_entity
    script:
        - define file data/guns/test.json
        - ~fileread path:<[file]> save:filedata
        - define datafile <util.parse_yaml[<entry[filedata].data>]>
        - narrate <[datafile].get[guns].get[guntest].get[name]>```
rare karma
weary cloud
#
[00:37:03 INFO]:  ERROR in script 'entity_mount_from_file' in queue 'ENTITY_MOUNT_FROM_FILE_210955_ExecutiveMap' while executing command 'NARRATE' in file '\scripts\boost.dsc' on line '10' with player 'Murgalag'!
                 Error Message: Tag <[datafile].get[guns].get[guntest].get[name]> is invalid! ... Enable debug on the script for more information.
[00:37:03 INFO]: Additional Error Info: Unfilled or unrecognized sub-tag(s) 'get[guns].get[guntest].get[name]' for tag <[datafile].get[guns].get[guntest].get[name]>!
[00:37:03 INFO]: Additional Error Info: The returned value from initial tag fragment '[datafile]' was: 'map@[null = binary@7b 0d 0a 20 20 20 20 22 67 75 6e 73 22 3a 20 7b 0d 0a 20 20 20 20 20 20 22 67 75 6e 74 65 73 74 22 3a 20 7b 0d 0a 20 20 20 20 20 20 20 20 22 6e 61 6d 65 22 3a 20 22 54 65 73 74 20 47 75 6e 22
                 2c 0d 0a 20 20 20 20 20 20 20 20 22 64 61 6d 61 67 65 22 3a 20 35 30 2c 0d 0a 20 20 20 20 20 20 20 20 22 72 61 6e 67 65 22 3a 20 31 30 2c 0d 0a 20 20 20 20 20 20 20 20 22 61 6d 6d 6f 5f 74 79 70 65 22 3a 20 22 62 75 6c 6c 65 74 73 22 0d 0a 20 20 20 20 20 20 7d 0d 0a 20 20 20 20 7d 0d 0a 20 20 7d
                 0d 0a 20 20 ]'.
[00:37:03 INFO]: Additional Error Info: Almost matched but failed (possibly bad input?): get```
rare karma
#

mate

#

@violet forge cracked @weary cloud

violet forgeBOT
pulsar violet
wicked tundra
ocean umbraBOT
# wicked tundra !cracks
Info: cracks

Cracked users or servers will not receive support on this Discord.
"Cracked" means any server that is in 'offline' mode (ie, no login authentication) (for Bungee networks, this is whether the proxy is offline, not the Spigot sub-servers).
A server that does not authenticate logins through Mojang is a server that actively supports piracy. Software piracy is illegal, as is supporting other people involved in software piracy.
In addition to the legal concerns, there are fundamental issues with how cracked servers work internally that lead to significant security risks and as well issues that in particular affect the functioning of Citizens.

Due to these problems, we cannot and will not provide support to cracked servers or those involved in software piracy - except for support with switching to a legitimate server.
Refer to https://wiki.citizensnpcs.co/Cracks for more detailed information.

If you server is configured as cracked by mistake, or you did not realize the significance of that choice and would like to switch to a legitimate & legal server, contact a helper in #dns-role-lifting and we can restore your supportable status.

rare karma
#

@violet forge cracked @pulsar violet running a minecraft server for cracked players 'plateousmp'

violet forgeBOT