#(imfluxic) Explode not working

63 messages · Page 1 of 1 (latest)

ashen domeBOT
#

(imfluxic) Explode not working

#

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.

noble vale
#

!debug

gray eagleBOT
# noble vale !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!

teal roost
#

do i send the text log or just the text?

noble vale
gray eagleBOT
# noble vale !logcheck https://paste.denizenscript.com/View/140018
Server Version

Purpur version 1.21.11-2568-f57bd86 (MC: 1.21.11)

Plugin Version(s)

Citizens: 2.0.41-SNAPSHOT (build 4025) -- (:warning:Outdated build, behind by 137)
Denizen: 1.3.1-SNAPSHOT (build 7237-DEV) -- (:warning:Outdated build, behind by 42)

Checked For

@noble vale

UUID Version

0 (:triangular_flag_on_post: Hacked or Invalid ID)

Java Version

21.0.10 :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard: 7.0.16+2355-f7fded2, ProtocolLib: 5.4.0

Problematic Plugin(s)

Geyser-Spigot: 2.9.5-SNAPSHOT - Bedrock clients are unsupportable. Please do all testing with a Java Edition client.
floodgate: 2.2.5-SNAPSHOT (b132-5a72b6a)

Possibly Relevant Plugin(s)

TAB: 6.0.1 - This plugin adds Below_Name scoreboards to NPCs.
Multiverse-Core: 5.6.1 - Multi-world configuration plugins may affect NPCs in unexpected ways.

noble vale
#

i'm not seeing the explode command being used here?

teal roost
#

i did debug, shot the bow and submitted

uneven haven
#

Maybe it's your script logic that prevents it

teal roost
uneven haven
#

Denizen scripts are .dsc not .yml

#

!paste

gray eagleBOT
uneven haven
#

!guide setting up your script editor

noble vale
#
16:20:24 +> Executing 'IF': use_braces='true'   
16:20:24 Filled tag <context.projectile.has_flag[explosive_arrow]> with 'false'. 
16:20:24 If command passed, running block. 
16:20:24 +- Queue 'EXPLOSIVE_BOW_HIT_5156_CarbonRating' Executing: (line 32) stop ---------+ 
16:20:24 +> Executing 'STOP':  ```
it seems the projectile doesn't have the flag to fire the `explode` event
teal roost
uneven haven
#

shouldn't use chatgpt to write scripts

teal roost
#

i didnt write it, i was asking for flags

#

cause i could not find some

uneven haven
#

What are flags?

teal roost
#

so that is not needed?

uneven haven
#

This is not a flag

#

This is an event label

#

don't ask gpt for things kekw_dog

#

!guide

gray eagleBOT
uneven haven
#

I recommend you go over the guide, it explains the basics

teal roost
#

really could not find it searching idk why

uneven haven
#

no problem

uneven haven
uneven haven
teal roost
uneven haven
#

The reason it did not explode is that there is only a 20% chance that your arrow explodes

#

that's why we did not see anything in debug

teal roost
uneven haven
#

!c explode

gray eagleBOT
# uneven haven !c explode
Group

world

Syntax

explode (power:<#.#>) (<location>) (fire) (breakblocks) (source:<entity>)

Short Description

Causes an explosion at the location.

Description

This command causes an explosion at the location specified (or the npc / player location).
By default, this will not destroy blocks or set fire to blocks within the explosion.

Specify the 'fire' argument to set blocks on fire within the explosion radius.

Specify the 'breakblocks' argument to cause the explosion to break blocks within the power radius.

If no power is specified, the default power will be 1.

If no location is given, the default will be the linked NPC or player's location.
It is...

teal roost
#

but i got kinda confused because i made a grappling hook and it worked on YML

uneven haven
#

i'm pretty sure you used gpt here too

#
  • explode power:1 location:<[loc]> fire:false break_blocks:true
teal roost
uneven haven
#

This is part of your script

#

break_blocks and fire do not take any values

#

more even, it's breakblocks without an underscore

#

remove fire:false and replace break_blocks:true with literal breakblocks

noble vale
#

you can also remove power:1 since that's the default behavior

teal roost
#

It work but its confusing, if YML is not the right format then why does it work?

noble vale
#

it's a legacy format

teal roost
#

oh

uneven haven
#

!guide setting up your script editor

uneven haven
#

check this out

#

you'll get syntax highlighting, error checking from visual studio code

noble vale
#

#changelog message

rich juncoBOT
#
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.)

#

@teal roost