#(Hannybee) Schematics not pasting as supposed to

1 messages · Page 1 of 1 (latest)

hoary vale
#

Hello, i am currently trying to write two tasks, which are supposed to save a schematic of a building, and later paste that building where it was and how it was, when it was saved. I tried testing it, but if i try to paste the schematic there is no blocks appearing, even tho there were blocks inside the cuboid that is supposed to be saved and pasted. The console is not giving any errors.

nimble auroraBOT
#

(Hannybee) Schematics not pasting as supposed to

nimble auroraBOT
#

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>

modern verge
#

!haste

rich jasperBOT
modern verge
#

can you haste it instead please lol its hard to read in screenshots

hoary vale
severe iron
rich jasperBOT
# severe iron !ds https://paste.denizenscript.com/View/103967
Script Check Results
Script Warnings

On line 18, 21: This line appears to contain raw object notation. There is almost always a better way to write a line than using raw object notation. Consider the relevant object constructor tags.

Other Script Information

On line : (Statistics) Total structural lines: 7
On line : (Statistics) Total live code lines: 37
On line : (Statistics) Total comment lines: 0
On line : (Statistics) Total blank lines: 4

Shortened Lines

There are 1 lines that were merged into other lines.

severe iron
#

Note the warnings ^

#

Also you don't have to pass a player to a task. If the task was ran from a queue that has a <player> object available, it's also available within the task.

#

Use <n> in narrates to create a new line or <empty> to return empty lines.

hoary vale
#

Yeah, its for further compability, when its supposed to be run from a different player, that is not the effected player ^^

severe iron
#

!lang global player

rich jasperBOT
#
Possible Confusion

Did you mean to search for player entity skins (skin blobs)?

severe iron
#

!lang npc and player

rich jasperBOT
#
Possible Confusion

Did you mean to search for the player and npc arguments?

rich jasperBOT
# severe iron !lang npc and player

The "player:<player>" and "npc:<npc>" arguments are special meta-arguments that are available for all commands, but are only useful for some.
They are written like:

  • give stick player:<server.flag[some_player]>
    or:
  • sit npc:<entry[save].created_npc>

Denizen tracks a "linked player" and a "linked NPC" in queues and the commands within.
Many commands automatically operate on the linked player/NPC default or exclusively
(for example, "give" defaults to giving items to the linked player but that can be changed with the "to" argument,
"sit" exclusively makes the linked NPC sit, and that cannot be changed except by the global NPC argument).

When the player argument is used, it sets the linked player for the specific command it's on.
This is only useful for commands that default to operating ...

Group

Script Command System

severe iron
#

But to your actual issue, please post a debug report.

#

!debug

rich jasperBOT
# severe iron !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!

hoary vale
severe iron
rich jasperBOT
# severe iron !checklog https://paste.denizenscript.com/View/103968
Server Version

Paper version git-Paper-280 (MC: 1.19.2)-- (:warning: Outdated build, behind by 43... Current build is 323)

Plugin Version(s)

Citizens: 2.0.24-SNAPSHOT (build 1605) -- (:warning:Outdated build, behind by 1202)
Denizen: 1.2.5-SNAPSHOT (build 1780-REL) -- (Outdated build, behind by 1)
Depenizen: 2.0.0 (build 809) -- (Outdated build, behind by 4)

Checked For

@severe iron

Java Version

17.0.3 :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard: 7.0.7+216b061

severe iron
#

1202 builds nice

#

unrelated, but you should definitely update citizens, also related: update denizen

#

!update citizens denizen

rich jasperBOT
hoary vale
#

i updated, now my console is throwing out errors constantly, saying that "LocationTag trying to read block, but cannot because no world is specified." should i post another debug report?

severe iron
#

Yes please

hoary vale
modern verge
#

<schematic[rrg_elandar_small_1].origin> is the origin location; it doesn't actually include the world name

#

!command schematic tag

rich jasperBOT
# modern verge !command schematic tag
Group

world

Syntax

schematic [create/load/unload/rotate/save/flip_x/flip_y/flip_z/paste (fake_to:<player>|... fake_duration:<duration>) (noair) (mask:<material_matcher>)] [name:<name>] (filename:<name>) (angle:<#>) (<location>) (area:<area>) (delayed) (max_delay_ms:<#>) (entities) (flags)

Short Description

Creates, loads, pastes, and saves schematics (Sets of blocks).

Description

Creates, loads, pastes, and saves schematics. Schematics are files containing info about blocks and the order of those blocks.

Denizen offers a number of tools to manipulate and work with schematics.
Schematics can be rotated, flipped, pasted with no air, or pasted with a delay.

All schematic command usages must specify the "name" argument, which is a unique global identifier of the schematic in memory.
This will be created by "create" or "load" options, and persist in memory until "unload" is...

Related Tags

<schematic[<name>].height> Returns the height (Y) of the schematic.
<schematic[<name>].length> Returns the length (Z) of the schematic.
<schematic[<name>].width> Returns the width (X) of the schematic.
<schematic[<name>].block[<location>]> Returns the material for the block at the location in the sc...
<schematic[<name>].origin> Returns the origin location of the schematic.
<schematic[<name>].blocks> Returns the number of blocks in the schematic.
<schematic[<name>].exists> Returns whether the schematic exists.
<schematic[<name>].cuboid[<origin location>]>
<schematic.list> Returns a list of all loaded schematics.

modern verge
#

which uh, might be worthy of being in the meta tbh?

#

but anyways you can use this to fix that error:

#

!tag locationtag.with_world

rich jasperBOT
modern verge
#

<schematic[rrg_elandar_small_1].origin.with_world[<player.world>]> etc

hoary vale
#

i see, thanks a lot i tried it and now it works

#

👍

remote harnessBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please type </resolved:1028673926114594866> 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.)

#

@hoary vale